nitro-nightly 3.0.1-20260122-200414-64df4cfd → 3.0.1-20260122-201913-dfdff9e9

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.
@@ -24655,8 +24655,8 @@ function sourcemapMinify() {
24655
24655
 
24656
24656
  //#endregion
24657
24657
  //#region src/build/plugins/raw.ts
24658
- const HELPER_ID = "\0nitro-raw-helpers";
24659
- const RESOLVED_PREFIX = "\0nitro:raw:";
24658
+ const HELPER_ID = "virtual:nitro-raw-helpers";
24659
+ const RESOLVED_PREFIX = "virtual:nitro:raw:";
24660
24660
  const PREFIX = "raw:";
24661
24661
  function raw() {
24662
24662
  return {
@@ -24678,14 +24678,14 @@ function raw() {
24678
24678
  filter: { id: [/* @__PURE__ */ new RegExp(`^${HELPER_ID}$`), /* @__PURE__ */ new RegExp(`^${RESOLVED_PREFIX}`)] },
24679
24679
  handler(id) {
24680
24680
  if (id === HELPER_ID) return getHelpers();
24681
- if (id.startsWith(RESOLVED_PREFIX)) return promises.readFile(id.slice(11), isBinary(id) ? "binary" : "utf8");
24681
+ if (id.startsWith(RESOLVED_PREFIX)) return promises.readFile(id.slice(18), isBinary(id) ? "binary" : "utf8");
24682
24682
  }
24683
24683
  },
24684
24684
  transform: {
24685
24685
  order: "pre",
24686
24686
  filter: { id: /* @__PURE__ */ new RegExp(`^${RESOLVED_PREFIX}`) },
24687
24687
  handler(code, id) {
24688
- const path$2 = id.slice(11);
24688
+ const path$2 = id.slice(18);
24689
24689
  if (isBinary(id)) return {
24690
24690
  code: `import {base64ToUint8Array } from "${HELPER_ID}" \n export default base64ToUint8Array("${Buffer.from(code, "binary").toString("base64")}")`,
24691
24691
  map: rawAssetMap(path$2)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nitro-nightly",
3
- "version": "3.0.1-20260122-200414-64df4cfd",
3
+ "version": "3.0.1-20260122-201913-dfdff9e9",
4
4
  "description": "Build and Deploy Universal JavaScript Servers",
5
5
  "keywords": [
6
6
  "api-routes",