@neon/config-runtime 1.10.3 → 1.10.5

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 (62) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +1 -2
  2. package/dist/lib/function-bundle.d.ts +1 -2
  3. package/dist/lib/function-bundle.js +1 -2
  4. package/dist/lib/function-source.d.ts +1 -2
  5. package/dist/lib/function-source.js +1 -2
  6. package/dist/lib/function-zip.d.ts +0 -2
  7. package/dist/lib/function-zip.d.ts.map +1 -1
  8. package/dist/lib/function-zip.js +1 -2
  9. package/dist/lib/native-detect.d.ts +0 -2
  10. package/dist/lib/native-detect.d.ts.map +1 -1
  11. package/dist/lib/native-detect.js +1 -2
  12. package/dist/lib/native-packages.d.ts +0 -2
  13. package/dist/lib/native-packages.d.ts.map +1 -1
  14. package/dist/lib/native-packages.js +1 -2
  15. package/dist/lib/operations.d.ts +1 -2
  16. package/dist/lib/operations.js +1 -2
  17. package/dist/lib/pull-config.d.ts +1 -2
  18. package/dist/lib/pull-config.js +1 -2
  19. package/dist/lib/push-config.d.ts +1 -2
  20. package/dist/lib/push-config.js +1 -2
  21. package/dist/lib/resolve-package.d.ts +0 -2
  22. package/dist/lib/resolve-package.d.ts.map +1 -1
  23. package/dist/lib/resolve-package.js +1 -2
  24. package/dist/lib/run-hook.d.ts +1 -2
  25. package/dist/lib/run-hook.js +1 -2
  26. package/dist/lib/run-hook.test-d.js +1 -2
  27. package/dist/node_modules/.pnpm/@vitest_pretty-format@3.0.9/node_modules/@vitest/pretty-format/dist/index.js +1 -2
  28. package/dist/node_modules/.pnpm/@vitest_runner@3.0.9/node_modules/@vitest/runner/dist/chunk-tasks.js +1 -2
  29. package/dist/node_modules/.pnpm/@vitest_runner@3.0.9/node_modules/@vitest/runner/dist/index.js +1 -2
  30. package/dist/node_modules/.pnpm/@vitest_utils@3.0.9/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js +1 -2
  31. package/dist/node_modules/.pnpm/@vitest_utils@3.0.9/node_modules/@vitest/utils/dist/helpers.js +1 -2
  32. package/dist/node_modules/.pnpm/@vitest_utils@3.0.9/node_modules/@vitest/utils/dist/index.js +1 -2
  33. package/dist/node_modules/.pnpm/@vitest_utils@3.0.9/node_modules/@vitest/utils/dist/source-map.js +0 -1
  34. package/dist/node_modules/.pnpm/chai@5.2.0/node_modules/chai/chai.js +1 -2
  35. package/dist/node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/branding.js +1 -2
  36. package/dist/node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/index.js +1 -2
  37. package/dist/node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/messages.js +1 -2
  38. package/dist/node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/overloads.js +1 -2
  39. package/dist/node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/utils.js +1 -2
  40. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js +1 -2
  41. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js +1 -2
  42. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js +1 -2
  43. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js +1 -2
  44. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js +1 -2
  45. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/error.js +1 -2
  46. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/function.js +1 -2
  47. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.js +1 -2
  48. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.js +1 -2
  49. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.js +1 -2
  50. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.js +1 -2
  51. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.js +1 -2
  52. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.js +1 -2
  53. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.js +1 -2
  54. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.js +1 -2
  55. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.js +1 -2
  56. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.js +1 -2
  57. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.js +1 -2
  58. package/dist/node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.js +1 -2
  59. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js +1 -2
  60. package/dist/node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js +1 -2
  61. package/dist/node_modules/.pnpm/vitest@3.0.9_@types_debug@4.1.13_@types_node@20.19.17_jiti@2.7.0_jsdom@29.1.1_@noble_ha_0258998ed4eee0dc3e7b1b8446e9e9d6/node_modules/vitest/dist/index.js +1 -2
  62. package/package.json +3 -3
@@ -1,4 +1,3 @@
1
- //#region \0rolldown/runtime.js
1
+ // \0rolldown/runtime.js
2
2
  var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod, mod.exports), cb = null), mod.exports);
3
- //#endregion
4
3
  export { __commonJSMin };
@@ -1,7 +1,7 @@
1
1
  import { NativeTraceDeps } from "./native-packages.js";
2
2
  import { ResolvedFunctionConfig } from "@neon/config";
3
3
 
4
- //#region src/lib/function-bundle.d.ts
4
+ // src/lib/function-bundle.d.ts
5
5
  /** Deploy-level ZIP. `@neon/config`'s FunctionBundler returns a file map. */
6
6
  type FunctionBundler = (fn: ResolvedFunctionConfig) => Promise<Uint8Array>;
7
7
  /**
@@ -22,6 +22,5 @@ type FunctionBundleOptions = {
22
22
  * bundler so esbuild stays out of the pkg graph.
23
23
  */
24
24
  declare function buildFunctionBundle(fn: ResolvedFunctionConfig, options?: FunctionBundleOptions): Promise<Uint8Array>;
25
- //#endregion
26
25
  export { ESM_CJS_INTEROP_BANNER, FunctionBundler, buildFunctionBundle };
27
26
  //# sourceMappingURL=function-bundle.d.ts.map
@@ -4,7 +4,7 @@ import { zipEntries, zipFunctionBundle } from "./function-zip.js";
4
4
  import { describeNativeFinding, findUndeclaredNativePackages } from "./native-detect.js";
5
5
  import { ErrorCode, PlatformError, packagesToStage } from "@neon/config";
6
6
  import { basename, dirname } from "node:path";
7
- //#region src/lib/function-bundle.ts
7
+ // src/lib/function-bundle.ts
8
8
  /**
9
9
  * Prepended to the ESM bundle. Bundled dependencies are frequently CommonJS, but an ESM
10
10
  * output (`format: "esm"`) has no `require` / `__filename` / `__dirname` in scope — so any
@@ -79,7 +79,6 @@ const loadEsbuild = async () => {
79
79
  throw new PlatformError(ErrorCode.InvalidConfig, ["Deploying Neon Functions requires `esbuild`, which could not be loaded.", "It is a dependency of @neon/config-runtime — reinstall your dependencies (`pnpm install` / `npm install`)."].join(" "), { cause });
80
80
  }
81
81
  };
82
- //#endregion
83
82
  export { ESM_CJS_INTEROP_BANNER, buildFunctionBundle };
84
83
 
85
84
  //# sourceMappingURL=function-bundle.js.map
@@ -1,6 +1,6 @@
1
1
  import { FunctionBundle, ResolvedFunctionConfig } from "@neon/config";
2
2
 
3
- //#region src/lib/function-source.d.ts
3
+ // src/lib/function-source.d.ts
4
4
  type UnbundledVia = "none" | "no-bundle";
5
5
  /** A file is the entry. A directory is searched in {@link FUNCTION_SOURCE_ENTRIES} order; only real files count. */
6
6
  declare function resolveEsbuildEntry(source: string): Promise<string>;
@@ -11,6 +11,5 @@ declare function resolveEsbuildEntry(source: string): Promise<string>;
11
11
  declare function bundleAsIs(fn: ResolvedFunctionConfig, options?: {
12
12
  via?: UnbundledVia;
13
13
  }): Promise<FunctionBundle>;
14
- //#endregion
15
14
  export { UnbundledVia, bundleAsIs, resolveEsbuildEntry };
