nitro-nightly 3.0.1-20251222-095805-9a930b28 → 3.0.1-20251224-090153-0f3740df

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.
@@ -1565,7 +1565,7 @@ function escapeRegex(str) {
1565
1565
  }
1566
1566
 
1567
1567
  //#endregion
1568
- //#region node_modules/.pnpm/@hiogawa+vite-plugin-fullstack@0.0.11_vite@8.0.0-beta.2_@types+node@25.0.3_jiti@2.6.1_tsx@4.21.0_yaml@2.8.2_/node_modules/@hiogawa/vite-plugin-fullstack/dist/plugin-B4MlD0Bd.js
1568
+ //#region node_modules/.pnpm/@hiogawa+vite-plugin-fullstack@0.0.11_vite@8.0.0-beta.4_@types+node@25.0.3_jiti@2.6.1_tsx@4.21.0_yaml@2.8.2_/node_modules/@hiogawa/vite-plugin-fullstack/dist/plugin-B4MlD0Bd.js
1569
1569
  function parseIdQuery(id) {
1570
1570
  if (!id.includes("?")) return {
1571
1571
  filename: id,
@@ -2150,7 +2150,7 @@ function assetsURLDev(url, config) {
2150
2150
  }
2151
2151
 
2152
2152
  //#endregion
2153
- //#region node_modules/.pnpm/@hiogawa+vite-plugin-fullstack@0.0.11_vite@8.0.0-beta.2_@types+node@25.0.3_jiti@2.6.1_tsx@4.21.0_yaml@2.8.2_/node_modules/@hiogawa/vite-plugin-fullstack/dist/runtime.js
2153
+ //#region node_modules/.pnpm/@hiogawa+vite-plugin-fullstack@0.0.11_vite@8.0.0-beta.4_@types+node@25.0.3_jiti@2.6.1_tsx@4.21.0_yaml@2.8.2_/node_modules/@hiogawa/vite-plugin-fullstack/dist/runtime.js
2154
2154
  function mergeAssets(...args) {
2155
2155
  const js = uniqBy(args.flatMap((h) => h.js), (a) => a.href);
2156
2156
  const css = uniqBy(args.flatMap((h) => h.css), (a) => a.href);
@@ -1,6 +1,6 @@
1
1
  import path from "node:path";
2
2
 
3
- //#region node_modules/.pnpm/@rollup+plugin-alias@6.0.0_rollup@4.53.5/node_modules/@rollup/plugin-alias/dist/index.js
3
+ //#region node_modules/.pnpm/@rollup+plugin-alias@6.0.0_rollup@4.54.0/node_modules/@rollup/plugin-alias/dist/index.js
4
4
  function matches(pattern, importee) {
5
5
  if (pattern instanceof RegExp) return pattern.test(importee);
6
6
  if (importee.length < pattern.length) return false;
@@ -2327,7 +2327,7 @@ function walk(ast, { enter, leave }) {
2327
2327
  }
2328
2328
 
2329
2329
  //#endregion
2330
- //#region node_modules/.pnpm/@rollup+pluginutils@5.3.0_rollup@4.53.5/node_modules/@rollup/pluginutils/dist/es/index.js
2330
+ //#region node_modules/.pnpm/@rollup+pluginutils@5.3.0_rollup@4.54.0/node_modules/@rollup/pluginutils/dist/es/index.js
2331
2331
  var import_picomatch = /* @__PURE__ */ __toESM(require_picomatch(), 1);
2332
2332
  const extractors = {
2333
2333
  ArrayPattern(names, param) {
@@ -2611,7 +2611,7 @@ var require_is_reference = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2611
2611
  }));
2612
2612
 
2613
2613
  //#endregion
2614
- //#region node_modules/.pnpm/@rollup+plugin-commonjs@29.0.0_rollup@4.53.5/node_modules/@rollup/plugin-commonjs/dist/es/index.js
2614
+ //#region node_modules/.pnpm/@rollup+plugin-commonjs@29.0.0_rollup@4.54.0/node_modules/@rollup/plugin-commonjs/dist/es/index.js
2615
2615
  var import_commondir = /* @__PURE__ */ __toESM(require_commondir(), 1);
2616
2616
  var import_is_reference = /* @__PURE__ */ __toESM(require_is_reference(), 1);
2617
2617
  var version = "29.0.0";
@@ -2,7 +2,7 @@ import { i as MagicString } from "../@hiogawa/vite-plugin-fullstack.mjs";
2
2
  import { a as makeLegalIdentifier, n as attachScopes, o as walk, r as createFilter } from "./plugin-commonjs.mjs";
3
3
  import { sep } from "path";
4
4
 
5
- //#region node_modules/.pnpm/@rollup+plugin-inject@5.0.5_rollup@4.53.5/node_modules/@rollup/plugin-inject/dist/es/index.js
5
+ //#region node_modules/.pnpm/@rollup+plugin-inject@5.0.5_rollup@4.54.0/node_modules/@rollup/plugin-inject/dist/es/index.js
6
6
  var escape = function(str) {
7
7
  return str.replace(/[-[\]/{}()*+?.\\^$|]/g, "\\$&");
8
8
  };
@@ -1,6 +1,6 @@
1
1
  import { i as dataToEsm, r as createFilter } from "./plugin-commonjs.mjs";
2
2
 
3
- //#region node_modules/.pnpm/@rollup+plugin-json@6.1.0_rollup@4.53.5/node_modules/@rollup/plugin-json/dist/es/index.js
3
+ //#region node_modules/.pnpm/@rollup+plugin-json@6.1.0_rollup@4.54.0/node_modules/@rollup/plugin-json/dist/es/index.js
4
4
  function json(options) {
5
5
  if (options === void 0) options = {};
6
6
  var filter = createFilter(options.include, options.exclude);
@@ -1113,7 +1113,7 @@ var require_resolve = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1113
1113
  }));
1114
1114
 
1115
1115
  //#endregion
1116
- //#region node_modules/.pnpm/@rollup+plugin-node-resolve@16.0.3_rollup@4.53.5/node_modules/@rollup/plugin-node-resolve/dist/es/index.js
1116
+ //#region node_modules/.pnpm/@rollup+plugin-node-resolve@16.0.3_rollup@4.54.0/node_modules/@rollup/plugin-node-resolve/dist/es/index.js
1117
1117
  var import_cjs = /* @__PURE__ */ __toESM(require_cjs(), 1);
1118
1118
  var import_is_module = /* @__PURE__ */ __toESM(require_is_module(), 1);
1119
1119
  var import_resolve = /* @__PURE__ */ __toESM(require_resolve(), 1);
@@ -1,7 +1,7 @@
1
1
  import { i as MagicString } from "../@hiogawa/vite-plugin-fullstack.mjs";
2
2
  import { r as createFilter } from "./plugin-commonjs.mjs";
3
3
 
4
- //#region node_modules/.pnpm/@rollup+plugin-replace@6.0.3_rollup@4.53.5/node_modules/@rollup/plugin-replace/dist/es/index.js
4
+ //#region node_modules/.pnpm/@rollup+plugin-replace@6.0.3_rollup@4.54.0/node_modules/@rollup/plugin-replace/dist/es/index.js
5
5
  function escape(str) {
6
6
  return str.replace(/[-[\]/{}()*+?.\\^$|]/g, "\\$&");
7
7
  }
@@ -37,12 +37,12 @@ function callHooks(hooks, args, startIndex, task) {
37
37
  return Promise.reject(error);
38
38
  }
39
39
  }
