@wular/pnext 0.1.9 → 0.1.10

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.
Files changed (74) hide show
  1. package/dist/server/_chunks/{aliases-fhv4dt06.js → aliases-s49gt0bb.js} +5 -5
  2. package/dist/server/_chunks/{analyze-09kx9q6r.js → analyze-c45xjea8.js} +8 -8
  3. package/dist/server/_chunks/{boot-8aj7efqk.js → boot-exjk45ry.js} +8 -8
  4. package/dist/server/_chunks/{build-jda155c9.js → build-m49fem3j.js} +4 -4
  5. package/dist/server/_chunks/{build-wspv5h60.js → build-ntq282xh.js} +46 -26
  6. package/dist/server/_chunks/{build-tier-qrkpfsk1.js → build-tier-byqfyz34.js} +17 -17
  7. package/dist/server/_chunks/{config-d4hqyygy.js → config-1hdw96je.js} +2 -2
  8. package/dist/server/_chunks/{config-7h84p6q8.js → config-m2yaayer.js} +3 -3
  9. package/dist/server/_chunks/{create-skj8wzt5.js → create-k089tdt7.js} +3 -3
  10. package/dist/server/_chunks/{dev-pennd36n.js → dev-kwp1t8b3.js} +2 -2
  11. package/dist/server/_chunks/{generate-d8vb1d21.js → generate-ap2zs26g.js} +3 -3
  12. package/dist/server/_chunks/{index-yghskk8w.js → index-0f5t5730.js} +16 -13
  13. package/dist/server/_chunks/{index-xs3411qh.js → index-1q52cw31.js} +7 -7
  14. package/dist/server/_chunks/{index-cqcwwxfp.js → index-1tmqkr6x.js} +3 -3
  15. package/dist/server/_chunks/index-1xrvw3zp.js +92 -0
  16. package/dist/server/_chunks/{index-42fef2rv.js → index-4g6amwtg.js} +2 -2
  17. package/dist/server/_chunks/{index-47gx7trn.js → index-4hspm5ez.js} +1 -1
  18. package/dist/server/_chunks/{index-s61bx2aj.js → index-56jw1658.js} +2 -2
  19. package/dist/server/_chunks/{index-xrsg0041.js → index-6w807g31.js} +12 -4
  20. package/dist/server/_chunks/{index-jjppzw0s.js → index-72wjyacg.js} +2 -2
  21. package/dist/server/_chunks/{index-n814hcky.js → index-81qnfmzz.js} +1 -1
  22. package/dist/server/_chunks/{index-vqs3rebe.js → index-8hy8qskn.js} +3 -3
  23. package/dist/server/_chunks/{index-e176wk6x.js → index-8y2yft9b.js} +1 -1
  24. package/dist/server/_chunks/{index-aarf1brn.js → index-a4asdd4j.js} +1 -1
  25. package/dist/server/_chunks/{index-53fnn598.js → index-cqft8ae4.js} +7 -7
  26. package/dist/server/_chunks/{index-6tb725m8.js → index-dd4tb5vy.js} +1 -1
  27. package/dist/server/_chunks/{index-yzcpr3yw.js → index-drfxdvvh.js} +4 -4
  28. package/dist/server/_chunks/{index-4qsce64w.js → index-e63ma63t.js} +1 -1
  29. package/dist/server/_chunks/{index-jexsy9a8.js → index-ed6rwv1x.js} +1 -1
  30. package/dist/server/_chunks/{index-kpdph69z.js → index-f76517s5.js} +23 -23
  31. package/dist/server/_chunks/{index-0wm2p3ks.js → index-fdc7wz3a.js} +1 -1
  32. package/dist/server/_chunks/{index-912z4mfx.js → index-g39z5s9d.js} +3 -3
  33. package/dist/server/_chunks/{index-y9bygr95.js → index-hw5k2sgj.js} +1 -1
  34. package/dist/server/_chunks/{index-hr63fvzn.js → index-jh486fye.js} +1 -1
  35. package/dist/server/_chunks/{index-4vf121ws.js → index-mjvq5c7e.js} +8 -8
  36. package/dist/server/_chunks/{index-0qt2vapb.js → index-mph0cmh9.js} +3 -3
  37. package/dist/server/_chunks/{index-26gwrm07.js → index-nxg8k7cg.js} +2 -2
  38. package/dist/server/_chunks/{index-3r6qpe8a.js → index-p79ck9cd.js} +4 -4
  39. package/dist/server/_chunks/{index-fpghsgb4.js → index-pshjr3qm.js} +1 -1
  40. package/dist/server/_chunks/{index-1y0cesgn.js → index-r1kzsnyp.js} +4 -4
  41. package/dist/server/_chunks/{index-veycp46e.js → index-ra6fsg5v.js} +1 -1
  42. package/dist/server/_chunks/{index-y71a76dn.js → index-tgwt3kwf.js} +4 -4
  43. package/dist/server/_chunks/{index-zedjt25v.js → index-x3cvacmf.js} +4 -4
  44. package/dist/server/_chunks/{index-qjrh7w2g.js → index-zq077xjc.js} +1 -1
  45. package/dist/server/_chunks/{index-da0fphj0.js → index-zvy5134a.js} +5 -5
  46. package/dist/server/_chunks/{loader-w1e0n5sm.js → loader-5j9bjhw7.js} +6 -6
  47. package/dist/server/_chunks/{modules-730j14cm.js → modules-gy48pdw3.js} +8 -8
  48. package/dist/server/_chunks/{pipeline-yjdnwbhm.js → pipeline-m8ac90dn.js} +11 -11
  49. package/dist/server/_chunks/{production-1xe9b7wd.js → production-26vqtxvg.js} +1 -1
  50. package/dist/server/_chunks/{proxy-pnevsbfd.js → proxy-74a1mg4v.js} +7 -7
  51. package/dist/server/_chunks/{proxy-config-9r9e0jvn.js → proxy-config-7hnexa7b.js} +5 -5
  52. package/dist/server/_chunks/{router-rzge0vz8.js → router-frkywyzb.js} +4 -4
  53. package/dist/server/_chunks/{routes-0x8wjvcj.js → routes-y7de16ja.js} +7 -7
  54. package/dist/server/_chunks/{run-tk90r3ac.js → run-q8aq4cez.js} +4 -4
  55. package/dist/server/_chunks/{server-gev78ejc.js → server-21t1fzp7.js} +19 -19
  56. package/dist/server/_chunks/{tsconfig-defaults-qe9wd6ne.js → tsconfig-defaults-bcq068bd.js} +3 -3
  57. package/dist/server/_chunks/{typegen-0yw8sry8.js → typegen-wdqj67rx.js} +10 -10
  58. package/dist/server/cli/index.js +11 -11
  59. package/dist/server/cli/start.js +5 -5
  60. package/dist/server/compat/next/config-headers.js +4 -4
  61. package/dist/server/compat/next/font/cache.js +4 -4
  62. package/dist/server/compat/next/font/local.js +5 -5
  63. package/dist/server/compat/next/font/runtime.js +5 -5
  64. package/dist/server/compat/next/navigation.js +4 -4
  65. package/dist/server/compat/next/redirects.js +4 -4
  66. package/dist/server/compat/next/rewrites.js +3 -3
  67. package/dist/server/generation.json +1 -1
  68. package/package.json +1 -1
  69. package/src/cli/adapters/vercel-warm.ts +2 -1
  70. package/src/cli/adapters/vercel.ts +37 -1
  71. package/src/cli/serve/standalone.ts +14 -6
  72. package/src/css/assets.ts +9 -1
  73. package/src/render/renderer.ts +6 -3
  74. package/dist/server/_chunks/index-md5jchzy.js +0 -92
