Skip to content

Commit 3803f73

Browse files
committed
Updated MicroPython to 1.22.0-272
1 parent 2789cd7 commit 3803f73

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

docs/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esm/interpreter/micropython.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { fetchFiles, fetchJSModules, fetchPaths, writeFileShim } from './_utils.js';
1+
import { fetchFiles, fetchJSModules, fetchPaths, writeFile } from './_utils.js';
22
import { registerJSModule, run, runAsync, runEvent } from './_python.js';
33
import { stdio } from './_io.js';
44
import mip from '../python/mip.js';
@@ -9,7 +9,7 @@ const type = 'micropython';
99
/* c8 ignore start */
1010
export default {
1111
type,
12-
module: (version = '1.22.0-269') =>
12+
module: (version = '1.22.0-272') =>
1313
`https://cdn.jsdelivr.net/npm/@micropython/micropython-webassembly-pyscript@${version}/micropython.mjs`,
1414
async engine({ loadMicroPython }, config, url) {
1515
const { stderr, stdout, get } = stdio();
@@ -33,7 +33,7 @@ export default {
3333
runAsync,
3434
runEvent,
3535
transform: (interpreter, value) => interpreter.PyProxy.toJs(value),
36-
writeFile: ({ FS }, path, buffer) =>
37-
writeFileShim(FS, path, buffer),
36+
writeFile: ({ FS, _module: { PATH, PATH_FS } }, path, buffer) =>
37+
writeFile({ FS, PATH, PATH_FS }, path, buffer),
3838
};
3939
/* c8 ignore stop */

node.importmap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"imports": {
33
"http://pyodide": "./test/mocked/pyodide.mjs",
44
"https://cdn.jsdelivr.net/pyodide/v0.25.0/full/pyodide.mjs": "./test/mocked/pyodide.mjs",
5-
"https://cdn.jsdelivr.net/npm/@micropython/micropython-webassembly-pyscript@1.22.0-269/micropython.mjs": "./test/mocked/micropython.mjs",
5+
"https://cdn.jsdelivr.net/npm/@micropython/micropython-webassembly-pyscript@1.22.0-272/micropython.mjs": "./test/mocked/micropython.mjs",
66
"./3rd-party/toml.js": "./test/mocked/toml.mjs"
77
}
88
}

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"linkedom": "^0.16.10",
5050
"rollup": "^4.13.0",
5151
"static-handler": "^0.4.3",
52-
"typescript": "^5.4.2"
52+
"typescript": "^5.4.3"
5353
},
5454
"type": "module",
5555
"module": "./dist/index.js",
@@ -88,6 +88,6 @@
8888
"to-json-callback": "^0.1.1"
8989
},
9090
"worker": {
91-
"blob": "sha256-zz411zHZTrOorw0BiT4Kv/TPirQWq8BnzpUgZOb810k="
91+
"blob": "sha256-tV7jypF54M8P2vuzREc5ZRk1nPGj9AL1VmnxnE2az/s="
9292
}
9393
}

versions/micropython

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.22.0-269
1+
1.22.0-272

0 commit comments

Comments
 (0)