sandboxedjs 0.1.14 → 0.1.16
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/README.md +68 -14
- package/dist/index.cjs +59 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +50 -15
- package/dist/index.d.ts +50 -15
- package/dist/index.js +58 -11
- package/dist/index.js.map +1 -1
- package/dist/integrations/server.cjs +24 -0
- package/dist/integrations/server.cjs.map +1 -0
- package/dist/integrations/server.d.cts +2 -0
- package/dist/integrations/server.d.ts +2 -0
- package/dist/integrations/server.js +3 -0
- package/dist/integrations/server.js.map +1 -0
- package/dist/integrations/vite.cjs +22 -0
- package/dist/integrations/vite.cjs.map +1 -0
- package/dist/integrations/vite.d.cts +1 -0
- package/dist/integrations/vite.d.ts +1 -0
- package/dist/integrations/vite.js +3 -0
- package/dist/integrations/vite.js.map +1 -0
- package/package.json +12 -2
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var server = require('@scelar/nodepod/server');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "DEFAULT_SW_PATH", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return server.DEFAULT_SW_PATH; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "getServiceWorkerSource", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return server.getServiceWorkerSource; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "serveSW", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return server.serveSW; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "serveSWNode", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return server.serveSWNode; }
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=server.cjs.map
|
|
24
|
+
//# sourceMappingURL=server.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"server.cjs","sourcesContent":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"server.js","sourcesContent":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vite = require('@scelar/nodepod/vite');
|
|
6
|
+
|
|
7
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
8
|
+
|
|
9
|
+
var vite__default = /*#__PURE__*/_interopDefault(vite);
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return vite__default.default; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "sandboxedjs", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return vite__default.default; }
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=vite.cjs.map
|
|
22
|
+
//# sourceMappingURL=vite.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"vite.cjs","sourcesContent":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, default as sandboxedjs } from '@scelar/nodepod/vite';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, default as sandboxedjs } from '@scelar/nodepod/vite';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"vite.js","sourcesContent":[]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sandboxedjs",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "A Linux-like container that runs entirely inside Node.js
|
|
3
|
+
"version": "0.1.16",
|
|
4
|
+
"description": "A Linux-like container that runs entirely inside Node.js \u2014 POSIX shell, ~140 coreutils, Node.js and Python runtimes, virtual filesystem and networking. No Docker, no VM, no native modules.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"sideEffects": false,
|
|
@@ -21,6 +21,16 @@
|
|
|
21
21
|
"import": "./dist/index.js",
|
|
22
22
|
"require": "./dist/index.cjs"
|
|
23
23
|
},
|
|
24
|
+
"./vite": {
|
|
25
|
+
"types": "./dist/integrations/vite.d.ts",
|
|
26
|
+
"import": "./dist/integrations/vite.js",
|
|
27
|
+
"require": "./dist/integrations/vite.cjs"
|
|
28
|
+
},
|
|
29
|
+
"./server": {
|
|
30
|
+
"types": "./dist/integrations/server.d.ts",
|
|
31
|
+
"import": "./dist/integrations/server.js",
|
|
32
|
+
"require": "./dist/integrations/server.cjs"
|
|
33
|
+
},
|
|
24
34
|
"./package.json": "./package.json"
|
|
25
35
|
},
|
|
26
36
|
"files": [
|