Skip to content

Updated coincident & reflected-appi to fix an issue with async callbacks #142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion esm/interpreter/pyodide.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const indexURLs = new WeakMap();

export default {
type,
module: (version = '0.28.0') =>
module: (version = '0.27.7') =>
`https://cdn.jsdelivr.net/pyodide/v${version}/full/pyodide.mjs`,
async engine({ loadPyodide, version }, config, url, baseURL) {
progress('Loading Pyodide');
Expand Down
2 changes: 1 addition & 1 deletion node.importmap
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"imports": {
"http://pyodide": "./test/mocked/pyodide.mjs",
"https://cdn.jsdelivr.net/pyodide/v0.28.0/full/pyodide.mjs": "./test/mocked/pyodide.mjs",
"https://cdn.jsdelivr.net/pyodide/v0.27.7/full/pyodide.mjs": "./test/mocked/pyodide.mjs",
"https://cdn.jsdelivr.net/npm/@micropython/micropython-webassembly-pyscript@1.26.0-preview-293/micropython.mjs": "./test/mocked/micropython.mjs",
"./3rd-party/toml.js": "./test/mocked/toml.mjs"
}
Expand Down
46 changes: 23 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polyscript",
"version": "0.18.0",
"version": "0.18.3",
"description": "PyScript single core to rule them all",
"main": "./esm/index.js",
"types": "./types/polyscript/esm/index.d.ts",
Expand Down Expand Up @@ -47,7 +47,7 @@
"license": "APACHE-2.0",
"devDependencies": {
"@node-loader/import-maps": "^1.1.0",
"@playwright/test": "^1.53.2",
"@playwright/test": "^1.54.0",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@zip.js/zip.js": "^2.7.63",
Expand Down Expand Up @@ -88,13 +88,13 @@
"@webreflection/utils": "^0.1.1",
"basic-devtools": "^0.1.6",
"codedent": "^0.1.2",
"coincident": "^4.0.18",
"coincident": "^4.0.21",
"html-escaper": "^3.0.3",
"reflected-ffi": "^0.5.6",
"reflected-ffi": "^0.5.8",
"sticky-module": "^0.1.1",
"to-json-callback": "^0.1.1"
},
"worker": {
"blob": "sha256-9Fp7NLkxIKNB3e4ySM0BG0DMEkqn8QdheH2ABgfxRsc="
"blob": "sha256-dq34MgxiBMMlRoz9TM/YS6bAZ+rk4NUBAQ/6dJOiKJ4="
}
}
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ import("../esm/index.js").then(async polyscript => {
// all tests
for (const test of [
async function versionedRuntime() {
document.head.innerHTML = `<script type="pyodide" version="0.28.0">${content}</script>`;
document.head.innerHTML = `<script type="pyodide" version="0.27.7">${content}</script>`;
await tick();
assert(pyodide.content, dedent(content));
assert(pyodide.target.tagName, "PYODIDE-SCRIPT");
Expand Down
2 changes: 1 addition & 1 deletion versions/pyodide
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.28.0
0.27.7