nitro-nightly 3.0.1-20251203-231615-3a2d2662 → 3.0.1-20251204-201435-0c3150df

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 (48) hide show
  1. package/dist/_build/common.mjs +1 -1
  2. package/dist/_build/rolldown.mjs +9 -10
  3. package/dist/_build/rollup.mjs +13 -20
  4. package/dist/_build/vite.build.mjs +12 -14
  5. package/dist/_build/vite.plugin.mjs +20 -23
  6. package/dist/_chunks/{Ddt06bL8.mjs → CycPUgTQ.mjs} +1 -1
  7. package/dist/_chunks/{BY3yPF44.mjs → DT-wSyHv.mjs} +1 -1
  8. package/dist/_chunks/{CytQIojr.mjs → DzjzT3Xu.mjs} +1 -1
  9. package/dist/{_dev.mjs → _chunks/dcDd0pkY.mjs} +22 -23
  10. package/dist/_chunks/{CvxEFBdh.mjs → vCTaGRPD.mjs} +2 -2
  11. package/dist/_libs/@pi0/vite-plugin-fullstack.mjs +1923 -0
  12. package/dist/_libs/@rollup/plugin-commonjs.mjs +3859 -0
  13. package/dist/_libs/{plugin-inject.mjs → @rollup/plugin-inject.mjs} +2 -3
  14. package/dist/_libs/{plugin-node-resolve.mjs → @rollup/plugin-node-resolve.mjs} +424 -5
  15. package/dist/_libs/{plugin-replace.mjs → @rollup/plugin-replace.mjs} +1 -1
  16. package/dist/_libs/estree-walker.mjs +1 -144
  17. package/dist/_libs/tinyglobby.mjs +1 -2
  18. package/dist/_libs/unimport.mjs +3 -4
  19. package/dist/_libs/unwasm.mjs +1 -1
  20. package/dist/_presets.mjs +2 -2
  21. package/dist/builder.d.mts +4 -4
  22. package/dist/builder.mjs +7 -7
  23. package/dist/cli/_chunks/detect-acorn.mjs +2 -2
  24. package/dist/cli/_chunks/dev.mjs +2 -2
  25. package/dist/runtime/internal/vite/{dev-worker.mjs → node-runner.mjs} +30 -5
  26. package/dist/types/index.d.mts +36 -38
  27. package/dist/vite.mjs +12 -14
  28. package/package.json +3 -3
  29. package/dist/_libs/commondir.mjs +0 -22
  30. package/dist/_libs/deepmerge.mjs +0 -86
  31. package/dist/_libs/fdir.mjs +0 -514
  32. package/dist/_libs/function-bind.mjs +0 -63
  33. package/dist/_libs/hasown.mjs +0 -14
  34. package/dist/_libs/is-core-module.mjs +0 -220
  35. package/dist/_libs/is-module.mjs +0 -13
  36. package/dist/_libs/is-reference.mjs +0 -33
  37. package/dist/_libs/js-tokens.mjs +0 -382
  38. package/dist/_libs/magic-string.mjs +0 -939
  39. package/dist/_libs/path-parse.mjs +0 -47
  40. package/dist/_libs/picomatch.mjs +0 -1673
  41. package/dist/_libs/plugin-commonjs.mjs +0 -1491
  42. package/dist/_libs/strip-literal.mjs +0 -51
  43. package/dist/_libs/vite-plugin-fullstack.mjs +0 -561
  44. /package/dist/_chunks/{DJvLZH4H.mjs → Df3_4Pam.mjs} +0 -0
  45. /package/dist/_libs/{gen-mapping.mjs → @jridgewell/gen-mapping.mjs} +0 -0
  46. /package/dist/_libs/{remapping.mjs → @jridgewell/remapping.mjs} +0 -0
  47. /package/dist/_libs/{plugin-alias.mjs → @rollup/plugin-alias.mjs} +0 -0
  48. /package/dist/_libs/{plugin-json.mjs → @rollup/plugin-json.mjs} +0 -0
@@ -1,6 +1,5 @@
1
- import { t as MagicString } from "./magic-string.mjs";
2
- import { n as walk } from "./estree-walker.mjs";
3
- import { a as makeLegalIdentifier, n as attachScopes, r as createFilter } from "./plugin-commonjs.mjs";
1
+ import { r as MagicString } from "../@pi0/vite-plugin-fullstack.mjs";
2
+ import { a as makeLegalIdentifier, n as attachScopes, o as walk, r as createFilter } from "./plugin-commonjs.mjs";
4
3
  import { sep } from "path";
5
4
 
6
5
  //#region node_modules/.pnpm/@rollup+plugin-inject@5.0.5_rollup@4.53.3/node_modules/@rollup/plugin-inject/dist/es/index.js
