@voidzero-dev/vite-plus-core 0.2.9 → 0.3.1

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.
Files changed (66) hide show
  1. package/dist/rolldown/cli.mjs +6 -6
  2. package/dist/rolldown/config.d.mts +1 -1
  3. package/dist/rolldown/config.mjs +2 -2
  4. package/dist/rolldown/experimental-index.d.mts +34 -5
  5. package/dist/rolldown/experimental-index.mjs +36 -9
  6. package/dist/rolldown/experimental-runtime-types.d.ts +2 -2
  7. package/dist/rolldown/experimental-runtime.d.ts +2 -2
  8. package/dist/rolldown/experimental-runtime.mjs +2 -2
  9. package/dist/rolldown/filter-index.d.mts +1 -1
  10. package/dist/rolldown/filter-index.mjs +1 -3
  11. package/dist/rolldown/index.d.mts +3 -3
  12. package/dist/rolldown/index.mjs +4 -4
  13. package/dist/rolldown/parallel-plugin-worker.mjs +2 -2
  14. package/dist/rolldown/parallel-plugin.d.mts +1 -1
  15. package/dist/rolldown/parse-ast-index.d.mts +1 -1
  16. package/dist/rolldown/parse-ast-index.mjs +1 -1
  17. package/dist/rolldown/plugins-index.d.mts +3 -3
  18. package/dist/rolldown/plugins-index.mjs +2 -2
  19. package/dist/rolldown/shared/{binding-CVtkJvyl.d.mts → binding-DZuNHVw4.d.mts} +88 -5
  20. package/dist/rolldown/shared/{binding-CKyeQZen.mjs → binding-DmImI4pj.mjs} +29 -27
  21. package/dist/rolldown/shared/{bindingify-input-options-44iPAymO.mjs → bindingify-input-options-BYClWKnj.mjs} +11 -9
  22. package/dist/rolldown/shared/{constructors-XaIbWpwJ.d.mts → constructors-BM20b11r.d.mts} +2 -2
  23. package/dist/rolldown/shared/{constructors-6Zc-JFd7.mjs → constructors-mRbcbLyX.mjs} +1 -1
  24. package/dist/rolldown/shared/{create-bundler-option-e1FU0w0P.mjs → create-bundler-option-CHTBktos.mjs} +49 -6
  25. package/dist/rolldown/shared/{define-config-DVsXPNaU.d.mts → define-config-DNX0WekP.d.mts} +46 -7
  26. package/dist/rolldown/shared/{error-BzLGqhSQ.mjs → error-BP8lJHle.mjs} +1 -1
  27. package/dist/rolldown/shared/{load-config-C6QXSnoS.mjs → load-config-Cx5fx_8Q.mjs} +1 -1
  28. package/dist/rolldown/shared/{normalize-string-or-regex-DYjJ67tj.mjs → normalize-string-or-regex-Dm69lpQ-.mjs} +1 -1
  29. package/dist/rolldown/shared/{parse-uDDyc1el.mjs → parse-8sr82jSR.mjs} +2 -2
  30. package/dist/rolldown/shared/{resolve-tsconfig-Bcd82vVT.mjs → resolve-tsconfig-BlNGaH3Y.mjs} +10 -6
  31. package/dist/rolldown/shared/{rolldown-CCbQNGZt.mjs → rolldown-CaX_Wmqc.mjs} +5 -4
  32. package/dist/rolldown/shared/{transform-WmU_cI8e.d.mts → transform-CVse9_mH.d.mts} +8 -4
  33. package/dist/rolldown/shared/{watch-vuOCmvFs.mjs → watch-YKfJgIxz.mjs} +4 -4
  34. package/dist/rolldown/utils-index.d.mts +3 -3
  35. package/dist/rolldown/utils-index.mjs +5 -5
  36. package/dist/tsdown/{build-D_enfyvD-Dg1eKRD4.js → build-JVmLFaZt-kqQJ2U7s.js} +1705 -239
  37. package/dist/tsdown/debug-CpC4hV25-tvH_Dsg5.js +247 -0
  38. package/dist/tsdown/{detect-DGhJGEqb-6CTf16BW.js → detect-Bg-d8iUV-KfbO7neP.js} +10 -12
  39. package/dist/tsdown/{dist-DyXLnzyh.js → dist-Cuw3Ngo4.js} +1226 -893
  40. package/dist/tsdown/index-types.d.ts +277 -355
  41. package/dist/tsdown/index.js +4 -4
  42. package/dist/tsdown/internal-D-JfB5uT.js +29 -0
  43. package/dist/tsdown/internal-lhH-5yya.js +62 -0
  44. package/dist/tsdown/{main-DiierkER.js → main-CyNcZUzu.js} +8 -214
  45. package/dist/tsdown/{resolver-cwLsPb2o-Dk4xdAGE.js → resolver-DE0_sy8o-ZQqHQjRu.js} +4 -4
  46. package/dist/tsdown/rolldown-runtime-B4iAMlE-.js +35 -0
  47. package/dist/tsdown/run.js +44 -8
  48. package/dist/tsdown/{src-drVPfX63.js → src-BWidcM5N.js} +5 -5
  49. package/dist/tsdown/{tsc-JnMl2z7d.js → tsc-ChjRhsoQ.js} +26 -20
  50. package/dist/tsdown/tsdown-css.js +17 -11
  51. package/dist/tsdown/tsdown-exe.js +16 -5
  52. package/dist/tsdown/version-CQ98ZBpL-Obdnv4J7.js +141 -0
  53. package/dist/vite/client/bundledDevClient.mjs +69 -19
  54. package/dist/vite/client/client.mjs +4 -4
  55. package/dist/vite/node/chunks/build.js +21 -21
  56. package/dist/vite/node/chunks/lib.js +2 -2
  57. package/dist/vite/node/chunks/node.js +159 -114
  58. package/dist/vite/node/chunks/postcss-import.js +13 -16
  59. package/dist/vite/node/index.d.ts +58 -55
  60. package/dist/vite/node/module-runner.d.ts +13 -13
  61. package/dist/vite/node/module-runner.js +3 -4
  62. package/package.json +30 -30
  63. package/dist/tsdown/debug-CKcBYQLP-C3NhYhrk.js +0 -157
  64. package/dist/tsdown/dist-CMKwGGNp.js +0 -1059
  65. package/dist/tsdown/internal-DKworeK4.js +0 -3
  66. package/dist/tsdown/target-Bab3CUeB-DQ0pKhCv.js +0 -582