@@ -4,18 +4,18 @@ import {
4
4
  } from "./index-2wfv4kvx.js";
5
5
  import {
6
6
  nextCompatEnabled
7
- } from "./index-0qt2vapb.js";
7
+ } from "./index-mph0cmh9.js";
8
8
  import {
9
9
  findProxyFiles,
10
10
  setProxyRewriteObserver
11
- } from "./index-vqs3rebe.js";
11
+ } from "./index-8hy8qskn.js";
12
12
  import {
13
13
  getNextConfig
14
14
  } from "./index-m63czgq5.js";
15
15
  import {
16
16
  readText,
17
17
  toPosixPath
18
- } from "./index-4qsce64w.js";
18
+ } from "./index-e63ma63t.js";
19
19
  import {
20
20
  recordCanonicalUrl
21
21
  } from "./index-en7n9f7m.js";
@@ -0,0 +1,92 @@
1
+ // @bun
2
+ import { join as __pnextJoin } from "node:path";
3
+ const __PNEXT_PACKAGE_ROOT__ = __pnextJoin(import.meta.dirname, "../../..");
4
+ // src/runtime/fingerprint.ts
5
+ import { createHash } from "crypto";
6
+ import { mkdirSync, readFileSync, readdirSync, statSync, writeFileSync } from "fs";
7
+ import path from "path";
8
+ import { fileURLToPath } from "url";
9
+ var prebundleFingerprint = typeof { version: "0.1.10", fingerprint: "db18aac8a57bc886", entries: ["cli/index", "cli/start", "client/reference", "api/client-cache", "compat/next/canonical-url", "compat/next/link-transform", "compat/next/client-navigation", "compat/next/og", "compat/next/link", "compat/next/usage", "compat/next/client-script", "compat/next/headers", "compat/next/custom-server", "compat/next/legacy-image", "compat/next/router", "compat/next/navigation", "compat/next/dist/server/web/spec-extension/unstable-no-store", "compat/next/dist/server/web/spec-extension/unstable-cache", "compat/next/dist/server/web/spec-extension/revalidate", "compat/next/dist/client/components/app-router-headers", "compat/next/web-vitals", "compat/next/root-params", "compat/next/route-state", "compat/next/server-only", "compat/next/client-server", "compat/next/legacy-request-apis", "compat/next/redirects", "compat/next/resource-hints", "compat/next/svgr", "compat/next/client-only", "compat/next/image/props", "compat/next/image/optimizer", "compat/next/image/validate", "compat/next/image/shared", "compat/next/image/patterns", "compat/next/image/config", "compat/next/image/client", "compat/next/image/static-metadata", "compat/next/user-agent", "compat/next/client-cache", "compat/next/head", "compat/next/dynamic", "compat/next/telemetry", "compat/next/offline", "compat/next/cache", "compat/next/constants", "compat/next/error", "compat/next/script", "compat/next/index", "compat/next/font/shared", "compat/next/font/runtime", "compat/next/font/google", "compat/next/font/cache", "compat/next/font/runtime-client", "compat/next/font/local", "compat/next/font/index", "compat/next/config-loader", "compat/next/config", "compat/next/image", "compat/next/server", "compat/next/rewrites", "compat/next/preferred-region", "compat/next/config-headers", "compat/next/form", "compat/react/dom", "compat/react/hooks-extra", "compat/react/react-server", "compat/react/dom-client", "compat/react/style-values", "compat/react/compiler-runtime", "compat/react/router-shim", "compat/react/dom-server", "compat/react/dom-react-server", "compat/react/server-component-use", "compat/react/action-state", "compat/react/client", "compat/react/client-lite", "compat/react/server-inserted-html", "compat/react/parity", "compat/react/preact", "compat/react/use", "compat/react/view-transition", "compat/react/internals", "compat/react/server"] } === "object" ? { version: "0.1.10", fingerprint: "db18aac8a57bc886", entries: ["cli/index", "cli/start", "client/reference", "api/client-cache", "compat/next/canonical-url", "compat/next/link-transform", "compat/next/client-navigation", "compat/next/og", "compat/next/link", "compat/next/usage", "compat/next/client-script", "compat/next/headers", "compat/next/custom-server", "compat/next/legacy-image", "compat/next/router", "compat/next/navigation", "compat/next/dist/server/web/spec-extension/unstable-no-store", "compat/next/dist/server/web/spec-extension/unstable-cache", "compat/next/dist/server/web/spec-extension/revalidate", "compat/next/dist/client/components/app-router-headers", "compat/next/web-vitals", "compat/next/root-params", "compat/next/route-state", "compat/next/server-only", "compat/next/client-server", "compat/next/legacy-request-apis", "compat/next/redirects", "compat/next/resource-hints", "compat/next/svgr", "compat/next/client-only", "compat/next/image/props", "compat/next/image/optimizer", "compat/next/image/validate", "compat/next/image/shared", "compat/next/image/patterns", "compat/next/image/config", "compat/next/image/client", "compat/next/image/static-metadata", "compat/next/user-agent", "compat/next/client-cache", "compat/next/head", "compat/next/dynamic", "compat/next/telemetry", "compat/next/offline", "compat/next/cache", "compat/next/constants", "compat/next/error", "compat/next/script", "compat/next/index", "compat/next/font/shared", "compat/next/font/runtime", "compat/next/font/google", "compat/next/font/cache", "compat/next/font/runtime-client", "compat/next/font/local", "compat/next/font/index", "compat/next/config-loader", "compat/next/config", "compat/next/image", "compat/next/server", "compat/next/rewrites", "compat/next/preferred-region", "compat/next/config-headers", "compat/next/form", "compat/react/dom", "compat/react/hooks-extra", "compat/react/react-server", "compat/react/dom-client", "compat/react/style-values", "compat/react/compiler-runtime", "compat/react/router-shim", "compat/react/dom-server", "compat/react/dom-react-server", "compat/react/server-component-use", "compat/react/action-state", "compat/react/client", "compat/react/client-lite", "compat/react/server-inserted-html", "compat/react/parity", "compat/react/preact", "compat/react/use", "compat/react/view-transition", "compat/react/internals", "compat/react/server"] }.fingerprint : undefined;
10
+ var SOURCE_EXTENSIONS = new Set([".ts", ".tsx", ".js", ".jsx", ".cjs", ".mjs"]);
11
+ var DECLARATION = /\.d\.[cm]?ts$/;
12
+ var frameworkSrc = fileURLToPath(new URL("..", Bun.pathToFileURL(__PNEXT_PACKAGE_ROOT__ + "/src/runtime/fingerprint.ts").href));
13
+ function sourceFiles(dir, found = []) {
14
+ let entries;
15
+ try {
16
+ entries = readdirSync(dir, { withFileTypes: true });
17
+ } catch {
18
+ return found;
19
+ }
20
+ for (const entry of entries.sort((a, b) => a.name < b.name ? -1 : 1)) {
21
+ const full = path.join(dir, entry.name);
22
+ if (entry.isDirectory())
23
+ sourceFiles(full, found);
24
+ else if (SOURCE_EXTENSIONS.has(path.extname(entry.name)) && !DECLARATION.test(entry.name))
25
+ found.push(full);
26
+ }
27
+ return found;
28
+ }
29
+ function contentFingerprint(files, dir) {
30
+ const hash = createHash("sha256");
31
+ for (const file of files) {
32
+ hash.update(path.relative(dir, file));
33
+ try {
34
+ hash.update(Bun.hash(readFileSync(file)).toString(36));
35
+ } catch {}
36
+ hash.update("\x00");
37
+ }
38
+ return hash.digest("hex").slice(0, 16);
39
+ }
40
+ var RECORD_VERSION = 1;
41
+ function statSignature(files, dir) {
42
+ const hash = createHash("sha256");
43
+ for (const file of files) {
44
+ const stats = statSync(file, { throwIfNoEntry: false });
45
+ hash.update(`${path.relative(dir, file)}:${stats?.size ?? -1}:${stats?.mtimeMs ?? -1}\x00`);
46
+ }
47
+ return hash.digest("hex").slice(0, 16);
48
+ }
49
+ function recordFile(dir) {
50
+ return path.join(dir, "framework.json");
51
+ }
52
+ function readRecord(dir) {
53
+ try {
54
+ const parsed = JSON.parse(readFileSync(recordFile(dir), "utf8"));
55
+ return parsed.version === RECORD_VERSION && parsed.stats && parsed.fingerprint ? parsed : undefined;
56
+ } catch {
57
+ return;
58
+ }
59
+ }
60
+ function writeRecord(dir, record) {
61
+ try {
62
+ mkdirSync(dir, { recursive: true });
63
+ writeFileSync(recordFile(dir), JSON.stringify(record));
64
+ } catch {}
65
+ }
66
+ var fingerprint;
67
+ var fingerprintStats;
68
+ var scanned = false;
69
+ var recorded = new Set;
70
+ function frameworkFingerprint(recordDir) {
71
+ const pinned = process.env.PNEXT_FRAMEWORK_FINGERPRINT ?? prebundleFingerprint;
72
+ if (pinned)
73
+ return pinned;
74
+ if (fingerprint !== undefined && (!recordDir || recorded.has(recordDir)))
75
+ return fingerprint;
76
+ const previous = recordDir ? readRecord(recordDir) : undefined;
77
+ if (!scanned || fingerprint === undefined || fingerprintStats === undefined) {
78
+ const files = sourceFiles(frameworkSrc);
79
+ fingerprintStats = statSignature(files, frameworkSrc);
80
+ const recordedFingerprint = previous?.stats === fingerprintStats ? previous.fingerprint : undefined;
81
+ scanned = recordedFingerprint === undefined;
82
+ fingerprint = recordedFingerprint ?? contentFingerprint(files, frameworkSrc);
83
+ }
84
+ if (recordDir) {
85
+ recorded.add(recordDir);
86
+ if (previous?.stats !== fingerprintStats)
87
+ writeRecord(recordDir, { version: RECORD_VERSION, stats: fingerprintStats, fingerprint });
88
+ }
89
+ return fingerprint;
90
+ }
91
+
92
+ export { frameworkFingerprint };
@@ -6,10 +6,10 @@ import {
6
6
  } from "./index-jbj7ehef.js";
