nitro-nightly 3.0.1-20251222-095805-9a930b28 → 3.0.1-20251222-100607-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.
- package/dist/_libs/@rollup/plugin-alias.mjs +1 -1
- package/dist/_libs/@rollup/plugin-commonjs.mjs +2 -2
- package/dist/_libs/@rollup/plugin-inject.mjs +1 -1
- package/dist/_libs/@rollup/plugin-json.mjs +1 -1
- package/dist/_libs/@rollup/plugin-node-resolve.mjs +1 -1
- package/dist/_libs/@rollup/plugin-replace.mjs +1 -1
- package/dist/node_modules/hookable/dist/index.mjs +5 -6
- package/dist/node_modules/hookable/package.json +1 -1
- package/dist/presets/aws-lambda/runtime/aws-lambda-streaming.mjs +1 -5
- package/package.json +12 -12
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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(
|
|
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(
|
|
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
|
|
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
|
});
|
|
@@ -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-
|
|
3
|
+
"version": "3.0.1-20251222-100607-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.
|
|
71
|
-
"oxc-transform": "^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.
|
|
80
|
+
"@cloudflare/workers-types": "^4.20251221.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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
144
|
-
"rollup": "^4.
|
|
143
|
+
"rolldown": "1.0.0-beta.56",
|
|
144
|
+
"rollup": "^4.54.0",
|
|
145
145
|
"rou3": "^0.7.12",
|
|
146
146
|
"scule": "^1.3.0",
|
|
147
147
|
"semver": "^7.7.3",
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
"vite": "8.0.0-beta.2",
|
|
162
162
|
"vite7": "npm:vite@^7.3.0",
|
|
163
163
|
"vitest": "^4.0.16",
|
|
164
|
-
"wrangler": "^4.
|
|
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"
|