8000 PyScript Terminal - the latest kind (#1816) · LakshmanKishore/pyscript@72f2665 · GitHub
[go: up one dir, main page]

Skip to content

Commit 72f2665

Browse files
PyScript Terminal - the latest kind (pyscript#1816)
1 parent d9bf5ca commit 72f2665

File tree

13 files changed

+282
-227
lines changed

13 files changed

+282
-227
lines changed

pyscript.core/package-lock.json

Lines changed: 63 additions & 63 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyscript.core/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pyscript/core",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"type": "module",
55
"description": "PyScript",
66
"module": "./index.js",
@@ -41,7 +41,7 @@
4141
"dependencies": {
4242
"@ungap/with-resolvers": "^0.1.0",
4343
"basic-devtools": "^0.1.6",
44-
"polyscript": "^0.5.1",
44+
"polyscript": "^0.5.6",
4545
"sticky-module": "^0.1.0",
4646
"to-json-callback": "^0.1.1",
4747
"type-checked-collections": "^0.1.7"
@@ -53,7 +53,7 @@
5353
"@webreflection/toml-j0.4": "^1.1.3",
5454
"chokidar": "^3.5.3",
5555
"eslint": "^8.52.0",
56-
"rollup": "^4.1.4",
56+
"rollup": "^4.2.0",
5757
"rollup-plugin-postcss": "^4.0.2",
5858
"rollup-plugin-string": "^3.0.0",
5959
"static-handler": "^0.4.3",

pyscript.core/src/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ for (const [TYPE] of TYPES) {
113113
value().then(({ notify }) => notify(error.message));
114114
}
115115
} else if (!parsed?.plugins?.includes(`!${key}`)) {
116-
toBeAwaited.push(value());
116+
toBeAwaited.push(value().then(({ default: p }) => p));
117117
}
118118
}
119119

pyscript.core/src/core.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ const [
7070
});
7171

7272
export {
73+
TYPES,
7374
exportedPyWorker as PyWorker,
7475
exportedHooks as hooks,
7576
exportedConfig as config,

0 commit comments

Comments
 (0)
0