nitro-nightly 3.0.1-20260106-202835-5325b208 → 3.0.1-20260106-205209-b085a480

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 (86) hide show
  1. package/dist/_build/common.mjs +24899 -0
  2. package/dist/_build/rolldown.mjs +6 -9
  3. package/dist/_build/rollup.mjs +6 -8
  4. package/dist/_build/vite.build.mjs +1 -1
  5. package/dist/{_dev.mjs → _chunks/dev.mjs} +4 -7
  6. package/dist/{_nitro.mjs → _chunks/nitro.mjs} +16 -195
  7. package/dist/_chunks/nitro2.mjs +101 -0
  8. package/dist/_chunks/utils.mjs +278 -0
  9. package/dist/_libs/@hiogawa/vite-plugin-fullstack.mjs +32 -4
  10. package/dist/_libs/@jridgewell/gen-mapping.mjs +304 -2
  11. package/dist/_libs/@jridgewell/remapping.mjs +1 -2
  12. package/dist/_libs/@rollup/plugin-commonjs.mjs +75 -31
  13. package/dist/_libs/@rollup/plugin-inject.mjs +1 -3
  14. package/dist/_libs/@rollup/plugin-json.mjs +1 -1
  15. package/dist/_libs/@rollup/plugin-node-resolve.mjs +1111 -7
  16. package/dist/_libs/c12.mjs +597 -41
  17. package/dist/_libs/chokidar.mjs +235 -2
  18. package/dist/_libs/confbox.mjs +454 -1476
  19. package/dist/_libs/estree-walker.mjs +1 -144
  20. package/dist/_libs/giget.mjs +2235 -1377
  21. package/dist/_libs/httpxy.mjs +1 -1
  22. package/dist/_libs/unimport.mjs +1547 -1772
  23. package/dist/_presets.mjs +3 -9
  24. package/dist/builder.mjs +7 -12
  25. package/dist/cli/_chunks/{build2.mjs → build.mjs} +1 -1
  26. package/dist/cli/_chunks/dev.mjs +3 -5
  27. package/dist/cli/_chunks/list.mjs +1 -1
  28. package/dist/cli/_chunks/prepare.mjs +1 -1
  29. package/dist/cli/_chunks/run.mjs +1 -1
  30. package/dist/cli/index.mjs +1 -1
  31. package/dist/vite.mjs +14 -1128
  32. package/package.json +1 -1
  33. package/dist/_build/rollup2.mjs +0 -56
  34. package/dist/_build/shared.mjs +0 -60
  35. package/dist/_build/shared2.mjs +0 -40
  36. package/dist/_build/shared3.mjs +0 -68
  37. package/dist/_libs/@jridgewell/resolve-uri.mjs +0 -166
  38. package/dist/_libs/@jridgewell/sourcemap-codec.mjs +0 -167
  39. package/dist/_libs/@jridgewell/trace-mapping.mjs +0 -141
  40. package/dist/_libs/@rolldown/pluginutils.mjs +0 -31
  41. package/dist/_libs/@rollup/plugin-replace.mjs +0 -104
  42. package/dist/_libs/@rollup/pluginutils.mjs +0 -241
  43. package/dist/_libs/acorn.mjs +0 -5034
  44. package/dist/_libs/commondir.mjs +0 -22
  45. package/dist/_libs/deepmerge.mjs +0 -86
  46. package/dist/_libs/dot-prop.mjs +0 -138
  47. package/dist/_libs/dotenv.mjs +0 -345
  48. package/dist/_libs/duplexer.mjs +0 -71
  49. package/dist/_libs/etag.mjs +0 -80
  50. package/dist/_libs/exsolve.mjs +0 -1007
  51. package/dist/_libs/fdir.mjs +0 -514
  52. package/dist/_libs/function-bind.mjs +0 -63
  53. package/dist/_libs/gzip-size.mjs +0 -21
  54. package/dist/_libs/hasown.mjs +0 -14
  55. package/dist/_libs/is-core-module.mjs +0 -220
  56. package/dist/_libs/is-module.mjs +0 -13
  57. package/dist/_libs/is-reference.mjs +0 -33
  58. package/dist/_libs/js-tokens.mjs +0 -382
  59. package/dist/_libs/knitwork.mjs +0 -124
  60. package/dist/_libs/local-pkg.mjs +0 -125
  61. package/dist/_libs/magic-string.mjs +0 -939
  62. package/dist/_libs/mime.mjs +0 -1391
  63. package/dist/_libs/mlly.mjs +0 -1415
  64. package/dist/_libs/node-fetch-native.mjs +0 -7
  65. package/dist/_libs/nypm.mjs +0 -239
  66. package/dist/_libs/path-parse.mjs +0 -47
  67. package/dist/_libs/pathe.mjs +0 -202
  68. package/dist/_libs/perfect-debounce.mjs +0 -89
  69. package/dist/_libs/picomatch.mjs +0 -1673
  70. package/dist/_libs/pkg-types.mjs +0 -197
  71. package/dist/_libs/pretty-bytes.mjs +0 -116
  72. package/dist/_libs/quansync.mjs +0 -90
  73. package/dist/_libs/rc9.mjs +0 -136
  74. package/dist/_libs/readdirp.mjs +0 -237
  75. package/dist/_libs/resolve.mjs +0 -689
  76. package/dist/_libs/std-env.mjs +0 -158
  77. package/dist/_libs/strip-literal.mjs +0 -51
  78. package/dist/_libs/tinyexec.mjs +0 -627
  79. package/dist/_libs/tinyglobby.mjs +0 -292
  80. package/dist/_libs/unplugin-utils.mjs +0 -61
  81. package/dist/_libs/unplugin.mjs +0 -1225
  82. package/dist/_libs/untyped.mjs +0 -271
  83. package/dist/_libs/unwasm.mjs +0 -5895
  84. package/dist/_libs/webpack-virtual-modules.mjs +0 -272
  85. package/dist/_nitro2.mjs +0 -303
  86. /package/dist/{_rolldown.mjs → _common.mjs} +0 -0
@@ -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 };