wasm-idle 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -264,11 +264,9 @@ self.onmessage = async (event) => {
|
|
|
264
264
|
baseUrl = runtimeAssets?.baseUrl || baseUrl;
|
|
265
265
|
useAssetBridge = runtimeAssets?.useAssetBridge === true;
|
|
266
266
|
configureWorkerRuntimeAssets(runtimeAssets || null);
|
|
267
|
-
postMessage({ output: 'Loading Pyodide...' });
|
|
268
267
|
postProgress(2, 'Loading Pyodide module');
|
|
269
268
|
await loadPyodide(baseUrl);
|
|
270
269
|
postProgress(100, 'Pyodide runtime ready');
|
|
271
|
-
postMessage({ output: ' Done.\n\r' });
|
|
272
270
|
postMessage({ load: true });
|
|
273
271
|
}
|
|
274
272
|
catch (e) {
|
|
@@ -277,7 +275,6 @@ self.onmessage = async (event) => {
|
|
|
277
275
|
}
|
|
278
276
|
else if (prepare) {
|
|
279
277
|
preparedPackagesKey = undefined;
|
|
280
|
-
postMessage({ output: 'Loading packages...' });
|
|
281
278
|
try {
|
|
282
279
|
postProgress(5, 'Preparing Python workspace');
|
|
283
280
|
const preparationKey = packagePreparationKey(code, activePath, workspaceFiles);
|
|
@@ -290,7 +287,6 @@ self.onmessage = async (event) => {
|
|
|
290
287
|
].join('\n'));
|
|
291
288
|
preparedPackagesKey = preparationKey;
|
|
292
289
|
postProgress(100, 'Python packages ready');
|
|
293
|
-
postMessage({ output: ' Done.\n\r' });
|
|
294
290
|
self.postMessage({ results: true });
|
|
295
291
|
}
|
|
296
292
|
catch (e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wasm-idle",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "A simple web app to run code in the browser",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -61,15 +61,15 @@
|
|
|
61
61
|
"vitest": "^4.1.4",
|
|
62
62
|
"waforth": "0.20.1",
|
|
63
63
|
"webr": "0.6.0",
|
|
64
|
-
"@wasm-idle/
|
|
65
|
-
"@wasm-idle/
|
|
66
|
-
"@wasm-idle/
|
|
64
|
+
"@wasm-idle/debug": "1.0.5",
|
|
65
|
+
"@wasm-idle/lsp": "1.0.5",
|
|
66
|
+
"@wasm-idle/terminal": "1.0.5"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@bjorn3/browser_wasi_shim": "^0.4.2",
|
|
70
70
|
"fflate": "0.8.3",
|
|
71
|
-
"@wasm-idle/core": "1.0.
|
|
72
|
-
"@wasm-idle/llvm-core": "1.0.
|
|
71
|
+
"@wasm-idle/core": "1.0.5",
|
|
72
|
+
"@wasm-idle/llvm-core": "1.0.5"
|
|
73
73
|
},
|
|
74
74
|
"files": [
|
|
75
75
|
"dist",
|