7
7
  import {
8
8
  readText
9
- } from "./index-4qsce64w.js";
9
+ } from "./index-e63ma63t.js";
10
10
  import {
11
11
  pathToFileHref
12
- } from "./index-zedjt25v.js";
12
+ } from "./index-x3cvacmf.js";
13
13
  import {
14
14
  clientReferenceId
15
15
  } from "./index-ras0sdab.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-m63czgq5.js";
5
5
  import {
6
6
  registerConfigSource
7
- } from "./index-zedjt25v.js";
7
+ } from "./index-x3cvacmf.js";
8
8
 
9
9
  // src/compat/register/config.ts
10
10
  function registerConfigSource2() {
@@ -4,10 +4,10 @@ import {
4
4
  } from "./index-knp0s912.js";
5
5
  import {
6
6
  frameworkFingerprint
7
- } from "./index-md5jchzy.js";
7
+ } from "./index-1xrvw3zp.js";
8
8
  import {
9
9
  writeFileAtomic
10
- } from "./index-4qsce64w.js";
10
+ } from "./index-e63ma63t.js";
11
11
  import {
12
12
  outCachePath
13
13
  } from "./index-bzd2ef7t.js";
@@ -6,10 +6,10 @@ import {
6
6
  cssModuleScopePath,
7
7
  ensureDir,
8
8
  readText
9
- } from "./index-4qsce64w.js";
9
+ } from "./index-e63ma63t.js";
10
10
  import {
11
11
  productionRelease
12
- } from "./index-fpghsgb4.js";
12
+ } from "./index-pshjr3qm.js";
13
13
  import {
14
14
  getCssExtensions
15
15
  } from "./index-zqpqyg8p.js";