@@ -1,15 +1,104 @@
1
- import { i as __toESM, n as __require, t as __commonJSMin } from "../_chunks/QkUO_zA6.mjs";
1
+ import { i as __toESM, n as __require, t as __commonJSMin } from "../../_chunks/QkUO_zA6.mjs";
2
2
  import { r as createFilter } from "./plugin-commonjs.mjs";
3
- import { t as require_cjs } from "./deepmerge.mjs";
4
- import { t as require_is_module } from "./is-module.mjs";
5
- import { t as require_path_parse } from "./path-parse.mjs";
6
- import { t as require_is_core_module } from "./is-core-module.mjs";
7
3
  import nativeFs, { realpathSync } from "fs";
8
4
  import path, { dirname, extname, normalize, resolve, sep } from "path";
9
5
  import { fileURLToPath, pathToFileURL } from "url";
10
6
  import { builtinModules } from "module";
11
7
  import { promisify } from "util";
12
8
 
9
+ //#region node_modules/.pnpm/deepmerge@4.3.1/node_modules/deepmerge/dist/cjs.js
10
+ var require_cjs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
11
+ var isMergeableObject = function isMergeableObject$1(value) {
12
+ return isNonNullObject(value) && !isSpecial(value);
13
+ };
14
+ function isNonNullObject(value) {
15
+ return !!value && typeof value === "object";
16
+ }
17
+ function isSpecial(value) {
18
+ var stringValue = Object.prototype.toString.call(value);
19
+ return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value);
20
+ }
21
+ var REACT_ELEMENT_TYPE = typeof Symbol === "function" && Symbol.for ? Symbol.for("react.element") : 60103;
22
+ function isReactElement(value) {
23
+ return value.$$typeof === REACT_ELEMENT_TYPE;
24
+ }
25
+ function emptyTarget(val) {
26
+ return Array.isArray(val) ? [] : {};
27
+ }
28
+ function cloneUnlessOtherwiseSpecified(value, options) {
29
+ return options.clone !== false && options.isMergeableObject(value) ? deepmerge(emptyTarget(value), value, options) : value;
30
+ }
31
+ function defaultArrayMerge(target, source, options) {
32
+ return target.concat(source).map(function(element) {
33
+ return cloneUnlessOtherwiseSpecified(element, options);
34
+ });
35
+ }
36
+ function getMergeFunction(key, options) {
37
+ if (!options.customMerge) return deepmerge;
38
+ var customMerge = options.customMerge(key);
39
+ return typeof customMerge === "function" ? customMerge : deepmerge;
40
+ }
41
+ function getEnumerableOwnPropertySymbols(target) {
42
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
43
+ return Object.propertyIsEnumerable.call(target, symbol);
44
+ }) : [];
45
+ }
46
+ function getKeys(target) {
47
+ return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
48
+ }
49
+ function propertyIsOnObject(object, property) {
50
+ try {
51
+ return property in object;
52
+ } catch (_) {
53
+ return false;
54
+ }
55
+ }
56
+ function propertyIsUnsafe(target, key) {
57
+ return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
58
+ }
59
+ function mergeObject(target, source, options) {
60
+ var destination = {};
61
+ if (options.isMergeableObject(target)) getKeys(target).forEach(function(key) {
62
+ destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
63
+ });
64
+ getKeys(source).forEach(function(key) {
65
+ if (propertyIsUnsafe(target, key)) return;
66
+ if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
67
+ else destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
68
+ });
69
+ return destination;
70
+ }
71
+ function deepmerge(target, source, options) {
72
+ options = options || {};
73
+ options.arrayMerge = options.arrayMerge || defaultArrayMerge;
74
+ options.isMergeableObject = options.isMergeableObject || isMergeableObject;
75
+ options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
76
+ var sourceIsArray = Array.isArray(source);
77
+ if (!(sourceIsArray === Array.isArray(target))) return cloneUnlessOtherwiseSpecified(source, options);
78
+ else if (sourceIsArray) return options.arrayMerge(target, source, options);
79
+ else return mergeObject(target, source, options);
80
+ }
81
+ deepmerge.all = function deepmergeAll(array, options) {
82
+ if (!Array.isArray(array)) throw new Error("first argument should be an array");
83
+ return array.reduce(function(prev, next) {
84
+ return deepmerge(prev, next, options);
85
+ }, {});
86
+ };
87
+ var deepmerge_1 = deepmerge;
88
+ module.exports = deepmerge_1;
89
+ }));
90
+
91
+ //#endregion
92
+ //#region node_modules/.pnpm/is-module@1.0.0/node_modules/is-module/index.js
93
+ var require_is_module = /* @__PURE__ */ __commonJSMin(((exports, module) => {
94
+ var ES6ImportExportRegExp = /(?:^\s*|[}{\(\);,\n]\s*)(import\s+['"]|(import|module)\s+[^"'\(\)\n;]+\s+from\s+['"]|export\s+(\*|\{|default|function|var|const|let|[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*))/;
95
+ var ES6AliasRegExp = /(?:^\s*|[}{\(\);,\n]\s*)(export\s*\*\s*from\s*(?:'([^']+)'|"([^"]+)"))/;
96
+ module.exports = function(sauce) {
97
+ return ES6ImportExportRegExp.test(sauce) || ES6AliasRegExp.test(sauce);
98
+ };
99
+ }));
100
+
101
+ //#endregion
13
102
  //#region node_modules/.pnpm/resolve@1.22.11/node_modules/resolve/lib/homedir.js
14
103
  var require_homedir = /* @__PURE__ */ __commonJSMin(((exports, module) => {
15
104
  var os = __require("os");
@@ -37,6 +126,50 @@ var require_caller = /* @__PURE__ */ __commonJSMin(((exports, module) => {
37
126
  };
38
127
  }));
39
128
 
129
+ //#endregion
130
+ //#region node_modules/.pnpm/path-parse@1.0.7/node_modules/path-parse/index.js
131
+ var require_path_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
132
+ var isWindows = process.platform === "win32";
133
+ var splitWindowsRe = /^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/;
134
+ var win32$1 = {};
135
+ function win32SplitPath(filename) {
136
+ return splitWindowsRe.exec(filename).slice(1);
137
+ }
138
+ win32$1.parse = function(pathString) {
139
+ if (typeof pathString !== "string") throw new TypeError("Parameter 'pathString' must be a string, not " + typeof pathString);
140
+ var allParts = win32SplitPath(pathString);
141
+ if (!allParts || allParts.length !== 5) throw new TypeError("Invalid path '" + pathString + "'");
142
+ return {
143
+ root: allParts[1],
144
+ dir: allParts[0] === allParts[1] ? allParts[0] : allParts[0].slice(0, -1),
145
+ base: allParts[2],
146
+ ext: allParts[4],
147
+ name: allParts[3]
148
+ };
149
+ };
150
+ var splitPathRe = /^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/;
151
+ var posix$1 = {};
152
+ function posixSplitPath(filename) {
153
+ return splitPathRe.exec(filename).slice(1);
154
+ }
155
+ posix$1.parse = function(pathString) {
156
+ if (typeof pathString !== "string") throw new TypeError("Parameter 'pathString' must be a string, not " + typeof pathString);
157
+ var allParts = posixSplitPath(pathString);
158
+ if (!allParts || allParts.length !== 5) throw new TypeError("Invalid path '" + pathString + "'");
159
+ return {
160
+ root: allParts[1],
161
+ dir: allParts[0].slice(0, -1),
162
+ base: allParts[2],
163
+ ext: allParts[4],
164
+ name: allParts[3]
165
+ };
166
+ };
167
+ if (isWindows) module.exports = win32$1.parse;
168
+ else module.exports = posix$1.parse;
169
+ module.exports.posix = posix$1.parse;
170
+ module.exports.win32 = win32$1.parse;
171
+ }));
172
+
40
173
  //#endregion
41
174
  //#region node_modules/.pnpm/resolve@1.22.11/node_modules/resolve/lib/node-modules-paths.js
42
175
  var require_node_modules_paths = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -84,6 +217,292 @@ var require_normalize_options = /* @__PURE__ */ __commonJSMin(((exports, module)
84
217
  };
85
218
  }));
