nitropack-nightly 2.11.10-20250411-093402.adfc4562 → 2.11.10-20250422-232522.a159742c

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.11.10-20250411-093402.adfc4562";
1
+ const version = "2.11.10-20250422-232522.a159742c";
2
2
 
3
3
  const compatibilityChanges = [
4
4
  {
@@ -83,7 +83,8 @@ const netlifyEdge = defineNitroPreset(
83
83
  ),
84
84
  name: "edge server handler",
85
85
  function: "server",
86
- generator: getGeneratorString(nitro)
86
+ generator: getGeneratorString(nitro),
87
+ cache: "manual"
87
88
  }
88
89
  ]
89
90
  };
@@ -1129,9 +1129,13 @@ function handlersMeta(nitro) {
1129
1129
  return virtualPrefix + resolved.id;
1130
1130
  }
1131
1131
  },
1132
- load(id) {
1132
+ async load(id) {
1133
1133
  if (id.startsWith(virtualPrefix)) {
1134
1134
  const fullPath = id.slice(virtualPrefix.length);
1135
+ if (fullPath.startsWith("\0")) {
1136
+ const { code } = await this.load({ id: fullPath });
1137
+ return code;
1138
+ }
1135
1139
  return readFile(fullPath, { encoding: "utf8" });
1136
1140
  }
1137
1141
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nitropack-nightly",
3
- "version": "2.11.10-20250411-093402.adfc4562",
3
+ "version": "2.11.10-20250422-232522.a159742c",
4
4
  "description": "Build and Deploy Universal JavaScript Servers",
5
5
  "repository": "nitrojs/nitro",
6
6
  "license": "MIT",