@@ -34,7 +34,7 @@ import { readFile, writeFile } from "fs/promises";
34
34
  import path from "path";
35
35
  var build;
36
36
  async function globalCssHref(config) {
37
- const sources = productionRelease(config)?.globalCss ?? (await (build ??= import("./build-jda155c9.js"))).globalCssSources(config);
37
+ const sources = productionRelease(config)?.globalCss ?? (await (build ??= import("./build-m49fem3j.js"))).globalCssSources(config);
38
38
  return sources.length > 0 ? assetHref(config, "global.css") : undefined;
39
39
  }
40
40
  var emittedAssets = new Map;
@@ -88,10 +88,18 @@ async function emitFontCssStylesheet(config, routeId, fontCss, baseAsset, option
88
88
  const logicalName = baseAsset ? baseAsset.replace(/-[0-9a-f]{16}(?=\.css$)/, "") : `${routeId}.css`;
89
89
  const name = hashedAssetName(logicalName, contents);
90
90
  const file = path.join(outDir, name);
91
- if (!existsSync(file) || await readFile(file, "utf8") !== contents)
91
+ if (existsSync(file) && await readFile(file, "utf8") === contents)
92
+ return name;
93
+ try {
92
94
  await writeFile(file, contents);
95
+ } catch (error) {
96
+ if (options.dev || !readOnlyErrors.has(error.code ?? ""))
97
+ throw error;
98
+ return;
99
+ }
93
100
  return name;
94
101
  }