86
219
 
220
+ //#endregion
221
+ //#region node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js
222
+ var require_implementation = /* @__PURE__ */ __commonJSMin(((exports, module) => {
223
+ var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
224
+ var toStr = Object.prototype.toString;
225
+ var max = Math.max;
226
+ var funcType = "[object Function]";
227
+ var concatty = function concatty$1(a, b) {
228
+ var arr = [];
229
+ for (var i = 0; i < a.length; i += 1) arr[i] = a[i];
230
+ for (var j = 0; j < b.length; j += 1) arr[j + a.length] = b[j];
231
+ return arr;
232
+ };
233
+ var slicy = function slicy$1(arrLike, offset) {
234
+ var arr = [];
235
+ for (var i = offset || 0, j = 0; i < arrLike.length; i += 1, j += 1) arr[j] = arrLike[i];
236
+ return arr;
237
+ };
238
+ var joiny = function(arr, joiner) {
239
+ var str = "";
240
+ for (var i = 0; i < arr.length; i += 1) {
241
+ str += arr[i];
242
+ if (i + 1 < arr.length) str += joiner;
243
+ }
244
+ return str;
245
+ };
246
+ module.exports = function bind$1(that) {
247
+ var target = this;
248
+ if (typeof target !== "function" || toStr.apply(target) !== funcType) throw new TypeError(ERROR_MESSAGE + target);
249
+ var args = slicy(arguments, 1);
250
+ var bound;
251
+ var binder = function() {
252
+ if (this instanceof bound) {
253
+ var result = target.apply(this, concatty(args, arguments));
254
+ if (Object(result) === result) return result;
255
+ return this;
256
+ }
257
+ return target.apply(that, concatty(args, arguments));
258
+ };
259
+ var boundLength = max(0, target.length - args.length);
260
+ var boundArgs = [];
261
+ for (var i = 0; i < boundLength; i++) boundArgs[i] = "$" + i;
262
+ bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
263
+ if (target.prototype) {
264
+ var Empty = function Empty$1() {};
265
+ Empty.prototype = target.prototype;
266
+ bound.prototype = new Empty();
267
+ Empty.prototype = null;
268
+ }
269
+ return bound;
270
+ };
271
+ }));
272
+
273
+ //#endregion
274
+ //#region node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js
275
+ var require_function_bind = /* @__PURE__ */ __commonJSMin(((exports, module) => {
276
+ var implementation = require_implementation();
277
+ module.exports = Function.prototype.bind || implementation;
278
+ }));
279
+
280
+ //#endregion
281
+ //#region node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js
282
+ var require_hasown = /* @__PURE__ */ __commonJSMin(((exports, module) => {
283
+ var call = Function.prototype.call;
284
+ var $hasOwn = Object.prototype.hasOwnProperty;
285
+ var bind = require_function_bind();
286
+ /** @type {import('.')} */
287
+ module.exports = bind.call(call, $hasOwn);
288
+ }));
289
+
290
+ //#endregion
291
+ //#region node_modules/.pnpm/is-core-module@2.16.1/node_modules/is-core-module/core.json
292
+ var require_core$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
293
+ module.exports = {
294
+ "assert": true,
295
+ "node:assert": [">= 14.18 && < 15", ">= 16"],
296
+ "assert/strict": ">= 15",
297
+ "node:assert/strict": ">= 16",
298
+ "async_hooks": ">= 8",
299
+ "node:async_hooks": [">= 14.18 && < 15", ">= 16"],
300
+ "buffer_ieee754": ">= 0.5 && < 0.9.7",
301
+ "buffer": true,
302
+ "node:buffer": [">= 14.18 && < 15", ">= 16"],
303
+ "child_process": true,
304
+ "node:child_process": [">= 14.18 && < 15", ">= 16"],
305
+ "cluster": ">= 0.5",
306
+ "node:cluster": [">= 14.18 && < 15", ">= 16"],
307
+ "console": true,
308
+ "node:console": [">= 14.18 && < 15", ">= 16"],
309
+ "constants": true,
310
+ "node:constants": [">= 14.18 && < 15", ">= 16"],
311
+ "crypto": true,
312
+ "node:crypto": [">= 14.18 && < 15", ">= 16"],
313
+ "_debug_agent": ">= 1 && < 8",
314
+ "_debugger": "< 8",
315
+ "dgram": true,
316
+ "node:dgram": [">= 14.18 && < 15", ">= 16"],
317
+ "diagnostics_channel": [">= 14.17 && < 15", ">= 15.1"],
318
+ "node:diagnostics_channel": [">= 14.18 && < 15", ">= 16"],
319
+ "dns": true,
320
+ "node:dns": [">= 14.18 && < 15", ">= 16"],
321
+ "dns/promises": ">= 15",
322
+ "node:dns/promises": ">= 16",
323
+ "domain": ">= 0.7.12",
324
+ "node:domain": [">= 14.18 && < 15", ">= 16"],
325
+ "events": true,
326
+ "node:events": [">= 14.18 && < 15", ">= 16"],
327
+ "freelist": "< 6",
328
+ "fs": true,
329
+ "node:fs": [">= 14.18 && < 15", ">= 16"],
330
+ "fs/promises": [">= 10 && < 10.1", ">= 14"],
331
+ "node:fs/promises": [">= 14.18 && < 15", ">= 16"],
332
+ "_http_agent": ">= 0.11.1",
333
+ "node:_http_agent": [">= 14.18 && < 15", ">= 16"],
334
+ "_http_client": ">= 0.11.1",
335
+ "node:_http_client": [">= 14.18 && < 15", ">= 16"],
336
+ "_http_common": ">= 0.11.1",
337
+ "node:_http_common": [">= 14.18 && < 15", ">= 16"],
338
+ "_http_incoming": ">= 0.11.1",
339
+ "node:_http_incoming": [">= 14.18 && < 15", ">= 16"],
340
+ "_http_outgoing": ">= 0.11.1",
341
+ "node:_http_outgoing": [">= 14.18 && < 15", ">= 16"],
342
+ "_http_server": ">= 0.11.1",
343
+ "node:_http_server": [">= 14.18 && < 15", ">= 16"],
344
+ "http": true,
345
+ "node:http": [">= 14.18 && < 15", ">= 16"],
346
+ "http2": ">= 8.8",
347
+ "node:http2": [">= 14.18 && < 15", ">= 16"],
348
+ "https": true,
349
+ "node:https": [">= 14.18 && < 15", ">= 16"],
350
+ "inspector": ">= 8",
351
+ "node:inspector": [">= 14.18 && < 15", ">= 16"],
352
+ "inspector/promises": [">= 19"],
353
+ "node:inspector/promises": [">= 19"],
354
+ "_linklist": "< 8",
355
+ "module": true,
356
+ "node:module": [">= 14.18 && < 15", ">= 16"],
357
+ "net": true,
358
+ "node:net": [">= 14.18 && < 15", ">= 16"],
359
+ "node-inspect/lib/_inspect": ">= 7.6 && < 12",
360
+ "node-inspect/lib/internal/inspect_client": ">= 7.6 && < 12",
361
+ "node-inspect/lib/internal/inspect_repl": ">= 7.6 && < 12",
362
+ "os": true,
363
+ "node:os": [">= 14.18 && < 15", ">= 16"],
364
+ "path": true,
365
+ "node:path": [">= 14.18 && < 15", ">= 16"],
366
+ "path/posix": ">= 15.3",
367
+ "node:path/posix": ">= 16",
368
+ "path/win32": ">= 15.3",
369
+ "node:path/win32": ">= 16",
370
+ "perf_hooks": ">= 8.5",
371
+ "node:perf_hooks": [">= 14.18 && < 15", ">= 16"],
372
+ "process": ">= 1",
373
+ "node:process": [">= 14.18 && < 15", ">= 16"],
374
+ "punycode": ">= 0.5",
375
+ "node:punycode": [">= 14.18 && < 15", ">= 16"],
376
+ "querystring": true,
377
+ "node:querystring": [">= 14.18 && < 15", ">= 16"],
378
+ "readline": true,
379
+ "node:readline": [">= 14.18 && < 15", ">= 16"],
380
+ "readline/promises": ">= 17",
381
+ "node:readline/promises": ">= 17",
382
+ "repl": true,
383
+ "node:repl": [">= 14.18 && < 15", ">= 16"],
384
+ "node:sea": [">= 20.12 && < 21", ">= 21.7"],
385
+ "smalloc": ">= 0.11.5 && < 3",
386
+ "node:sqlite": [">= 22.13 && < 23", ">= 23.4"],
387
+ "_stream_duplex": ">= 0.9.4",
388
+ "node:_stream_duplex": [">= 14.18 && < 15", ">= 16"],
389
+ "_stream_transform": ">= 0.9.4",
390
+ "node:_stream_transform": [">= 14.18 && < 15", ">= 16"],
391
+ "_stream_wrap": ">= 1.4.1",
392
+ "node:_stream_wrap": [">= 14.18 && < 15", ">= 16"],
393
+ "_stream_passthrough": ">= 0.9.4",
394
+ "node:_stream_passthrough": [">= 14.18 && < 15", ">= 16"],
395
+ "_stream_readable": ">= 0.9.4",
396
+ "node:_stream_readable": [">= 14.18 && < 15", ">= 16"],
397
+ "_stream_writable": ">= 0.9.4",
398
+ "node:_stream_writable": [">= 14.18 && < 15", ">= 16"],
399
+ "stream": true,
400
+ "node:stream": [">= 14.18 && < 15", ">= 16"],
401
+ "stream/consumers": ">= 16.7",
402
+ "node:stream/consumers": ">= 16.7",
403
+ "stream/promises": ">= 15",
404
+ "node:stream/promises": ">= 16",
405
+ "stream/web": ">= 16.5",
406
+ "node:stream/web": ">= 16.5",
407
+ "string_decoder": true,
408
+ "node:string_decoder": [">= 14.18 && < 15", ">= 16"],
409
+ "sys": [">= 0.4 && < 0.7", ">= 0.8"],
410
+ "node:sys": [">= 14.18 && < 15", ">= 16"],
411
+ "test/reporters": ">= 19.9 && < 20.2",
412
+ "node:test/reporters": [
413
+ ">= 18.17 && < 19",
414
+ ">= 19.9",
415
+ ">= 20"
416
+ ],
417
+ "test/mock_loader": ">= 22.3 && < 22.7",
418
+ "node:test/mock_loader": ">= 22.3 && < 22.7",
419
+ "node:test": [">= 16.17 && < 17", ">= 18"],
420
+ "timers": true,
421
+ "node:timers": [">= 14.18 && < 15", ">= 16"],
422
+ "timers/promises": ">= 15",
423
+ "node:timers/promises": ">= 16",
424
+ "_tls_common": ">= 0.11.13",
425
+ "node:_tls_common": [">= 14.18 && < 15", ">= 16"],
426
+ "_tls_legacy": ">= 0.11.3 && < 10",
427
+ "_tls_wrap": ">= 0.11.3",
428
+ "node:_tls_wrap": [">= 14.18 && < 15", ">= 16"],
429
+ "tls": true,
430
+ "node:tls": [">= 14.18 && < 15", ">= 16"],
431
+ "trace_events": ">= 10",
432
+ "node:trace_events": [">= 14.18 && < 15", ">= 16"],
433
+ "tty": true,
434
+ "node:tty": [">= 14.18 && < 15", ">= 16"],
435
+ "url": true,
436
+ "node:url": [">= 14.18 && < 15", ">= 16"],
437
+ "util": true,
438
+ "node:util": [">= 14.18 && < 15", ">= 16"],
439
+ "util/types": ">= 15.3",
440
+ "node:util/types": ">= 16",
441
+ "v8/tools/arguments": ">= 10 && < 12",
442
+ "v8/tools/codemap": [">= 4.4 && < 5", ">= 5.2 && < 12"],
443
+ "v8/tools/consarray": [">= 4.4 && < 5", ">= 5.2 && < 12"],
444
+ "v8/tools/csvparser": [">= 4.4 && < 5", ">= 5.2 && < 12"],
445
+ "v8/tools/logreader": [">= 4.4 && < 5", ">= 5.2 && < 12"],
446
+ "v8/tools/profile_view": [">= 4.4 && < 5", ">= 5.2 && < 12"],
447
+ "v8/tools/splaytree": [">= 4.4 && < 5", ">= 5.2 && < 12"],
448
+ "v8": ">= 1",
449
+ "node:v8": [">= 14.18 && < 15", ">= 16"],
450
+ "vm": true,
451
+ "node:vm": [">= 14.18 && < 15", ">= 16"],
452
+ "wasi": [
453
+ ">= 13.4 && < 13.5",
454
+ ">= 18.17 && < 19",
455
+ ">= 20"
456
+ ],
457
+ "node:wasi": [">= 18.17 && < 19", ">= 20"],
458
+ "worker_threads": ">= 11.7",
459
+ "node:worker_threads": [">= 14.18 && < 15", ">= 16"],
460
+ "zlib": ">= 0.5",
461
+ "node:zlib": [">= 14.18 && < 15", ">= 16"]
462
+ };
463
+ }));
464
+
465
+ //#endregion
466
+ //#region node_modules/.pnpm/is-core-module@2.16.1/node_modules/is-core-module/index.js
467
+ var require_is_core_module = /* @__PURE__ */ __commonJSMin(((exports, module) => {
468
+ var hasOwn = require_hasown();
469
+ function specifierIncluded(current, specifier) {
470
+ var nodeParts = current.split(".");
471
+ var parts = specifier.split(" ");
472
+ var op = parts.length > 1 ? parts[0] : "=";
473
+ var versionParts = (parts.length > 1 ? parts[1] : parts[0]).split(".");
474
+ for (var i = 0; i < 3; ++i) {
475
+ var cur = parseInt(nodeParts[i] || 0, 10);
476
+ var ver = parseInt(versionParts[i] || 0, 10);
477
+ if (cur === ver) continue;
478
+ if (op === "<") return cur < ver;
479
+ if (op === ">=") return cur >= ver;
480
+ return false;
481
+ }
482
+ return op === ">=";
483
+ }
484
+ function matchesRange(current, range) {
485
+ var specifiers = range.split(/ ?&& ?/);
486
+ if (specifiers.length === 0) return false;
487
+ for (var i = 0; i < specifiers.length; ++i) if (!specifierIncluded(current, specifiers[i])) return false;
488
+ return true;
489
+ }
490
+ function versionIncluded(nodeVersion, specifierValue) {
491
+ if (typeof specifierValue === "boolean") return specifierValue;
492
+ var current = typeof nodeVersion === "undefined" ? process.versions && process.versions.node : nodeVersion;
493
+ if (typeof current !== "string") throw new TypeError(typeof nodeVersion === "undefined" ? "Unable to determine current node version" : "If provided, a valid node version is required");
494
+ if (specifierValue && typeof specifierValue === "object") {
495
+ for (var i = 0; i < specifierValue.length; ++i) if (matchesRange(current, specifierValue[i])) return true;
496
+ return false;
497
+ }
498
+ return matchesRange(current, specifierValue);
499
+ }
500
+ var data$1 = require_core$2();
501
+ module.exports = function isCore$2(x, nodeVersion) {
502
+ return hasOwn(data$1, x) && versionIncluded(nodeVersion, data$1[x]);
503
+ };
504
+ }));
505
+
87
506
  //#endregion
