@voidzero-dev/vite-plus-core 0.1.21 → 0.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -103,7 +103,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
103
103
  try {
104
104
  const binding = __require("vite-plus/binding");
105
105
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
106
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
106
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
107
107
  return binding;
108
108
  } catch (e) {
109
109
  loadErrors.push(e);
@@ -117,7 +117,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
117
117
  try {
118
118
  const binding = __require("vite-plus/binding");
119
119
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
120
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
120
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
121
121
  return binding;
122
122
  } catch (e) {
123
123
  loadErrors.push(e);
@@ -132,7 +132,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
132
132
  try {
133
133
  const binding = __require("vite-plus/binding");
134
134
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
135
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
135
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
136
136
  return binding;
137
137
  } catch (e) {
138
138
  loadErrors.push(e);
@@ -146,7 +146,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
146
146
  try {
147
147
  const binding = __require("vite-plus/binding");
148
148
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
149
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
149
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
150
150
  return binding;
151
151
  } catch (e) {
152
152
  loadErrors.push(e);
@@ -161,7 +161,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
161
161
  try {
162
162
  const binding = __require("vite-plus/binding");
163
163
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
164
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
164
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
165
165
  return binding;
166
166
  } catch (e) {
167
167
  loadErrors.push(e);
@@ -175,7 +175,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
175
175
  try {
176
176
  const binding = __require("vite-plus/binding");
177
177
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
178
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
178
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
179
179
  return binding;
180
180
  } catch (e) {
181
181
  loadErrors.push(e);
@@ -190,7 +190,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
190
190
  try {
191
191
  const binding = __require("vite-plus/binding");
192
192
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
193
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
193
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
194
194
  return binding;
195
195
  } catch (e) {
196
196
  loadErrors.push(e);
@@ -204,7 +204,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
204
204
  try {
205
205
  const binding = __require("vite-plus/binding");
206
206
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
207
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
207
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
208
208
  return binding;
209
209
  } catch (e) {
210
210
  loadErrors.push(e);
@@ -218,7 +218,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
218
218
  try {
219
219
  const binding = __require("vite-plus/binding");
220
220
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
221
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
221
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
222
222
  return binding;
223
223
  } catch (e) {
224
224
  loadErrors.push(e);
@@ -233,7 +233,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
233
233
  try {
234
234
  const binding = __require("vite-plus/binding");
235
235
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
236
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
236
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
237
237
  return binding;
238
238
  } catch (e) {
239
239
  loadErrors.push(e);
@@ -247,7 +247,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
247
247
  try {
248
248
  const binding = __require("vite-plus/binding");
249
249
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
250
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
250
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
251
251
  return binding;
252
252
  } catch (e) {
253
253
  loadErrors.push(e);
@@ -262,7 +262,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
262
262
  try {
263
263
  const binding = __require("vite-plus/binding");
264
264
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
265
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
265
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
266
266
  return binding;
267
267
  } catch (e) {
268
268
  loadErrors.push(e);
@@ -276,7 +276,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
276
276
  try {
277
277
  const binding = __require("vite-plus/binding");
278
278
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
279
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
279
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
280
280
  return binding;
281
281
  } catch (e) {
282
282
  loadErrors.push(e);
@@ -291,7 +291,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
291
291
  try {
292
292
  const binding = __require("vite-plus/binding");
293
293
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
294
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
294
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
295
295
  return binding;
296
296
  } catch (e) {
297
297
  loadErrors.push(e);
@@ -305,7 +305,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
305
305
  try {
306
306
  const binding = __require("vite-plus/binding");
307
307
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
308
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
308
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
309
309
  return binding;
310
310
  } catch (e) {
311
311
  loadErrors.push(e);
@@ -320,7 +320,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
320
320
  try {
321
321
  const binding = __require("vite-plus/binding");
322
322
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
323
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
323
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
324
324
  return binding;
325
325
  } catch (e) {
326
326
  loadErrors.push(e);
@@ -334,7 +334,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
334
334
  try {
335
335
  const binding = __require("vite-plus/binding");
336
336
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
337
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
337
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
338
338
  return binding;
339
339
  } catch (e) {
340
340
  loadErrors.push(e);
@@ -349,7 +349,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
349
349
  try {
350
350
  const binding = __require("vite-plus/binding");
351
351
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
352
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
352
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
353
353
  return binding;
354
354
  } catch (e) {
355
355
  loadErrors.push(e);
@@ -363,7 +363,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
363
363
  try {
364
364
  const binding = __require("vite-plus/binding");
365
365
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
366
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
366
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
367
367
  return binding;
368
368
  } catch (e) {
369
369
  loadErrors.push(e);
@@ -378,7 +378,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
378
378
  try {
379
379
  const binding = __require("vite-plus/binding");
380
380
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
381
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
381
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
382
382
  return binding;
383
383
  } catch (e) {
384
384
  loadErrors.push(e);
@@ -392,7 +392,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
392
392
  try {
393
393
  const binding = __require("vite-plus/binding");
394
394
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
395
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
395
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
396
396
  return binding;
397
397
  } catch (e) {
398
398
  loadErrors.push(e);
@@ -407,7 +407,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
407
407
  try {
408
408
  const binding = __require("vite-plus/binding");
409
409
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
410
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
410
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
411
411
  return binding;
412
412
  } catch (e) {
413
413
  loadErrors.push(e);
@@ -421,7 +421,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
421
421
  try {
422
422
  const binding = __require("vite-plus/binding");
423
423
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
424
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
424
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
425
425
  return binding;
426
426
  } catch (e) {
427
427
  loadErrors.push(e);
@@ -436,7 +436,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
436
436
  try {
437
437
  const binding = __require("vite-plus/binding");
438
438
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
439
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
439
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
440
440
  return binding;
441
441
  } catch (e) {
442
442
  loadErrors.push(e);
@@ -450,7 +450,7 @@ var require_binding = /* @__PURE__ */ __commonJSMin(((exports, module) => {
450
450
  try {
451
451
  const binding = __require("vite-plus/binding");
452
452
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
453
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
453
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 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("vite-plus/binding");
466
466
  const bindingPackageVersion = __require("vite-plus/binding/package.json").version;
467
- if (bindingPackageVersion !== "0.0.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 0.0.0 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
467
+ if (bindingPackageVersion !== "0.1.22" && 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.1.22 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`);
468
468
  return binding;
469
469
  } catch (e) {
470
470
  loadErrors.push(e);
@@ -8,13 +8,13 @@ import path from "node:path";
8
8
  import * as filter from "@voidzero-dev/vite-plus-core/rolldown/pluginutils";
9
9
  import fsp from "node:fs/promises";
10
10
  //#region package.json
11
- var version = "0.0.0";
11
+ var version = "0.1.22";
12
12
  var description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
13
13
  //#endregion
14
14
  //#region src/constants/version.ts
15
15
  /**
16
16
  * The version of Rolldown.
17
- * @example `'0.0.0'`
17
+ * @example `'0.1.22'`
18
18
  *
19
19
  * @category Plugin APIs
20
20
  */
@@ -1977,7 +1977,7 @@ interface PluginContextMeta {
1977
1977
  rollupVersion: string;
1978
1978
  /**
1979
1979
  * The currently running version of Rolldown.
1980
- * @example `'0.0.0'`
1980
+ * @example `'0.1.22'`
1981
1981
  */
1982
1982
  rolldownVersion: string;
1983
1983
  /**
@@ -2518,7 +2518,7 @@ type BundleError = Error & {
2518
2518
  //#region src/constants/version.d.ts
2519
2519
  /**
2520
2520
  * The version of Rolldown.
2521
- * @example `'0.0.0'`
2521
+ * @example `'0.1.22'`
2522
2522
  *
2523
2523
  * @category Plugin APIs
2524
2524
  */
@@ -2,7 +2,7 @@ import { n as __exportAll$1, r as __toESM, t as __commonJSMin } from "./chunk-N9
2
2
  import { C as promiseWithResolvers, D as toArray, E as slash, S as pkgExists, T as resolveRegex, _ as yellow, a as createLogger, b as matchPattern, c as globalLogger, d as bold, f as dim, g as underline, h as red, i as LogLevels, l as prettyFormat, n as V, o as generateColor, p as green, r as version, s as getNameLabel, t as H, u as blue, v as debounce, w as resolveComma, x as noop, y as importWithError } from "./main-BNUO6D3N.js";
3
3
  import { t as createDebug } from "./node-B3Gdtau1.js";
4
4
  import { d as filename_js_to_dts, i as RE_JS, n as RE_DTS, o as RE_NODE_MODULES$1, t as RE_CSS } from "./filename-DQnUJlio-D7-CzKqs.js";
5
- import { n as ee } from "./dist-B91GOtmU.js";
5
+ import { n as ee } from "./dist-Cv2Z0Bi_.js";
6
6
  import module$1, { builtinModules, createRequire, isBuiltin } from "node:module";
7
7
  import process$1, { env } from "node:process";
8
8
  import readline from "node:readline";
@@ -11,7 +11,7 @@ import path, { dirname, isAbsolute, join, parse, resolve } from "node:path";
11
11
  import { VERSION, build, watch } from "@voidzero-dev/vite-plus-core/rolldown";
12
12
  import { access, chmod, cp, mkdir, mkdtemp, readFile, readdir, rm, stat, writeFile } from "node:fs/promises";
13
13
  import { and, id, importerId, include } from "@voidzero-dev/vite-plus-core/rolldown/filter";
14
- import fs$1, { existsSync, readFileSync, writeFileSync } from "node:fs";
14
+ import re, { existsSync, readFileSync, writeFileSync } from "node:fs";
15
15
  import * as nativeFs from "fs";
16
16
  import { readdir as readdir$1, readdirSync, realpath, realpathSync, stat as stat$1, statSync } from "fs";
17
17
  import { basename, dirname as dirname$1, isAbsolute as isAbsolute$1, normalize, posix, relative, resolve as resolve$1, sep } from "path";
@@ -3195,87 +3195,87 @@ quansync$1({
3195
3195
  */
3196
3196
  const quansync = quansync$1;
3197
3197
  quansync$1({
3198
- sync: fs$1.readFileSync,
3199
- async: fs$1.promises.readFile
3198
+ sync: re.readFileSync,
3199
+ async: re.promises.readFile
3200
3200
  });
3201
3201
  quansync$1({
3202
- sync: fs$1.writeFileSync,
3203
- async: fs$1.promises.writeFile
3202
+ sync: re.writeFileSync,
3203
+ async: re.promises.writeFile
3204
3204
  });
3205
3205
  quansync$1({
3206
- sync: fs$1.unlinkSync,
3207
- async: fs$1.promises.unlink
3206
+ sync: re.unlinkSync,
3207
+ async: re.promises.unlink
3208
3208
  });
3209
3209
  quansync$1({
3210
- sync: fs$1.accessSync,
3211
- async: fs$1.promises.access
3210
+ sync: re.accessSync,
3211
+ async: re.promises.access
3212
3212
  });
3213
3213
  /**
3214
3214
  * @link https://nodejs.org/api/fs.html#fspromisesstatpath-options
3215
3215
  */
3216
3216
  const stat$2 = quansync$1({
3217
- sync: fs$1.statSync,
3218
- async: fs$1.promises.stat
3217
+ sync: re.statSync,
3218
+ async: re.promises.stat
3219
3219
  });
3220
3220
  const lstat = quansync$1({
3221
- sync: fs$1.lstatSync,
3222
- async: fs$1.promises.lstat
3221
+ sync: re.lstatSync,
3222
+ async: re.promises.lstat
3223
3223
  });
3224
3224
  quansync$1({
3225
- sync: fs$1.copyFileSync,
3226
- async: fs$1.promises.copyFile
3225
+ sync: re.copyFileSync,
3226
+ async: re.promises.copyFile
3227
3227
  });
3228
3228
  quansync$1({
3229
- sync: fs$1.rmSync,
3230
- async: fs$1.promises.rm
3229
+ sync: re.rmSync,
3230
+ async: re.promises.rm
3231
3231
  });
3232
3232
  quansync$1({
3233
- sync: fs$1.mkdirSync,
3234
- async: fs$1.promises.mkdir
3233
+ sync: re.mkdirSync,
3234
+ async: re.promises.mkdir
3235
3235
  });
3236
3236
  quansync$1({
3237
- sync: fs$1.renameSync,
3238
- async: fs$1.promises.rename
3237
+ sync: re.renameSync,
3238
+ async: re.promises.rename
3239
3239
  });
3240
3240
  quansync$1({
3241
- sync: fs$1.readdirSync,
3242
- async: fs$1.promises.readdir
3241
+ sync: re.readdirSync,
3242
+ async: re.promises.readdir
3243
3243
  });
3244
3244
  quansync$1({
3245
- sync: fs$1.realpathSync,
3246
- async: fs$1.promises.realpath
3245
+ sync: re.realpathSync,
3246
+ async: re.promises.realpath
3247
3247
  });
3248
3248
  quansync$1({
3249
- sync: fs$1.readlinkSync,
3250
- async: fs$1.promises.readlink
3249
+ sync: re.readlinkSync,
3250
+ async: re.promises.readlink
3251
3251
  });
3252
3252
  quansync$1({
3253
- sync: fs$1.symlinkSync,
3254
- async: fs$1.promises.symlink
3253
+ sync: re.symlinkSync,
3254
+ async: re.promises.symlink
3255
3255
  });
3256
3256
  quansync$1({
3257
- sync: fs$1.chownSync,
3258
- async: fs$1.promises.chown
3257
+ sync: re.chownSync,
3258
+ async: re.promises.chown
3259
3259
  });
3260
3260
  quansync$1({
3261
- sync: fs$1.lchownSync,
3262
- async: fs$1.promises.lchown
3261
+ sync: re.lchownSync,
3262
+ async: re.promises.lchown
3263
3263
  });
3264
3264
  quansync$1({
3265
- sync: fs$1.chmodSync,
3266
- async: fs$1.promises.chmod
3265
+ sync: re.chmodSync,
3266
+ async: re.promises.chmod
3267
3267
  });
3268
3268
  quansync$1({
3269
- sync: fs$1.utimesSync,
3270
- async: fs$1.promises.utimes
3269
+ sync: re.utimesSync,
3270
+ async: re.promises.utimes
3271
3271
  });
3272
3272
  quansync$1({
3273
- sync: fs$1.lutimesSync,
3274
- async: fs$1.promises.lutimes
3273
+ sync: re.lutimesSync,
3274
+ async: re.promises.lutimes
3275
3275
  });
3276
3276
  quansync$1({
3277
- sync: fs$1.mkdtempSync,
3278
- async: fs$1.promises.mkdtemp
3277
+ sync: re.mkdtempSync,
3278
+ async: re.promises.mkdtemp
3279
3279
  });
3280
3280
  //#endregion
3281
3281
  //#region ../../node_modules/.pnpm/unconfig-core@7.5.0/node_modules/unconfig-core/dist/index.mjs
@@ -5055,7 +5055,7 @@ async function resolveInputOptions(config, format, configDeps, bundle, cjsDts, i
5055
5055
  if (nodeProtocol) plugins.push(NodeProtocolPlugin(nodeProtocol));
5056
5056
  if (config.pkg || config.deps.skipNodeModulesBundle) plugins.push(DepsPlugin(config, bundle));
5057
5057
  if (dts) {
5058
- const { dts: dtsPlugin } = await import("./dist-C5D85WLF.js");
5058
+ const { dts: dtsPlugin } = await import("./dist-DTzJRoOQ.js");
5059
5059
  const { cjsReexport: _, ...dtsPluginOptions } = dts;
5060
5060
  const options = {
5061
5061
  tsconfig,
@@ -1,6 +1,6 @@
1
1
  import module from "node:module";
2
2
  import path from "node:path";
3
- import fs from "node:fs";
3
+ import re from "node:fs";
4
4
  import Ue from "fs";
5
5
  import Ie from "os";
6
6
  import Se from "path";
@@ -65,13 +65,13 @@ i(x, "slash");
65
65
  const _e = i((e, n) => {
66
66
  const s = `readFileSync:${n}`;
67
67
  let t = e?.get(s);
68
- return t === void 0 && (t = fs.readFileSync(n, "utf8"), e?.set(s, t)), t;
68
+ return t === void 0 && (t = re.readFileSync(n, "utf8"), e?.set(s, t)), t;
69
69
  }, "readFile"), F = i((e, n) => {
70
70
  const s = `tryStat:${n}`;
71
71
  let t = e?.get(s);
72
72
  if (t === void 0) {
73
73
  try {
74
- t = fs.statSync(n);
74
+ t = re.statSync(n);
75
75
  } catch {
76
76
  t = null;
77
77
  }
@@ -1,7 +1,7 @@
1
1
  import { n as __exportAll, r as __toESM, t as __commonJSMin } from "./chunk-N93fKeF6.js";
2
2
  import { t as createDebug } from "./node-B3Gdtau1.js";
3
3
  import { a as RE_JSON, c as RE_TS, d as filename_js_to_dts, f as filename_to_dts, i as RE_JS, l as RE_VUE, m as resolveTemplateFn, n as RE_DTS, o as RE_NODE_MODULES, p as replaceTemplateName, r as RE_DTS_MAP, s as RE_ROLLDOWN_RUNTIME, t as RE_CSS, u as filename_dts_to } from "./filename-DQnUJlio-D7-CzKqs.js";
4
- import { n as ee, t as at } from "./dist-B91GOtmU.js";
4
+ import { n as ee, t as at } from "./dist-Cv2Z0Bi_.js";
5
5
  import { n as globalContext, r as invalidateContextFile, t as createContext } from "./tsc-context-CANQEB9U.js";
6
6
  import { createRequire } from "node:module";
7
7
  import process from "node:process";
@@ -1,6 +1,6 @@
1
1
  import { c as globalLogger } from "./main-BNUO6D3N.js";
2
2
  import { t as enableDebug } from "./debug-CLlnG64L-BkAqwHVS.js";
3
- import { a as resolveUserConfig, i as mergeConfig, n as buildWithConfigs, t as build$1 } from "./build-5FURNVr0-C8s5A3Ji.js";
3
+ import { a as resolveUserConfig, i as mergeConfig, n as buildWithConfigs, t as build$1 } from "./build-5FURNVr0-D2dbyiC6.js";
4
4
  import * as Rolldown from "@voidzero-dev/vite-plus-core/rolldown";
5
5
  //#region ../../node_modules/.pnpm/tsdown@0.22.0_@arethetypeswrong+core@0.18.2_@tsdown+css@0.22.0_@tsdown+exe@0.22.0_@type_d181d85b1bafdbf27821083f8481d00c/node_modules/tsdown/dist/config.mjs
6
6
  function defineConfig(options) {
@@ -631,7 +631,7 @@ cli.command("[...files]", "Bundle files", {
631
631
  }).option("-c, --config <filename>", "Use a custom config file").option("--config-loader <loader>", "Config loader to use: auto, native, tsx, unrun", { default: "auto" }).option("--no-config", "Disable config file").option("-f, --format <format>", "Bundle format: esm, cjs, iife, umd", { default: "esm" }).option("--clean", "Clean output directory, --no-clean to disable").option("--deps.never-bundle <module>", "Mark dependencies as external").option("--minify", "Minify output").option("--devtools", "Enable devtools integration").option("--debug [feat]", "Show debug logs").option("--target <target>", "Bundle target, e.g \"es2015\", \"esnext\"").option("-l, --logLevel <level>", "Set log level: info, warn, error, silent").option("--fail-on-warn", "Fail on warnings", { default: true }).option("--no-write", "Disable writing files to disk, incompatible with watch mode").option("-d, --out-dir <dir>", "Output directory", { default: "dist" }).option("--treeshake", "Tree-shake bundle", { default: true }).option("--sourcemap", "Generate source map", { default: false }).option("--shims", "Enable cjs and esm shims ", { default: false }).option("--platform <platform>", "Target platform", { default: "node" }).option("--dts", "Generate dts files").option("--publint", "Enable publint", { default: false }).option("--attw", "Enable Are the types wrong integration", { default: false }).option("--unused", "Enable unused dependencies check", { default: false }).option("-w, --watch [path]", "Watch mode").option("--ignore-watch <path>", "Ignore custom paths in watch mode").option("--from-vite [vitest]", "Reuse config from Vite or Vitest").option("--report", "Size report", { default: true }).option("--env.* <value>", "Define compile-time env variables").option("--env-file <file>", "Load environment variables from a file, when used together with --env, variables in --env take precedence").option("--env-prefix <prefix>", "Prefix for env variables to inject into the bundle", { default: "TSDOWN_" }).option("--on-success <command>", "Command to run on success").option("--copy <dir>", "Copy files to output dir").option("--public-dir <dir>", "Alias for --copy, deprecated").option("--tsconfig <tsconfig>", "Set tsconfig path").option("--unbundle", "Unbundle mode").option("--root <dir>", "Root directory of input files").option("--exe", "Bundle as executable").option("-W, --workspace [dir]", "Enable workspace mode").option("-F, --filter <pattern>", "Filter configs (cwd or name), e.g. /pkg-name$/ or pkg-name").option("--exports", "Generate export-related metadata for package.json (experimental)").action(async (input, flags) => {
632
632
  globalLogger.level = flags.logLevel || "info";
633
633
  globalLogger.info(`${blue`tsdown v${version}`} powered by ${hex("#ff7e17")`rolldown v${VERSION}`}`);
634
- const { build } = await import("./build-5FURNVr0-C8s5A3Ji.js").then((n) => n.r).then((n) => n.r);
634
+ const { build } = await import("./build-5FURNVr0-D2dbyiC6.js").then((n) => n.r).then((n) => n.r);
635
635
  if (input.length > 0) flags.entry = input;
636
636
  await build(flags);
637
637
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voidzero-dev/vite-plus-core",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "The Unified Toolchain for the Web",
5
5
  "homepage": "https://viteplus.dev/guide",
6
6
  "bugs": {
@@ -132,7 +132,7 @@
132
132
  "tree-kill": "^1.2.2",
133
133
  "tsdown": "^0.22.0",
134
134
  "rolldown": "1.0.0",
135
- "vite": "npm:@voidzero-dev/vite-plus-core@0.1.21"
135
+ "vite": "npm:@voidzero-dev/vite-plus-core@0.1.22"
136
136
  },
137
137
  "peerDependencies": {
138
138
  "@arethetypeswrong/core": "^0.18.1",