unrun 0.2.20 → 0.2.22
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/dist/index.mjs +1 -1
- package/dist/{src-OFTjuv5c.mjs → src-vFNre9xH.mjs} +24 -0
- package/dist/sync/worker.mjs +1 -1
- package/package.json +11 -11
package/dist/index.mjs
CHANGED
|
@@ -193,6 +193,30 @@ const WRAPPER_SNIPPET = `(function __unrun__wrapRolldownHelpers(){
|
|
|
193
193
|
__unrun__patchedExport.__unrunPatched = true;
|
|
194
194
|
__export = __unrun__patchedExport;
|
|
195
195
|
}
|
|
196
|
+
if (typeof __exportAll === "function" && !__exportAll.__unrunPatched) {
|
|
197
|
+
var __unrun__origExportAll = __exportAll;
|
|
198
|
+
var __unrun__patchedExportAll = (...__unrun__args) => {
|
|
199
|
+
var __unrun__target = __unrun__origExportAll(...__unrun__args);
|
|
200
|
+
if (__unrun__target && typeof __unrun__target === "object") {
|
|
201
|
+
try {
|
|
202
|
+
var __unrun__map = (__unrun__args[0] && typeof __unrun__args[0] === "object") ? __unrun__args[0] : {};
|
|
203
|
+
var __unrun__names = Object.keys(__unrun__map).filter(function(n){ return n !== "__esModule" });
|
|
204
|
+
__unrun__setInspect(
|
|
205
|
+
__unrun__target,
|
|
206
|
+
__unrun__names,
|
|
207
|
+
function(n){
|
|
208
|
+
var getter = __unrun__map[n];
|
|
209
|
+
return typeof getter === "function" ? getter() : getter;
|
|
210
|
+
},
|
|
211
|
+
false,
|
|
212
|
+
);
|
|
213
|
+
} catch {}
|
|
214
|
+
}
|
|
215
|
+
return __unrun__target;
|
|
216
|
+
};
|
|
217
|
+
__unrun__patchedExportAll.__unrunPatched = true;
|
|
218
|
+
__exportAll = __unrun__patchedExportAll;
|
|
219
|
+
}
|
|
196
220
|
if (typeof __copyProps === "function" && !__copyProps.__unrunPatched) {
|
|
197
221
|
var __unrun__origCopyProps = __copyProps;
|
|
198
222
|
var __unrun__patchedCopyProps = (...__unrun__args) => {
|
package/dist/sync/worker.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unrun",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.22",
|
|
5
5
|
"description": "A tool to load and execute any JavaScript or TypeScript code at runtime.",
|
|
6
6
|
"author": "Augustin Mercier <gugustinette@proton.me>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"rolldown": "1.0.0-beta.
|
|
45
|
+
"rolldown": "1.0.0-beta.58"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@sxzz/eslint-config": "^7.4.
|
|
48
|
+
"@sxzz/eslint-config": "^7.4.4",
|
|
49
49
|
"@sxzz/prettier-config": "^2.2.6",
|
|
50
50
|
"@types/node": "^25.0.3",
|
|
51
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
51
|
+
"@typescript/native-preview": "7.0.0-dev.20260101.1",
|
|
52
52
|
"@vitest/browser": "4.0.16",
|
|
53
53
|
"@vitest/browser-playwright": "4.0.16",
|
|
54
54
|
"@webcontainer/api": "^1.6.1",
|
|
@@ -71,16 +71,16 @@
|
|
|
71
71
|
"moment-timezone": "^0.6.0",
|
|
72
72
|
"nano-jsx": "^0.2.1",
|
|
73
73
|
"playwright": "^1.57.0",
|
|
74
|
-
"preact": "^10.28.
|
|
75
|
-
"preact-render-to-string": "^6.6.
|
|
74
|
+
"preact": "^10.28.1",
|
|
75
|
+
"preact-render-to-string": "^6.6.5",
|
|
76
76
|
"prettier": "^3.7.4",
|
|
77
77
|
"react": "^19.2.3",
|
|
78
78
|
"react-dom": "^19.2.3",
|
|
79
79
|
"reflect-metadata": "^0.2.2",
|
|
80
80
|
"synckit": "^0.11.11",
|
|
81
|
-
"test-ecosystem-ci": "^0.0.
|
|
81
|
+
"test-ecosystem-ci": "^0.0.3",
|
|
82
82
|
"tinyexec": "^1.0.2",
|
|
83
|
-
"tsdown": "^0.
|
|
83
|
+
"tsdown": "^0.18.4",
|
|
84
84
|
"tsx": "^4.21.0",
|
|
85
85
|
"typedoc": "^0.28.15",
|
|
86
86
|
"typedoc-plugin-markdown": "^4.9.0",
|
|
@@ -92,9 +92,9 @@
|
|
|
92
92
|
"vitepress": "2.0.0-alpha.12",
|
|
93
93
|
"vitepress-plugin-group-icons": "^1.6.5",
|
|
94
94
|
"vitest": "4.0.16",
|
|
95
|
-
"vue": "^3.5.
|
|
96
|
-
"vue-tsc": "^3.1
|
|
97
|
-
"zod": "^4.
|
|
95
|
+
"vue": "^3.5.26",
|
|
96
|
+
"vue-tsc": "^3.2.1",
|
|
97
|
+
"zod": "^4.3.4"
|
|
98
98
|
},
|
|
99
99
|
"prettier": "@sxzz/prettier-config",
|
|
100
100
|
"scripts": {
|