102
+ var readOnlyErrors = new Set(["EROFS", "EACCES", "EPERM"]);
95
103
  function withAssetPrefix(config, href) {
96
104
  const prefix = config?.assetPrefix;
97
105
  if (!prefix)
@@ -8,10 +8,10 @@ import {
8
8
  pathnameSegments,
9
9
  slotConventionFile,
10
10
  slotDirectoriesIn
11
- } from "./index-veycp46e.js";
11
+ } from "./index-ra6fsg5v.js";
12
12
  import {
13
13
  toPosixPath
14
- } from "./index-4qsce64w.js";
14
+ } from "./index-e63ma63t.js";
15
15
  import {
16
16
  getRenderExtensions
17
17
  } from "./index-zqpqyg8p.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  findProxyFile
4
- } from "./index-vqs3rebe.js";
4
+ } from "./index-8hy8qskn.js";
5
5
  import {
6
6
  loadNative
7
7
  } from "./index-7wc9n8be.js";
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  devServerModuleHref,
4
4
  registerServerRuntime
5
- } from "./index-912z4mfx.js";
5
+ } from "./index-g39z5s9d.js";
6
6
  import {
7
7
  pathToFileHref
8
- } from "./index-zedjt25v.js";
8
+ } from "./index-x3cvacmf.js";
9
9
  import {
10
10
  runWithRequest
11
11
  } from "./index-grta8ap3.js";
@@ -291,7 +291,7 @@ async function staticProxyMatchers(file) {
291
291
  return cached.matchers;
292
292
  let matchers;
293
293
  try {
294
- const { staticProxyConfig } = await import("./proxy-config-9r9e0jvn.js");
294
+ const { staticProxyConfig } = await import("./proxy-config-7hnexa7b.js");
295
295
  const config = staticProxyConfig(file, readFileSync(file, "utf8"));
296
296
  if (config)
297
297
  matchers = proxyMatchers(config);
@@ -19,7 +19,7 @@ import {
19
19
  } from "./index-m63czgq5.js";
20
20
  import {
21
21
  pathToFileHref
22
- } from "./index-zedjt25v.js";
22
+ } from "./index-x3cvacmf.js";
23
23
  import {
24
24
  runWithRequest,
25
25
  setPhase
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  readDirListing,
4
4
  toPosixPath
5
- } from "./index-4qsce64w.js";
5
+ } from "./index-e63ma63t.js";
6
6
  import {
7
7
  extraPageExtensions
8
8
  } from "./index-zqpqyg8p.js";
@@ -12,13 +12,13 @@ import {
12
12
  ISLAND_BOUNDARY_ERROR_MESSAGE_ATTRIBUTE,
13
13
  ISLAND_STATIC_CHILDREN_ATTRIBUTE,
14
14
  clientEntryName
15
- } from "./index-yghskk8w.js";
15
+ } from "./index-0f5t5730.js";
16
16
  import {
17
17
  findLayouts
18
- } from "./index-aarf1brn.js";
18
+ } from "./index-a4asdd4j.js";
19
19
  import {
20
20
  cssModuleClientPlugin
21
- } from "./index-1y0cesgn.js";
21
+ } from "./index-r1kzsnyp.js";
22
22
  import {
23
23
  createVerboseLogger,
24
24
  formatDuration
@@ -26,10 +26,10 @@ import {
26
26
  import {
27
27
  assetContentHash,
28
28
  withAssetPrefix
29
- } from "./index-xrsg0041.js";
29
+ } from "./index-6w807g31.js";
30
30
  import {
31
31
  frameworkFingerprint
32
- } from "./index-md5jchzy.js";
32
+ } from "./index-1xrvw3zp.js";
33
33
  import {
34
34
  readSourceSync,
35
35
  readSourceText
@@ -39,14 +39,14 @@ import {
39
39
  listFiles,
40
40
  readText,
41
41
  writeText
42
- } from "./index-4qsce64w.js";
42
+ } from "./index-e63ma63t.js";
43
43
  import {
44
44
  traceEnabled
45
45
  } from "./index-vz0km5qk.js";
