nitropack-nightly 2.12.0-20250715-000851.66992d48 → 2.12.0-20250715-003210.e2dc6385
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/meta/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ export interface AmplifyComputeConfig {
|
|
|
8
8
|
* The runtime property dictates the runtime of the provisioned compute resource.
|
|
9
9
|
* Values are subset of https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
|
|
10
10
|
*/
|
|
11
|
-
runtime: "nodejs16.x" | "nodejs18.x";
|
|
11
|
+
runtime: "nodejs16.x" | "nodejs18.x" | "nodejs20.x";
|
|
12
12
|
/**
|
|
13
13
|
* Specifies the starting file from which code will run for the given compute resource.
|
|
14
14
|
* The specified file should exist inside the given sub-directory that represents a compute resource.
|
|
@@ -138,4 +138,5 @@ export interface AWSAmplifyOptions {
|
|
|
138
138
|
cacheControl?: string;
|
|
139
139
|
};
|
|
140
140
|
imageSettings?: AmplifyImageSettings;
|
|
141
|
+
runtime?: "nodejs16.x" | "nodejs18.x" | "nodejs20.x";
|
|
141
142
|
}
|
|
@@ -227,6 +227,10 @@ function _hasProp(obj, prop) {
|
|
|
227
227
|
return obj && typeof obj === "object" && prop in obj;
|
|
228
228
|
}
|
|
229
229
|
function getObservabilityRoutes(nitro) {
|
|
230
|
+
const compatDate = nitro.options.compatibilityDate.vercel || nitro.options.compatibilityDate.default;
|
|
231
|
+
if (compatDate < "2025-07-15") {
|
|
232
|
+
return [];
|
|
233
|
+
}
|
|
230
234
|
const routePatterns = [
|
|
231
235
|
.../* @__PURE__ */ new Set([
|
|
232
236
|
...nitro.options.ssrRoutes || [],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nitropack-nightly",
|
|
3
|
-
"version": "2.12.0-20250715-
|
|
3
|
+
"version": "2.12.0-20250715-003210.e2dc6385",
|
|
4
4
|
"description": "Build and Deploy Universal JavaScript Servers",
|
|
5
5
|
"repository": "nitrojs/nitro",
|
|
6
6
|
"license": "MIT",
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
"unenv": "^2.0.0-rc.18",
|
|
165
165
|
"unimport": "^5.1.0",
|
|
166
166
|
"unplugin-utils": "^0.2.4",
|
|
167
|
-
"unstorage": "^1.16.
|
|
167
|
+
"unstorage": "^1.16.1",
|
|
168
168
|
"untyped": "^2.0.0",
|
|
169
169
|
"unwasm": "^0.3.9",
|
|
170
170
|
"youch": "4.1.0-beta.8",
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
"@cloudflare/workers-types": "^4.20250712.0",
|
|
177
177
|
"@deno/types": "^0.0.1",
|
|
178
178
|
"@netlify/edge-functions": "^2.15.6",
|
|
179
|
-
"@scalar/api-reference": "^1.32.
|
|
179
|
+
"@scalar/api-reference": "^1.32.7",
|
|
180
180
|
"@types/archiver": "^6.0.3",
|
|
181
181
|
"@types/aws-lambda": "^8.10.150",
|
|
182
182
|
"@types/estree": "^1.0.8",
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
"changelogen": "^0.6.2",
|
|
192
192
|
"edge-runtime": "^4.0.1",
|
|
193
193
|
"eslint": "^9.31.0",
|
|
194
|
-
"eslint-config-unjs": "^0.
|
|
194
|
+
"eslint-config-unjs": "^0.5.0",
|
|
195
195
|
"execa": "^9.6.0",
|
|
196
196
|
"expect-type": "^1.2.2",
|
|
197
197
|
"firebase-admin": "^12.7.0",
|