40
- function serialTaskCaller(hooks, args) {
41
- if (hooks.length > 0) return callHooks(hooks, args, 0, createTask(args.shift()));
40
+ function serialTaskCaller(hooks, args, name) {
41
+ if (hooks.length > 0) return callHooks(hooks, args, 0, createTask(name));
42
42
  }
43
- function parallelTaskCaller(hooks, args) {
43
+ function parallelTaskCaller(hooks, args, name) {
44
44
  if (hooks.length > 0) {
45
- const task = createTask(args.shift());
45
+ const task = createTask(name);
46
46
  return Promise.all(hooks.map((hook) => task.run(() => hook(...args))));
47
47
  }
48
48
  }
@@ -164,8 +164,7 @@ var Hookable = class {
164
164
  context: {}
165
165
  } : void 0;
166
166
  if (this._before) callEachWith(this._before, event);
167
- const _args = args?.length ? [name, ...args] : [name];
168
- const result = caller(this._hooks[name] ? [...this._hooks[name]] : [], _args);
167
+ const result = caller(this._hooks[name] ? [...this._hooks[name]] : [], args, name);
169
168
  if (result instanceof Promise) return result.finally(() => {
170
169
  if (this._after && event) callEachWith(this._after, event);
171
170
  });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hookable",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
4
4
  "description": "Awaitable hook system",
5
5
  "keywords": [
6
6
  "hook",
@@ -14,11 +14,7 @@ export const handler = awslambda.streamifyResponse(async (event, responseStream,
14
14
  controller.enqueue("");
15
15
  controller.close();
16
16
  } });
17
- const writer = awslambda.HttpResponseStream.from(
18
- // @ts-expect-error TODO: IMPORTANT! It should be a Writable according to the aws-lambda types
19
- responseStream,
20
- httpResponseMetadata
21
- );
17
+ const writer = awslambda.HttpResponseStream.from(responseStream, httpResponseMetadata);
22
18
  const reader = body.getReader();
23
19
  await streamToNodeStream(reader, responseStream);
24
20
  writer.end();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nitro-nightly",
3
- "version": "3.0.1-20251222-095805-9a930b28",
3
+ "version": "3.0.1-20251224-090153-0f3740df",
4
4
  "description": "Build and Deploy Universal JavaScript Servers",
5
5
  "homepage": "https://nitro.build",
6
6
  "repository": "nitrojs/nitro",
@@ -67,8 +67,8 @@
67
67
  "jiti": "^2.6.1",
68
68
  "ofetch": "^2.0.0-alpha.3",
69
69
  "ohash": "^2.0.11",
70
- "oxc-minify": "^0.103.0",
71
- "oxc-transform": "^0.103.0",
70
+ "oxc-minify": "^0.105.0",
71
+ "oxc-transform": "^0.105.0",
72
72
  "srvx": "^0.9.8",
73
73
  "undici": "^7.16.0",
74
74
  "unenv": "^2.0.0-rc.24",
@@ -77,18 +77,18 @@
77
77
  "devDependencies": {
78
78
  "@azure/functions": "^3.5.1",
79
79
  "@azure/static-web-apps-cli": "^2.0.7",
80
- "@cloudflare/workers-types": "^4.20251217.0",
80
+ "@cloudflare/workers-types": "^4.20251224.0",
81
81
  "@deno/types": "^0.0.1",
82
82
  "@hiogawa/vite-plugin-fullstack": "^0.0.11",
83
83
  "@netlify/edge-functions": "^3.0.3",
84
- "@netlify/functions": "^5.1.1",
84
+ "@netlify/functions": "^5.1.2",
85
85
  "@rollup/plugin-alias": "^6.0.0",
86
86
  "@rollup/plugin-commonjs": "^29.0.0",
87
87
  "@rollup/plugin-inject": "^5.0.5",
88
88
  "@rollup/plugin-json": "^6.1.0",
89
89
  "@rollup/plugin-node-resolve": "^16.0.3",
90
90
  "@rollup/plugin-replace": "^6.0.3",
91
- "@scalar/api-reference": "^1.40.5",
91
+ "@scalar/api-reference": "^1.40.9",
92
92
  "@types/aws-lambda": "^8.10.159",
93
93
  "@types/estree": "^1.0.8",
94
94
  "@types/etag": "^1.8.4",
@@ -119,16 +119,16 @@
119
119
  "execa": "^9.6.1",
120
120
  "expect-type": "^1.3.0",
121
121
  "exsolve": "^1.0.8",
122
- "fs-extra": "^11.3.2",
122
+ "fs-extra": "^11.3.3",
123
123
  "get-port-please": "^3.2.0",
124
124
  "gzip-size": "^7.0.0",
125
- "hookable": "^6.0.0",
125
+ "hookable": "^6.0.1",
126
126
  "httpxy": "^0.1.7",
127
127
  "klona": "^2.0.6",
128
128
  "knitwork": "^1.3.0",
129
129
  "magic-string": "^0.30.21",
130
130
  "mime": "^4.1.0",
131
- "miniflare": "^4.20251213.0",
131
+ "miniflare": "^4.20251217.0",
132
132
  "mlly": "^1.8.0",
133
133
  "nf3": "^0.3.1",
134
134
  "nypm": "^0.6.2",
@@ -140,8 +140,8 @@
140
140
  "pretty-bytes": "^7.1.0",
141
141
  "react": "^19.2.3",
142
142
  "rendu": "^0.0.7",
143
- "rolldown": "1.0.0-beta.55",
144
- "rollup": "^4.53.5",
143
+ "rolldown": "1.0.0-beta.57",
144
+ "rollup": "^4.54.0",
145
145
  "rou3": "^0.7.12",
146
146
  "scule": "^1.3.0",
147
147
  "semver": "^7.7.3",
@@ -158,10 +158,10 @@
158
158
  "unimport": "^5.6.0",
159
159
  "untyped": "^2.0.0",
160
160
  "unwasm": "^0.5.2",
161
- "vite": "8.0.0-beta.2",
161
+ "vite": "8.0.0-beta.4",
162
162
  "vite7": "npm:vite@^7.3.0",
163
163
  "vitest": "^4.0.16",
164
- "wrangler": "^4.55.0",
164
+ "wrangler": "^4.56.0",
165
165
  "xml2js": "^0.6.2",
166
166
  "youch": "4.1.0-beta.13",
167
167
  "youch-core": "^0.3.3"
@@ -169,7 +169,7 @@
169
169
  "peerDependencies": {
170
170
  "nf3": ">=0.3.1",
171
171
  "rolldown": "*",
172
- "rollup": "^4.53.5",
172
+ "rollup": "^4.54.0",
173
173
  "vite": ">=7.3.0",
174
174
  "xml2js": "^0.6.2"
175
175
  },
@@ -190,7 +190,7 @@
190
190
  "optional": true
191
191
  }
192
192
  },
193
- "packageManager": "pnpm@10.26.0",
193
+ "packageManager": "pnpm@10.26.2",
194
194
  "engines": {
195
195
  "node": "^20.19.0 || >=22.12.0"
196
196
  }