46
46
  import {
47
47
  frameworkRuntimeAliasEntries,
48
48
  publicEnvDefines
49
- } from "./index-zedjt25v.js";
49
+ } from "./index-x3cvacmf.js";
50
50
  import {
51
51
  dim
52
52
  } from "./index-6kp9r0d9.js";
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ensureDir,
10
10
  toPosixPath
11
- } from "./index-4qsce64w.js";
11
+ } from "./index-e63ma63t.js";
12
12
 
13
13
  // src/compat/typed-routes/generate.ts
14
14
  import { existsSync as existsSync2 } from "fs";
@@ -83,22 +83,22 @@ function bootstrapCompatBoot(config) {
83
83
  installFetchHostNormalization();
84
84
  if (!compatEnabled(config))
85
85
  return Promise.resolve();
86
- bootRegistration ??= import("./boot-8aj7efqk.js").then((module) => module.registerCompatBootExtensions(config));
86
+ bootRegistration ??= import("./boot-exjk45ry.js").then((module) => module.registerCompatBootExtensions(config));
87
87
  return bootRegistration;
88
88
  }
89
89
  function bootstrapCompat(config, options = {}) {
90
90
  installFetchHostNormalization();
91
91
  if (!compatEnabled(config))
92
92
  return Promise.resolve();
93
- registration ??= bootstrapCompatBoot(config).then(() => import("./index-kpdph69z.js")).then((module) => module.registerCompatExtensions(config, options));
93
+ registration ??= bootstrapCompatBoot(config).then(() => import("./index-f76517s5.js")).then((module) => module.registerCompatExtensions(config, options));
94
94
  return registration;
95
95
  }
96
96
  async function generateCompatRouteTypes(config, routes) {
97
97
  if (!config.compat?.next)
98
98
  return;
99
99
  const [{ writeTsconfigDefaults }, { generateTypedRoutes }] = await Promise.all([
100
- import("./tsconfig-defaults-qe9wd6ne.js"),
101
- import("./generate-d8vb1d21.js")
100
+ import("./tsconfig-defaults-bcq068bd.js"),
101
+ import("./generate-ap2zs26g.js")
102
102
  ]);
103
103
  await writeTsconfigDefaults(config);
104
104
  await generateTypedRoutes(config, routes);
@@ -3,7 +3,7 @@ import { join as __pnextJoin } from "node:path";
3
3
  const __PNEXT_PACKAGE_ROOT__ = __pnextJoin(import.meta.dirname, "../../..");
4
4
  import {
5
5
  frozenDirListing
6
- } from "./index-fpghsgb4.js";
6
+ } from "./index-pshjr3qm.js";
7
7
 
8
8
  // src/utils/fs.ts
9
9
  import { existsSync, readdirSync, readFileSync } from "fs";
@@ -6,7 +6,7 @@ import {
6
6
  loadResolvedNextConfig,
7
7
  parseConditions,
8
8
  substitute
9
- } from "./index-e176wk6x.js";
9
+ } from "./index-8y2yft9b.js";
10
10
 
11
11
  // src/compat/next/config-headers.ts
12
12
  async function loadCompatHeaders(root) {
@@ -16,7 +16,7 @@ import {
16
16
  protocolInterceptors,
17
17
  recordRewrite,
18
18
  registerProxyExtensions
19
- } from "./index-cqcwwxfp.js";
19
+ } from "./index-1tmqkr6x.js";
20
20
  import {
21
21
  instrumentationLookupRoots,
22
22
  instrumentationReady,
@@ -27,7 +27,7 @@ import {
27
27
  registerCompatBootExtensions,
28
28
  registerLifecycleExtensions,
29
29
  reportActionErrorToUser
30
- } from "./index-xs3411qh.js";
30
+ } from "./index-1q52cw31.js";
31
31
  import {
32
32
  activateTestProxy
33
33
  } from "./index-2wfv4kvx.js";
@@ -70,7 +70,7 @@ import {
70
70
  withPagesDataSpan,
71
71
  withRenderBodySpan,
72
72
  withRouteHandlerSpan
73
- } from "./index-qjrh7w2g.js";
73
+ } from "./index-zq077xjc.js";
74
74
  import {
75
75
  scanRootParams
76
76
  } from "./index-v1ags1na.js";
