mirror of
https://github.com/pyscript/pyscript.git
synced 2026-05-15 13:00:20 -04:00
Updated polyscript wth latest MicroPython (#2454)
This commit is contained in:
committed by
GitHub
parent
e97696710a
commit
98011af6e8
32
core/package-lock.json
generated
32
core/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@pyscript/core",
|
||||
"version": "0.7.17",
|
||||
"version": "0.7.18",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@pyscript/core",
|
||||
"version": "0.7.17",
|
||||
"version": "0.7.18",
|
||||
"license": "APACHE-2.0",
|
||||
"dependencies": {
|
||||
"@ungap/with-resolvers": "^0.1.0",
|
||||
@@ -14,7 +14,7 @@
|
||||
"@webreflection/utils": "^0.1.1",
|
||||
"add-promise-listener": "^0.1.3",
|
||||
"basic-devtools": "^0.1.6",
|
||||
"polyscript": "^0.20.9",
|
||||
"polyscript": "^0.20.11",
|
||||
"sticky-module": "^0.1.1",
|
||||
"to-json-callback": "^0.1.1",
|
||||
"type-checked-collections": "^0.1.7"
|
||||
@@ -29,7 +29,6 @@
|
||||
"@rollup/plugin-commonjs": "^29.0.0",
|
||||
"@rollup/plugin-node-resolve": "^16.0.3",
|
||||
"@rollup/plugin-terser": "^0.4.4",
|
||||
"@webreflection/toml-j0.4": "^1.1.4",
|
||||
"@xterm/addon-fit": "0.11.0",
|
||||
"@xterm/addon-web-links": "0.12.0",
|
||||
"@xterm/xterm": "5.5.0",
|
||||
@@ -1112,13 +1111,6 @@
|
||||
"integrity": "sha512-VLBTx6EUYF/dPdLyyjWWKxQmTWnVXTT1YJekrJUmfGxBcqEVL0Ih2EQptNG/JezkTYgJ0uSTb0yAum/THltBvQ==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@webreflection/toml-j0.4": {
|
||||
"version": "1.1.4",
|
||||
"resolved": "https://registry.npmjs.org/@webreflection/toml-j0.4/-/toml-j0.4-1.1.4.tgz",
|
||||
"integrity": "sha512-mZI7Oig3IFv7zzwnBLTw/GGSu4ZlUY/3WZdOy7FEjEVJMV0xHNlHhfb3mZ9PAaq1qDyixU2Yd2X52wVvPDaO2g==",
|
||||
"dev": true,
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@webreflection/utils": {
|
||||
"version": "0.1.1",
|
||||
"resolved": "https://registry.npmjs.org/@webreflection/utils/-/utils-0.1.1.tgz",
|
||||
@@ -1176,9 +1168,9 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/ajv": {
|
||||
"version": "6.12.6",
|
||||
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
|
||||
"integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
|
||||
"version": "6.14.0",
|
||||
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.14.0.tgz",
|
||||
"integrity": "sha512-IWrosm/yrn43eiKqkfkHis7QioDleaXQHdDVPKg0FSwwd/DuvyX79TZnFOnYpB7dcsFAMmtFztZuXPDvSePkFw==",
|
||||
"dev": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@@ -2513,9 +2505,9 @@
|
||||
"license": "CC0-1.0"
|
||||
},
|
||||
"node_modules/minimatch": {
|
||||
"version": "3.1.2",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
|
||||
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
|
||||
"version": "3.1.4",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.4.tgz",
|
||||
"integrity": "sha512-twmL+S8+7yIsE9wsqgzU3E8/LumN3M3QELrBZ20OdmQ9jB2JvW5oZtBEmft84k/Gs5CG9mqtWc6Y9vW+JEzGxw==",
|
||||
"dev": true,
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
@@ -2803,9 +2795,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/polyscript": {
|
||||
"version": "0.20.9",
|
||||
"resolved": "https://registry.npmjs.org/polyscript/-/polyscript-0.20.9.tgz",
|
||||
"integrity": "sha512-e3/EKOXQR35uir5K9x177+uj/r4iI3X0JpqWsOU/qUvDAE7Gu9wglwKcTKYepRqTRZ9ZCE+RpGPBmgAob+aflw==",
|
||||
"version": "0.20.11",
|
||||
"resolved": "https://registry.npmjs.org/polyscript/-/polyscript-0.20.11.tgz",
|
||||
"integrity": "sha512-r80m8c+qYckD2Innc8XjFg4z0mcir+3b8R4FBZDOBGu5i8pl2OsAnZnmBIMQJ/K95PAucRCCk0X7Ss6pJQ7aig==",
|
||||
"license": "APACHE-2.0",
|
||||
"dependencies": {
|
||||
"@webreflection/fetch": "^0.2.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pyscript/core",
|
||||
"version": "0.7.17",
|
||||
"version": "0.7.18",
|
||||
"type": "module",
|
||||
"description": "PyScript",
|
||||
"module": "./index.js",
|
||||
@@ -71,7 +71,7 @@
|
||||
"@webreflection/utils": "^0.1.1",
|
||||
"add-promise-listener": "^0.1.3",
|
||||
"basic-devtools": "^0.1.6",
|
||||
"polyscript": "^0.20.9",
|
||||
"polyscript": "^0.20.11",
|
||||
"sticky-module": "^0.1.1",
|
||||
"to-json-callback": "^0.1.1",
|
||||
"type-checked-collections": "^0.1.7"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
symbol = js.Symbol.iterator
|
||||
|
||||
if js.getSymbol(symbol, []) and js.hasSymbol(symbol, []) and js.hasIterator([]):
|
||||
if js.getSymbol(symbol, []) != None and js.hasSymbol(symbol, []) and js.hasIterator([]):
|
||||
js.document.documentElement.classList.add("main")
|
||||
</script>
|
||||
<script type="mpy" worker>
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
symbol = js.Symbol.iterator
|
||||
|
||||
if window.getSymbol(symbol, []) and window.hasSymbol(symbol, []) and window.hasIterator([]):
|
||||
if window.getSymbol(symbol, []) != None and window.hasSymbol(symbol, []) and window.hasIterator([]):
|
||||
window.document.documentElement.classList.add("worker")
|
||||
</script>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user