@voidzero-dev/vite-plus-core 1.0.0 → 1.2.0
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/LICENSE +36 -177
- package/dist/rolldown/cli.mjs +33 -29
- package/dist/rolldown/config.d.mts +3 -3
- package/dist/rolldown/config.mjs +2 -2
- package/dist/rolldown/experimental-index.d.mts +29 -29
- package/dist/rolldown/experimental-index.mjs +8 -8
- package/dist/rolldown/experimental-runtime-types.d.ts +39 -7
- package/dist/rolldown/experimental-runtime.d.ts +39 -7
- package/dist/rolldown/experimental-runtime.mjs +284 -255
- package/dist/rolldown/filter-index.d.mts +1 -1
- package/dist/rolldown/index.d.mts +3 -3
- package/dist/rolldown/index.mjs +4 -4
- package/dist/rolldown/parallel-plugin-worker.mjs +2 -2
- package/dist/rolldown/parallel-plugin.d.mts +3 -3
- package/dist/rolldown/parse-ast-index.d.mts +6 -7
- package/dist/rolldown/parse-ast-index.mjs +1 -1
- package/dist/rolldown/plugins-index.d.mts +5 -5
- package/dist/rolldown/plugins-index.mjs +2 -2
- package/dist/rolldown/shared/{binding-BY0qR5iS.mjs → binding-DlR5d34p.mjs} +27 -28
- package/dist/rolldown/shared/{binding-BTa6BPQe.d.mts → binding-tzp6Hc_3.d.mts} +1 -1
- package/dist/rolldown/shared/{bindingify-input-options-B8JHmN6_.mjs → bindingify-input-options-DhjlrWZE.mjs} +203 -20
- package/dist/rolldown/shared/{constructors-xEvVj3lN.mjs → constructors-B2hkJoIA.mjs} +1 -1
- package/dist/rolldown/shared/{constructors-DuOq7MqW.d.mts → constructors-Dw9H1IvX.d.mts} +2 -2
- package/dist/rolldown/shared/{create-bundler-option-COco-7P6.mjs → create-bundler-option-1AEe_J0o.mjs} +36 -10
- package/dist/rolldown/shared/{define-config-C7HCoqY8.d.mts → define-config-CGhm2DU-.d.mts} +94 -5
- package/dist/rolldown/shared/{error-C7pxws0W.mjs → error-Dsqzw0Oa.mjs} +2 -1
- package/dist/rolldown/shared/{load-config-DkUBnDsI.mjs → load-config-bvw8z7Ft.mjs} +2 -2
- package/dist/rolldown/shared/{normalize-string-or-regex-F14uvr6D.mjs → normalize-string-or-regex-B7Gsiuz7.mjs} +1 -1
- package/dist/rolldown/shared/{parse-BWeE7Vr9.mjs → parse-BCSSrLHf.mjs} +2 -2
- package/dist/rolldown/shared/{resolve-tsconfig-DHwpIs5e.mjs → resolve-tsconfig-DyR2RUTm.mjs} +2 -2
- package/dist/rolldown/shared/{rolldown-Bue0gNT5.mjs → rolldown-C8QomUuX.mjs} +4 -4
- package/dist/rolldown/shared/{transform-DK_nCt9j.d.mts → transform-D4RDjIPI.d.mts} +1 -1
- package/dist/rolldown/shared/{watch-RXhXN1aG.mjs → watch-CPI70Lkn.mjs} +4 -4
- package/dist/rolldown/utils-index.d.mts +5 -5
- package/dist/rolldown/utils-index.mjs +5 -5
- package/dist/tsdown/{build-JVmLFaZt-DRlLhpV3.js → build-KEepWO_k-BOsPZ2cH.js} +26 -25
- package/dist/tsdown/{debug-CpC4hV25-C-OYr2iI.js → debug-DKTolR2K-BMJOFfj2.js} +4 -5
- package/dist/tsdown/{detect-Bg-d8iUV-Du8LljhG.js → detect-DHDepxVX-CpWW52Jd.js} +38 -34
- package/dist/tsdown/dist-BebyOHRu.js +6224 -0
- package/dist/tsdown/index-types.d.ts +216 -216
- package/dist/tsdown/index.js +4 -4
- package/dist/tsdown/{main-CyNcZUzu.js → main-Du9xCnhX.js} +105 -19
- package/dist/tsdown/npm_entry_picomatch.cjs +36 -25
- package/dist/tsdown/{resolver-DE0_sy8o-Bi3xbRxi.js → resolver-DE0_sy8o-DNoi-dFQ.js} +3 -2
- package/dist/tsdown/run.js +28 -26
- package/dist/tsdown/{src-pN7Bl6zo.js → src-CBWRkeF5.js} +4 -4
- package/dist/tsdown/{target-DgdLrXba-DpO9JXxB.js → target-HZbF5Cux-Cmv1LI5D.js} +175 -9
- package/dist/tsdown/{tsc-BLb4pSBY.js → tsc-YwU2b8yT.js} +4 -4
- package/dist/tsdown/tsdown-css.js +4 -4
- package/dist/tsdown/tsdown-exe.js +5 -43
- package/dist/vite/client/bundledDevClient.mjs +109 -345
- package/dist/vite/client/client.mjs +80 -28
- package/dist/vite/node/chunks/build.js +19 -19
- package/dist/vite/node/chunks/node.js +5210 -4942
- package/dist/vite/node/chunks/postcss-import.js +10 -10
- package/dist/vite/node/cli.js +24 -21
- package/dist/vite/node/index.d.ts +5 -2
- package/dist/vite/node/index.js +1 -2
- package/dist/vite/node/internal.js +1 -2
- package/dist/vite/node/module-runner.d.ts +1 -0
- package/dist/vite/node/module-runner.js +32 -27
- package/package.json +46 -30
- package/dist/rolldown/experimental-default-runtime.mjs +0 -116
- package/dist/rolldown/experimental-runtime-base.mjs +0 -95
- package/dist/tsdown/dist-VDcV1Qyy.js +0 -2952
- package/dist/tsdown/require-BbBF8Ii0-BDaWJgzA.js +0 -320
- package/dist/tsdown/style-DiMP8pYv-DIC5PXeH.js +0 -88
- package/dist/tsdown/version-CQ98ZBpL-D6GAHapk.js +0 -169
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { H as ParserOptions$1, V as ParseResult$1 } from "./shared/binding-
|
|
1
|
+
import { H as ParserOptions$1, V as ParseResult$1 } from "./shared/binding-tzp6Hc_3.mjs";
|
|
2
2
|
import { Program } from "@oxc-project/types";
|
|
3
3
|
//#region src/parse-ast-index.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* @hidden
|
|
6
6
|
*/
|
|
7
|
-
type ParseResult = ParseResult$1;
|
|
7
|
+
export type ParseResult = ParseResult$1;
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
|
-
type ParserOptions = ParserOptions$1;
|
|
11
|
+
export type ParserOptions = ParserOptions$1;
|
|
12
12
|
/**
|
|
13
13
|
* Parse code synchronously and return the AST.
|
|
14
14
|
*
|
|
@@ -17,7 +17,7 @@ type ParserOptions = ParserOptions$1;
|
|
|
17
17
|
*
|
|
18
18
|
* @category Utilities
|
|
19
19
|
*/
|
|
20
|
-
declare function parseAst(sourceText: string, options?: ParserOptions | null, filename?: string): Program;
|
|
20
|
+
export declare function parseAst(sourceText: string, options?: ParserOptions | null, filename?: string): Program;
|
|
21
21
|
/**
|
|
22
22
|
* Parse code asynchronously and return the AST.
|
|
23
23
|
*
|
|
@@ -26,6 +26,5 @@ declare function parseAst(sourceText: string, options?: ParserOptions | null, fi
|
|
|
26
26
|
*
|
|
27
27
|
* @category Utilities
|
|
28
28
|
*/
|
|
29
|
-
declare function parseAstAsync(sourceText: string, options?: ParserOptions | null, filename?: string): Promise<Program>;
|
|
30
|
-
//#endregion
|
|
31
|
-
export { ParseResult, ParserOptions, parseAst, parseAstAsync };
|
|
29
|
+
export declare function parseAstAsync(sourceText: string, options?: ParserOptions | null, filename?: string): Promise<Program>;
|
|
30
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as locate, f as getCodeFrame, l as logParseError, n as error, t as augmentCodeLocation } from "./shared/logs-D6uA606S.mjs";
|
|
2
|
-
import { n as parseSync, t as parse } from "./shared/parse-
|
|
2
|
+
import { n as parseSync, t as parse } from "./shared/parse-BCSSrLHf.mjs";
|
|
3
3
|
//#region src/parse-ast-index.ts
|
|
4
4
|
function wrap(result, filename, sourceText) {
|
|
5
5
|
if (result.errors.length > 0) return normalizeParseError(filename, sourceText, result.errors);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as BindingReplacePluginConfig } from "./shared/binding-
|
|
2
|
-
import { I as BuiltinPlugin } from "./shared/define-config-
|
|
3
|
-
import { t as esmExternalRequirePlugin } from "./shared/constructors-
|
|
1
|
+
import { _ as BindingReplacePluginConfig } from "./shared/binding-tzp6Hc_3.mjs";
|
|
2
|
+
import { I as BuiltinPlugin } from "./shared/define-config-CGhm2DU-.mjs";
|
|
3
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-Dw9H1IvX.mjs";
|
|
4
4
|
//#region src/builtin-plugin/replace-plugin.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Replaces targeted strings in files while bundling.
|
|
@@ -27,6 +27,6 @@ import { t as esmExternalRequirePlugin } from "./shared/constructors-DuOq7MqW.mj
|
|
|
27
27
|
* @see https://rolldown.rs/builtin-plugins/replace
|
|
28
28
|
* @category Builtin Plugins
|
|
29
29
|
*/
|
|
30
|
-
declare function replacePlugin(values?: BindingReplacePluginConfig["values"], options?: Omit<BindingReplacePluginConfig, "values">): BuiltinPlugin;
|
|
30
|
+
export declare function replacePlugin(values?: BindingReplacePluginConfig["values"], options?: Omit<BindingReplacePluginConfig, "values">): BuiltinPlugin;
|
|
31
31
|
//#endregion
|
|
32
|
-
export { esmExternalRequirePlugin
|
|
32
|
+
export { esmExternalRequirePlugin };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-
|
|
2
|
-
import { t as esmExternalRequirePlugin } from "./shared/constructors-
|
|
1
|
+
import { a as makeBuiltinPluginCallable, n as BuiltinPlugin } from "./shared/normalize-string-or-regex-B7Gsiuz7.mjs";
|
|
2
|
+
import { t as esmExternalRequirePlugin } from "./shared/constructors-B2hkJoIA.mjs";
|
|
3
3
|
//#region src/builtin-plugin/replace-plugin.ts
|
|
4
4
|
/**
|
|
5
5
|
* Replaces targeted strings in files while bundling.
|
|
@@ -107,7 +107,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
107
107
|
try {
|
|
108
108
|
const binding = __require("@rolldown/binding-android-arm64");
|
|
109
109
|
const bindingPackageVersion = __require("@rolldown/binding-android-arm64/package.json").version;
|
|
110
|
-
if (bindingPackageVersion !== "1.2.
|
|
110
|
+
if (bindingPackageVersion !== "1.2.13" && 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.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
111
111
|
return binding;
|
|
112
112
|
} catch (e) {
|
|
113
113
|
loadErrors.push(e);
|
|
@@ -121,7 +121,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
121
121
|
try {
|
|
122
122
|
const binding = __require("@rolldown/binding-android-arm-eabi");
|
|
123
123
|
const bindingPackageVersion = __require("@rolldown/binding-android-arm-eabi/package.json").version;
|
|
124
|
-
if (bindingPackageVersion !== "1.2.
|
|
124
|
+
if (bindingPackageVersion !== "1.2.13" && 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.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
125
125
|
return binding;
|
|
126
126
|
} catch (e) {
|
|
127
127
|
loadErrors.push(e);
|
|
@@ -138,7 +138,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
138
138
|
try {
|
|
139
139
|
const binding = __require("@rolldown/binding-win32-x64-gnu");
|
|
140
140
|
const bindingPackageVersion = __require("@rolldown/binding-win32-x64-gnu/package.json").version;
|
|
141
|
-
if (bindingPackageVersion !== "1.2.
|
|
141
|
+
if (bindingPackageVersion !== "1.2.13" && 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.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
142
142
|
return binding;
|
|
143
143
|
} catch (e) {
|
|
144
144
|
loadErrors.push(e);
|
|
@@ -152,7 +152,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
152
152
|
try {
|
|
153
153
|
const binding = __require("@voidzero-dev/vite-plus-win32-x64-msvc");
|
|
154
154
|
const bindingPackageVersion = __require("@voidzero-dev/vite-plus-win32-x64-msvc/package.json").version;
|
|
155
|
-
if (bindingPackageVersion !== "1.
|
|
155
|
+
if (bindingPackageVersion !== "1.2.0" && 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.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
156
156
|
return binding;
|
|
157
157
|
} catch (e) {
|
|
158
158
|
loadErrors.push(e);
|
|
@@ -167,7 +167,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
167
167
|
try {
|
|
168
168
|
const binding = __require("@rolldown/binding-win32-ia32-msvc");
|
|
169
169
|
const bindingPackageVersion = __require("@rolldown/binding-win32-ia32-msvc/package.json").version;
|
|
170
|
-
if (bindingPackageVersion !== "1.2.
|
|
170
|
+
if (bindingPackageVersion !== "1.2.13" && 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.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
171
171
|
return binding;
|
|
172
172
|
} catch (e) {
|
|
173
173
|
loadErrors.push(e);
|
|
@@ -181,7 +181,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
181
181
|
try {
|
|
182
182
|
const binding = __require("@voidzero-dev/vite-plus-win32-arm64-msvc");
|
|
183
183
|
const bindingPackageVersion = __require("@voidzero-dev/vite-plus-win32-arm64-msvc/package.json").version;
|
|
184
|
-
if (bindingPackageVersion !== "1.
|
|
184
|
+
if (bindingPackageVersion !== "1.2.0" && 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.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
185
185
|
return binding;
|
|
186
186
|
} catch (e) {
|
|
187
187
|
loadErrors.push(e);
|
|
@@ -196,7 +196,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
196
196
|
try {
|
|
197
197
|
const binding = __require("@rolldown/binding-darwin-universal");
|
|
198
198
|
const bindingPackageVersion = __require("@rolldown/binding-darwin-universal/package.json").version;
|
|
199
|
-
if (bindingPackageVersion !== "1.2.
|
|
199
|
+
if (bindingPackageVersion !== "1.2.13" && 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.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
200
200
|
return binding;
|
|
201
201
|
} catch (e) {
|
|
202
202
|
loadErrors.push(e);
|
|
@@ -210,7 +210,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
210
210
|
try {
|
|
211
211
|
const binding = __require("@voidzero-dev/vite-plus-darwin-x64");
|
|
212
212
|
const bindingPackageVersion = __require("@voidzero-dev/vite-plus-darwin-x64/package.json").version;
|
|
213
|
-
if (bindingPackageVersion !== "1.
|
|
213
|
+
if (bindingPackageVersion !== "1.2.0" && 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.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
214
214
|
return binding;
|
|
215
215
|
} catch (e) {
|
|
216
216
|
loadErrors.push(e);
|
|
@@ -224,7 +224,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
224
224
|
try {
|
|
225
225
|
const binding = __require("@voidzero-dev/vite-plus-darwin-arm64");
|
|
226
226
|
const bindingPackageVersion = __require("@voidzero-dev/vite-plus-darwin-arm64/package.json").version;
|
|
227
|
-
if (bindingPackageVersion !== "1.
|
|
227
|
+
if (bindingPackageVersion !== "1.2.0" && 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.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
228
228
|
return binding;
|
|
229
229
|
} catch (e) {
|
|
230
230
|
loadErrors.push(e);
|
|
@@ -240,7 +240,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
240
240
|
try {
|
|
241
241
|
const binding = __require("@rolldown/binding-freebsd-x64");
|
|
242
242
|
const bindingPackageVersion = __require("@rolldown/binding-freebsd-x64/package.json").version;
|
|
243
|
-
if (bindingPackageVersion !== "1.2.
|
|
243
|
+
if (bindingPackageVersion !== "1.2.13" && 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.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
244
244
|
return binding;
|
|
245
245
|
} catch (e) {
|
|
246
246
|
loadErrors.push(e);
|
|
@@ -254,7 +254,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
254
254
|
try {
|
|
255
255
|
const binding = __require("@rolldown/binding-freebsd-arm64");
|
|
256
256
|
const bindingPackageVersion = __require("@rolldown/binding-freebsd-arm64/package.json").version;
|
|
257
|
-
if (bindingPackageVersion !== "1.2.
|
|
257
|
+
if (bindingPackageVersion !== "1.2.13" && 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.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
258
258
|
return binding;
|
|
259
259
|
} catch (e) {
|
|
260
260
|
loadErrors.push(e);
|
|
@@ -271,7 +271,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
271
271
|
try {
|
|
272
272
|
const binding = __require("@voidzero-dev/vite-plus-linux-x64-musl");
|
|
273
273
|
const bindingPackageVersion = __require("@voidzero-dev/vite-plus-linux-x64-musl/package.json").version;
|
|
274
|
-
if (bindingPackageVersion !== "1.
|
|
274
|
+
if (bindingPackageVersion !== "1.2.0" && 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.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
275
275
|
return binding;
|
|
276
276
|
} catch (e) {
|
|
277
277
|
loadErrors.push(e);
|
|
@@ -285,7 +285,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
285
285
|
try {
|
|
286
286
|
const binding = __require("@voidzero-dev/vite-plus-linux-x64-gnu");
|
|
287
287
|
const bindingPackageVersion = __require("@voidzero-dev/vite-plus-linux-x64-gnu/package.json").version;
|
|
288
|
-
if (bindingPackageVersion !== "1.
|
|
288
|
+
if (bindingPackageVersion !== "1.2.0" && 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.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
289
289
|
return binding;
|
|
290
290
|
} catch (e) {
|
|
291
291
|
loadErrors.push(e);
|
|
@@ -301,7 +301,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
301
301
|
try {
|
|
302
302
|
const binding = __require("@voidzero-dev/vite-plus-linux-arm64-musl");
|
|
303
303
|
const bindingPackageVersion = __require("@voidzero-dev/vite-plus-linux-arm64-musl/package.json").version;
|
|
304
|
-
if (bindingPackageVersion !== "1.
|
|
304
|
+
if (bindingPackageVersion !== "1.2.0" && 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.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
305
305
|
return binding;
|
|
306
306
|
} catch (e) {
|
|
307
307
|
loadErrors.push(e);
|
|
@@ -315,7 +315,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
315
315
|
try {
|
|
316
316
|
const binding = __require("@voidzero-dev/vite-plus-linux-arm64-gnu");
|
|
317
317
|
const bindingPackageVersion = __require("@voidzero-dev/vite-plus-linux-arm64-gnu/package.json").version;
|
|
318
|
-
if (bindingPackageVersion !== "1.
|
|
318
|
+
if (bindingPackageVersion !== "1.2.0" && 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.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
319
319
|
return binding;
|
|
320
320
|
} catch (e) {
|
|
321
321
|
loadErrors.push(e);
|
|
@@ -331,7 +331,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
331
331
|
try {
|
|
332
332
|
const binding = __require("@rolldown/binding-linux-arm-musleabihf");
|
|
333
333
|
const bindingPackageVersion = __require("@rolldown/binding-linux-arm-musleabihf/package.json").version;
|
|
334
|
-
if (bindingPackageVersion !== "1.2.
|
|
334
|
+
if (bindingPackageVersion !== "1.2.13" && 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.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
335
335
|
return binding;
|
|
336
336
|
} catch (e) {
|
|
337
337
|
loadErrors.push(e);
|
|
@@ -345,7 +345,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
345
345
|
try {
|
|
346
346
|
const binding = __require("@rolldown/binding-linux-arm-gnueabihf");
|
|
347
347
|
const bindingPackageVersion = __require("@rolldown/binding-linux-arm-gnueabihf/package.json").version;
|
|
348
|
-
if (bindingPackageVersion !== "1.2.
|
|
348
|
+
if (bindingPackageVersion !== "1.2.13" && 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.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
349
349
|
return binding;
|
|
350
350
|
} catch (e) {
|
|
351
351
|
loadErrors.push(e);
|
|
@@ -361,7 +361,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
361
361
|
try {
|
|
362
362
|
const binding = __require("@rolldown/binding-linux-loong64-musl");
|
|
363
363
|
const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-musl/package.json").version;
|
|
364
|
-
if (bindingPackageVersion !== "1.2.
|
|
364
|
+
if (bindingPackageVersion !== "1.2.13" && 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.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
365
365
|
return binding;
|
|
366
366
|
} catch (e) {
|
|
367
367
|
loadErrors.push(e);
|
|
@@ -375,7 +375,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
375
375
|
try {
|
|
376
376
|
const binding = __require("@rolldown/binding-linux-loong64-gnu");
|
|
377
377
|
const bindingPackageVersion = __require("@rolldown/binding-linux-loong64-gnu/package.json").version;
|
|
378
|
-
if (bindingPackageVersion !== "1.2.
|
|
378
|
+
if (bindingPackageVersion !== "1.2.13" && 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.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
379
379
|
return binding;
|
|
380
380
|
} catch (e) {
|
|
381
381
|
loadErrors.push(e);
|
|
@@ -391,7 +391,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
391
391
|
try {
|
|
392
392
|
const binding = __require("@rolldown/binding-linux-riscv64-musl");
|
|
393
393
|
const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-musl/package.json").version;
|
|
394
|
-
if (bindingPackageVersion !== "1.2.
|
|
394
|
+
if (bindingPackageVersion !== "1.2.13" && 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.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
395
395
|
return binding;
|
|
396
396
|
} catch (e) {
|
|
397
397
|
loadErrors.push(e);
|
|
@@ -405,7 +405,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
405
405
|
try {
|
|
406
406
|
const binding = __require("@rolldown/binding-linux-riscv64-gnu");
|
|
407
407
|
const bindingPackageVersion = __require("@rolldown/binding-linux-riscv64-gnu/package.json").version;
|
|
408
|
-
if (bindingPackageVersion !== "1.2.
|
|
408
|
+
if (bindingPackageVersion !== "1.2.13" && 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.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
409
409
|
return binding;
|
|
410
410
|
} catch (e) {
|
|
411
411
|
loadErrors.push(e);
|
|
@@ -420,7 +420,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
420
420
|
try {
|
|
421
421
|
const binding = __require("@rolldown/binding-linux-ppc64-gnu");
|
|
422
422
|
const bindingPackageVersion = __require("@rolldown/binding-linux-ppc64-gnu/package.json").version;
|
|
423
|
-
if (bindingPackageVersion !== "1.2.
|
|
423
|
+
if (bindingPackageVersion !== "1.2.13" && 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.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
424
424
|
return binding;
|
|
425
425
|
} catch (e) {
|
|
426
426
|
loadErrors.push(e);
|
|
@@ -434,7 +434,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
434
434
|
try {
|
|
435
435
|
const binding = __require("@rolldown/binding-linux-s390x-gnu");
|
|
436
436
|
const bindingPackageVersion = __require("@rolldown/binding-linux-s390x-gnu/package.json").version;
|
|
437
|
-
if (bindingPackageVersion !== "1.2.
|
|
437
|
+
if (bindingPackageVersion !== "1.2.13" && 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.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
438
438
|
return binding;
|
|
439
439
|
} catch (e) {
|
|
440
440
|
loadErrors.push(e);
|
|
@@ -450,7 +450,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
450
450
|
try {
|
|
451
451
|
const binding = __require("@rolldown/binding-openharmony-arm64");
|
|
452
452
|
const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm64/package.json").version;
|
|
453
|
-
if (bindingPackageVersion !== "1.2.
|
|
453
|
+
if (bindingPackageVersion !== "1.2.13" && 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.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
454
454
|
return binding;
|
|
455
455
|
} catch (e) {
|
|
456
456
|
loadErrors.push(e);
|
|
@@ -464,7 +464,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
464
464
|
try {
|
|
465
465
|
const binding = __require("@rolldown/binding-openharmony-x64");
|
|
466
466
|
const bindingPackageVersion = __require("@rolldown/binding-openharmony-x64/package.json").version;
|
|
467
|
-
if (bindingPackageVersion !== "1.2.
|
|
467
|
+
if (bindingPackageVersion !== "1.2.13" && 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.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
468
468
|
return binding;
|
|
469
469
|
} catch (e) {
|
|
470
470
|
loadErrors.push(e);
|
|
@@ -478,7 +478,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
478
478
|
try {
|
|
479
479
|
const binding = __require("@rolldown/binding-openharmony-arm");
|
|
480
480
|
const bindingPackageVersion = __require("@rolldown/binding-openharmony-arm/package.json").version;
|
|
481
|
-
if (bindingPackageVersion !== "1.2.
|
|
481
|
+
if (bindingPackageVersion !== "1.2.13" && 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.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
482
482
|
return binding;
|
|
483
483
|
} catch (e) {
|
|
484
484
|
loadErrors.push(e);
|
|
@@ -569,7 +569,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
569
569
|
if (!candidateFailed) {
|
|
570
570
|
if (process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== "0") {
|
|
571
571
|
const bindingPackageVersion = __require("@rolldown/binding-wasm32-wasi/package.json").version;
|
|
572
|
-
if (bindingPackageVersion !== "1.2.
|
|
572
|
+
if (bindingPackageVersion !== "1.2.13") throw new Error(`WASI binding package version mismatch, expected 1.2.13 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
|
|
573
573
|
}
|
|
574
574
|
wasiBinding = __require("@rolldown/binding-wasm32-wasi");
|
|
575
575
|
nativeBinding = wasiBinding;
|
|
@@ -675,7 +675,6 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
675
675
|
module.exports.ParallelJsPluginRegistry = nativeBinding.ParallelJsPluginRegistry;
|
|
676
676
|
module.exports.TraceSubscriberGuard = nativeBinding.TraceSubscriberGuard;
|
|
677
677
|
module.exports.TsconfigCache = nativeBinding.TsconfigCache;
|
|
678
|
-
module.exports.__internalForcePanic = nativeBinding.__internalForcePanic;
|
|
679
678
|
module.exports.BindingAttachDebugInfo = nativeBinding.BindingAttachDebugInfo;
|
|
680
679
|
module.exports.BindingBuiltinPluginName = nativeBinding.BindingBuiltinPluginName;
|
|
681
680
|
module.exports.BindingChunkModuleOrderBy = nativeBinding.BindingChunkModuleOrderBy;
|
|
@@ -787,7 +787,7 @@ interface SourceMap {
|
|
|
787
787
|
sources: Array<string>;
|
|
788
788
|
sourcesContent?: Array<string>;
|
|
789
789
|
version: number;
|
|
790
|
-
|
|
790
|
+
ignoreList?: Array<number>;
|
|
791
791
|
}
|
|
792
792
|
interface CompilerAssumptions {
|
|
793
793
|
ignoreFunctionLength?: boolean;
|