@@ -88,7 +88,7 @@ import {
88
88
  schedulePprShellUpgrade,
89
89
  staticParamsFor,
90
90
  withRequestRouteParams
91
- } from "./index-yghskk8w.js";
91
+ } from "./index-0f5t5730.js";
92
92
  import {
93
93
  builtInServerExternalPackages,
94
94
  cacheComponentsEnabled,
@@ -112,7 +112,7 @@ import {
112
112
  matchInterception,
113
113
  parseNavState,
114
114
  selectRouteForRequest
115
- } from "./index-aarf1brn.js";
115
+ } from "./index-a4asdd4j.js";
116
116
  import {
117
117
  actionClientStubPlugin,
118
118
  actionStubSourceFor,
@@ -129,26 +129,26 @@ import {
129
129
  nextCompatEnabled as nextCompatEnabled2,
130
130
  rewriteNextFontSource,
131
131
  setClientActionModules
132
- } from "./index-0qt2vapb.js";
132
+ } from "./index-mph0cmh9.js";
133
133
  import {
134
134
  setProxyRunObserver
135
- } from "./index-vqs3rebe.js";
135
+ } from "./index-8hy8qskn.js";
136
136
  import {
137
137
  devServerModuleHref,
138
138
  pagesApiBundleTargetForRuntime,
139
139
  serverBundleTargetForRuntime,
140
140
  setServerBundleConditions
141
- } from "./index-912z4mfx.js";
141
+ } from "./index-g39z5s9d.js";
142
142
  import {
143
143
  registerConfigSource
144
- } from "./index-47gx7trn.js";
144
+ } from "./index-4hspm5ez.js";
145
145
  import {
146
146
  hasUseClientDirective
147
- } from "./index-42fef2rv.js";
147
+ } from "./index-4g6amwtg.js";
148
148
  import"./index-jbj7ehef.js";
149
149
  import {
150
150
  withAssetPrefix
151
- } from "./index-xrsg0041.js";
151
+ } from "./index-6w807g31.js";
152
152
  import {
153
153
  getDocumentScriptExtensions,
154
154
  nextCompatEnabled,
@@ -180,7 +180,7 @@ import {
180
180
  appPathname,
181
181
  loadCompatHeaders,
182
182
  resolveCompatHeaders
183
- } from "./index-jexsy9a8.js";
183
+ } from "./index-ed6rwv1x.js";
184
184
  import {
185
185
  fontAssets,
186
186
  fontPreloadDomScript,
@@ -189,10 +189,10 @@ import {
189
189
  registerFontFinalizerOnce,
190
190
  releaseFonts,
191
191
  runWithFontScope
192
- } from "./index-26gwrm07.js";
193
- import"./index-s61bx2aj.js";
192
+ } from "./index-nxg8k7cg.js";
193
+ import"./index-56jw1658.js";
194
194
  import"./index-knp0s912.js";
195
- import"./index-md5jchzy.js";
195
+ import"./index-1xrvw3zp.js";
196
196
  import"./index-fn1chkkd.js";
197
197
  import {
198
198
  renderPartytownHeadScripts
@@ -204,7 +204,7 @@ import {
204
204
  import {
205
205
  loadCompatRedirects,
206
206
  resolveCompatRedirect
207
- } from "./index-y9bygr95.js";
207
+ } from "./index-hw5k2sgj.js";
208
208
  import {
209
209
  ACTION_ID_FIELD,
210
210
  ACTION_ID_HEADER,
@@ -241,7 +241,7 @@ import {
241
241
  serializeBoundaryError,
242
242
  validateServerActionsConfigSync,
243
243
  wrapThrownValue
244
- } from "./index-e176wk6x.js";
244
+ } from "./index-8y2yft9b.js";
245
245
  import {
246
246
  inlineUseServerFunctions,
247
247
  moduleActionExports,
@@ -355,18 +355,18 @@ import"./index-ckkdpht5.js";
355
355
  import"./index-yhxkxghe.js";
356
356
  import {
357
357
  taintObjectReference
358
- } from "./index-jjppzw0s.js";
359
- import"./index-veycp46e.js";
358
+ } from "./index-72wjyacg.js";
359
+ import"./index-ra6fsg5v.js";
360
360
  import {
361
361
  cssModuleScopePath,
362
362
  listFilesSync,
363
363
  toPosixPath
364
- } from "./index-4qsce64w.js";
364
+ } from "./index-e63ma63t.js";
365
365
  import"./index-vz0km5qk.js";
366
366
  import {
367
367
  pathToFileHref,
368
368
  publicEnvDefines
369
- } from "./index-zedjt25v.js";
369
+ } from "./index-x3cvacmf.js";
370
370
  import {
371
371
  outCachePath
372
372
  } from "./index-bzd2ef7t.js";
@@ -374,7 +374,7 @@ import"./index-jcsjq3d1.js";
374
374
  import {
375
375
  buildManifestFile,
376
376
  productionRelease
377
- } from "./index-fpghsgb4.js";
377
+ } from "./index-pshjr3qm.js";
378
378
  import {
379
379
  clientReferenceId
380
380
  } from "./index-ras0sdab.js";
@@ -9400,7 +9400,7 @@ function registerEdgeRuntimeExtensions() {
9400
9400
 
9401
9401
  // src/compat/register/index.ts
9402
9402
  async function registerCompatExtensions(config, options = {}) {
9403
- const build2 = options.serve ? undefined : await import("./build-tier-qrkpfsk1.js");
9403
+ const build2 = options.serve ? undefined : await import("./build-tier-byqfyz34.js");
9404
9404
  registerCompatBootExtensions(config);
9405
9405
  build2?.registerBuildCompatExtensions();
9406
9406
  registerConfigSource();
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  includeTypes,
9
9
  writeFileAtomic
10
- } from "./index-4qsce64w.js";
10
+ } from "./index-e63ma63t.js";
11
11
 
