nitropack-nightly 2.12.0-20250715-001355.ca83b536 → 2.12.0-20250715-004225.f684df2f

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.
@@ -2005,9 +2005,6 @@ async function prerender(nitro) {
2005
2005
  ...nitro.options._config,
2006
2006
  static: false,
2007
2007
  rootDir: nitro.options.rootDir,
2008
- output: {
2009
- serverDir: "{{ buildDir }}/prerender"
2010
- },
2011
2008
  logLevel: 0,
2012
2009
  preset: "nitro-prerender"
2013
2010
  };
@@ -1,4 +1,4 @@
1
- const version = "2.12.0-20250715-001355.ca83b536";
1
+ const version = "2.12.0-20250715-004225.f684df2f";
2
2
 
3
3
  const compatibilityChanges = [
4
4
  {
@@ -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-001355.ca83b536",
3
+ "version": "2.12.0-20250715-004225.f684df2f",
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.0",
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.6",
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.4.2",
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",