unrun 0.2.24 → 0.2.26

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 CHANGED
@@ -1,3 +1,3 @@
1
- import { n as unrunCli, r as unrunSync, t as unrun } from "./src-DvmscA64.mjs";
1
+ import { n as unrunCli, r as unrunSync, t as unrun } from "./src-FpjER4tG.mjs";
2
2
 
3
3
  export { unrun, unrunCli, unrunSync };
@@ -669,16 +669,16 @@ async function bundle(options) {
669
669
  ...options.inputOptions
670
670
  };
671
671
  if (tsconfig) inputOptions.tsconfig = tsconfig;
672
- const bundle$1 = await rolldown(inputOptions);
672
+ const bundle = await rolldown(inputOptions);
673
673
  const outputOptions = {
674
674
  format: "esm",
675
- inlineDynamicImports: true,
675
+ codeSplitting: false,
676
676
  keepNames: true,
677
677
  ...options.outputOptions
678
678
  };
679
- const rolldownOutput = await bundle$1.generate(outputOptions);
679
+ const rolldownOutput = await bundle.generate(outputOptions);
680
680
  if (!rolldownOutput.output[0]) throw new Error("[unrun] No output chunk found");
681
- const files = await bundle$1.watchFiles;
681
+ const files = await bundle.watchFiles;
682
682
  return {
683
683
  chunk: rolldownOutput.output[0],
684
684
  dependencies: files
@@ -1,4 +1,4 @@
1
- import { t as unrun } from "../src-DvmscA64.mjs";
1
+ import { t as unrun } from "../src-FpjER4tG.mjs";
2
2
  import { runAsWorker } from "synckit";
3
3
 
4
4
  //#region src/sync/worker.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "unrun",
3
3
  "type": "module",
4
- "version": "0.2.24",
4
+ "version": "0.2.26",
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,20 +42,20 @@
42
42
  }
43
43
  },
44
44
  "dependencies": {
45
- "rolldown": "1.0.0-beta.59"
45
+ "rolldown": "1.0.0-rc.1"
46
46
  },
47
47
  "devDependencies": {
48
- "@sxzz/eslint-config": "^7.4.4",
48
+ "@sxzz/eslint-config": "^7.5.0",
49
49
  "@sxzz/prettier-config": "^2.2.6",
50
- "@types/node": "^25.0.3",
51
- "@typescript/native-preview": "7.0.0-dev.20260101.1",
52
- "@vitest/browser": "4.0.16",
53
- "@vitest/browser-playwright": "4.0.16",
50
+ "@types/node": "^25.0.10",
51
+ "@typescript/native-preview": "7.0.0-dev.20260122.3",
52
+ "@vitest/browser": "4.0.17",
53
+ "@vitest/browser-playwright": "4.0.17",
54
54
  "@webcontainer/api": "^1.6.1",
55
55
  "acorn": "^8.15.0",
56
- "bumpp": "^10.3.2",
56
+ "bumpp": "^10.4.0",
57
57
  "bundle-require": "^5.1.0",
58
- "config": "^4.1.1",
58
+ "config": "^4.2.0",
59
59
  "consola": "^3.4.2",
60
60
  "defu": "^6.1.4",
61
61
  "destr": "^2.0.5",
@@ -64,7 +64,7 @@
64
64
  "estree-walker": "^3.0.3",
65
65
  "etag": "^1.8.1",
66
66
  "fast-glob": "^3.3.3",
67
- "giget": "^2.0.0",
67
+ "giget": "^3.1.1",
68
68
  "is-installed-globally": "^1.0.0",
69
69
  "jiti": "^2.6.1",
70
70
  "mime": "^4.1.0",
@@ -73,16 +73,16 @@
73
73
  "playwright": "^1.57.0",
74
74
  "preact": "^10.28.2",
75
75
  "preact-render-to-string": "^6.6.5",
76
- "prettier": "^3.7.4",
76
+ "prettier": "^3.8.1",
77
77
  "react": "^19.2.3",
78
78
  "react-dom": "^19.2.3",
79
79
  "reflect-metadata": "^0.2.2",
80
- "synckit": "^0.11.11",
80
+ "synckit": "^0.11.12",
81
81
  "test-ecosystem-ci": "^0.0.3",
82
82
  "tinyexec": "^1.0.2",
83
- "tsdown": "^0.18.4",
83
+ "tsdown": "0.20.0-beta.4",
84
84
  "tsx": "^4.21.0",
85
- "typedoc": "^0.28.15",
85
+ "typedoc": "^0.28.16",
86
86
  "typedoc-plugin-markdown": "^4.9.0",
87
87
  "typedoc-vitepress-theme": "^1.1.2",
88
88
  "typescript": "^5.9.3",
@@ -90,9 +90,9 @@
90
90
  "unplugin-vue": "^7.1.0",
91
91
  "vite": "^7.3.1",
92
92
  "vitepress": "2.0.0-alpha.12",
93
- "vitepress-plugin-group-icons": "^1.6.5",
94
- "vitest": "4.0.16",
95
- "vue": "^3.5.26",
93
+ "vitepress-plugin-group-icons": "^1.7.1",
94
+ "vitest": "4.0.17",
95
+ "vue": "^3.5.27",
96
96
  "vue-tsc": "^3.2.2",
97
97
  "zod": "^4.3.5"
98
98
  },