[next] Updated to latest MicroPython (#1590)

This commit is contained in:
Andrea Giammarchi
2023-07-12 10:45:46 +02:00
committed by GitHub
parent 184d29055e
commit 45af96aad4
6 changed files with 8 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ const type = "micropython";
/* c8 ignore start */
export default {
type,
module: (version = "1.20.0-268") =>
module: (version = "1.20.0-295") =>
`https://cdn.jsdelivr.net/npm/@micropython/micropython-webassembly-pyscript@${version}/micropython.mjs`,
async engine({ loadMicroPython }, config, url) {
const { stderr, stdout, get } = stdio();

View File

@@ -2,7 +2,7 @@
"imports": {
"http://pyodide": "./test/mocked/pyodide.mjs",
"https://cdn.jsdelivr.net/pyodide/v0.23.2/full/pyodide.mjs": "./test/mocked/pyodide.mjs",
"https://cdn.jsdelivr.net/npm/@micropython/micropython-webassembly-pyscript@1.20.0-268/micropython.mjs": "./test/mocked/micropython.mjs",
"https://cdn.jsdelivr.net/npm/@micropython/micropython-webassembly-pyscript@1.20.0-295/micropython.mjs": "./test/mocked/micropython.mjs",
"https://cdn.jsdelivr.net/npm/basic-toml@0.3.1/es.js": "./test/mocked/toml.mjs"
}
}

View File

@@ -1,12 +1,12 @@
{
"name": "@pyscript/core",
"version": "0.0.9",
"version": "0.0.10",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@pyscript/core",
"version": "0.0.9",
"version": "0.0.10",
"license": "MIT",
"dependencies": {
"@ungap/structured-clone": "^1.2.0",

View File

@@ -1,6 +1,6 @@
{
"name": "@pyscript/core",
"version": "0.0.9",
"version": "0.0.10",
"description": "PyScript Next core",
"main": "./cjs/index.js",
"types": "./types/index.d.ts",
@@ -66,6 +66,6 @@
"coincident": "^0.8.3"
},
"worker": {
"blob": "sha256-8JHhFYq5K9ZJOCBQxEnxF/l3XQlqAILF86UAT1BjjMY="
"blob": "sha256-RqQoRRJ0ik2sDD1m3dijbVQ9ODme4BBieI8XZCk8cME="
}
}

File diff suppressed because one or more lines are too long

View File

@@ -11,7 +11,7 @@
<body>
<script
type="micropython"
version="https://cdn.jsdelivr.net/npm/@micropython/micropython-webassembly-pyscript@1.20.0-268/micropython.mjs"
version="https://cdn.jsdelivr.net/npm/@micropython/micropython-webassembly-pyscript@1.20.0-295/micropython.mjs"
>
import sys
import js