88
507
  //#region node_modules/.pnpm/resolve@1.22.11/node_modules/resolve/lib/async.js
89
508
  var require_async = /* @__PURE__ */ __commonJSMin(((exports, module) => {
@@ -1,4 +1,4 @@
1
- import { t as MagicString } from "./magic-string.mjs";
1
+ import { r as MagicString } from "../@pi0/vite-plugin-fullstack.mjs";
2
2
  import { r as createFilter } from "./plugin-commonjs.mjs";
3
3
 
4
4
  //#region node_modules/.pnpm/@rollup+plugin-replace@6.0.3_rollup@4.53.3/node_modules/@rollup/plugin-replace/dist/es/index.js
@@ -1,146 +1,3 @@
1
- //#region node_modules/.pnpm/estree-walker@2.0.2/node_modules/estree-walker/dist/esm/estree-walker.js
2
- /** @typedef { import('estree').BaseNode} BaseNode */
3
- /** @typedef {{
4
- skip: () => void;
5
- remove: () => void;
6
- replace: (node: BaseNode) => void;
7
- }} WalkerContext */
8
- var WalkerBase$1 = class {
9
- constructor() {
10
- /** @type {boolean} */
11
- this.should_skip = false;
12
- /** @type {boolean} */
13
- this.should_remove = false;
14
- /** @type {BaseNode | null} */
15
- this.replacement = null;
16
- /** @type {WalkerContext} */
17
- this.context = {
18
- skip: () => this.should_skip = true,
19
- remove: () => this.should_remove = true,
20
- replace: (node) => this.replacement = node
21
- };
22
- }
23
- /**
24
- *
25
- * @param {any} parent
26
- * @param {string} prop
27
- * @param {number} index
28
- * @param {BaseNode} node
29
- */
30
- replace(parent, prop, index, node) {
31
- if (parent) if (index !== null) parent[prop][index] = node;
32
- else parent[prop] = node;
33
- }
34
- /**
35
- *
36
- * @param {any} parent
37
- * @param {string} prop
38
- * @param {number} index
39
- */
40
- remove(parent, prop, index) {
41
- if (parent) if (index !== null) parent[prop].splice(index, 1);
42
- else delete parent[prop];
43
- }
44
- };
45
- /** @typedef { import('estree').BaseNode} BaseNode */
46
- /** @typedef { import('./walker.js').WalkerContext} WalkerContext */
47
- /** @typedef {(
48
- * this: WalkerContext,
49
- * node: BaseNode,
50
- * parent: BaseNode,
51
- * key: string,
52
- * index: number
53
- * ) => void} SyncHandler */
54
- var SyncWalker$1 = class extends WalkerBase$1 {
55
- /**
56
- *
57
- * @param {SyncHandler} enter
58
- * @param {SyncHandler} leave
59
- */
60
- constructor(enter, leave) {
61
- super();
62
- /** @type {SyncHandler} */
63
- this.enter = enter;
64
- /** @type {SyncHandler} */
65
- this.leave = leave;
66
- }
67
- /**
68
- *
69
- * @param {BaseNode} node
70
- * @param {BaseNode} parent
71
- * @param {string} [prop]
72
- * @param {number} [index]
73
- * @returns {BaseNode}
74
- */
75
- visit(node, parent, prop, index) {
76
- if (node) {
77
- if (this.enter) {
78
- const _should_skip = this.should_skip;
79
- const _should_remove = this.should_remove;
80
- const _replacement = this.replacement;
81
- this.should_skip = false;
82
- this.should_remove = false;
83
- this.replacement = null;
84
- this.enter.call(this.context, node, parent, prop, index);
85
- if (this.replacement) {
86
- node = this.replacement;
87
- this.replace(parent, prop, index, node);
88
- }
89
- if (this.should_remove) this.remove(parent, prop, index);
90
- const skipped = this.should_skip;
91
- const removed = this.should_remove;
92
- this.should_skip = _should_skip;
93
- this.should_remove = _should_remove;
94
- this.replacement = _replacement;
95
- if (skipped) return node;
96
- if (removed) return null;
97
- }
98
- for (const key in node) {
99
- const value = node[key];
100
- if (typeof value !== "object") continue;
101
- else if (Array.isArray(value)) {
102
- for (let i = 0; i < value.length; i += 1) if (value[i] !== null && typeof value[i].type === "string") {
103
- if (!this.visit(value[i], node, key, i)) i--;
104
- }
105
- } else if (value !== null && typeof value.type === "string") this.visit(value, node, key, null);
106
- }
107
- if (this.leave) {
108
- const _replacement = this.replacement;
109
- const _should_remove = this.should_remove;
110
- this.replacement = null;
111
- this.should_remove = false;
112
- this.leave.call(this.context, node, parent, prop, index);
113
- if (this.replacement) {
114
- node = this.replacement;
115
- this.replace(parent, prop, index, node);
116
- }
117
- if (this.should_remove) this.remove(parent, prop, index);
118
- const removed = this.should_remove;
119
- this.replacement = _replacement;
120
- this.should_remove = _should_remove;
121
- if (removed) return null;
122
- }
123
- }
124
- return node;
125
- }
126
- };
127
- /** @typedef { import('estree').BaseNode} BaseNode */
128
- /** @typedef { import('./sync.js').SyncHandler} SyncHandler */
129
- /** @typedef { import('./async.js').AsyncHandler} AsyncHandler */
130
- /**
131
- *
132
- * @param {BaseNode} ast
133
- * @param {{
134
- * enter?: SyncHandler
135
- * leave?: SyncHandler
136
- * }} walker
137
- * @returns {BaseNode}
138
- */
139
- function walk$1(ast, { enter, leave }) {
140
- return new SyncWalker$1(enter, leave).visit(ast, null);
141
- }
142
-
143
- //#endregion
144
1
  //#region node_modules/.pnpm/estree-walker@3.0.3/node_modules/estree-walker/src/walker.js
145
2
  /**
146
3
  * @typedef { import('estree').Node} Node
@@ -327,4 +184,4 @@ function walk(ast, { enter, leave }) {
327
184
  }
328
185
 
329
186
  //#endregion
330
- export { walk$1 as n, walk as t };
187
+ export { walk as t };
@@ -1,6 +1,5 @@
1
1
  import { i as __toESM } from "../_chunks/QkUO_zA6.mjs";
2
- import { t as require_picomatch } from "./picomatch.mjs";
3
- import { t as Builder } from "./fdir.mjs";
2
+ import { c as require_picomatch, s as Builder } from "./@rollup/plugin-commonjs.mjs";
4
3
  import nativeFs from "fs";
5
4
  import path, { posix } from "path";
6
5
  import { fileURLToPath } from "url";
@@ -1,13 +1,12 @@
1
1
  import { i as __toESM, n as __require, t as __commonJSMin } from "../_chunks/QkUO_zA6.mjs";
2
2
  import { C as isAbsolute$1, D as parse$2, O as relative$1, T as normalize$2, b as basename$1, f as readPackageJSON, k as resolve$1, m as resolvePackageJSON, w as join$1, x as dirname$1 } from "./c12.mjs";
3
- import { t as MagicString } from "./magic-string.mjs";
3
+ import { n as stripLiteral, r as MagicString } from "./@pi0/vite-plugin-fullstack.mjs";
4
4
  import { n as parse, t as Parser } from "./acorn.mjs";
5
5
  import { a as findTypeExports, c as parseStaticImport, i as findStaticImports, l as resolve$2, n as detectSyntax, r as findExports, t as resolveModule, u as resolveModuleExportNames } from "./local-pkg.mjs";
6
- import { t as stripLiteral } from "./strip-literal.mjs";
7
- import { t as require_picomatch } from "./picomatch.mjs";
6
+ import { c as require_picomatch } from "./@rollup/plugin-commonjs.mjs";
8
7
  import { t as glob } from "./tinyglobby.mjs";
8
+ import { t as remapping } from "./@jridgewell/remapping.mjs";
9
9
  import { t as walk } from "./estree-walker.mjs";
10
- import { t as remapping } from "./remapping.mjs";
11
10
  import { createRequire } from "node:module";
12
11
  import path, { basename, dirname, extname, isAbsolute, normalize, resolve } from "node:path";
13
12
  import process$1 from "node:process";
@@ -1,5 +1,5 @@
1
1
  import { b as basename, h as resolveModulePath } from "./c12.mjs";
2
- import { t as MagicString } from "./magic-string.mjs";
2
+ import { r as MagicString } from "./@pi0/vite-plugin-fullstack.mjs";
3
3
  import { a as genString, i as genSafeVariableName, n as genObjectFromRaw, t as genImport } from "./knitwork.mjs";
4
4
  import { existsSync, promises } from "node:fs";
5
5
  import { fileURLToPath } from "node:url";
package/dist/_presets.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  import "./_chunks/QkUO_zA6.mjs";
2
2
  import { O as relative$1, _ as h, c as findNearestFile, d as readGitConfig, f as readPackageJSON, h as resolveModulePath, k as resolve$1, s as findFile, w as join$1, x as dirname$1 } from "./_libs/c12.mjs";
3
3
  import { n as gr, t as Q } from "./_libs/confbox.mjs";
4
- import "./_libs/fdir.mjs";
4
+ import "./_libs/@rollup/plugin-commonjs.mjs";
5
5
  import { t as glob } from "./_libs/tinyglobby.mjs";
6
6
  import { r as resolveCompatibilityDatesFromEnv, t as formatCompatibilityDate } from "./_libs/compatx.mjs";
7
7
  import { i as a, n as K, o as p } from "./_libs/std-env.mjs";
8
- import { i as writeFile$2 } from "./_chunks/DJvLZH4H.mjs";
8
+ import { i as writeFile$2 } from "./_chunks/Df3_4Pam.mjs";
9
9
  import { builtinModules } from "node:module";
10
10
  import consola$1 from "consola";
11
11
  import { dirname, extname, relative, resolve } from "node:path";