nitropack-nightly 2.12.6-20250908-112948.bde8ce85 → 2.12.7-20250926-175615.a85002c6

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.
@@ -1,4 +1,4 @@
1
- const version = "2.12.6-20250908-112948.bde8ce85";
1
+ const version = "2.12.7-20250926-175615.a85002c6";
2
2
 
3
3
  const compatibilityChanges = [
4
4
  {
@@ -151,13 +151,14 @@ function generateBuildConfig(nitro, o11Routes) {
151
151
  return config;
152
152
  }
153
153
  config.routes.push(
154
- ...rules.filter(
155
- ([key, value]) => (
156
- // value.isr === false || (value.isr && key.includes("/**"))
157
- value.isr !== void 0 && key !== "/"
158
- )
159
- ).map(([key, value]) => {
160
- const src = key.replace(/^(.*)\/\*\*/, "(?<url>$1/.*)");
154
+ ...nitro.options.routeRules["/"]?.isr ? [
155
+ {
156
+ src: "(?<url>/)",
157
+ dest: `/index${ISR_SUFFIX}?url=$url`
158
+ }
159
+ ] : [],
160
+ ...rules.filter(([key, value]) => value.isr !== void 0 && key !== "/").map(([key, value]) => {
161
+ const src = `(?<url>${normalizeRouteSrc(key)})`;
161
162
  if (value.isr === false) {
162
163
  return {
163
164
  src,
@@ -171,12 +172,6 @@ function generateBuildConfig(nitro, o11Routes) {
171
172
  )
172
173
  };
173
174
  }),
174
- ...nitro.options.routeRules["/"]?.isr ? [
175
- {
176
- src: "(?<url>/)",
177
- dest: `/index${ISR_SUFFIX}?url=$url`
178
- }
179
- ] : [],
180
175
  ...(o11Routes || []).map((route) => ({
181
176
  src: joinURL(nitro.options.baseURL, route.src),
182
177
  dest: withLeadingSlash(route.dest)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nitropack-nightly",
3
- "version": "2.12.6-20250908-112948.bde8ce85",
3
+ "version": "2.12.7-20250926-175615.a85002c6",
4
4
  "description": "Build and Deploy Universal JavaScript Servers",
5
5
  "repository": "nitrojs/nitro",
6
6
  "license": "MIT",
@@ -135,7 +135,7 @@
135
135
  "klona": "^2.0.6",
136
136
  "knitwork": "^1.2.0",
137
137
  "listhen": "^1.9.0",
138
- "magic-string": "^0.30.18",
138
+ "magic-string": "^0.30.19",
139
139
  "magicast": "^0.3.5",
140
140
  "mime": "^4.0.7",
141
141
  "mlly": "^1.8.0",
@@ -148,7 +148,7 @@
148
148
  "pkg-types": "^2.3.0",
149
149
  "pretty-bytes": "^7.0.1",
150
150
  "radix3": "^1.1.2",
151
- "rollup": "^4.50.0",
151
+ "rollup": "^4.50.1",
152
152
  "rollup-plugin-visualizer": "^6.0.3",
153
153
  "scule": "^1.3.0",
154
154
  "semver": "^7.7.2",
@@ -172,11 +172,11 @@
172
172
  "devDependencies": {
173
173
  "@azure/functions": "^3.5.1",
174
174
  "@azure/static-web-apps-cli": "^2.0.6",
175
- "@cloudflare/workers-types": "^4.20250904.0",
175
+ "@cloudflare/workers-types": "^4.20250911.0",
176
176
  "@deno/types": "^0.0.1",
177
177
  "@netlify/edge-functions": "^2.17.4",
178
178
  "@netlify/functions": "^4.2.5",
179
- "@scalar/api-reference": "^1.34.6",
179
+ "@scalar/api-reference": "^1.35.3",
180
180
  "@types/archiver": "^6.0.3",
181
181
  "@types/aws-lambda": "^8.10.152",
182
182
  "@types/estree": "^1.0.8",
@@ -190,21 +190,21 @@
190
190
  "automd": "^0.4.0",
191
191
  "changelogen": "^0.6.2",
192
192
  "edge-runtime": "^4.0.1",
193
- "eslint": "^9.34.0",
193
+ "eslint": "^9.35.0",
194
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",
198
198
  "firebase-functions": "^4.9.0",
199
199
  "get-port-please": "^3.2.0",
200
- "miniflare": "^4.20250829.0",
200
+ "miniflare": "^4.20250906.0",
201
201
  "ohash-v1": "npm:ohash@^1.1.6",
202
202
  "prettier": "^3.6.2",
203
203
  "typescript": "^5.9.2",
204
204
  "unbuild": "^3.6.1",
205
- "undici": "^7.15.0",
205
+ "undici": "^7.16.0",
206
206
  "vitest": "^3.2.4",
207
- "wrangler": "^4.33.2",
207
+ "wrangler": "^4.35.0",
208
208
  "xml2js": "^0.6.2"
209
209
  },
210
210
  "peerDependencies": {