Skip to content

Update interpreters #126

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 1 commit into from
Feb 7, 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 docs/toml-DiUM0_qs.js.map

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

2 changes: 2 additions & 0 deletions docs/zip-DPXsOtR5.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/zip-DPXsOtR5.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion esm/interpreter/micropython.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const progress = createProgress('mpy');

export default {
type,
module: (version = '1.24.0') =>
module: (version = '1.24.1') =>
`https://cdn.jsdelivr.net/npm/@micropython/micropython-webassembly-pyscript@${version}/micropython.mjs`,
async engine({ loadMicroPython }, config, url, baseURL) {
const { stderr, stdout, get } = stdio({
Expand Down
2 changes: 1 addition & 1 deletion esm/interpreter/pyodide.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const indexURLs = new WeakMap();

export default {
type,
module: (version = '0.26.4') =>
module: (version = '0.27.2') =>
`https://cdn.jsdelivr.net/pyodide/v${version}/full/pyodide.mjs`,
async engine({ loadPyodide }, config, url, baseURL) {
// apply override ASAP then load foreign code
Expand Down
2 changes: 1 addition & 1 deletion esm/interpreter/ruby-wasm-wasi.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const jsType = type.replace(/\W+/g, '_');
export default {
type,
experimental: true,
module: (version = '2.7.0') =>
module: (version = '2.7.1') =>
`https://cdn.jsdelivr.net/npm/@ruby/3.2-wasm-wasi@${version}/dist/browser/+esm`,
async engine({ DefaultRubyVM }, config, url, baseURL) {
url = url.replace(/\/browser\/\+esm$/, '/ruby.wasm');
Expand Down
4 changes: 2 additions & 2 deletions node.importmap
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"imports": {
"http://pyodide": "./test/mocked/pyodide.mjs",
"https://cdn.jsdelivr.net/pyodide/v0.26.4/full/pyodide.mjs": "./test/mocked/pyodide.mjs",
"https://cdn.jsdelivr.net/npm/@micropython/[email protected].0/micropython.mjs": "./test/mocked/micropython.mjs",
"https://cdn.jsdelivr.net/pyodide/v0.27.2/full/pyodide.mjs": "./test/mocked/pyodide.mjs",
"https://cdn.jsdelivr.net/npm/@micropython/[email protected].1/micropython.mjs": "./test/mocked/micropython.mjs",
"./3rd-party/toml.js": "./test/mocked/toml.mjs"
}
}
Loading