Skip to content

Commit 1f811a9

Browse files
committed
0.13.0
1 parent 3597694 commit 1f811a9

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

docs/index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esm/interpreter/micropython.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const mkdir = (FS, path) => {
2323

2424
export default {
2525
type,
26-
module: (version = '1.23.0') =>
26+
module: (version = '1.24.0-preview-44') =>
2727
`https://cdn.jsdelivr.net/npm/@micropython/micropython-webassembly-pyscript@${version}/micropython.mjs`,
2828
async engine({ loadMicroPython }, config, url, baseURL) {
2929
const { stderr, stdout, get } = stdio({

node.importmap

+1-1
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.26.1/full/pyodide.mjs": "./test/mocked/pyodide.mjs",
5-
"https://cdn.jsdelivr.net/npm/@micropython/micropython-webassembly-pyscript@1.23.0/micropython.mjs": "./test/mocked/micropython.mjs",
5+
"https://cdn.jsdelivr.net/npm/@micropython/micropython-webassembly-pyscript@1.24.0-preview-44/micropython.mjs": "./test/mocked/micropython.mjs",
66
"./3rd-party/toml.js": "./test/mocked/toml.mjs"
77
}
88
}

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "polyscript",
3-
"version": "0.12.15",
3+
"version": "0.13.0",
44
"description": "PyScript single core to rule them all",
55
"main": "./cjs/index.js",
66
"types": "./types/polyscript/esm/index.d.ts",
@@ -91,6 +91,6 @@
9191
"to-json-callback": "^0.1.1"
9292
},
9393
"worker": {
94-
"blob": "sha256-Hk7668b3LO3+h+E5ZCRGmVXrW8WMox6JQWJaIY7MXrE="
94+
"blob": "sha256-QYGr9ma1eAghLgOKOxC9Tz8PvKkbO4gurbzJ1bac/xM="
9595
}
9696
}

test/integration/interpreter/micropython/storage.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,27 @@
1212
<script type="micropython" async>
1313
from polyscript import storage
1414

15-
map = await storage("@polyscript/storage")
15+
store = await storage("@polyscript/storage")
1616

1717
# just a devtools console check
1818
# it is true on refresh
19-
print(map.get("main") == True, map.size)
19+
print(store.get("main") == True, store.size)
2020

21-
map.set("main", True)
21+
store.set("main", True)
2222

2323
import js
2424
js.document.documentElement.classList.add(f"main")
2525
</script>
2626
<script type="micropython" worker async>
2727
from polyscript import xworker, storage
2828

29-
map = await storage("@polyscript/storage")
29+
store = await storage("@polyscript/storage")
3030

3131
# just a devtools console check
3232
# it is true on refresh
33-
print(map.get("worker") == True, map.size)
33+
print(store.get("worker") == True, store.size)
3434

35-
map.set("worker", True)
35+
store.set("worker", True)
3636

3737
xworker.window.document.documentElement.classList.add(f"worker")
3838
</script>

versions/micropython

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.23.0
1+
1.24.0-preview-44

0 commit comments

Comments
 (0)