16
15
  //# sourceMappingURL=function-source.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import { ErrorCode, FUNCTION_ARCHIVE_ENTRIES, FUNCTION_SOURCE_ENTRIES, PlatformError, isFunctionArchiveEntry, pickFunctionSourceEntry } from "@neon/config";
2
2
  import { basename, isAbsolute, join, relative, sep } from "node:path";
3
3
  import { readFile, readdir, realpath, stat } from "node:fs/promises";
4
- //#region src/lib/function-source.ts
4
+ // src/lib/function-source.ts
5
5
  /** A file is the entry. A directory is searched in {@link FUNCTION_SOURCE_ENTRIES} order; only real files count. */
6
6
  async function resolveEsbuildEntry(source) {
7
7
  let sourceStat;
@@ -81,7 +81,6 @@ const assertSymlinkInsideSource = async (abs, root, rootReal) => {
81
81
  const escaped = relative(rootReal, targetReal);
82
82
  if (escaped === ".." || escaped.startsWith(`..${sep}`) || isAbsolute(escaped)) throw new PlatformError(ErrorCode.InvalidConfig, `Function source ${root} contains a symlink that points outside the directory: ${abs}.`);
83
83
  };
84
- //#endregion
85
84
  export { bundleAsIs, resolveEsbuildEntry };
86
85
 
87
86
  //# sourceMappingURL=function-source.js.map
@@ -1,7 +1,5 @@
1
- //#region src/lib/function-zip.d.ts
2
1
  /** No size check — the esbuild path without staged native files stayed unlimited. */
3
2
  declare function zipEntries(entries: Record<string, Uint8Array>): Promise<Uint8Array>;
4
3
  declare function zipFunctionBundle(slug: string, entries: Record<string, Uint8Array>): Promise<Uint8Array>;
5
- //#endregion
6
4
  export { zipEntries, zipFunctionBundle };
7
5
  //# sourceMappingURL=function-zip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"function-zip.d.ts","names":["zipEntries","Uint8Array","Record","Promise","zipFunctionBundle","zipEntries","entries","Record","Uint8Array","Promise","zipFunctionBundle","slug"],"sources":["../../src/lib/function-zip.ts"],"mappings":";;AAIsBA,iBAAAA,UAAAA,CAAUM,OAAA,EACtBJ,MADsB,CAAA,MAAA,EACPD,UADO,CAAA,CAAA,EAE7BE,OAF6B,CAErBF,UAFqB,CAAA;AAAA,iBAOVG,iBAAAA,CAPUO,IAAA,EAAA,MAAA,EAAAL,OAAA,EAStBJ,MATsB,CAAA,MAAA,EASPD,UATO,CAAA,CAAA,EAU7BE,OAV6B,CAUrBF,UAVqB,CAAA"}
1
+ {"version":3,"file":"function-zip.d.ts","names":["zipEntries","Uint8Array","Record","Promise","zipFunctionBundle","zipEntries","entries","Record","Uint8Array","Promise","zipFunctionBundle","slug"],"sources":["../../src/lib/function-zip.ts"],"mappings":";AAIsBA,iBAAAA,UAAAA,CAAUM,OAAA,EACtBJ,MADsB,CAAA,MAAA,EACPD,UADO,CAAA,CAAA,EAE7BE,OAF6B,CAErBF,UAFqB,CAAA;AAAA,iBAOVG,iBAAAA,CAPUO,IAAA,EAAA,MAAA,EAAAL,OAAA,EAStBJ,MATsB,CAAA,MAAA,EASPD,UATO,CAAA,CAAA,EAU7BE,OAV6B,CAUrBF,UAVqB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { assertZipWithinLimits, enforceLimits } from "./native-packages.js";
2
2
  import { ErrorCode, PlatformError } from "@neon/config";
3
- //#region src/lib/function-zip.ts
3
+ // src/lib/function-zip.ts
4
4
  /** No size check — the esbuild path without staged native files stayed unlimited. */
5
5
  async function zipEntries(entries) {
6
6
  const { zipSync } = await loadFflate();
@@ -19,7 +19,6 @@ async function loadFflate() {
19
19
  throw new PlatformError(ErrorCode.InvalidConfig, ["Deploying Neon Functions requires `fflate`, which could not be loaded.", "It is a dependency of @neon/config-runtime — reinstall your dependencies (`pnpm install` / `npm install`)."].join(" "), { cause });
20
20
  }
21
21
  }
22
- //#endregion
23
22
  export { zipEntries, zipFunctionBundle };
24
23
 
25
24
  //# sourceMappingURL=function-zip.js.map
@@ -1,4 +1,3 @@
1
- //#region src/lib/native-detect.d.ts
2
1
  /**
3
2
  * Why a package looks like it needs its files shipped. Carried through to the message so the
4
3
  * report states the evidence rather than a prediction about what will happen at invoke.
@@ -59,6 +58,5 @@ declare function packageNameFromInput(input: string): string | undefined;
59
58
  * shipping form first because it is the one that produces a working function.
60
59
  */
61
60
  declare function describeNativeFinding(slug: string, finding: NativeFinding): string;
62
- //#endregion
63
61
  export { NativeEvidence, NativeFinding, describeNativeFinding, findUndeclaredNativePackages, packageNameFromInput };
64
62
  //# sourceMappingURL=native-detect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"native-detect.d.ts","names":["NativeEvidence","NativeFinding","findUndeclaredNativePackages","Record","packageNameFromInput","describeNativeFinding","NativeEvidence","kind","file","dependency","script","NativeFinding","name","evidence","findUndeclaredNativePackages","options","metafile","inputs","Record","declared","projectDir","cwd","packageNameFromInput","input","describeNativeFinding","slug","finding"],"sources":["../../src/lib/native-detect.ts"],"mappings":";;AAUA;AAMA;AAwCA;AAA4C,KA9ChCA,cAAAA,GA8CgC;EACtBG,IAAAA,EAAAA,QAAAA;EAKlBF,IAAAA,EAAAA,MAAAA;AAAa,CAAA,GAAA;EA2EDG,IAAAA,EAAAA,oBAAoB;EAyIpBC,UAAAA,EAAAA,MAAAA;;;;;;;;A,KAlQJJ,aAAAA,G;;;E,UAGDD,c;;;;;;;;;;;;;;;;A,iBAqCKE,4BAAAA,C;;I,SACMC,M;;;;;;A,IAKlBF,a;;;;;;;;;;A,iBA2EYG,oBAAAA,C;;;;;A,iBAyIAC,qBAAAA,C,uBAENJ,a"}
1
+ {"version":3,"file":"native-detect.d.ts","names":["NativeEvidence","NativeFinding","findUndeclaredNativePackages","Record","packageNameFromInput","describeNativeFinding","NativeEvidence","kind","file","dependency","script","NativeFinding","name","evidence","findUndeclaredNativePackages","options","metafile","inputs","Record","declared","projectDir","cwd","packageNameFromInput","input","describeNativeFinding","slug","finding"],"sources":["../../src/lib/native-detect.ts"],"mappings":";AAUA;AAMA;AAwCA;AAA4C,KA9ChCA,cAAAA,GA8CgC;EACtBG,IAAAA,EAAAA,QAAAA;EAKlBF,IAAAA,EAAAA,MAAAA;AAAa,CAAA,GAAA;EA2EDG,IAAAA,EAAAA,oBAAoB;EAyIpBC,UAAAA,EAAAA,MAAAA;;;;;;;;A,KAlQJJ,aAAAA,G;;;E,UAGDD,c;;;;;;;;;;;;;;;;A,iBAqCKE,4BAAAA,C;;I,SACMC,M;;;;;;A,IAKlBF,a;;;;;;;;;;A,iBA2EYG,oBAAAA,C;;;;;A,iBAyIAC,qBAAAA,C,uBAENJ,a"}
@@ -3,7 +3,7 @@ import { RUNTIME_TARGET, RUNTIME_TARGET_LABEL } from "./native-packages.js";
3
3
  import { externalPackageRoot } from "@neon/config";
4
4
  import { isAbsolute, join, resolve } from "node:path";
5
5
  import { readdirSync, realpathSync } from "node:fs";
6
- //#region src/lib/native-detect.ts
6
+ // src/lib/native-detect.ts
7
7
  /** Depth of the walk for a `.node`/`.so` inside one package. */
8
8
  const SCAN_DEPTH = 4;
9
9
  const BINARY_PATTERN = /\.(node|so)(\.\d+)*$/;
@@ -196,7 +196,6 @@ function describeNativeFinding(slug, finding) {
196
196
  `nothing for it, so a top-level import of it would then fail on every invoke.`
197
197
  ].join("\n");
198
198
  }
199
- //#endregion
200
199
  export { describeNativeFinding, findUndeclaredNativePackages, packageNameFromInput };
201
200
 
202
201
  //# sourceMappingURL=native-detect.js.map
@@ -1,4 +1,3 @@
1
- //#region src/lib/native-packages.d.ts
2
1
  /**
3
2
  * The architecture, OS and libc a Neon Function runs on. Native packages are installed for
4
3
  * this triple rather than for the machine running the deploy, which is usually a macOS or
@@ -103,6 +102,5 @@ declare function enforceLimits(slug: string, entries: Record<string, Uint8Array>
103
102
  * finished ZIP.
104
103
  */
105
104
  declare function assertZipWithinLimits(slug: string, zip: Uint8Array, entries: Record<string, Uint8Array>, limits?: ArchiveLimits): void;
106
- //#endregion
107
105
  export { ArchiveLimits, DEFAULT_ARCHIVE_LIMITS, NativeTraceDeps, NativeTraceResult, RUNTIME_TARGET, RUNTIME_TARGET_LABEL, assertZipWithinLimits, enforceLimits, traceNativePackages };
108
106
  //# sourceMappingURL=native-packages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"native-packages.d.ts","names":["RUNTIME_TARGET","RUNTIME_TARGET_LABEL","ArchiveLimits","DEFAULT_ARCHIVE_LIMITS","NativeTraceDeps","Promise","NativeTraceResult","Uint8Array","Record","traceNativePackages","Partial","enforceLimits","assertZipWithinLimits","RUNTIME_TARGET","cpu","os","libc","RUNTIME_TARGET_LABEL","ArchiveLimits","maxZipBytes","maxTotalBytes","maxEntries","DEFAULT_ARCHIVE_LIMITS","NativeTraceDeps","install","cwd","specs","Promise","trace","base","entry","files","unresolved","installedVersion","projectDir","pkg","NativeTraceResult","entries","Record","Uint8Array","warnings","traceNativePackages","options","slug","packages","limits","deps","Partial","enforceLimits","assertZipWithinLimits","zip"],"sources":["../../src/lib/native-packages.ts"],"mappings":";;AAqBA;AAOA;AAwLA;AASA;AAOYI,cA/MCJ,cA+Mc,EAAA;EAAA,SAAAc,GAAA,EAAA,OAAA;EAEiBT,SAAAA,EAAAA,EAAAA,OAAAA;EAYtCA,SAAAA,IAAAA,EAAAA,OAAAA;AAAO,CAAA;AAMb;AAA6B,cA5NhBJ,oBA4NgB,EAAA,MAAA;AACJM;AAAfC;AAAM;AA0ChB;AAAyC;AAI/BN;AACME;AAARM;AACIJ,KArFAJ,aAAAA,GAqFAI;EAARD;EAAOc,WAAA,EAAA,MAAA;EAwRKR;EAAaS,aAAA,EAAA,MAAA;EAEJb;EAAfC,UAAAA,EAAAA,MAAAA;AACDN,CAAAA;AAAsC,cAvWlCC,sBAuWkC,EAvWVD,aAuWU;AAyB/C;AAAqC,KAzXzBE,eAAAA,GAyXyB;EAE/BG;EACmBA,OAAAA,EAAAA,CAAAA,GAAAA,EAAAA,MAAAA,EAAAA,KAAAA,EAAAA,MAAAA,EAAAA,EAAAA,GA1XmBF,OA0XnBE,CAAAA,IAAAA,CAAAA;EAAfC;EACDN;AAAsC;;;;;;E,wCA/WzCG,O;;;;;;;;A,KAMMC,iBAAAA,G;E,SACFE,M,SAAeD,U;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;A,iBA0CHE,mBAAAA,C;;;;E,SAIZP,a;E,OACFQ,O,CAAQN,e;A,IACZC,O,CAAQC,iB;;;;;;;;;A,iBAwRIK,aAAAA,C,uBAENH,M,SAAeD,U,YAChBL,a;;;;;;A,iBAyBOU,qBAAAA,C,mBAEVL,U,WACIC,M,SAAeD,U,YAChBL,a"}
1
+ {"version":3,"file":"native-packages.d.ts","names":["RUNTIME_TARGET","RUNTIME_TARGET_LABEL","ArchiveLimits","DEFAULT_ARCHIVE_LIMITS","NativeTraceDeps","Promise","NativeTraceResult","Uint8Array","Record","traceNativePackages","Partial","enforceLimits","assertZipWithinLimits","RUNTIME_TARGET","cpu","os","libc","RUNTIME_TARGET_LABEL","ArchiveLimits","maxZipBytes","maxTotalBytes","maxEntries","DEFAULT_ARCHIVE_LIMITS","NativeTraceDeps","install","cwd","specs","Promise","trace","base","entry","files","unresolved","installedVersion","projectDir","pkg","NativeTraceResult","entries","Record","Uint8Array","warnings","traceNativePackages","options","slug","packages","limits","deps","Partial","enforceLimits","assertZipWithinLimits","zip"],"sources":["../../src/lib/native-packages.ts"],"mappings":";AAqBA;AAOA;AAwLA;AASA;AAOYI,cA/MCJ,cA+Mc,EAAA;EAAA,SAAAc,GAAA,EAAA,OAAA;EAEiBT,SAAAA,EAAAA,EAAAA,OAAAA;EAYtCA,SAAAA,IAAAA,EAAAA,OAAAA;AAAO,CAAA;AAMb;AAA6B,cA5NhBJ,oBA4NgB,EAAA,MAAA;AACJM;AAAfC;AAAM;AA0ChB;AAAyC;AAI/BN;AACME;AAARM;AACIJ,KArFAJ,aAAAA,GAqFAI;EAARD;EAAOc,WAAA,EAAA,MAAA;EAwRKR;EAAaS,aAAA,EAAA,MAAA;EAEJb;EAAfC,UAAAA,EAAAA,MAAAA;AACDN,CAAAA;AAAsC,cAvWlCC,sBAuWkC,EAvWVD,aAuWU;AAyB/C;AAAqC,KAzXzBE,eAAAA,GAyXyB;EAE/BG;EACmBA,OAAAA,EAAAA,CAAAA,GAAAA,EAAAA,MAAAA,EAAAA,KAAAA,EAAAA,MAAAA,EAAAA,EAAAA,GA1XmBF,OA0XnBE,CAAAA,IAAAA,CAAAA;EAAfC;EACDN;AAAsC;;;;;;E,wCA/WzCG,O;;;;;;;;A,KAMMC,iBAAAA,G;E,SACFE,M,SAAeD,U;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;A,iBA0CHE,mBAAAA,C;;;;E,SAIZP,a;E,OACFQ,O,CAAQN,e;A,IACZC,O,CAAQC,iB;;;;;;;;;A,iBAwRIK,aAAAA,C,uBAENH,M,SAAeD,U,YAChBL,a;;;;;;A,iBAyBOU,qBAAAA,C,mBAEVL,U,WACIC,M,SAAeD,U,YAChBL,a"}
@@ -4,7 +4,7 @@ import { join, resolve, sep } from "node:path";
4
4
  import { spawn } from "node:child_process";
5
5
  import { lstatSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
6
6
  import { tmpdir } from "node:os";
7
- //#region src/lib/native-packages.ts
7
+ // src/lib/native-packages.ts
8
8
  /**
9
9
  * The architecture, OS and libc a Neon Function runs on. Native packages are installed for
10
10
  * this triple rather than for the machine running the deploy, which is usually a macOS or
@@ -418,7 +418,6 @@ async function loadNft() {
418
418
  throw invalid("Staging a function's external packages requires `@vercel/nft`, which could not be loaded. Installed from npm it is a dependency of @neon/config-runtime, so reinstalling your dependencies fixes it. If you are running the standalone `neon` binary, this is a packaging bug — please report it at https://github.com/neondatabase/neon-pkgs/issues.", cause);
419
419
  }
420
420
  }
421
- //#endregion
422
421
  export { DEFAULT_ARCHIVE_LIMITS, RUNTIME_TARGET, RUNTIME_TARGET_LABEL, assertZipWithinLimits, enforceLimits, traceNativePackages };
423
422
 
424
423
  //# sourceMappingURL=native-packages.js.map
@@ -3,7 +3,7 @@ import { PullConfigOptions, PulledBranchConfig } from "./pull-config.js";
3
3
  import { PushConfigOptions } from "./push-config.js";
4
4
  import { Config, NeonApi, PushResult } from "@neon/config";
5
5
 
6
- //#region src/lib/operations.d.ts
6
+ // src/lib/operations.d.ts
7
7
 
8
8
  /**
9
9
  * Where to run the operation and how to authenticate. Filesystem- and env-agnostic: the
@@ -129,6 +129,5 @@ interface CreateBranchResult {
129
129
  * branch already created; that throws {@link PartialBranchCreateError} carrying its id/name.
130
130
  */
131
131
  declare function createBranch(config: Config, options: CreateBranchOptions): Promise<CreateBranchResult>;
132
- //#endregion
133
132
  export { ApplyOptions, ConfigOperationOptions, CreateBranchOptions, CreateBranchResult, apply, createBranch, inspect, plan };
134
133
  //# sourceMappingURL=operations.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import { pullConfig } from "./pull-config.js";
2
2
  import { pushConfig } from "./push-config.js";
3
3
  import { ErrorCode, PartialBranchCreateError, PlatformError, createNeonApiFromOptions, resolveConfig } from "@neon/config";
4
- //#region src/lib/operations.ts
4
+ // src/lib/operations.ts
5
5
  /**
6
6
  * Read a branch's live Neon state as a plain object (project + branch metadata and the
7
7
  * reverse-engineered `BranchConfig`). Network read only — never mutates.
@@ -200,7 +200,6 @@ function resolveParentBranchId(parentName, branches, branchName) {
200
200
  }
201
201
  return branches.find((b) => b.isDefault)?.id;
202
202
  }
203
- //#endregion
204
203
  export { apply, createBranch, inspect, plan };
205
204
 
206
205
  //# sourceMappingURL=operations.js.map
@@ -1,6 +1,6 @@
1
1
  import { BucketAccessLevel, Config, NeonApi, NeonBranchSnapshot, NeonBucketSnapshot, NeonCredentialMeta, NeonEndpointSnapshot, NeonFunctionSnapshot, NeonProjectSnapshot, NeonRealtimeSnapshot } from "@neon/config";
2
2
 
3
- //#region src/lib/pull-config.d.ts
3
+ // src/lib/pull-config.d.ts
4
4
  interface PullConfigOptions {
5
5
  /** Neon project id (`<project>`). Required — the API addresses branches by project. */
6
6
  projectId: string;
@@ -88,6 +88,5 @@ declare function buildPulledBranchConfig(project: NeonProjectSnapshot, branch: N
88
88
  /** Realtime state when the adapter supports the branch endpoint. */
89
89
  realtime?: NeonRealtimeSnapshot | null;
90
90
  }): PulledBranchConfig;
91
- //#endregion
92
91
  export { PullConfigOptions, PulledBranchConfig, PulledPreview, buildPulledBranchConfig, pullConfig };
93
92
  //# sourceMappingURL=pull-config.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { ErrorCode, PlatformError, createNeonApiFromOptions } from "@neon/config";
2
- //#region src/lib/pull-config.ts
2
+ // src/lib/pull-config.ts
3
3
  async function pullConfig(options) {
4
4
  const api = options.api ?? createApiFromOptions(options);
5
5
  const projectId = options.projectId;
@@ -155,7 +155,6 @@ function endpointToComputeSettings(endpoint, project) {
155
155
  if (endpoint.suspendTimeout !== void 0 && endpoint.suspendTimeout !== defaults?.suspendTimeout) out.suspendTimeout = endpoint.suspendTimeout;
156
156
  return Object.keys(out).length > 0 ? out : void 0;
157
157
  }
158
- //#endregion
159
158
  export { buildPulledBranchConfig, pullConfig };
160
159
 
161
160
  //# sourceMappingURL=pull-config.js.map
@@ -1,7 +1,7 @@
1
1
  import { FunctionBundler } from "./function-bundle.js";
2
2
  import { Config, ConflictReport, NeonApi, PushResult } from "@neon/config";
3
3
 
4
- //#region src/lib/push-config.d.ts
4
+ // src/lib/push-config.d.ts
5
5
  interface PushConfigOptions {
6
6
  /**
7
7
  * Neon project id. **Required** — the management API addresses every branch through
@@ -126,6 +126,5 @@ interface PushConfirmContext {
126
126
  * It will **not** create a project or branch — both must already exist on Neon.
127
127
  */
128
128
  declare function pushConfig(config: Config, options: PushConfigOptions): Promise<PushResult>;
129
- //#endregion
130
129
  export { PushConfigOptions, PushConfirmContext, pushConfig };
131
130
  //# sourceMappingURL=push-config.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { ErrorCode, PlatformError, PushAbortedError, PushConflictError, createNeonApiFromOptions, diffConfig, resolveConfig } from "@neon/config";
2
- //#region src/lib/push-config.ts
2
+ // src/lib/push-config.ts
3
3
  const makeDefaultBundleFunction = (onWarning) => async (fn) => {
4
4
  const { buildFunctionBundle } = await import("./function-bundle.js");
5
5
  return buildFunctionBundle(fn, { onWarning });
@@ -748,7 +748,6 @@ function updateTriggerInput(functionSlug, trigger) {
748
748
  enabled: trigger.enabled
749
749
  };
750
750
  }
751
- //#endregion
752
751
  export { pushConfig };
753
752
 
754
753
  //# sourceMappingURL=push-config.js.map
@@ -1,4 +1,3 @@
1
- //#region src/lib/resolve-package.d.ts
2
1
  /**
3
2
  * Locate an installed package by walking `node_modules` up from `fromDir`, the way Node
4
3
  * resolves.
@@ -23,6 +22,5 @@ declare function readPackageManifest(dir: string): Record<string, unknown> | und
23
22
  * installing whatever the registry calls latest.
24
23
  */
25
24
  declare function installedPackageVersion(fromDir: string, name: string): string | undefined;
26
- //#endregion
27
25
  export { findPackageDir, installedPackageVersion, readPackageManifest };
28
26
  //# sourceMappingURL=resolve-package.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resolve-package.d.ts","names":["findPackageDir","readPackageManifest","Record","installedPackageVersion","findPackageDir","fromDir","name","readPackageManifest","dir","Record","installedPackageVersion"],"sources":["../../src/lib/resolve-package.ts"],"mappings":";;AAkBA;AAgBA;AAoBA;;;;;;;;;;;;A,iBApCgBA,cAAAA,C;;A,iBAgBAC,mBAAAA,C,cAEbC,M;;;;;;A,iBAkBaC,uBAAAA,C"}
1
+ {"version":3,"file":"resolve-package.d.ts","names":["findPackageDir","readPackageManifest","Record","installedPackageVersion","findPackageDir","fromDir","name","readPackageManifest","dir","Record","installedPackageVersion"],"sources":["../../src/lib/resolve-package.ts"],"mappings":";AAkBA;AAgBA;AAoBA;;;;;;;;;;;;A,iBApCgBA,cAAAA,C;;A,iBAgBAC,mBAAAA,C,cAEbC,M;;;;;;A,iBAkBaC,uBAAAA,C"}
@@ -1,6 +1,6 @@
1
1
  import { join, resolve } from "node:path";
2
2
  import { readFileSync, statSync } from "node:fs";
3
- //#region src/lib/resolve-package.ts
3
+ // src/lib/resolve-package.ts
4
4
  /**
5
5
  * Locate an installed package by walking `node_modules` up from `fromDir`, the way Node
6
6
  * resolves.
@@ -46,7 +46,6 @@ function installedPackageVersion(fromDir, name) {
46
46
  const version = readPackageManifest(dir)?.version;
47
47
  return typeof version === "string" ? version : void 0;
48
48
  }
49
- //#endregion
50
49
  export { findPackageDir, installedPackageVersion, readPackageManifest };
51
50
 
52
51
  //# sourceMappingURL=resolve-package.js.map
@@ -1,6 +1,6 @@
1
1
  import { Hook, ShellHook } from "@neon/config";
2
2
 
3
- //#region src/lib/run-hook.d.ts
3
+ // src/lib/run-hook.d.ts
4
4
 
5
5
  /**
6
6
  * Thrown when a **shell-command** hook exits non-zero (or fails to spawn). Function hooks
@@ -46,6 +46,5 @@ declare function runHook<Ctx, Result>(hook: Hook<Ctx, Result> | undefined, ctx:
46
46
  * with Neon env injected. Throws {@link HookExecutionError} on the first non-zero exit.
47
47
  */
48
48
  declare function runShellHook(hook: ShellHook, options?: RunHookOptions): Promise<void>;
49
- //#endregion
50
49
  export { HookExecutionError, RunHookOptions, runHook, runShellHook };
51
50
  //# sourceMappingURL=run-hook.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { spawn } from "node:child_process";
2
- //#region src/lib/run-hook.ts
2
+ // src/lib/run-hook.ts
3
3
  /**
4
4
  * Thrown when a **shell-command** hook exits non-zero (or fails to spawn). Function hooks
5
5
  * surface their own thrown errors directly; this wraps the process-level failure with the
@@ -86,7 +86,6 @@ function buildEnv(extra) {
86
86
  }
87
87
  return env;
88
88
  }
89
- //#endregion
90
89
  export { HookExecutionError, runHook, runShellHook };
91
90
 
92
91
  //# sourceMappingURL=run-hook.js.map
@@ -1,7 +1,7 @@
1
1
  import { runHook, runShellHook } from "./run-hook.js";
2
2
  import { describe, test } from "../node_modules/.pnpm/@vitest_runner@3.0.9/node_modules/@vitest/runner/dist/index.js";
3
3
  import { import_dist } from "../node_modules/.pnpm/vitest@3.0.9_@types_debug@4.1.13_@types_node@20.19.17_jiti@2.7.0_jsdom@29.1.1_@noble_ha_0258998ed4eee0dc3e7b1b8446e9e9d6/node_modules/vitest/dist/index.js";
4
- //#region src/lib/run-hook.test-d.ts
4
+ // src/lib/run-hook.test-d.ts
5
5
  describe("runHook return typing", () => {
6
6
  test("a function hook resolves to `Result | undefined`, inferred from the function", () => {
7
7
  const fn = (ctx) => ({ name: ctx.inputName });
@@ -33,7 +33,6 @@ describe("RunHookOptions shape", () => {
33
33
  (0, import_dist.expectTypeOf)().toEqualTypeOf();
34
34
  });
35
35
  });
36
- //#endregion
37
36
  export {};
38
37
 
39
38
  //# sourceMappingURL=run-hook.test-d.js.map
@@ -1,5 +1,5 @@
1
1
  import "../../../../../tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js";
2
- //#region ../../node_modules/.pnpm/@vitest+pretty-format@3.0.9/node_modules/@vitest/pretty-format/dist/index.js
2
+ // ../../node_modules/.pnpm/@vitest+pretty-format@3.0.9/node_modules/@vitest/pretty-format/dist/index.js
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function(e) {
5
5
  e && typeof e !== "string" && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
@@ -871,7 +871,6 @@ const plugins = {
871
871
  }
872
872
  }
873
873
  };
874
- //#endregion
875
874
  export { plugins };
876
875
 
877
876
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@vitest+runner@3.0.9/node_modules/@vitest/runner/dist/chunk-tasks.js
1
+ // ../../node_modules/.pnpm/@vitest+runner@3.0.9/node_modules/@vitest/runner/dist/chunk-tasks.js
2
2
  function createChainable(keys, fn) {
3
3
  function create(context) {
4
4
  const chain2 = function(...args) {
@@ -24,7 +24,6 @@ function createChainable(keys, fn) {
24
24
  chain.fn = fn;
25
25
  return chain;
26
26
  }
27
- //#endregion
28
27
  export { createChainable as c };
29
28
 
30
29
  //# sourceMappingURL=chunk-tasks.js.map
@@ -3,7 +3,7 @@ import { createDefer, isNegativeNaN, isObject, objectAttr, toArray } from "../..
3
3
  import { getSafeTimers } from "../../../../../@vitest_utils@3.0.9/node_modules/@vitest/utils/dist/index.js";
4
4
  import { parseSingleStack } from "../../../../../@vitest_utils@3.0.9/node_modules/@vitest/utils/dist/source-map.js";
5
5
  import { c as createChainable } from "./chunk-tasks.js";
6
- //#region ../../node_modules/.pnpm/@vitest+runner@3.0.9/node_modules/@vitest/runner/dist/index.js
6
+ // ../../node_modules/.pnpm/@vitest+runner@3.0.9/node_modules/@vitest/runner/dist/index.js
7
7
  var PendingError = class extends Error {
8
8
  constructor(message, task, note) {
9
9
  super(message);
@@ -575,7 +575,6 @@ function findTestFileStackTrace(error, each) {
575
575
  globalThis.performance ? globalThis.performance.now.bind(globalThis.performance) : Date.now;
576
576
  globalThis.performance ? globalThis.performance.now.bind(globalThis.performance) : Date.now;
577
577
  Date.now;
578
- //#endregion
579
578
  export { createTaskCollector, describe, getCurrentSuite, getCurrentTest, getHooks, setFn, setHooks, suite, test };
580
579
 
581
580
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  import { plugins } from "../../../../../@vitest_pretty-format@3.0.9/node_modules/@vitest/pretty-format/dist/index.js";
2
2
  import inspect$1 from "../../../../../loupe@3.2.1/node_modules/loupe/lib/index.js";
3
- //#region ../../node_modules/.pnpm/@vitest+utils@3.0.9/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js
3
+ // ../../node_modules/.pnpm/@vitest+utils@3.0.9/node_modules/@vitest/utils/dist/chunk-_commonjsHelpers.js
4
4
  const { AsymmetricMatcher, DOMCollection, DOMElement, Immutable, ReactElement, ReactTestComponent } = plugins;
5
5
  const formatRegExp = /%[sdjifoOc%]/g;
6
6
  function format(...args) {
@@ -85,7 +85,6 @@ function objDisplay(obj, options = {}) {
85
85
  }
86
86
  return str;
87
87
  }
88
- //#endregion
89
88
  export { format as f, inspect as i, objDisplay as o };
90
89
 
91
90
  //# sourceMappingURL=chunk-_commonjsHelpers.js.map
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@vitest+utils@3.0.9/node_modules/@vitest/utils/dist/helpers.js
1
+ // ../../node_modules/.pnpm/@vitest+utils@3.0.9/node_modules/@vitest/utils/dist/helpers.js
2
2
  function assertTypes(value, name, types) {
3
3
  const receivedType = typeof value;
4
4
  if (!types.includes(receivedType)) throw new TypeError(`${name} value must be ${types.join(" or ")}, received "${receivedType}"`);
@@ -37,7 +37,6 @@ function isNegativeNaN(val) {
37
37
  f64[0] = val;
38
38
  return new Uint32Array(f64.buffer)[1] >>> 31 === 1;
39
39
  }
40
- //#endregion
41
40
  export { assertTypes, createDefer, isNegativeNaN, isObject, objectAttr, toArray };
42
41
 
43
42
  //# sourceMappingURL=helpers.js.map
@@ -2,7 +2,7 @@ import "../../../../../tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js";
2
2
  import "../../../../../loupe@3.2.1/node_modules/loupe/lib/index.js";
3
3
  import { f as format, o as objDisplay } from "./chunk-_commonjsHelpers.js";
4
4
  import { assertTypes, createDefer, isNegativeNaN, isObject, objectAttr, toArray } from "./helpers.js";
5
- //#region ../../node_modules/.pnpm/@vitest+utils@3.0.9/node_modules/@vitest/utils/dist/index.js
5
+ // ../../node_modules/.pnpm/@vitest+utils@3.0.9/node_modules/@vitest/utils/dist/index.js
6
6
  var jsTokens_1;
7
7
  var hasRequiredJsTokens;
8
8
  function requireJsTokens() {
@@ -444,7 +444,6 @@ function getSafeTimers() {
444
444
  queueMicrotask: safeQueueMicrotask
445
445
  };
446
446
  }
447
- //#endregion
448
447
  export { assertTypes, createDefer, format, getSafeTimers, isNegativeNaN, isObject, objDisplay, objectAttr, toArray };
449
448
 
450
449
  //# sourceMappingURL=index.js.map
@@ -162,7 +162,6 @@ function parseSingleV8Stack(raw) {
162
162
  column: Number.parseInt(columnNumber)
163
163
  };
164
164
  }
165
- //#endregion
166
165
  export { parseSingleFFOrSafariStack, parseSingleStack, parseSingleV8Stack };
167
166
 
168
167
  //# sourceMappingURL=source-map.js.map
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/chai@5.2.0/node_modules/chai/chai.js
1
+ // ../../node_modules/.pnpm/chai@5.2.0/node_modules/chai/chai.js
2
2
  var __defProp = Object.defineProperty;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __name = (target, value) => __defProp(target, "name", {
@@ -3104,7 +3104,6 @@ references to blow the stack.
3104
3104
  * @return {Boolean} result
3105
3105
  *)
3106
3106
  */
3107
- //#endregion
3108
3107
  export { Assertion, AssertionError, Should, assert, config, expect, should, use, utils_exports as util };
3109
3108
 
3110
3109
  //# sourceMappingURL=chai.js.map
@@ -1,9 +1,8 @@
1
1
  import { __commonJSMin } from "../../../../../../_virtual/_rolldown/runtime.js";
2
- //#region ../../node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/branding.js
2
+ // ../../node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/branding.js
3
3
  var require_branding = /* @__PURE__ */ __commonJSMin(((exports) => {
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  }));
6
- //#endregion
7
6
  export default require_branding();
8
7
  export { require_branding };
9
8
 
@@ -3,7 +3,7 @@ import { require_branding } from "./branding.js";
3
3
  import { require_messages } from "./messages.js";
4
4
  import { require_overloads } from "./overloads.js";
5
5
  import { require_utils } from "./utils.js";
6
- //#region ../../node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/index.js
6
+ // ../../node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/index.js
7
7
  var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module, this$1) => {
8
8
  var __createBinding = this$1 && this$1.__createBinding || (Object.create ? (function(o, m, k, k2) {
9
9
  if (k2 === void 0) k2 = k;
@@ -102,7 +102,6 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module, this$1) => {
102
102
  };
103
103
  exports.expectTypeOf = expectTypeOf;
104
104
  }));
105
- //#endregion
106
105
  export default require_dist();
107
106
  export { require_dist };
108
107
 
@@ -1,9 +1,8 @@
1
1
  import { __commonJSMin } from "../../../../../../_virtual/_rolldown/runtime.js";
2
- //#region ../../node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/messages.js
2
+ // ../../node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/messages.js
3
3
  var require_messages = /* @__PURE__ */ __commonJSMin(((exports) => {
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  }));
6
- //#endregion
7
6
  export default require_messages();
8
7
  export { require_messages };
9
8
 
@@ -1,9 +1,8 @@
1
1
  import { __commonJSMin } from "../../../../../../_virtual/_rolldown/runtime.js";
2
- //#region ../../node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/overloads.js
2
+ // ../../node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/overloads.js
3
3
  var require_overloads = /* @__PURE__ */ __commonJSMin(((exports) => {
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  }));
6
- //#endregion
7
6
  export default require_overloads();
8
7
  export { require_overloads };
9
8
 
@@ -1,9 +1,8 @@
1
1
  import { __commonJSMin } from "../../../../../../_virtual/_rolldown/runtime.js";
2
- //#region ../../node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/utils.js
2
+ // ../../node_modules/.pnpm/expect-type@1.2.1/node_modules/expect-type/dist/utils.js
3
3
  var require_utils = /* @__PURE__ */ __commonJSMin(((exports) => {
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  }));
6
- //#endregion
7
6
  export default require_utils();
8
7
  export { require_utils };
9
8
 
@@ -1,11 +1,10 @@
1
1
  import { inspectList } from "./helpers.js";
2
- //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js
2
+ // ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/arguments.js
3
3
  function inspectArguments(args, options) {
4
4
  if (args.length === 0) return "Arguments[]";
5
5
  options.truncate -= 13;
6
6
  return `Arguments[ ${inspectList(args, options)} ]`;
7
7
  }
8
- //#endregion
9
8
  export { inspectArguments as default };
10
9
 
11
10
  //# sourceMappingURL=arguments.js.map
@@ -1,5 +1,5 @@
1
1
  import { inspectList, inspectProperty } from "./helpers.js";
2
- //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js
2
+ // ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/array.js
3
3
  function inspectArray(array, options) {
4
4
  const nonIndexProperties = Object.keys(array).slice(array.length);
5
5
  if (!array.length && !nonIndexProperties.length) return "[]";
@@ -10,7 +10,6 @@ function inspectArray(array, options) {
10
10
  if (nonIndexProperties.length) propertyContents = inspectList(nonIndexProperties.map((key) => [key, array[key]]), options, inspectProperty);
11
11
  return `[ ${listContents}${propertyContents ? `, ${propertyContents}` : ""} ]`;
12
12
  }
13
- //#endregion
14
13
  export { inspectArray as default };
15
14
 
16
15
  //# sourceMappingURL=array.js.map
@@ -1,11 +1,10 @@
1
1
  import { truncate } from "./helpers.js";
2
- //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js
2
+ // ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/bigint.js
3
3
  function inspectBigInt(number, options) {
4
4
  let nums = truncate(number.toString(), options.truncate - 1);
5
5
  if (nums !== "…") nums += "n";
6
6
  return options.stylize(nums, "bigint");
7
7
  }
8
- //#endregion
9
8
  export { inspectBigInt as default };
10
9
 
11
10
  //# sourceMappingURL=bigint.js.map
@@ -1,5 +1,5 @@
1
1
  import inspectObject from "./object.js";
2
- //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js
2
+ // ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/class.js
3
3
  const toStringTag = typeof Symbol !== "undefined" && Symbol.toStringTag ? Symbol.toStringTag : false;
4
4
  function inspectClass(value, options) {
5
5
  let name = "";
@@ -9,7 +9,6 @@ function inspectClass(value, options) {
9
9
  options.truncate -= name.length;
10
10
  return `${name}${inspectObject(value, options)}`;
11
11
  }
12
- //#endregion
13
12
  export { inspectClass as default };
14
13
 
15
14
  //# sourceMappingURL=class.js.map
@@ -1,5 +1,5 @@
1
1
  import { truncate } from "./helpers.js";
2
- //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js
2
+ // ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/date.js
3
3
  function inspectDate(dateObject, options) {
4
4
  const stringRepresentation = dateObject.toJSON();
5
5
  if (stringRepresentation === null) return "Invalid Date";
@@ -7,7 +7,6 @@ function inspectDate(dateObject, options) {
7
7
  const date = split[0];
8
8
  return options.stylize(`${date}T${truncate(split[1], options.truncate - date.length - 1)}`, "date");
9
9
  }
10
- //#endregion
11
10
  export { inspectDate as default };
12
11
 
13
12
  //# sourceMappingURL=date.js.map
@@ -1,5 +1,5 @@
1
1
  import { inspectList, inspectProperty, truncate } from "./helpers.js";
2
- //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/error.js
2
+ // ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/error.js
3
3
  const errorKeys = [
4
4
  "stack",
5
5
  "line",
@@ -28,7 +28,6 @@ function inspectObject(error, options) {
28
28
  const propertyContents = inspectList(properties.map((key) => [key, error[key]]), options, inspectProperty);
29
29
  return `${name}${message}${propertyContents ? ` { ${propertyContents} }` : ""}`;
30
30
  }
31
- //#endregion
32
31
  export { inspectObject as default };
33
32
 
34
33
  //# sourceMappingURL=error.js.map
@@ -1,12 +1,11 @@
1
1
  import { truncate } from "./helpers.js";
2
- //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/function.js
2
+ // ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/function.js
3
3
  function inspectFunction(func, options) {
4
4
  const functionType = func[Symbol.toStringTag] || "Function";
5
5
  const name = func.name;
6
6
  if (!name) return options.stylize(`[${functionType}]`, "special");
7
7
  return options.stylize(`[${functionType} ${truncate(name, options.truncate - 11)}]`, "special");
8
8
  }
9
- //#endregion
10
9
  export { inspectFunction as default };
11
10
 
12
11
  //# sourceMappingURL=function.js.map
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.js
1
+ // ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/helpers.js
2
2
  const ansiColors = {
3
3
  bold: ["1", "22"],
4
4
  dim: ["2", "22"],
@@ -116,7 +116,6 @@ function inspectProperty([key, value], options) {
116
116
  value = options.inspect(value, options);
117
117
  return `${key}: ${value}`;
118
118
  }
119
- //#endregion
120
119
  export { inspectList, inspectProperty, normaliseOptions, truncate };
121
120
 
122
121
  //# sourceMappingURL=helpers.js.map
@@ -1,5 +1,5 @@
1
1
  import { inspectList } from "./helpers.js";
2
- //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.js
2
+ // ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/html.js
3
3
  function inspectAttribute([key, value], options) {
4
4
  options.truncate -= 3;
5
5
  if (!value) return `${options.stylize(String(key), "yellow")}`;
@@ -33,7 +33,6 @@ function inspectHTML(element, options) {
33
33
  if (children && children.length > truncate) children = `…(${element.children.length})`;
34
34
  return `${head}${propertyContents}${headClose}${children}${tail}`;
35
35
  }
36
- //#endregion
37
36
  export { inspectHTML as default, inspectAttribute, inspectNode, inspectNodeCollection };
38
37
 
39
38
  //# sourceMappingURL=html.js.map
@@ -16,7 +16,7 @@ import inspectClass from "./class.js";
16
16
  import inspectArguments from "./arguments.js";
17
17
  import inspectObject$1 from "./error.js";
18
18
  import inspectHTML, { inspectNodeCollection } from "./html.js";
19
- //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.js
19
+ // ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/index.js
20
20
  const chaiInspect = typeof Symbol === "function" && typeof Symbol.for === "function" ? Symbol.for("chai/inspect") : "@@chai/inspect";
21
21
  const nodeInspect = Symbol.for("nodejs.util.inspect.custom");
22
22
  const constructorMap = /* @__PURE__ */ new WeakMap();
@@ -93,7 +93,6 @@ function inspect(value, opts = {}) {
93
93
  if (value === Object(value)) return inspectObject(value, options);
94
94
  return options.stylize(String(value), type);
95
95
  }
96
- //#endregion
97
96
  export { inspect as default, inspect };
98
97
 
99
98
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import { inspectList } from "./helpers.js";
2
- //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.js
2
+ // ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/map.js
3
3
  function inspectMapEntry([key, value], options) {
4
4
  options.truncate -= 4;
5
5
  key = options.inspect(key, options);
@@ -19,7 +19,6 @@ function inspectMap(map, options) {
19
19
  options.truncate -= 7;
20
20
  return `Map{ ${inspectList(mapToEntries(map), options, inspectMapEntry)} }`;
21
21
  }
22
- //#endregion
23
22
  export { inspectMap as default };
24
23
 
25
24
  //# sourceMappingURL=map.js.map
@@ -1,5 +1,5 @@
1
1
  import { truncate } from "./helpers.js";
2
- //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.js
2
+ // ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/number.js
3
3
  const isNaN = Number.isNaN || ((i) => i !== i);
4
4
  function inspectNumber(number, options) {
5
5
  if (isNaN(number)) return options.stylize("NaN", "number");
@@ -8,7 +8,6 @@ function inspectNumber(number, options) {
8
8
  if (number === 0) return options.stylize(1 / number === Infinity ? "+0" : "-0", "number");
9
9
  return options.stylize(truncate(String(number), options.truncate), "number");
10
10
  }
11
- //#endregion
12
11
  export { inspectNumber as default };
13
12
 
14
13
  //# sourceMappingURL=number.js.map
@@ -1,5 +1,5 @@
1
1
  import { inspectList, inspectProperty } from "./helpers.js";
2
- //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.js
2
+ // ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/object.js
3
3
  function inspectObject(object, options) {
4
4
  const properties = Object.getOwnPropertyNames(object);
5
5
  const symbols = Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(object) : [];
@@ -15,7 +15,6 @@ function inspectObject(object, options) {
15
15
  if (propertyContents && symbolContents) sep = ", ";
16
16
  return `{ ${propertyContents}${sep}${symbolContents} }`;
17
17
  }
18
- //#endregion
19
18
  export { inspectObject as default };
20
19
 
21
20
  //# sourceMappingURL=object.js.map
@@ -1,6 +1,5 @@
1
- //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.js
1
+ // ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/promise.js
2
2
  const getPromiseValue = () => "Promise{…}";
3
- //#endregion
4
3
  export { getPromiseValue as default };
5
4
 
6
5
  //# sourceMappingURL=promise.js.map
@@ -1,12 +1,11 @@
1
1
  import { truncate } from "./helpers.js";
2
- //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.js
2
+ // ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/regexp.js
3
3
  function inspectRegExp(value, options) {
4
4
  const flags = value.toString().split("/")[2];
5
5
  const sourceLength = options.truncate - (2 + flags.length);
6
6
  const source = value.source;
7
7
  return options.stylize(`/${truncate(source, sourceLength)}/${flags}`, "regexp");
8
8
  }
9
- //#endregion
10
9
  export { inspectRegExp as default };
11
10
 
12
11
  //# sourceMappingURL=regexp.js.map
@@ -1,5 +1,5 @@
1
1
  import { inspectList } from "./helpers.js";
2
- //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.js
2
+ // ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/set.js
3
3
  function arrayFromSet(set) {
4
4
  const values = [];
5
5
  set.forEach((value) => {
@@ -12,7 +12,6 @@ function inspectSet(set, options) {
12
12
  options.truncate -= 7;
13
13
  return `Set{ ${inspectList(arrayFromSet(set), options)} }`;
14
14
  }
15
- //#endregion
16
15
  export { inspectSet as default };
17
16
 
18
17
  //# sourceMappingURL=set.js.map
@@ -1,5 +1,5 @@
1
1
  import { truncate } from "./helpers.js";
2
- //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.js
2
+ // ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/string.js
3
3
  const stringEscapeChars = /* @__PURE__ */ new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]", "g");
4
4
  const escapeCharacters = {
5
5
  "\b": "\\b",
@@ -18,7 +18,6 @@ function inspectString(string, options) {
18
18
  if (stringEscapeChars.test(string)) string = string.replace(stringEscapeChars, escape);
19
19
  return options.stylize(`'${truncate(string, options.truncate - 2)}'`, "string");
20
20
  }
21
- //#endregion
22
21
  export { inspectString as default };
23
22
 
24
23
  //# sourceMappingURL=string.js.map
@@ -1,9 +1,8 @@
1
- //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.js
1
+ // ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/symbol.js
2
2
  function inspectSymbol(value) {
3
3
  if ("description" in Symbol.prototype) return value.description ? `Symbol(${value.description})` : "Symbol()";
4
4
  return value.toString();
5
5
  }
6
- //#endregion
7
6
  export { inspectSymbol as default };
8
7
 
9
8
  //# sourceMappingURL=symbol.js.map
@@ -1,5 +1,5 @@
1
1
  import { inspectList, inspectProperty, truncate } from "./helpers.js";
2
- //#region ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.js
2
+ // ../../node_modules/.pnpm/loupe@3.2.1/node_modules/loupe/lib/typedarray.js
3
3
  const getArrayName = (array) => {
4
4
  if (typeof Buffer === "function" && array instanceof Buffer) return "Buffer";
5
5
  if (array[Symbol.toStringTag]) return array[Symbol.toStringTag];
@@ -24,7 +24,6 @@ function inspectTypedArray(array, options) {
24
24
  if (nonIndexProperties.length) propertyContents = inspectList(nonIndexProperties.map((key) => [key, array[key]]), options, inspectProperty);
25
25
  return `${name}[ ${output}${propertyContents ? `, ${propertyContents}` : ""} ]`;
26
26
  }
27
- //#endregion
28
27
  export { inspectTypedArray as default };
29
28
 
30
29
  //# sourceMappingURL=typedarray.js.map
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js
1
+ // ../../node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/chunk-BVHSVHOK.js
2
2
  var h = Object.entries({
3
3
  reset: [0, 0],
4
4
  bold: [
@@ -76,7 +76,6 @@ function p(n = !1) {
76
76
  for (let [r, t] of h) u[r] = e ? g(d(t[0]), d(t[1]), t[2]) : a;
77
77
  return u;
78
78
  }
79
- //#endregion
80
79
  export { C as b, p as c };
81
80
 
82
81
  //# sourceMappingURL=chunk-BVHSVHOK.js.map
@@ -1,9 +1,8 @@
1
1
  import { c as p } from "./chunk-BVHSVHOK.js";
2
2
  import { isatty } from "tty";
3
- //#region ../../node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js
3
+ // ../../node_modules/.pnpm/tinyrainbow@2.0.0/node_modules/tinyrainbow/dist/node.js
4
4
  var r = process.env.FORCE_TTY !== void 0 || isatty(1);
5
5
  p(r);
6
- //#endregion
7
6
  export {};
8
7
 
9
8
  //# sourceMappingURL=node.js.map
@@ -2,9 +2,8 @@ import "../../../../chai@5.2.0/node_modules/chai/chai.js";
2
2
  import { describe, test } from "../../../../@vitest_runner@3.0.9/node_modules/@vitest/runner/dist/index.js";
3
3
  import "../../../../@vitest_runner@3.0.9/node_modules/@vitest/runner/dist/utils.js";
4
4
  import { require_dist } from "../../../../expect-type@1.2.1/node_modules/expect-type/dist/index.js";
5
- //#region ../../node_modules/.pnpm/vitest@3.0.9_@types+debug@4.1.13_@types+node@20.19.17_jiti@2.7.0_jsdom@29.1.1_@noble+ha_0258998ed4eee0dc3e7b1b8446e9e9d6/node_modules/vitest/dist/index.js
5
+ // ../../node_modules/.pnpm/vitest@3.0.9_@types+debug@4.1.13_@types+node@20.19.17_jiti@2.7.0_jsdom@29.1.1_@noble+ha_0258998ed4eee0dc3e7b1b8446e9e9d6/node_modules/vitest/dist/index.js
6
6
  var import_dist = require_dist();
7
- //#endregion
8
7
  export { describe, import_dist, test };
9
8
 
10
9
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neon/config-runtime",
3
- "version": "1.10.3",
3
+ "version": "1.10.5",
4
4
  "description": "Imperative runtime for @neon/config: inspect/plan/apply a neon.ts policy against the Neon API and bundle + deploy Neon Functions. Pulls in esbuild; import this from CLIs and CI, not from neon.ts.",
5
5
  "keywords": [
6
6
  "neon",
@@ -48,13 +48,13 @@
48
48
  "typescript": "^5.9.0",
49
49
  "vitest": "^3.0.9",
50
50
  "@neon/e2e-harness": "0.0.0",
51
- "@neon/sdk": "7.5.0"
51
+ "@neon/sdk": "7.6.1"
52
52
  },
53
53
  "dependencies": {
54
54
  "@vercel/nft": "^1.10.2",
55
55
  "esbuild": "^0.28.1",
56
56
  "fflate": "^0.8.3",
57
- "@neon/config": "1.9.4"
57
+ "@neon/config": "1.9.6"
58
58
  },
59
59
  "engines": {
60
60
  "node": ">=20.19.0"