12
12
  // src/compat/tsconfig-defaults.ts
13
13
  import { existsSync, readdirSync } from "fs";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  productionRelease,
4
4
  releaseModuleHref
5
- } from "./index-fpghsgb4.js";
5
+ } from "./index-pshjr3qm.js";
6
6
  import {
7
7
  __require
8
8
  } from "./index-rt9qq1va.js";
@@ -11,7 +11,7 @@ import {
11
11
  import { setBasePathPrefix, setDefaultPrefetchMode, setTrailingSlashUrls } from "../../../src/routing/href.ts";
12
12
  var modules;
13
13
  var loader;
14
- var compiler = () => modules ??= import("./modules-730j14cm.js");
14
+ var compiler = () => modules ??= import("./modules-gy48pdw3.js");
15
15
  function serverBundleTargetForRuntime(runtime) {
16
16
  return runtime === "edge" || runtime === "experimental-edge" ? "edge" : "server";
17
17
  }
@@ -26,7 +26,7 @@ function applyServerHrefConfig(config) {
26
26
  async function registerServerRuntime(config, sourceFiles = []) {
27
27
  if (productionRelease(config))
28
28
  return applyServerHrefConfig(config);
29
- (await (loader ??= import("./loader-w1e0n5sm.js"))).registerServerRuntime(config, sourceFiles);
29
+ (await (loader ??= import("./loader-5j9bjhw7.js"))).registerServerRuntime(config, sourceFiles);
30
30
  }
31
31
  async function devServerModuleHref(config, file, version, options = {}) {
32
32
  const served = productionRelease(config);
@@ -6,7 +6,7 @@ import {
6
6
  parseConditions,
7
7
  splitDestination,
8
8
  substitute
9
- } from "./index-e176wk6x.js";
9
+ } from "./index-8y2yft9b.js";
10
10
 
11
11
  // src/compat/next/redirects.ts
12
12
  async function loadCompatRedirects(root) {
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  pnextVersionRange
4
- } from "./index-4qsce64w.js";
4
+ } from "./index-e63ma63t.js";
5
5
  import {
6
6
  bold,
7
7
  cyan,
@@ -34,7 +34,7 @@ import {
34
34
  serverRequireAlias,
35
35
  statSignature,
36
36
  vendorLoadsNatively
37
- } from "./index-da0fphj0.js";
37
+ } from "./index-zvy5134a.js";
38
38
  import {
39
39
  deferredDynamicImportSpecifiers,
40
40
  devDynamicSplitEnabled
@@ -49,12 +49,12 @@ import {
49
49
  setPreplanDrain,
50
50
  setReleaseCompileFlag,
51
51
  throwIfModuleEvalFailed
52
- } from "./index-912z4mfx.js";
52
+ } from "./index-g39z5s9d.js";
53
53
  import {
54
54
  clientReferenceExportNames,
55
55
  clientReferenceModuleSource,
56
56
  hasUseClientDirective
57
- } from "./index-42fef2rv.js";
57
+ } from "./index-4g6amwtg.js";
58
58
  import {
59
59
  formatDuration
60
60
  } from "./index-73z4esab.js";
@@ -66,7 +66,7 @@ import {
66
66
  } from "./index-knp0s912.js";
67
67
  import {
68
68
  frameworkFingerprint
69
- } from "./index-md5jchzy.js";
69
+ } from "./index-1xrvw3zp.js";
70
70
  import {
71
71
  build
72
72
  } from "./index-cjgqs13g.js";
@@ -75,7 +75,7 @@ import {
75
75
  toPosixPath,
76
76
  writeFileAtomic,
77
77
  writeText
78
- } from "./index-4qsce64w.js";
78
+ } from "./index-e63ma63t.js";
79
79
  import {
80
80
  traceEnabled,
81
81
  traceValue
@@ -84,14 +84,14 @@ import {
84
84
  frameworkRuntimeAliasEntries,
85
85
  pathToFileHref,
86
86
  pnextAliases
87
- } from "./index-zedjt25v.js";
87
+ } from "./index-x3cvacmf.js";
88
88
  import {
89
89
  outCachePath
90
90
  } from "./index-bzd2ef7t.js";
91
91
  import {
92
92
  productionRelease,
93
93
  releaseModuleHref
94
- } from "./index-fpghsgb4.js";
94
+ } from "./index-pshjr3qm.js";
95
95
  import {
96
96
  noteCompiledClientReference,
97
97
  ssrClientReference
@@ -5062,7 +5062,7 @@ async function serverCssModuleSource(config, file) {
5062
5062
  const coreBuild = isReleaseCompile() && !reactCompatEnabled2(config);
5063
5063
  if (registered !== undefined || !coreBuild || !file.endsWith(".module.css"))
5064
5064
  return registered;
5065
- const { cssModuleMapping } = await import("./build-jda155c9.js");
5065
+ const { cssModuleMapping } = await import("./build-m49fem3j.js");
5066
5066
  return `export default ${JSON.stringify(await cssModuleMapping(file))};`;
5067
5067
  }
5068
5068
  function isStaticImageFile(file) {