@@ -104,7 +104,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
104
104
  try {
105
105
  const binding = __require("@rolldown/binding-android-arm64");
106
106
  const bindingPackageVersion = __require("@rolldown/binding-android-arm64/package.json").version;
107
- if (bindingPackageVersion !== "1.2.3" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
107
+ if (bindingPackageVersion !== "1.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
108
108
  return binding;
109
109
  } catch (e) {
110
110
  loadErrors.push(e);
@@ -118,7 +118,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
118
118
  try {
119
119
  const binding = __require("@rolldown/binding-android-arm-eabi");
120
120
  const bindingPackageVersion = __require("@rolldown/binding-android-arm-eabi/package.json").version;
121
- if (bindingPackageVersion !== "1.2.3" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
121
+ if (bindingPackageVersion !== "1.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
122
122
  return binding;
123
123
  } catch (e) {
124
124
  loadErrors.push(e);
@@ -135,7 +135,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
135
135
  try {
136
136
  const binding = __require("@rolldown/binding-win32-x64-gnu");
137
137
  const bindingPackageVersion = __require("@rolldown/binding-win32-x64-gnu/package.json").version;
138
- if (bindingPackageVersion !== "1.2.3" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
138
+ if (bindingPackageVersion !== "1.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
139
139
  return binding;
140
140
  } catch (e) {
141
141
  loadErrors.push(e);
@@ -149,7 +149,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
149
149
  try {
150
150
  const binding = __require("@voidzero-dev/vite-plus-win32-x64-msvc");
151
151
  const bindingPackageVersion = __require("@voidzero-dev/vite-plus-win32-x64-msvc/package.json").version;
152
- if (bindingPackageVersion !== "0.2.9" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
152
+ if (bindingPackageVersion !== "0.3.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
153
153
  return binding;
154
154
  } catch (e) {
155
155
  loadErrors.push(e);
@@ -164,7 +164,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
164
164
  try {
165
165
  const binding = __require("@rolldown/binding-win32-ia32-msvc");
166
166
  const bindingPackageVersion = __require("@rolldown/binding-win32-ia32-msvc/package.json").version;
167
- if (bindingPackageVersion !== "1.2.3" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
167
+ if (bindingPackageVersion !== "1.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
168
168
  return binding;
169
169
  } catch (e) {
170
170
  loadErrors.push(e);
@@ -178,7 +178,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
178
178
  try {
179
179
  const binding = __require("@voidzero-dev/vite-plus-win32-arm64-msvc");
180
180
  const bindingPackageVersion = __require("@voidzero-dev/vite-plus-win32-arm64-msvc/package.json").version;
181
- if (bindingPackageVersion !== "0.2.9" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
181
+ if (bindingPackageVersion !== "0.3.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
182
182
  return binding;
183
183
  } catch (e) {
184
184
  loadErrors.push(e);
@@ -193,7 +193,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
193
193
  try {
194
194
  const binding = __require("@rolldown/binding-darwin-universal");
195
195
  const bindingPackageVersion = __require("@rolldown/binding-darwin-universal/package.json").version;
196
- if (bindingPackageVersion !== "1.2.3" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
196
+ if (bindingPackageVersion !== "1.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
197
197
  return binding;
198
198
  } catch (e) {
199
199
  loadErrors.push(e);
@@ -207,7 +207,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
207
207
  try {
208
208
  const binding = __require("@voidzero-dev/vite-plus-darwin-x64");
209
209
  const bindingPackageVersion = __require("@voidzero-dev/vite-plus-darwin-x64/package.json").version;
210
- if (bindingPackageVersion !== "0.2.9" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
210
+ if (bindingPackageVersion !== "0.3.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
211
211
  return binding;
212
212
  } catch (e) {
213
213
  loadErrors.push(e);
@@ -221,7 +221,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
221
221
  try {
222
222
  const binding = __require("@voidzero-dev/vite-plus-darwin-arm64");
223
223
  const bindingPackageVersion = __require("@voidzero-dev/vite-plus-darwin-arm64/package.json").version;
224
- if (bindingPackageVersion !== "0.2.9" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
224
+ if (bindingPackageVersion !== "0.3.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
225
225
  return binding;
226
226
  } catch (e) {
227
227
  loadErrors.push(e);
@@ -237,7 +237,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
237
237
  try {
238
238
  const binding = __require("@rolldown/binding-freebsd-x64");
239
239
  const bindingPackageVersion = __require("@rolldown/binding-freebsd-x64/package.json").version;
240
- if (bindingPackageVersion !== "1.2.3" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
240
+ if (bindingPackageVersion !== "1.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
241
241
  return binding;
242
242
  } catch (e) {
243
243
  loadErrors.push(e);
@@ -251,7 +251,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
251
251
  try {
252
252
  const binding = __require("@rolldown/binding-freebsd-arm64");
253
253
  const bindingPackageVersion = __require("@rolldown/binding-freebsd-arm64/package.json").version;
254
- if (bindingPackageVersion !== "1.2.3" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
254
+ if (bindingPackageVersion !== "1.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
255
255
  return binding;
256
256
  } catch (e) {
257
257
  loadErrors.push(e);
@@ -268,7 +268,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
268
268
  try {
269
269
  const binding = __require("@voidzero-dev/vite-plus-linux-x64-musl");
270
270
  const bindingPackageVersion = __require("@voidzero-dev/vite-plus-linux-x64-musl/package.json").version;
271
- if (bindingPackageVersion !== "0.2.9" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
271
+ if (bindingPackageVersion !== "0.3.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
272
272
  return binding;
273
273
  } catch (e) {
274
274
  loadErrors.push(e);
@@ -282,7 +282,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
282
282
  try {
283
283
  const binding = __require("@voidzero-dev/vite-plus-linux-x64-gnu");
284
284
  const bindingPackageVersion = __require("@voidzero-dev/vite-plus-linux-x64-gnu/package.json").version;
285
- if (bindingPackageVersion !== "0.2.9" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
285
+ if (bindingPackageVersion !== "0.3.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
286
286
  return binding;
287
287
  } catch (e) {
288
288
  loadErrors.push(e);
@@ -298,7 +298,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
298
298
  try {
299
299
  const binding = __require("@voidzero-dev/vite-plus-linux-arm64-musl");
300
300
  const bindingPackageVersion = __require("@voidzero-dev/vite-plus-linux-arm64-musl/package.json").version;
301
- if (bindingPackageVersion !== "0.2.9" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
301
+ if (bindingPackageVersion !== "0.3.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
302
302
  return binding;
303
303
  } catch (e) {
304
304
  loadErrors.push(e);
@@ -312,7 +312,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
312
312
  try {
313
313
  const binding = __require("@voidzero-dev/vite-plus-linux-arm64-gnu");
314
314
  const bindingPackageVersion = __require("@voidzero-dev/vite-plus-linux-arm64-gnu/package.json").version;
315
- if (bindingPackageVersion !== "0.2.9" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.2.9 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
315
+ if (bindingPackageVersion !== "0.3.1" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 0.3.1 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
316
316
  return binding;
317
317
  } catch (e) {
318
318
  loadErrors.push(e);
@@ -328,7 +328,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
328
328
  try {
329
329
  const binding = __require("@rolldown/binding-linux-arm-musleabihf");
330
330
  const bindingPackageVersion = __require("@rolldown/binding-linux-arm-musleabihf/package.json").version;
331
- if (bindingPackageVersion !== "1.2.3" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
331
+ if (bindingPackageVersion !== "1.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
332
332
  return binding;
333
333
  } catch (e) {
334
334
  loadErrors.push(e);
@@ -342,7 +342,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
342
342
  try {
343
343
  const binding = __require("@rolldown/binding-linux-arm-gnueabihf");
344
344
  const bindingPackageVersion = __require("@rolldown/binding-linux-arm-gnueabihf/package.json").version;
345
- if (bindingPackageVersion !== "1.2.3" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
345
+ if (bindingPackageVersion !== "1.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
346
346
  return binding;
347
347
  } catch (e) {
348
348
  loadErrors.push(e);
@@ -358,7 +358,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
358
358
  try {
359
359
  const binding = __require("@rolldown/binding-linux-loong64-musl");
360
360
  const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-musl/package.json").version;
361
- if (bindingPackageVersion !== "1.2.3" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
361
+ if (bindingPackageVersion !== "1.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
362
362
  return binding;
363
363
  } catch (e) {
364
364
  loadErrors.push(e);
@@ -372,7 +372,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
372
372
  try {
373
373
  const binding = __require("@rolldown/binding-linux-loong64-gnu");
374
374
  const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-gnu/package.json").version;
375
- if (bindingPackageVersion !== "1.2.3" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
375
+ if (bindingPackageVersion !== "1.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
376
376
  return binding;
377
377
  } catch (e) {
378
378
  loadErrors.push(e);
@@ -388,7 +388,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
388
388
  try {
389
389
  const binding = __require("@rolldown/binding-linux-riscv64-musl");
390
390
  const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-musl/package.json").version;
391
- if (bindingPackageVersion !== "1.2.3" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
391
+ if (bindingPackageVersion !== "1.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
392
392
  return binding;
393
393
  } catch (e) {
394
394
  loadErrors.push(e);
@@ -402,7 +402,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
402
402
  try {
403
403
  const binding = __require("@rolldown/binding-linux-riscv64-gnu");
404
404
  const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-gnu/package.json").version;
405
- if (bindingPackageVersion !== "1.2.3" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
405
+ if (bindingPackageVersion !== "1.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
406
406
  return binding;
407
407
  } catch (e) {
408
408
  loadErrors.push(e);
@@ -417,7 +417,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
417
417
  try {
418
418
  const binding = __require("@rolldown/binding-linux-ppc64-gnu");
419
419
  const bindingPackageVersion = __require("@rolldown/binding-linux-ppc64-gnu/package.json").version;
420
- if (bindingPackageVersion !== "1.2.3" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
420
+ if (bindingPackageVersion !== "1.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
421
421
  return binding;
422
422
  } catch (e) {
423
423
  loadErrors.push(e);
@@ -431,7 +431,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
431
431
  try {
432
432
  const binding = __require("@rolldown/binding-linux-s390x-gnu");
433
433
  const bindingPackageVersion = __require("@rolldown/binding-linux-s390x-gnu/package.json").version;
434
- if (bindingPackageVersion !== "1.2.3" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
434
+ if (bindingPackageVersion !== "1.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
435
435
  return binding;
436
436
  } catch (e) {
437
437
  loadErrors.push(e);
@@ -447,7 +447,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
447
447
  try {
448
448
  const binding = __require("@rolldown/binding-openharmony-arm64");
449
449
  const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm64/package.json").version;
450
- if (bindingPackageVersion !== "1.2.3" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
450
+ if (bindingPackageVersion !== "1.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
451
451
  return binding;
452
452
  } catch (e) {
453
453
  loadErrors.push(e);
@@ -461,7 +461,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
461
461
  try {
462
462
  const binding = __require("@rolldown/binding-openharmony-x64");
463
463
  const bindingPackageVersion = __require("@rolldown/binding-openharmony-x64/package.json").version;
464
- if (bindingPackageVersion !== "1.2.3" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
464
+ if (bindingPackageVersion !== "1.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
465
465
  return binding;
466
466
  } catch (e) {
467
467
  loadErrors.push(e);
@@ -475,7 +475,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
475
475
  try {
476
476
  const binding = __require("@rolldown/binding-openharmony-arm");
477
477
  const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm/package.json").version;
478
- if (bindingPackageVersion !== "1.2.3" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
478
+ if (bindingPackageVersion !== "1.2.7" && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") throw new Error(`Native binding package version mismatch, expected 1.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
479
479
  return binding;
480
480
  } catch (e) {
481
481
  loadErrors.push(e);
@@ -565,7 +565,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
565
565
  if (!candidateFailed) {
566
566
  if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
567
567
  const bindingPackageVersion = __require("@rolldown/binding-wasm32-wasi/package.json").version;
568
- if (bindingPackageVersion !== "1.2.3") throw new Error(`WASI binding package version mismatch, expected 1.2.3 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
568
+ if (bindingPackageVersion !== "1.2.7") throw new Error(`WASI binding package version mismatch, expected 1.2.7 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
569
569
  }
570
570
  wasiBinding = __require("@rolldown/binding-wasm32-wasi");
571
571
  nativeBinding = wasiBinding;
@@ -663,8 +663,10 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
663
663
  module.exports.enhancedTransform = nativeBinding.enhancedTransform;
664
664
  module.exports.enhancedTransformSync = nativeBinding.enhancedTransformSync;
665
665
  module.exports.FilterTokenKind = nativeBinding.FilterTokenKind;
666
+ module.exports.getNativeMemoryStats = nativeBinding.getNativeMemoryStats;
666
667
  module.exports.initTraceSubscriber = nativeBinding.initTraceSubscriber;
667
668
  module.exports.registerPlugins = nativeBinding.registerPlugins;
669
+ module.exports.resetNativeMemoryStats = nativeBinding.resetNativeMemoryStats;
668
670
  module.exports.resolveTsconfig = nativeBinding.resolveTsconfig;
669
671
  module.exports.shutdownAsyncRuntime = nativeBinding.shutdownAsyncRuntime;
670
672
  module.exports.startAsyncRuntime = nativeBinding.startAsyncRuntime;
@@ -1,8 +1,8 @@
1
- import { n as __toESM, t as require_binding } from "./binding-CKyeQZen.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-DmImI4pj.mjs";
2
2
  import { i as logFailedValidation, l as logPluginError, n as error, o as logInvalidLogPosition, r as logCycleLoading, t as augmentCodeLocation } from "./logs-DmYCAKcW.mjs";
3
- import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-DYjJ67tj.mjs";
3
+ import { i as bindingifyManifestPlugin, n as BuiltinPlugin, r as bindingifyBuiltInPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-Dm69lpQ-.mjs";
4
4
  import { i as noop, n as isPathFragment, o as unreachable, s as unsupported, t as arraify } from "./misc-DOSKtd97.mjs";
5
- import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-BzLGqhSQ.mjs";
5
+ import { a as bindingifySourcemap, i as unwrapBindingResult, t as aggregateBindingErrorsIntoJsError } from "./error-BP8lJHle.mjs";
6
6
  import { parseAst } from "../parse-ast-index.mjs";
7
7
  import fs from "node:fs";
8
8
  import path from "node:path";
@@ -10,7 +10,7 @@ import * as filter from "@voidzero-dev/vite-plus-core/rolldown/pluginutils";
10
10
  import fsp from "node:fs/promises";
11
11
  import { fileURLToPath } from "node:url";
12
12
  //#region package.json
13
- var version = "1.2.3";
13
+ var version = "1.2.7";
14
14
  var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
15
15
  //#endregion
16
16
  //#region src/constants/version.ts
@@ -236,7 +236,7 @@ function bindingAssetSource(source) {
236
236
  return { inner: source };
237
237
  }
238
238
  //#endregion
239
- //#region \0@oxc-project+runtime@0.143.0/helpers/esm/decorate.js
239
+ //#region \0@oxc-project+runtime@0.148.0/helpers/esm/decorate.js
240
240
  function __decorate(decorators, target, key, desc) {
241
241
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
242
242
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
@@ -520,7 +520,9 @@ function transformToMutableRollupOutputAsset(bindingAsset, changed) {
520
520
  }
521
521
  function transformToRollupOutput(output) {
522
522
  const { chunks, assets } = output;
523
- return { output: [...chunks.map((chunk) => transformToRollupOutputChunk(chunk)), ...assets.map((asset) => transformToRollupOutputAsset(asset))] };
523
+ const transformed = { output: [...chunks.map((chunk) => transformToRollupOutputChunk(chunk)), ...assets.map((asset) => transformToRollupOutputAsset(asset))] };
524
+ if (output.mangleCache !== void 0) transformed.mangleCache = output.mangleCache;
525
+ return transformed;
524
526
  }
525
527
  function transformToMutableRollupOutput(output, changed) {
526
528
  const { chunks, assets } = output;
@@ -1022,7 +1024,7 @@ function normalizeTransformHookSourcemap(id, originalCode, rawMap) {
1022
1024
  return map;
1023
1025
  }
1024
1026
  //#endregion
1025
- //#region ../../../node_modules/.pnpm/remeda@2.34.1/node_modules/remeda/dist/lazyDataLastImpl-DtF3cihj.js
1027
+ //#region ../../../node_modules/.pnpm/remeda@2.45.0/node_modules/remeda/dist/lazyDataLastImpl--3B10z3s.js
1026
1028
  function e(e, t, n) {
1027
1029
  let r = (n) => e(n, ...t);
1028
1030
  return n === void 0 ? r : Object.assign(r, {
@@ -1031,7 +1033,7 @@ function e(e, t, n) {
1031
1033
  });
1032
1034
  }
1033
1035
  //#endregion
1034
- //#region ../../../node_modules/.pnpm/remeda@2.34.1/node_modules/remeda/dist/purry.js
1036
+ //#region ../../../node_modules/.pnpm/remeda@2.45.0/node_modules/remeda/dist/purry.js
1035
1037
  function t$1(t, n, r) {
1036
1038
  let i = t.length - n.length;
1037
1039
  if (i === 0) return t(...n);
@@ -1039,7 +1041,7 @@ function t$1(t, n, r) {
1039
1041
  throw Error(`Wrong number of arguments`);
1040
1042
  }
1041
1043
  //#endregion
1042
- //#region ../../../node_modules/.pnpm/remeda@2.34.1/node_modules/remeda/dist/partition.js
1044
+ //#region ../../../node_modules/.pnpm/remeda@2.45.0/node_modules/remeda/dist/partition.js
1043
1045
  function t(...t) {
1044
1046
  return t$1(n, t);
1045
1047
  }
@@ -1,5 +1,5 @@
1
- import { C as BindingViteJsonPluginConfig, D as BindingViteReporterPluginConfig, E as BindingViteReactRefreshWrapperPluginConfig, O as BindingViteResolvePluginConfig, S as BindingViteImportGlobPluginConfig, T as BindingViteModulePreloadPolyfillPluginConfig, b as BindingViteBuildImportAnalysisPluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, x as BindingViteDynamicImportVarsPluginConfig } from "./binding-CVtkJvyl.mjs";
2
- import { Gt as StringOrRegExp, I as BuiltinPlugin } from "./define-config-DVsXPNaU.mjs";
1
+ import { A as BindingViteResolvePluginConfig, C as BindingViteDynamicImportVarsPluginConfig, D as BindingViteModulePreloadPolyfillPluginConfig, O as BindingViteReactRefreshWrapperPluginConfig, S as BindingViteBuildImportAnalysisPluginConfig, T as BindingViteJsonPluginConfig, k as BindingViteReporterPluginConfig, l as BindingIsolatedDeclarationPluginConfig, s as BindingEsmExternalRequirePluginConfig, w as BindingViteImportGlobPluginConfig } from "./binding-DZuNHVw4.mjs";
2
+ import { I as BuiltinPlugin, Kt as StringOrRegExp } from "./define-config-DNX0WekP.mjs";
3
3
  //#region src/builtin-plugin/constructors.d.ts
4
4
  declare function viteModulePreloadPolyfillPlugin(config?: BindingViteModulePreloadPolyfillPluginConfig): BuiltinPlugin;
5
5
  type DynamicImportVarsPluginConfig = Omit<BindingViteDynamicImportVarsPluginConfig, "include" | "exclude"> & {
@@ -1,4 +1,4 @@
1
- import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-DYjJ67tj.mjs";
1
+ import { a as makeBuiltinPluginCallable, n as BuiltinPlugin, t as normalizedStringOrRegex } from "./normalize-string-or-regex-Dm69lpQ-.mjs";
2
2
  //#region src/builtin-plugin/constructors.ts
3
3
  function viteModulePreloadPolyfillPlugin(config) {
4
4
  return new BuiltinPlugin("builtin:vite-module-preload-polyfill", config);
@@ -1,7 +1,7 @@
1
- import { n as __toESM, t as require_binding } from "./binding-CKyeQZen.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-DmImI4pj.mjs";
2
2
  import { a as logInputHookInOutputPlugin, n as error } from "./logs-DmYCAKcW.mjs";
3
- import { n as BuiltinPlugin } from "./normalize-string-or-regex-DYjJ67tj.mjs";
4
- import { C as LOG_LEVEL_WARN, T as VERSION, _ as getParallelPluginInfo, a as measureIfFunction, b as LOG_LEVEL_DEBUG, c as PluginContextData, d as transformRenderedChunk, g as MinimalPluginContextImpl, i as measureHookCost, l as transformModuleInfo, o as pluginTimingsRecorderFor, p as transformAssetSource, r as OUTPUT_OPTIONS_OWNER, t as bindingifyInputOptions, v as normalizeHook, w as logLevelPriority, y as normalizeLog } from "./bindingify-input-options-44iPAymO.mjs";
3
+ import { n as BuiltinPlugin } from "./normalize-string-or-regex-Dm69lpQ-.mjs";
4
+ import { C as LOG_LEVEL_WARN, T as VERSION, _ as getParallelPluginInfo, a as measureIfFunction, b as LOG_LEVEL_DEBUG, c as PluginContextData, d as transformRenderedChunk, g as MinimalPluginContextImpl, i as measureHookCost, l as transformModuleInfo, o as pluginTimingsRecorderFor, p as transformAssetSource, r as OUTPUT_OPTIONS_OWNER, t as bindingifyInputOptions, v as normalizeHook, w as logLevelPriority, y as normalizeLog } from "./bindingify-input-options-BYClWKnj.mjs";
5
5
  import { a as unimplemented } from "./misc-DOSKtd97.mjs";
6
6
  import { Worker } from "node:worker_threads";
7
7
  import path, { sep } from "node:path";
@@ -1522,7 +1522,8 @@ const ChecksOptionsSchema = /* @__PURE__ */ strictObject({
1522
1522
  unsupportedTsconfigOption: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when a tsconfig option or combination of options is not supported")),
1523
1523
  ineffectiveDynamicImport: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when a module is dynamically imported but also statically imported, making the dynamic import ineffective for code splitting")),
1524
1524
  largeBarrelModules: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit info logs when a barrel module has a very large number of re-exports (more than 5000)")),
1525
- sourcemapBroken: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when a plugin transforms code without generating a sourcemap"))
1525
+ sourcemapBroken: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when a plugin transforms code without generating a sourcemap")),
1526
+ namespaceConflict: /* @__PURE__ */ pipe(/* @__PURE__ */ optional(/* @__PURE__ */ boolean()), /* @__PURE__ */ description("Whether to emit warnings when multiple star re-exports provide the same name from different modules"))
1526
1527
  });
1527
1528
  const MinifyOptionsSchema = /* @__PURE__ */ strictObject({
1528
1529
  compress: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ strictObject({
@@ -1556,6 +1557,14 @@ const MinifyOptionsSchema = /* @__PURE__ */ strictObject({
1556
1557
  reserved: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string())),
1557
1558
  debug: /* @__PURE__ */ optional(/* @__PURE__ */ boolean())
1558
1559
  })])),
1560
+ mangleProps: /* @__PURE__ */ optional(/* @__PURE__ */ strictObject({
1561
+ include: /* @__PURE__ */ instance(RegExp),
1562
+ exclude: /* @__PURE__ */ optional(/* @__PURE__ */ instance(RegExp)),
1563
+ reserved: /* @__PURE__ */ optional(/* @__PURE__ */ array(/* @__PURE__ */ string())),
1564
+ quoted: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1565
+ debug: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1566
+ cache: /* @__PURE__ */ optional(/* @__PURE__ */ record(/* @__PURE__ */ string(), /* @__PURE__ */ union([/* @__PURE__ */ string(), /* @__PURE__ */ literal(false)])))
1567
+ })),
1559
1568
  codegen: /* @__PURE__ */ optional(/* @__PURE__ */ union([/* @__PURE__ */ boolean(), /* @__PURE__ */ strictObject({
1560
1569
  removeWhitespace: /* @__PURE__ */ optional(/* @__PURE__ */ boolean()),
1561
1570
  legalComments: /* @__PURE__ */ optional(/* @__PURE__ */ union([
@@ -3060,8 +3069,8 @@ function bindingifyCodeSplitting(codeSplitting, inlineDynamicImportsOption, adva
3060
3069
  const { name, test, ...restGroup } = group;
3061
3070
  return {
3062
3071
  ...restGroup,
3063
- test: typeof test === "function" ? measureHookCost(timings, OUTPUT_OPTIONS_OWNER, "codeSplitting groups[].test", test) : test,
3064
- name: typeof name === "function" ? measureHookCost(timings, OUTPUT_OPTIONS_OWNER, "codeSplitting groups[].name", (id, ctx) => name(id, new ChunkingContextImpl(ctx, pluginContextData))) : name
3072
+ test: typeof test === "function" ? batchTest(measureHookCost(timings, OUTPUT_OPTIONS_OWNER, "codeSplitting groups[].test", test)) : test,
3073
+ name: typeof name === "function" ? batchName(measureHookCost(timings, OUTPUT_OPTIONS_OWNER, "codeSplitting groups[].name", name), pluginContextData) : name
3065
3074
  };
3066
3075
  })
3067
3076
  };
@@ -3071,6 +3080,40 @@ function bindingifyCodeSplitting(codeSplitting, inlineDynamicImportsOption, adva
3071
3080
  advancedChunks: advancedChunksResult
3072
3081
  };
3073
3082
  }
3083
+ /**
3084
+ * Wraps a per-id `test` in the batched shim that the binding expects.
3085
+ *
3086
+ * The loop runs in JS so that a group makes one napi crossing, not one per module.
3087
+ *
3088
+ * The result is a `Uint8Array`, which crosses as a buffer instead of one tagged value per id.
3089
+ */
3090
+ function batchTest(test) {
3091
+ return (ids) => {
3092
+ const results = new Uint8Array(ids.length);
3093
+ for (let index = 0; index < ids.length; index++) {
3094
+ const result = test(ids[index]);
3095
+ if (result != null && typeof result !== "boolean") throw new TypeError(`\`output.codeSplitting.groups[].test\` returned ${typeof result} for module "${ids[index]}", but expected a boolean, null or undefined.`);
3096
+ results[index] = result === true ? 1 : 0;
3097
+ }
3098
+ return results;
3099
+ };
3100
+ }
3101
+ /**
3102
+ * This is the `name` equivalent of {@linkcode batchTest}. The context wrapper holds no per-call
3103
+ * state, so one instance serves the whole batch.
3104
+ */
3105
+ function batchName(name, pluginContextData) {
3106
+ return (ids, bindingContext) => {
3107
+ const context = new ChunkingContextImpl(bindingContext, pluginContextData);
3108
+ const results = [];
3109
+ for (let index = 0; index < ids.length; index++) {
3110
+ const result = name(ids[index], context);
3111
+ if (result != null && typeof result !== "string") throw new TypeError(`\`output.codeSplitting.groups[].name\` returned ${typeof result} for module "${ids[index]}", but expected a string, null or undefined.`);
3112
+ results.push(result);
3113
+ }
3114
+ return results;
3115
+ };
3116
+ }
3074
3117
  //#endregion
3075
3118
  //#region src/utils/initialize-parallel-plugins.ts
3076
3119
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
@@ -1,5 +1,5 @@
1
1
  import { a as RolldownLog, i as RolldownError, n as LogLevelOption, o as RolldownLogWithString, r as LogOrStringHandler, t as LogLevel } from "./logging-xuHO4mAy.mjs";
2
- import { A as BindingWatcherBundler, B as PreRenderedChunk, F as MinifyOptions$1, P as JsxOptions, W as TransformOptions$1, c as BindingHookResolveIdExtraArgs, d as BindingMagicString, f as BindingPluginContextResolveOptions, g as BindingTransformHookExtraArgs, j as ExternalMemoryStatus, m as BindingRenderedChunk, t as BindingBuiltinPluginName, z as ParserOptions } from "./binding-CVtkJvyl.mjs";
2
+ import { H as ParserOptions, I as JsxOptions, L as ManglePropertiesOptions$1, M as BindingWatcherBundler, N as ExternalMemoryStatus, R as MinifyOptions$1, U as PreRenderedChunk, c as BindingHookResolveIdExtraArgs, d as BindingMagicString, g as BindingRenderedChunk, m as BindingPluginContextResolveOptions, q as TransformOptions$1, t as BindingBuiltinPluginName, v as BindingTransformHookExtraArgs } from "./binding-DZuNHVw4.mjs";
3
3
  import { TopLevelFilterExpression } from "@voidzero-dev/vite-plus-core/rolldown/pluginutils";
4
4
  import { Program } from "@oxc-project/types";
5
5
  //#region src/types/misc.d.ts
@@ -250,6 +250,13 @@ interface RolldownOutput extends ExternalMemoryHandle {
250
250
  * {@linkcode OutputChunk} and/or {@linkcode OutputAsset}s.
251
251
  */
252
252
  output: [OutputChunk, ...(OutputChunk | OutputAsset)[]];
253
+ /**
254
+ * The updated property-name cache. Present when `minify.mangleProps` runs.
255
+ *
256
+ * This contains the input cache and any generated mappings. Pass it to a later
257
+ * `minify.mangleProps.cache` to reuse the same mappings.
258
+ */
259
+ mangleCache?: Record<string, string | false>;
253
260
  }
254
261
  //#endregion
255
262
  //#region src/types/utils.d.ts
@@ -334,7 +341,25 @@ type GlobalsFunction = (name: string) => string;
334
341
  type CodeSplittingNameFunction = (moduleId: string, ctx: ChunkingContext) => string | NullValue;
335
342
  /** @inline @category Code Splitting */
336
343
  type CodeSplittingTestFunction = (id: string) => boolean | undefined | void;
337
- type MinifyOptions = Omit<MinifyOptions$1, "module" | "sourcemap">;
344
+ interface ManglePropertiesOptions extends Omit<ManglePropertiesOptions$1, "cache"> {
345
+ /**
346
+ * Stable mappings from original names to output names. `false` reserves an original name.
347
+ * String targets must be valid identifiers and cannot be `__proto__`, `constructor`, or
348
+ * `prototype`. Generated mappings are returned as `RolldownOutput.mangleCache`.
349
+ */
350
+ cache?: Record<string, string | false>;
351
+ }
352
+ type MinifyOptions = Omit<MinifyOptions$1, "module" | "sourcemap" | "mangleProps"> & {
353
+ /**
354
+ * Mangle matching property names. This currently requires a single JavaScript output chunk.
355
+ * Rolldown throws an error when this option is used with multiple JavaScript chunks.
356
+ *
357
+ * Reserve names accessed indirectly, through module namespace objects, or by code outside
358
+ * Rolldown's minification.
359
+ * Numeric spellings, `__proto__`, `constructor`, and `prototype` are never mangled.
360
+ */
361
+ mangleProps?: ManglePropertiesOptions;
362
+ };
338
363
  interface CommentsOptions {
339
364
  /**
340
365
  * Comments that contain `@license`, `@preserve` or start with `//!` or `/*!`
@@ -1052,6 +1077,10 @@ type CodeSplittingGroup = {
1052
1077
  * :::warning
1053
1078
  * Constraints like `minSize`, `maxSize`, etc. are applied separately for different names returned by the function.
1054
1079
  * :::
1080
+ *
1081
+ * :::warning
1082
+ * Rolldown calls a function `name` once for each captured module, in a deterministic order. It calls `test` for every candidate module of the group first. Do not read a "current module" variable that `test` wrote, because that variable holds the last module `test` saw. Store such state under the module id instead.
1083
+ * :::
1055
1084
  */
1056
1085
  name: string | CodeSplittingNameFunction;
1057
1086
  /**
@@ -1067,6 +1096,10 @@ type CodeSplittingGroup = {
1067
1096
  * - ✅ Recommended: `/node_modules[\\/]react/`
1068
1097
  * - ❌ Not recommended: `/node_modules/react/`
1069
1098
  * :::
1099
+ *
1100
+ * :::warning
1101
+ * Rolldown calls a function `test` once for each candidate module, in a deterministic order. It makes every `test` call of a group before it makes the first `name` call of that group. Rolldown processes the groups in the order that you declare them.
1102
+ * :::
1070
1103
  */
1071
1104
  test?: StringOrRegExp | CodeSplittingTestFunction;
1072
1105
  /**
@@ -1679,6 +1712,11 @@ interface ChecksOptions {
1679
1712
  * @default true
1680
1713
  * */
1681
1714
  sourcemapBroken?: boolean;
1715
+ /**
1716
+ * Whether to emit warnings when multiple star re-exports provide the same name from different modules.
1717
+ * @default true
1718
+ * */
1719
+ namespaceConflict?: boolean;
1682
1720
  }
1683
1721
  //#endregion
1684
1722
  //#region src/options/transform-options.d.ts
@@ -2608,10 +2646,10 @@ declare const RUNTIME_MODULE_ID = "\0rolldown/runtime.js";
2608
2646
  //#region src/builtin-plugin/utils.d.ts
2609
2647
  declare class BuiltinPlugin {
2610
2648
  name: BindingBuiltinPluginName;
2611
- _options?: unknown;
2649
+ _options?: unknown | undefined;
2612
2650
  /** Vite-specific option to control plugin ordering */
2613
2651
  enforce?: "pre" | "post";
2614
- constructor(name: BindingBuiltinPluginName, _options?: unknown);
2652
+ constructor(name: BindingBuiltinPluginName, _options?: unknown | undefined);
2615
2653
  }
2616
2654
  //#endregion
2617
2655
  //#region src/constants/plugin.d.ts
@@ -3979,8 +4017,9 @@ interface InputOptions {
3979
4017
  * Devtools integration options.
3980
4018
  *
3981
4019
  * When enabled, Rolldown writes JSON-lines devtools output under
3982
- * `node_modules/.rolldown/{session_id}/`. Consumers can parse the output with
3983
- * `@rolldown/debug` after `await bundle.close()` resolves.
4020
+ * `node_modules/.rolldown/{session_id}/`, resolved against {@linkcode cwd}.
4021
+ * Consumers can parse the output with `@rolldown/debug` after
4022
+ * `await bundle.close()` resolves.
3984
4023
  *
3985
4024
  * @experimental
3986
4025
  */
@@ -4059,4 +4098,4 @@ declare function defineConfig(config: RolldownOptions[]): RolldownOptions[];
4059
4098
  declare function defineConfig(config: RolldownOptionsFunction): RolldownOptionsFunction;
4060
4099
  declare function defineConfig(config: ConfigExport): ConfigExport;
4061
4100
  //#endregion
4062
- export { defineParallelPlugin as $, ModuleInfo as $t, ResolvedId as A, ChunkFileNamesFunction as At, ExistingRawSourceMap as B, ModuleFormat as Bt, ParallelPluginHooks as C, RolldownBuild as Ct, ResolveFileUrlArgs as D, AdvancedChunksGroup as Dt, PluginMeta as E, AddonFunction as Et, withFilter as F, CommentsOptions as Ft, EmittedAsset as G, StringOrRegExp as Gt, OutputBundle as H, PreRenderedAsset as Ht, BuiltinPlugin as I, GeneratedCodeOptions as It, EmittedPrebuiltChunk as J, RenderedChunk as Jt, EmittedChunk as K, OutputAsset as Kt, RUNTIME_MODULE_ID as L, GeneratedCodePreset as Lt, RolldownPluginOption as M, CodeSplittingGroup as Mt, SourceDescription as N, CodeSplittingNameFunction as Nt, ResolveIdExtraOptions as O, AdvancedChunksOptions as Ot, TransformResult as P, CodeSplittingOptions as Pt, DefineParallelPluginResult as Q, freeExternalMemory as Qt, VERSION as R, GlobalsFunction as Rt, ObjectHook as S, rolldown as St, Plugin as T, build as Tt, TreeshakingOptions as U, MaybePromise as Ut, SourceMapInput as V, OutputOptions as Vt, TransformPluginContext as W, PartialNull as Wt, PluginContext as X, RolldownOutput as Xt, GetModuleInfo as Y, RenderedModule as Yt, PluginContextResolveOptions as Z, SourceMap as Zt, HookFilterExtension as _, watch as _t, ChunkOptimizationOptions as a, BufferEncoding as at, ModuleOptions as b, RolldownWatcherWatcherEventMap as bt, InputOption as c, RolldownFsModule as ct, OptimizationOptions as d, NormalizedInputOptions as dt, SourcemapIgnoreListOption as en, MinimalPluginContext as et, WatcherFileWatcherOptions as f, TransformOptions as ft, FunctionPluginHooks as g, RolldownMagicString as gt, CustomPluginOptions as h, WarningHandlerWithDefault as ht, RolldownOptions as i, ModuleTypeFilter as it, RolldownPlugin as j, ChunkingContext as jt, ResolveIdResult as k, BuiltinModuleTag as kt, InputOptions as l, InternalModuleFormat as lt, AsyncPluginHooks as m, LoggingFunction as mt, RolldownOptionsFunction as n, GeneralHookFilter as nt, ExternalOption as o, RolldownDirectoryEntry as ot, WatcherOptions as p, ChecksOptions as pt, EmittedFile as q, OutputChunk as qt, defineConfig as r, HookFilter as rt, ExternalOptionFunction as s, RolldownFileStats as st, ConfigExport as t, PluginContextMeta as tt, ModuleTypes as u, NormalizedOutputOptions as ut, ImportKind as v, RolldownWatcher as vt, PartialResolvedId as w, BuildOptions as wt, ModuleType as x, WatchOptions as xt, LoadResult as y, RolldownWatcherEvent as yt, BundleError as z, MinifyOptions as zt };
4101
+ export { defineParallelPlugin as $, freeExternalMemory as $t, ResolvedId as A, ChunkFileNamesFunction as At, ExistingRawSourceMap as B, MinifyOptions as Bt, ParallelPluginHooks as C, RolldownBuild as Ct, ResolveFileUrlArgs as D, AdvancedChunksGroup as Dt, PluginMeta as E, AddonFunction as Et, withFilter as F, CommentsOptions as Ft, EmittedAsset as G, PartialNull as Gt, OutputBundle as H, OutputOptions as Ht, BuiltinPlugin as I, GeneratedCodeOptions as It, EmittedPrebuiltChunk as J, OutputChunk as Jt, EmittedChunk as K, StringOrRegExp as Kt, RUNTIME_MODULE_ID as L, GeneratedCodePreset as Lt, RolldownPluginOption as M, CodeSplittingGroup as Mt, SourceDescription as N, CodeSplittingNameFunction as Nt, ResolveIdExtraOptions as O, AdvancedChunksOptions as Ot, TransformResult as P, CodeSplittingOptions as Pt, DefineParallelPluginResult as Q, SourceMap as Qt, VERSION as R, GlobalsFunction as Rt, ObjectHook as S, rolldown as St, Plugin as T, build as Tt, TreeshakingOptions as U, PreRenderedAsset as Ut, SourceMapInput as V, ModuleFormat as Vt, TransformPluginContext as W, MaybePromise as Wt, PluginContext as X, RenderedModule as Xt, GetModuleInfo as Y, RenderedChunk as Yt, PluginContextResolveOptions as Z, RolldownOutput as Zt, HookFilterExtension as _, watch as _t, ChunkOptimizationOptions as a, BufferEncoding as at, ModuleOptions as b, RolldownWatcherWatcherEventMap as bt, InputOption as c, RolldownFsModule as ct, OptimizationOptions as d, NormalizedInputOptions as dt, ModuleInfo as en, MinimalPluginContext as et, WatcherFileWatcherOptions as f, TransformOptions as ft, FunctionPluginHooks as g, RolldownMagicString as gt, CustomPluginOptions as h, WarningHandlerWithDefault as ht, RolldownOptions as i, ModuleTypeFilter as it, RolldownPlugin as j, ChunkingContext as jt, ResolveIdResult as k, BuiltinModuleTag as kt, InputOptions as l, InternalModuleFormat as lt, AsyncPluginHooks as m, LoggingFunction as mt, RolldownOptionsFunction as n, GeneralHookFilter as nt, ExternalOption as o, RolldownDirectoryEntry as ot, WatcherOptions as p, ChecksOptions as pt, EmittedFile as q, OutputAsset as qt, defineConfig as r, HookFilter as rt, ExternalOptionFunction as s, RolldownFileStats as st, ConfigExport as t, SourcemapIgnoreListOption as tn, PluginContextMeta as tt, ModuleTypes as u, NormalizedOutputOptions as ut, ImportKind as v, RolldownWatcher as vt, PartialResolvedId as w, BuildOptions as wt, ModuleType as x, WatchOptions as xt, LoadResult as y, RolldownWatcherEvent as yt, BundleError as z, ManglePropertiesOptions as zt };
@@ -1,4 +1,4 @@
1
- import { t as require_binding } from "./binding-CKyeQZen.mjs";
1
+ import { t as require_binding } from "./binding-DmImI4pj.mjs";
2
2
  //#region src/types/sourcemap.ts
3
3
  function bindingifySourcemap(map) {
4
4
  if (map == null) return;
@@ -1,4 +1,4 @@
1
- import { t as rolldown } from "./rolldown-CCbQNGZt.mjs";
1
+ import { t as rolldown } from "./rolldown-CaX_Wmqc.mjs";
2
2
  import fs from "node:fs";
3
3
  import path from "node:path";
4
4
  import { readdir } from "node:fs/promises";
@@ -1,4 +1,4 @@
1
- import { n as __toESM, t as require_binding } from "./binding-CKyeQZen.mjs";
1
+ import { n as __toESM, t as require_binding } from "./binding-DmImI4pj.mjs";
2
2
  import { l as logPluginError, n as error } from "./logs-DmYCAKcW.mjs";
3
3
  //#region src/builtin-plugin/utils.ts
4
4
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
@@ -1,5 +1,5 @@
1
- import { n as __toESM, t as require_binding } from "./binding-CKyeQZen.mjs";
2
- //#region ../../../node_modules/.pnpm/oxc-parser@0.143.0/node_modules/oxc-parser/src-js/wrap.js
1
+ import { n as __toESM, t as require_binding } from "./binding-DmImI4pj.mjs";
2
+ //#region ../../../node_modules/.pnpm/oxc-parser@0.148.0/node_modules/oxc-parser/src-js/wrap.js
3
3
  var import_binding = /* @__PURE__ */ __toESM(require_binding(), 1);
4
4
  function wrap(result) {
5
5
  let program, module, comments, errors;