@jupyterlite/xeus 3.1.5 → 3.1.7
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.
package/lib/worker.js
CHANGED
|
@@ -112,8 +112,7 @@ export class XeusRemoteKernel {
|
|
|
112
112
|
const sharedLibs = await bootstrapEmpackPackedEnvironment({
|
|
113
113
|
empackEnvMeta,
|
|
114
114
|
pkgRootUrl,
|
|
115
|
-
Module: globalThis.Module
|
|
116
|
-
verbose: false
|
|
115
|
+
Module: globalThis.Module
|
|
117
116
|
});
|
|
118
117
|
// Bootstrap Python, if it's xeus-python
|
|
119
118
|
if (kernelSpec.name === 'xpython') {
|
|
@@ -134,7 +133,10 @@ export class XeusRemoteKernel {
|
|
|
134
133
|
Module: globalThis.Module
|
|
135
134
|
});
|
|
136
135
|
}
|
|
137
|
-
|
|
136
|
+
// backward compatibility: Checking if the kernel constructor takes argument or not
|
|
137
|
+
rawXKernel = globalThis.Module.xkernel.length
|
|
138
|
+
? new globalThis.Module.xkernel(kernelSpec.argv)
|
|
139
|
+
: new globalThis.Module.xkernel();
|
|
138
140
|
rawXServer = rawXKernel.get_server();
|
|
139
141
|
if (!rawXServer) {
|
|
140
142
|
console.error('Failed to start kernel!');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jupyterlite/xeus",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.7",
|
|
4
4
|
"description": "JupyterLite Xeus kernels",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jupyter",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"watch:src": "tsc -w --sourceMap"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@emscripten-forge/mambajs": "^0.
|
|
39
|
+
"@emscripten-forge/mambajs": "^0.8.0",
|
|
40
40
|
"@jupyterlab/coreutils": "^6",
|
|
41
41
|
"@jupyterlab/services": "^7.3.4",
|
|
42
42
|
"@jupyterlite/contents": "^0.2.0 || ^0.3.0 || ^0.4.5 || ^0.5.1",
|