@cloudflare/workers-utils 0.12.0 → 0.18.0

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 +1 @@
1
- {"inputs":{"src/compatibility-date.ts":{"bytes":3472,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:module","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/constants.ts":{"bytes":427,"imports":[],"format":"esm"},"src/assert-never.ts":{"bytes":46,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/map-worker-metadata-bindings.ts":{"bytes":8899,"imports":[{"path":"src/assert-never.ts","kind":"import-statement","original":"./assert-never"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/construct-wrangler-config.ts":{"bytes":4908,"imports":[{"path":"src/compatibility-date.ts","kind":"import-statement","original":"./compatibility-date"},{"path":"src/constants.ts","kind":"import-statement","original":"./constants"},{"path":"src/map-worker-metadata-bindings.ts","kind":"import-statement","original":"./map-worker-metadata-bindings"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/browser.ts":{"bytes":71,"imports":[{"path":"src/construct-wrangler-config.ts","kind":"import-statement","original":"./construct-wrangler-config"}],"format":"esm"},"src/config/environment.ts":{"bytes":41789,"imports":[],"format":"esm"},"src/config/config.ts":{"bytes":11953,"imports":[],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js":{"bytes":2787,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js":{"bytes":3985,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js":{"bytes":4937,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js":{"bytes":6532,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js","kind":"import-statement","original":"./date.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js":{"bytes":4687,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js","kind":"import-statement","original":"./primitive.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js","kind":"import-statement","original":"./struct.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js":{"bytes":7675,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js","kind":"import-statement","original":"./primitive.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js","kind":"import-statement","original":"./extract.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/parse.js":{"bytes":5694,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js","kind":"import-statement","original":"./struct.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js","kind":"import-statement","original":"./extract.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/stringify.js":{"bytes":6453,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js":{"bytes":1883,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/parse.js","kind":"import-statement","original":"./parse.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/stringify.js","kind":"import-statement","original":"./stringify.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js","kind":"import-statement","original":"./date.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js":{"bytes":19188,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js":{"bytes":10250,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js","kind":"import-statement","original":"./scanner"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js":{"bytes":24708,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js","kind":"import-statement","original":"./scanner"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/edit.js":{"bytes":8613,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js","kind":"import-statement","original":"./format"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js","kind":"import-statement","original":"./parser"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js":{"bytes":9363,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js","kind":"import-statement","original":"./impl/format"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/edit.js","kind":"import-statement","original":"./impl/edit"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js","kind":"import-statement","original":"./impl/scanner"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js","kind":"import-statement","original":"./impl/parser"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/errors.ts":{"bytes":2600,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/parse.ts":{"bytes":9564,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js","kind":"import-statement","original":"jsonc-parser"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js","kind":"import-statement","original":"smol-toml"},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/resolve.mjs":{"bytes":971,"imports":[{"path":"node:module","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/walk.mjs":{"bytes":535,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/resolve.mjs","kind":"import-statement","original":"empathic/resolve"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/find.mjs":{"bytes":2033,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/walk.mjs","kind":"import-statement","original":"empathic/walk"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js":{"bytes":1634,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/config-helpers.ts":{"bytes":4886,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/find.mjs","kind":"import-statement","original":"empathic/find"},{"path":"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js","kind":"import-statement","original":"ts-dedent"},{"path":"src/constants.ts","kind":"import-statement","original":"../constants"},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/index.ts":{"bytes":3161,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js","kind":"import-statement","original":"smol-toml"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"src/config/config-helpers.ts","kind":"import-statement","original":"./config-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/patch-config.ts":{"bytes":3360,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js","kind":"import-statement","original":"jsonc-parser"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js","kind":"import-statement","original":"smol-toml"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/worker.ts":{"bytes":9166,"imports":[],"format":"esm"},"src/types.ts":{"bytes":9198,"imports":[],"format":"esm"},"../workflows-shared/src/lib/validators.ts":{"bytes":1108,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js":{"bytes":7763,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/lib/XDG.js":{"bytes":9611,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/lib/OSPaths.js":{"bytes":7979,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/platform-adapters/node.js":{"bytes":1787,"imports":[{"path":"os","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/mod.cjs.js":{"bytes":484,"imports":[{"path":"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/lib/OSPaths.js","kind":"require-call","original":"./lib/OSPaths.js"},{"path":"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/platform-adapters/node.js","kind":"require-call","original":"./platform-adapters/node.js"}],"format":"cjs"},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/platform-adapters/node.js":{"bytes":1971,"imports":[{"path":"path","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/mod.cjs.js","kind":"require-call","original":"os-paths"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/mod.cjs.js":{"bytes":464,"imports":[{"path":"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/lib/XDG.js","kind":"require-call","original":"./lib/XDG.js"},{"path":"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/platform-adapters/node.js","kind":"require-call","original":"./platform-adapters/node.js"}],"format":"cjs"},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/platform-adapters/node.js":{"bytes":3254,"imports":[{"path":"path","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/mod.cjs.js","kind":"require-call","original":"xdg-portable"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js":{"bytes":500,"imports":[{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js","kind":"require-call","original":"./lib/XDGAppPaths.js"},{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/platform-adapters/node.js","kind":"require-call","original":"./platform-adapters/node.js"}],"format":"cjs"},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/esm-wrapper/mod.esm.js":{"bytes":148,"imports":[{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js","kind":"import-statement","original":"../mod.cjs.js"},{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js","kind":"import-statement","original":"../mod.cjs.js"}],"format":"esm"},"src/fs-helpers.ts":{"bytes":2580,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/global-wrangler-config-path.ts":{"bytes":689,"imports":[{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/esm-wrapper/mod.esm.js","kind":"import-statement","original":"xdg-app-paths"},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"./fs-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/environment-variables/factory.ts":{"bytes":10308,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/environment-variables/misc-variables.ts":{"bytes":13209,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js","kind":"import-statement","original":"ts-dedent"},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/global-wrangler-config-path.ts","kind":"import-statement","original":"../global-wrangler-config-path"},{"path":"src/environment-variables/factory.ts","kind":"import-statement","original":"./factory"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/diagnostics.ts":{"bytes":2230,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/validation-helpers.ts":{"bytes":19697,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/validation.ts":{"bytes":130818,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../workflows-shared/src/lib/validators.ts","kind":"import-statement","original":"@cloudflare/workflows-shared/src/lib/validators"},{"path":"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js","kind":"import-statement","original":"ts-dedent"},{"path":"src/environment-variables/misc-variables.ts","kind":"import-statement","original":"../environment-variables/misc-variables"},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"../fs-helpers"},{"path":"src/config/config-helpers.ts","kind":"import-statement","original":"./config-helpers"},{"path":"src/config/diagnostics.ts","kind":"import-statement","original":"./diagnostics"},{"path":"src/config/validation-helpers.ts","kind":"import-statement","original":"./validation-helpers"},{"path":"src/config/index.ts","kind":"import-statement","original":"."},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/validation-pages.ts":{"bytes":5899,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/config/config.ts","kind":"import-statement","original":"./config"},{"path":"src/config/diagnostics.ts","kind":"import-statement","original":"./diagnostics"},{"path":"src/config/validation-helpers.ts","kind":"import-statement","original":"./validation-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":2168,"imports":[{"path":"src/config/environment.ts","kind":"import-statement","original":"./config/environment"},{"path":"src/config/config.ts","kind":"import-statement","original":"./config/config"},{"path":"src/config/index.ts","kind":"import-statement","original":"./config"},{"path":"src/config/patch-config.ts","kind":"import-statement","original":"./config/patch-config"},{"path":"src/worker.ts","kind":"import-statement","original":"./worker"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"src/parse.ts","kind":"import-statement","original":"./parse"},{"path":"src/config/validation.ts","kind":"import-statement","original":"./config/validation"},{"path":"src/config/validation-pages.ts","kind":"import-statement","original":"./config/validation-pages"},{"path":"src/config/validation-helpers.ts","kind":"import-statement","original":"./config/validation-helpers"},{"path":"src/config/config-helpers.ts","kind":"import-statement","original":"./config/config-helpers"},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"src/assert-never.ts","kind":"import-statement","original":"./assert-never"},{"path":"src/constants.ts","kind":"import-statement","original":"./constants"},{"path":"src/map-worker-metadata-bindings.ts","kind":"import-statement","original":"./map-worker-metadata-bindings"},{"path":"src/construct-wrangler-config.ts","kind":"import-statement","original":"./construct-wrangler-config"},{"path":"src/environment-variables/factory.ts","kind":"import-statement","original":"./environment-variables/factory"},{"path":"src/environment-variables/misc-variables.ts","kind":"import-statement","original":"./environment-variables/misc-variables"},{"path":"src/global-wrangler-config-path.ts","kind":"import-statement","original":"./global-wrangler-config-path"},{"path":"src/compatibility-date.ts","kind":"import-statement","original":"./compatibility-date"},{"path":"src/config/validation.ts","kind":"import-statement","original":"./config/validation"},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"./fs-helpers"}],"format":"esm"},"src/test-helpers/normalize.ts":{"bytes":3274,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/mock-console.ts":{"bytes":2413,"imports":[{"path":"node:util","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"src/test-helpers/normalize.ts","kind":"import-statement","original":"./normalize"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/run-in-tmp.ts":{"bytes":1085,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"../fs-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/seed.ts":{"bytes":500,"imports":[{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/wrangler-config.ts":{"bytes":1835,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"src/config/index.ts","kind":"import-statement","original":"../config"},{"path":"src/constants.ts","kind":"import-statement","original":"../constants"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/index.ts":{"bytes":401,"imports":[{"path":"src/test-helpers/mock-console.ts","kind":"import-statement","original":"./mock-console"},{"path":"src/test-helpers/normalize.ts","kind":"import-statement","original":"./normalize"},{"path":"src/test-helpers/run-in-tmp.ts","kind":"import-statement","original":"./run-in-tmp"},{"path":"src/test-helpers/seed.ts","kind":"import-statement","original":"./seed"},{"path":"src/test-helpers/wrangler-config.ts","kind":"import-statement","original":"./wrangler-config"}],"format":"esm"}},"outputs":{"dist/browser.mjs":{"imports":[{"path":"dist/chunk-4233U5MA.mjs","kind":"import-statement"},{"path":"dist/chunk-LDFBMPMW.mjs","kind":"import-statement"}],"exports":["constructWranglerConfig"],"entryPoint":"src/browser.ts","inputs":{"src/browser.ts":{"bytesInOutput":0}},"bytes":135},"dist/index.mjs":{"imports":[{"path":"dist/chunk-4233U5MA.mjs","kind":"import-statement"},{"path":"dist/chunk-NNMRVG4F.mjs","kind":"import-statement"},{"path":"dist/chunk-LDFBMPMW.mjs","kind":"import-statement"},{"path":"os","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true}],"exports":["APIError","COMPLIANCE_REGION_CONFIG_PUBLIC","COMPLIANCE_REGION_CONFIG_UNKNOWN","CommandLineArgsError","DeprecationError","ENVIRONMENT_TAG_PREFIX","FatalError","INHERIT_SYMBOL","JSON_CONFIG_FORMATS","JsonFriendlyFatalError","MissingConfigError","PATH_TO_DEPLOY_CONFIG","ParseError","PatchConfigError","SERVICE_TAG_PREFIX","UserError","assertNever","bucketFormatMessage","configFileName","configFormat","constructWranglerConfig","createFatalError","defaultWranglerConfig","experimental_patchConfig","experimental_readRawConfig","findWranglerConfig","formatCompatibilityDate","formatConfigSnippet","friendlyBindingNames","getBindingTypeFriendlyName","getBooleanEnvironmentVariableFactory","getBuildConditionsFromEnv","getBuildPlatformFromEnv","getC3CommandFromEnv","getCIGeneratePreviewAlias","getCIMatchTag","getCIOverrideName","getCIOverrideNetworkModeHost","getCfFetchEnabledFromEnv","getCfFetchPathFromEnv","getCloudflareApiBaseUrl","getCloudflareApiEnvironmentFromEnv","getCloudflareComplianceRegion","getCloudflareEnv","getCloudflareIncludeProcessEnvFromEnv","getCloudflareLoadDevVarsFromDotEnv","getComplianceRegionSubdomain","getD1ExtraLocationChoices","getDisableConfigWatching","getDockerPath","getEnvironmentVariableFactory","getGlobalWranglerConfigPath","getLocalExplorerEnabledFromEnv","getLocalWorkerdCompatibilityDate","getOpenNextDeployFromEnv","getOutputFileDirectoryFromEnv","getOutputFilePathFromEnv","getRegistryPath","getSanitizeLogs","getSubdomainMixedStateCheckDisabled","getTraceHeader","getWorkersCIBranchName","getWranglerCacheDirFromEnv","getWranglerHideBanner","getWranglerSendErrorReportsFromEnv","getWranglerSendMetricsFromEnv","hasProperty","indexLocation","isCompatDate","isDirectory","isDockerfile","isOptionalProperty","isPagesConfig","isRequiredProperty","isValidR2BucketName","mapWorkerMetadataBindings","normalizeAndValidateConfig","parseByteSize","parseHumanDuration","parseJSON","parseJSONC","parseNonHyphenedUuid","parsePackageJSON","parseTOML","readFileSync","readFileSyncToBuffer","removeDir","removeDirSync","resolveWranglerConfigPath","searchLocation","validatePagesConfig"],"entryPoint":"src/index.ts","inputs":{"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js":{"bytesInOutput":4292},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/lib/XDG.js":{"bytesInOutput":5184},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/lib/OSPaths.js":{"bytesInOutput":4128},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/platform-adapters/node.js":{"bytesInOutput":1544},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/mod.cjs.js":{"bytesInOutput":312},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/platform-adapters/node.js":{"bytesInOutput":1739},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/mod.cjs.js":{"bytesInOutput":307},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/platform-adapters/node.js":{"bytesInOutput":2291},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js":{"bytesInOutput":340},"src/index.ts":{"bytesInOutput":0},"src/config/config.ts":{"bytesInOutput":3169},"src/config/patch-config.ts":{"bytesInOutput":1912},"src/config/validation.ts":{"bytesInOutput":122845},"../workflows-shared/src/lib/validators.ts":{"bytesInOutput":566},"src/environment-variables/misc-variables.ts":{"bytesInOutput":5786},"src/global-wrangler-config-path.ts":{"bytesInOutput":393},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/esm-wrapper/mod.esm.js":{"bytesInOutput":251},"src/environment-variables/factory.ts":{"bytesInOutput":1850},"src/config/diagnostics.ts":{"bytesInOutput":1876},"src/config/validation-helpers.ts":{"bytesInOutput":12440},"src/config/validation-pages.ts":{"bytesInOutput":4456}},"bytes":180458},"dist/chunk-4233U5MA.mjs":{"imports":[{"path":"dist/chunk-LDFBMPMW.mjs","kind":"import-statement"},{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:module","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true}],"exports":["assertNever","constructWranglerConfig","formatCompatibilityDate","getLocalWorkerdCompatibilityDate","isCompatDate","mapWorkerMetadataBindings"],"inputs":{"src/compatibility-date.ts":{"bytesInOutput":1376},"src/assert-never.ts":{"bytesInOutput":69},"src/map-worker-metadata-bindings.ts":{"bytesInOutput":8897},"src/construct-wrangler-config.ts":{"bytesInOutput":2797}},"bytes":13529},"dist/test-helpers/index.mjs":{"imports":[{"path":"dist/chunk-NNMRVG4F.mjs","kind":"import-statement"},{"path":"dist/chunk-LDFBMPMW.mjs","kind":"import-statement"},{"path":"node:util","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true}],"exports":["mockConsoleMethods","mockCreateDate","mockEndDate","mockModifiedDate","mockQueuedDate","mockStartDate","normalizeString","readWranglerConfig","runInTempDir","seed","writeDeployRedirectConfig","writeRedirectedWranglerConfig","writeWranglerConfig"],"entryPoint":"src/test-helpers/index.ts","inputs":{"src/test-helpers/mock-console.ts":{"bytesInOutput":2271},"src/test-helpers/normalize.ts":{"bytesInOutput":2741},"src/test-helpers/index.ts":{"bytesInOutput":0},"src/test-helpers/run-in-tmp.ts":{"bytesInOutput":837},"src/test-helpers/seed.ts":{"bytesInOutput":345},"src/test-helpers/wrangler-config.ts":{"bytesInOutput":1745}},"bytes":8600},"dist/chunk-NNMRVG4F.mjs":{"imports":[{"path":"dist/chunk-LDFBMPMW.mjs","kind":"import-statement"},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true}],"exports":["APIError","CommandLineArgsError","DeprecationError","FatalError","JsonFriendlyFatalError","MissingConfigError","ParseError","UserError","applyEdits","configFileName","configFormat","createFatalError","dedent","dist_default","experimental_readRawConfig","findWranglerConfig","format","formatConfigSnippet","indexLocation","isDirectory","isRedirectedRawConfig","modify","parseByteSize","parseHumanDuration","parseJSON","parseJSONC","parseNonHyphenedUuid","parsePackageJSON","parseTOML","readFileSync","readFileSyncToBuffer","removeDir","removeDirSync","resolveWranglerConfigPath","searchLocation"],"inputs":{"src/errors.ts":{"bytesInOutput":1625},"src/parse.ts":{"bytesInOutput":7632},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js":{"bytesInOutput":13719},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js":{"bytesInOutput":7379},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js":{"bytesInOutput":13841},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/edit.js":{"bytesInOutput":6542},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js":{"bytesInOutput":4978},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js":{"bytesInOutput":1202},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js":{"bytesInOutput":2207},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js":{"bytesInOutput":2493},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js":{"bytesInOutput":3824},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js":{"bytesInOutput":2447},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js":{"bytesInOutput":4706},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/parse.js":{"bytesInOutput":3069},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/stringify.js":{"bytesInOutput":4707},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js":{"bytesInOutput":70},"src/config/config-helpers.ts":{"bytesInOutput":3320},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/find.mjs":{"bytesInOutput":352},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/walk.mjs":{"bytesInOutput":342},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/resolve.mjs":{"bytesInOutput":199},"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js":{"bytesInOutput":1494},"src/config/index.ts":{"bytesInOutput":1696},"src/fs-helpers.ts":{"bytesInOutput":673}},"bytes":106410},"dist/chunk-LDFBMPMW.mjs":{"imports":[],"exports":["ENVIRONMENT_TAG_PREFIX","INHERIT_SYMBOL","JSON_CONFIG_FORMATS","PATH_TO_DEPLOY_CONFIG","SERVICE_TAG_PREFIX","__commonJS","__export","__name","__reExport","__require","__toESM"],"inputs":{"src/constants.ts":{"bytesInOutput":245}},"bytes":2516}}}
1
+ {"inputs":{"src/compatibility-date.ts":{"bytes":1130,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/constants.ts":{"bytes":427,"imports":[],"format":"esm"},"src/assert-never.ts":{"bytes":46,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/map-worker-metadata-bindings.ts":{"bytes":10365,"imports":[{"path":"src/assert-never.ts","kind":"import-statement","original":"./assert-never"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/construct-wrangler-config.ts":{"bytes":5039,"imports":[{"path":"src/compatibility-date.ts","kind":"import-statement","original":"./compatibility-date"},{"path":"src/constants.ts","kind":"import-statement","original":"./constants"},{"path":"src/map-worker-metadata-bindings.ts","kind":"import-statement","original":"./map-worker-metadata-bindings"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/browser.ts":{"bytes":71,"imports":[{"path":"src/construct-wrangler-config.ts","kind":"import-statement","original":"./construct-wrangler-config"}],"format":"esm"},"src/config/environment.ts":{"bytes":47524,"imports":[],"format":"esm"},"src/config/config.ts":{"bytes":12088,"imports":[],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js":{"bytes":2787,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js":{"bytes":3985,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js":{"bytes":4937,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js":{"bytes":6532,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js","kind":"import-statement","original":"./date.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js":{"bytes":4687,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js","kind":"import-statement","original":"./primitive.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js","kind":"import-statement","original":"./struct.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js":{"bytes":7675,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js","kind":"import-statement","original":"./primitive.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js","kind":"import-statement","original":"./extract.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/parse.js":{"bytes":5694,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js","kind":"import-statement","original":"./struct.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js","kind":"import-statement","original":"./extract.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js","kind":"import-statement","original":"./util.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/stringify.js":{"bytes":6453,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js":{"bytes":1883,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/parse.js","kind":"import-statement","original":"./parse.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/stringify.js","kind":"import-statement","original":"./stringify.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js","kind":"import-statement","original":"./date.js"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js","kind":"import-statement","original":"./error.js"}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js":{"bytes":19188,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js":{"bytes":10250,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js","kind":"import-statement","original":"./scanner"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js":{"bytes":24708,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js","kind":"import-statement","original":"./scanner"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/edit.js":{"bytes":8613,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js","kind":"import-statement","original":"./format"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js","kind":"import-statement","original":"./parser"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js":{"bytes":9363,"imports":[{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js","kind":"import-statement","original":"./impl/format"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/edit.js","kind":"import-statement","original":"./impl/edit"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js","kind":"import-statement","original":"./impl/scanner"},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js","kind":"import-statement","original":"./impl/parser"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/errors.ts":{"bytes":2600,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/parse.ts":{"bytes":9627,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js","kind":"import-statement","original":"jsonc-parser"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js","kind":"import-statement","original":"smol-toml"},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/resolve.mjs":{"bytes":971,"imports":[{"path":"node:module","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:url","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/walk.mjs":{"bytes":535,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/resolve.mjs","kind":"import-statement","original":"empathic/resolve"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/find.mjs":{"bytes":2033,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/walk.mjs","kind":"import-statement","original":"empathic/walk"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js":{"bytes":1634,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/config-helpers.ts":{"bytes":4886,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/find.mjs","kind":"import-statement","original":"empathic/find"},{"path":"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js","kind":"import-statement","original":"ts-dedent"},{"path":"src/constants.ts","kind":"import-statement","original":"../constants"},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/index.ts":{"bytes":3449,"imports":[{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js","kind":"import-statement","original":"smol-toml"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"src/config/config-helpers.ts","kind":"import-statement","original":"./config-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/patch-config.ts":{"bytes":3360,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js","kind":"import-statement","original":"jsonc-parser"},{"path":"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js","kind":"import-statement","original":"smol-toml"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/worker.ts":{"bytes":9827,"imports":[],"format":"esm"},"src/types.ts":{"bytes":10052,"imports":[],"format":"esm"},"../../node_modules/.pnpm/itty-time@2.0.2/node_modules/itty-time/index.mjs":{"bytes":505,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/index.mjs":{"bytes":139434,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../workflows-shared/src/lib/validators.ts":{"bytes":1957,"imports":[{"path":"../../node_modules/.pnpm/itty-time@2.0.2/node_modules/itty-time/index.mjs","kind":"import-statement","original":"itty-time"},{"path":"../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/index.mjs","kind":"import-statement","original":"zod"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js":{"bytes":7763,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/lib/XDG.js":{"bytes":9611,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/lib/OSPaths.js":{"bytes":7979,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/platform-adapters/node.js":{"bytes":1787,"imports":[{"path":"os","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/mod.cjs.js":{"bytes":484,"imports":[{"path":"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/lib/OSPaths.js","kind":"require-call","original":"./lib/OSPaths.js"},{"path":"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/platform-adapters/node.js","kind":"require-call","original":"./platform-adapters/node.js"}],"format":"cjs"},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/platform-adapters/node.js":{"bytes":1971,"imports":[{"path":"path","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/mod.cjs.js","kind":"require-call","original":"os-paths"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/mod.cjs.js":{"bytes":464,"imports":[{"path":"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/lib/XDG.js","kind":"require-call","original":"./lib/XDG.js"},{"path":"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/platform-adapters/node.js","kind":"require-call","original":"./platform-adapters/node.js"}],"format":"cjs"},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/platform-adapters/node.js":{"bytes":3254,"imports":[{"path":"path","kind":"require-call","external":true},{"path":"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/mod.cjs.js","kind":"require-call","original":"xdg-portable"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"cjs"},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js":{"bytes":500,"imports":[{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js","kind":"require-call","original":"./lib/XDGAppPaths.js"},{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/platform-adapters/node.js","kind":"require-call","original":"./platform-adapters/node.js"}],"format":"cjs"},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/esm-wrapper/mod.esm.js":{"bytes":148,"imports":[{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js","kind":"import-statement","original":"../mod.cjs.js"},{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js","kind":"import-statement","original":"../mod.cjs.js"}],"format":"esm"},"src/fs-helpers.ts":{"bytes":2580,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/global-wrangler-config-path.ts":{"bytes":689,"imports":[{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/esm-wrapper/mod.esm.js","kind":"import-statement","original":"xdg-app-paths"},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"./fs-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/environment-variables/factory.ts":{"bytes":10937,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/environment-variables/misc-variables.ts":{"bytes":14066,"imports":[{"path":"node:path","kind":"import-statement","external":true},{"path":"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js","kind":"import-statement","original":"ts-dedent"},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/global-wrangler-config-path.ts","kind":"import-statement","original":"../global-wrangler-config-path"},{"path":"src/environment-variables/factory.ts","kind":"import-statement","original":"./factory"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/diagnostics.ts":{"bytes":2606,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/validation-helpers.ts":{"bytes":19739,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/validation.ts":{"bytes":149892,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"../workflows-shared/src/lib/validators.ts","kind":"import-statement","original":"@cloudflare/workflows-shared/src/lib/validators"},{"path":"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js","kind":"import-statement","original":"ts-dedent"},{"path":"src/environment-variables/misc-variables.ts","kind":"import-statement","original":"../environment-variables/misc-variables"},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"../fs-helpers"},{"path":"src/config/config-helpers.ts","kind":"import-statement","original":"./config-helpers"},{"path":"src/config/diagnostics.ts","kind":"import-statement","original":"./diagnostics"},{"path":"src/config/validation-helpers.ts","kind":"import-statement","original":"./validation-helpers"},{"path":"src/config/index.ts","kind":"import-statement","original":"."},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/config/validation-pages.ts":{"bytes":5899,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/config/config.ts","kind":"import-statement","original":"./config"},{"path":"src/config/diagnostics.ts","kind":"import-statement","original":"./diagnostics"},{"path":"src/config/validation-helpers.ts","kind":"import-statement","original":"./validation-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/prometheus-metrics.ts":{"bytes":2014,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/index.ts":{"bytes":2312,"imports":[{"path":"src/config/environment.ts","kind":"import-statement","original":"./config/environment"},{"path":"src/config/config.ts","kind":"import-statement","original":"./config/config"},{"path":"src/config/index.ts","kind":"import-statement","original":"./config"},{"path":"src/config/patch-config.ts","kind":"import-statement","original":"./config/patch-config"},{"path":"src/worker.ts","kind":"import-statement","original":"./worker"},{"path":"src/types.ts","kind":"import-statement","original":"./types"},{"path":"src/parse.ts","kind":"import-statement","original":"./parse"},{"path":"src/config/validation.ts","kind":"import-statement","original":"./config/validation"},{"path":"src/config/validation-pages.ts","kind":"import-statement","original":"./config/validation-pages"},{"path":"src/config/diagnostics.ts","kind":"import-statement","original":"./config/diagnostics"},{"path":"src/config/validation-helpers.ts","kind":"import-statement","original":"./config/validation-helpers"},{"path":"src/config/config-helpers.ts","kind":"import-statement","original":"./config/config-helpers"},{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"src/assert-never.ts","kind":"import-statement","original":"./assert-never"},{"path":"src/constants.ts","kind":"import-statement","original":"./constants"},{"path":"src/map-worker-metadata-bindings.ts","kind":"import-statement","original":"./map-worker-metadata-bindings"},{"path":"src/construct-wrangler-config.ts","kind":"import-statement","original":"./construct-wrangler-config"},{"path":"src/environment-variables/factory.ts","kind":"import-statement","original":"./environment-variables/factory"},{"path":"src/environment-variables/misc-variables.ts","kind":"import-statement","original":"./environment-variables/misc-variables"},{"path":"src/global-wrangler-config-path.ts","kind":"import-statement","original":"./global-wrangler-config-path"},{"path":"src/compatibility-date.ts","kind":"import-statement","original":"./compatibility-date"},{"path":"src/config/validation.ts","kind":"import-statement","original":"./config/validation"},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"./fs-helpers"},{"path":"src/prometheus-metrics.ts","kind":"import-statement","original":"./prometheus-metrics"}],"format":"esm"},"src/test-helpers/normalize.ts":{"bytes":3274,"imports":[{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/mock-console.ts":{"bytes":2413,"imports":[{"path":"node:util","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"src/test-helpers/normalize.ts","kind":"import-statement","original":"./normalize"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/run-in-tmp.ts":{"bytes":1085,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"src/fs-helpers.ts","kind":"import-statement","original":"../fs-helpers"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/seed.ts":{"bytes":500,"imports":[{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/wrangler-config.ts":{"bytes":1835,"imports":[{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"src/config/index.ts","kind":"import-statement","original":"../config"},{"path":"src/constants.ts","kind":"import-statement","original":"../constants"},{"path":"src/parse.ts","kind":"import-statement","original":"../parse"},{"path":"<runtime>","kind":"import-statement","external":true}],"format":"esm"},"src/test-helpers/index.ts":{"bytes":401,"imports":[{"path":"src/test-helpers/mock-console.ts","kind":"import-statement","original":"./mock-console"},{"path":"src/test-helpers/normalize.ts","kind":"import-statement","original":"./normalize"},{"path":"src/test-helpers/run-in-tmp.ts","kind":"import-statement","original":"./run-in-tmp"},{"path":"src/test-helpers/seed.ts","kind":"import-statement","original":"./seed"},{"path":"src/test-helpers/wrangler-config.ts","kind":"import-statement","original":"./wrangler-config"}],"format":"esm"}},"outputs":{"dist/browser.mjs":{"imports":[{"path":"dist/chunk-BLWXWFJK.mjs","kind":"import-statement"},{"path":"dist/chunk-OZQVB3L3.mjs","kind":"import-statement"},{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"}],"exports":["constructWranglerConfig"],"entryPoint":"src/browser.ts","inputs":{"src/browser.ts":{"bytesInOutput":0}},"bytes":166},"dist/index.mjs":{"imports":[{"path":"dist/chunk-BLWXWFJK.mjs","kind":"import-statement"},{"path":"dist/chunk-O4YGOZSW.mjs","kind":"import-statement"},{"path":"dist/chunk-A4F3D336.mjs","kind":"import-statement"},{"path":"dist/chunk-OZQVB3L3.mjs","kind":"import-statement"},{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"},{"path":"os","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"path","kind":"require-call","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:assert","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true}],"exports":["APIError","COMPLIANCE_REGION_CONFIG_PUBLIC","COMPLIANCE_REGION_CONFIG_UNKNOWN","CommandLineArgsError","DeprecationError","Diagnostics","ENVIRONMENT_TAG_PREFIX","FatalError","INHERIT_SYMBOL","JSON_CONFIG_FORMATS","JsonFriendlyFatalError","MetricsRegistry","MissingConfigError","PATH_TO_DEPLOY_CONFIG","ParseError","PatchConfigError","SERVICE_TAG_PREFIX","UserError","assertNever","bucketFormatMessage","configFileName","configFormat","constructWranglerConfig","createFatalError","defaultWranglerConfig","experimental_patchConfig","experimental_readRawConfig","findWranglerConfig","formatConfigSnippet","friendlyBindingNames","getBindingTypeFriendlyName","getBooleanEnvironmentVariableFactory","getBrowserRenderingHeadfulFromEnv","getBuildConditionsFromEnv","getBuildPlatformFromEnv","getC3CommandFromEnv","getCIGeneratePreviewAlias","getCIMatchTag","getCIOverrideName","getCIOverrideNetworkModeHost","getCfFetchEnabledFromEnv","getCfFetchPathFromEnv","getCloudflareApiBaseUrl","getCloudflareApiEnvironmentFromEnv","getCloudflareComplianceRegion","getCloudflareEnv","getCloudflareIncludeProcessEnvFromEnv","getCloudflareLoadDevVarsFromDotEnv","getCloudflaredPathFromEnv","getComplianceRegionSubdomain","getD1ExtraLocationChoices","getDisableConfigWatching","getDockerPath","getEnvironmentVariableFactory","getGlobalWranglerConfigPath","getLocalExplorerEnabledFromEnv","getOpenNextDeployFromEnv","getOutputFileDirectoryFromEnv","getOutputFilePathFromEnv","getRegistryPath","getSanitizeLogs","getSubdomainMixedStateCheckDisabled","getTodaysCompatDate","getTraceHeader","getWorkersCIBranchName","getWranglerCacheDirFromEnv","getWranglerHideBanner","getWranglerSendErrorReportsFromEnv","getWranglerSendMetricsFromEnv","hasProperty","indexLocation","isCompatDate","isDirectory","isDockerfile","isOptionalProperty","isPagesConfig","isRequiredProperty","isValidR2BucketName","mapWorkerMetadataBindings","normalizeAndValidateConfig","parseByteSize","parseHumanDuration","parseJSON","parseJSONC","parseNonHyphenedUuid","parsePackageJSON","parseTOML","readFileSync","readFileSyncToBuffer","removeDir","removeDirSync","resolveWranglerConfigPath","searchLocation","validatePagesConfig"],"entryPoint":"src/index.ts","inputs":{"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/lib/XDGAppPaths.js":{"bytesInOutput":4302},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/lib/XDG.js":{"bytesInOutput":5184},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/lib/OSPaths.js":{"bytesInOutput":4128},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/platform-adapters/node.js":{"bytesInOutput":1544},"../../node_modules/.pnpm/os-paths@7.4.0/node_modules/os-paths/dist/cjs/mod.cjs.js":{"bytesInOutput":312},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/platform-adapters/node.js":{"bytesInOutput":1739},"../../node_modules/.pnpm/xdg-portable@10.6.0/node_modules/xdg-portable/dist/cjs/mod.cjs.js":{"bytesInOutput":307},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/platform-adapters/node.js":{"bytesInOutput":2291},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/mod.cjs.js":{"bytesInOutput":340},"src/index.ts":{"bytesInOutput":0},"src/config/config.ts":{"bytesInOutput":3305},"src/config/patch-config.ts":{"bytesInOutput":1912},"src/config/validation.ts":{"bytesInOutput":142008},"../../node_modules/.pnpm/itty-time@2.0.2/node_modules/itty-time/index.mjs":{"bytesInOutput":135},"../../node_modules/.pnpm/zod@3.22.3/node_modules/zod/lib/index.mjs":{"bytesInOutput":113408},"../workflows-shared/src/lib/validators.ts":{"bytesInOutput":863},"src/environment-variables/misc-variables.ts":{"bytesInOutput":6030},"src/global-wrangler-config-path.ts":{"bytesInOutput":393},"../../node_modules/.pnpm/xdg-app-paths@8.3.0/node_modules/xdg-app-paths/dist/cjs/esm-wrapper/mod.esm.js":{"bytesInOutput":251},"src/environment-variables/factory.ts":{"bytesInOutput":1850},"src/config/diagnostics.ts":{"bytesInOutput":2250},"src/config/validation-helpers.ts":{"bytesInOutput":12493},"src/config/validation-pages.ts":{"bytesInOutput":4456}},"bytes":314544},"dist/chunk-BLWXWFJK.mjs":{"imports":[{"path":"dist/chunk-OZQVB3L3.mjs","kind":"import-statement"},{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"},{"path":"node:assert","kind":"import-statement","external":true}],"exports":["assertNever","constructWranglerConfig","getTodaysCompatDate","isCompatDate","mapWorkerMetadataBindings"],"inputs":{"src/compatibility-date.ts":{"bytesInOutput":508},"src/assert-never.ts":{"bytesInOutput":69},"src/map-worker-metadata-bindings.ts":{"bytesInOutput":10511},"src/construct-wrangler-config.ts":{"bytesInOutput":2837}},"bytes":14314},"dist/prometheus-metrics.mjs":{"imports":[{"path":"dist/chunk-O4YGOZSW.mjs","kind":"import-statement"},{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"}],"exports":["MetricsRegistry"],"entryPoint":"src/prometheus-metrics.ts","inputs":{},"bytes":119},"dist/chunk-O4YGOZSW.mjs":{"imports":[{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"}],"exports":["MetricsRegistry"],"inputs":{"src/prometheus-metrics.ts":{"bytesInOutput":1217}},"bytes":1327},"dist/test-helpers/index.mjs":{"imports":[{"path":"dist/chunk-A4F3D336.mjs","kind":"import-statement"},{"path":"dist/chunk-OZQVB3L3.mjs","kind":"import-statement"},{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"},{"path":"node:util","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:os","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"vitest","kind":"import-statement","external":true},{"path":"node:fs/promises","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true}],"exports":["mockConsoleMethods","mockCreateDate","mockEndDate","mockModifiedDate","mockQueuedDate","mockStartDate","normalizeString","readWranglerConfig","runInTempDir","seed","writeDeployRedirectConfig","writeRedirectedWranglerConfig","writeWranglerConfig"],"entryPoint":"src/test-helpers/index.ts","inputs":{"src/test-helpers/mock-console.ts":{"bytesInOutput":2271},"src/test-helpers/normalize.ts":{"bytesInOutput":2741},"src/test-helpers/index.ts":{"bytesInOutput":0},"src/test-helpers/run-in-tmp.ts":{"bytesInOutput":837},"src/test-helpers/seed.ts":{"bytesInOutput":345},"src/test-helpers/wrangler-config.ts":{"bytesInOutput":1745}},"bytes":8640},"dist/chunk-A4F3D336.mjs":{"imports":[{"path":"dist/chunk-OZQVB3L3.mjs","kind":"import-statement"},{"path":"dist/chunk-DCOBXSFB.mjs","kind":"import-statement"},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:path","kind":"import-statement","external":true},{"path":"node:fs","kind":"import-statement","external":true}],"exports":["APIError","CommandLineArgsError","DeprecationError","FatalError","JsonFriendlyFatalError","MissingConfigError","ParseError","UserError","applyEdits","configFileName","configFormat","createFatalError","dedent","dist_default","experimental_readRawConfig","findWranglerConfig","format","formatConfigSnippet","indexLocation","isDirectory","isRedirectedRawConfig","modify","parseByteSize","parseHumanDuration","parseJSON","parseJSONC","parseNonHyphenedUuid","parsePackageJSON","parseTOML","readFileSync","readFileSyncToBuffer","removeDir","removeDirSync","resolveWranglerConfigPath","searchLocation"],"inputs":{"src/errors.ts":{"bytesInOutput":1625},"src/parse.ts":{"bytesInOutput":7678},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/scanner.js":{"bytesInOutput":13719},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/format.js":{"bytesInOutput":7379},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/parser.js":{"bytesInOutput":13841},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/impl/edit.js":{"bytesInOutput":6542},"../../node_modules/.pnpm/jsonc-parser@3.2.0/node_modules/jsonc-parser/lib/esm/main.js":{"bytesInOutput":4978},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/error.js":{"bytesInOutput":1202},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/util.js":{"bytesInOutput":2207},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/date.js":{"bytesInOutput":2493},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/primitive.js":{"bytesInOutput":3824},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/extract.js":{"bytesInOutput":2447},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/struct.js":{"bytesInOutput":4706},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/parse.js":{"bytesInOutput":3069},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/stringify.js":{"bytesInOutput":4707},"../../node_modules/.pnpm/smol-toml@1.5.2/node_modules/smol-toml/dist/index.js":{"bytesInOutput":70},"src/config/config-helpers.ts":{"bytesInOutput":3320},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/find.mjs":{"bytesInOutput":352},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/walk.mjs":{"bytesInOutput":342},"../../node_modules/.pnpm/empathic@2.0.0/node_modules/empathic/resolve.mjs":{"bytesInOutput":199},"../../node_modules/.pnpm/ts-dedent@2.2.0/node_modules/ts-dedent/esm/index.js":{"bytesInOutput":1494},"src/config/index.ts":{"bytesInOutput":1696},"src/fs-helpers.ts":{"bytesInOutput":673}},"bytes":106495},"dist/chunk-OZQVB3L3.mjs":{"imports":[],"exports":["ENVIRONMENT_TAG_PREFIX","INHERIT_SYMBOL","JSON_CONFIG_FORMATS","PATH_TO_DEPLOY_CONFIG","SERVICE_TAG_PREFIX"],"inputs":{"src/constants.ts":{"bytesInOutput":245}},"bytes":391},"dist/chunk-DCOBXSFB.mjs":{"imports":[],"exports":["__commonJS","__export","__name","__reExport","__require","__toESM"],"inputs":{},"bytes":2136}}}
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Lightweight Prometheus metrics registry for push-based counter metrics.
3
+ *
4
+ * Designed for ephemeral per-request usage in Cloudflare Workers that push
5
+ * metrics to a Prometheus push gateway. Replaces the deprecated `promjs` library.
6
+ *
7
+ * @example
8
+ * ```ts
9
+ * const metrics = new MetricsRegistry();
10
+ * const reqCounter = metrics.createCounter(
11
+ * "service_request_total",
12
+ * "Total requests"
13
+ * );
14
+ * reqCounter.inc();
15
+ *
16
+ * // Push to Prometheus gateway
17
+ * ctx.waitUntil(
18
+ * fetch(prometheusUrl, {
19
+ * method: "POST",
20
+ * headers: { Authorization: `Bearer ${token}` },
21
+ * body: metrics.metrics(),
22
+ * })
23
+ * );
24
+ * ```
25
+ */
26
+ interface Counter {
27
+ /** Increment the counter by 1. */
28
+ inc(): void;
29
+ /** Increment the counter by the given non-negative amount. */
30
+ add(amount: number): void;
31
+ }
32
+ declare class MetricsRegistry {
33
+ private counters;
34
+ /**
35
+ * Create and register a new counter metric.
36
+ *
37
+ * @param name - The metric name (e.g. "service_request_total")
38
+ * @param help - A human-readable description of the metric
39
+ * @returns A Counter that can be incremented
40
+ */
41
+ createCounter(name: string, help: string): Counter;
42
+ /**
43
+ * Serialize all registered metrics in Prometheus text exposition format.
44
+ *
45
+ * @see https://prometheus.io/docs/instrumenting/exposition_formats/#text-based-format
46
+ */
47
+ metrics(): string;
48
+ }
49
+
50
+ export { type Counter, MetricsRegistry };
@@ -0,0 +1,2 @@
1
+ export { MetricsRegistry } from './chunk-O4YGOZSW.mjs';
2
+ import './chunk-DCOBXSFB.mjs';
@@ -1,4 +1,4 @@
1
- import { R as RawConfig, a as RedirectedRawConfig } from '../config-BQZJPwXe.mjs';
1
+ import { R as RawConfig, a as RedirectedRawConfig } from '../config-_M2XwEUI.mjs';
2
2
  import '@cloudflare/workers-shared';
3
3
 
4
4
  declare function mockConsoleMethods(): {
@@ -1,5 +1,6 @@
1
- import { removeDir, formatConfigSnippet, parseTOML, parseJSONC } from '../chunk-NNMRVG4F.mjs';
2
- import { __name, PATH_TO_DEPLOY_CONFIG } from '../chunk-LDFBMPMW.mjs';
1
+ import { removeDir, formatConfigSnippet, parseTOML, parseJSONC } from '../chunk-A4F3D336.mjs';
2
+ import { PATH_TO_DEPLOY_CONFIG } from '../chunk-OZQVB3L3.mjs';
3
+ import { __name } from '../chunk-DCOBXSFB.mjs';
3
4
  import * as util from 'node:util';
4
5
  import { beforeEach, vi, afterEach } from 'vitest';
5
6
  import * as fs2 from 'node:fs';
package/package.json CHANGED
@@ -1,51 +1,53 @@
1
1
  {
2
2
  "name": "@cloudflare/workers-utils",
3
- "version": "0.12.0",
4
- "description": "Utility package for common Worker operations",
5
- "homepage": "https://github.com/cloudflare/workers-sdk#readme",
3
+ "version": "0.18.0",
4
+ "description": "Internal utility package for workers-sdk. Not intended for external use — APIs may change without notice.",
5
+ "homepage": "https://github.com/cloudflare/workers-sdk/tree/main/packages/workers-utils#readme",
6
6
  "bugs": {
7
7
  "url": "https://github.com/cloudflare/workers-sdk/issues"
8
8
  },
9
+ "license": "MIT OR Apache-2.0",
10
+ "author": "workers-devprod@cloudflare.com",
9
11
  "repository": {
10
12
  "type": "git",
11
13
  "url": "https://github.com/cloudflare/workers-sdk.git",
12
- "directory": "packages/worker-utils"
14
+ "directory": "packages/workers-utils"
13
15
  },
14
- "license": "MIT OR Apache-2.0",
15
- "author": "workers-devprod@cloudflare.com",
16
+ "files": [
17
+ "dist"
18
+ ],
16
19
  "exports": {
17
20
  ".": {
18
21
  "browser": "./dist/browser.mjs",
19
22
  "import": "./dist/index.mjs",
20
23
  "types": "./dist/index.d.mts"
21
24
  },
25
+ "./prometheus-metrics": {
26
+ "import": "./dist/prometheus-metrics.mjs",
27
+ "types": "./dist/prometheus-metrics.d.mts"
28
+ },
22
29
  "./test-helpers": {
23
30
  "import": "./dist/test-helpers/index.mjs",
24
31
  "types": "./dist/test-helpers/index.d.mts"
25
32
  }
26
33
  },
27
- "files": [
28
- "dist"
29
- ],
30
34
  "devDependencies": {
31
- "@types/node": "^20.19.9",
32
- "@vitest/ui": "~3.2.0",
35
+ "@types/node": "^22.10.1",
36
+ "@vitest/ui": "4.1.0",
33
37
  "cloudflare": "^5.2.0",
34
38
  "concurrently": "^8.2.2",
35
39
  "empathic": "^2.0.0",
36
- "eslint": "^9.39.1",
37
40
  "jsonc-parser": "^3.2.0",
38
41
  "smol-toml": "^1.5.2",
39
42
  "ts-dedent": "^2.2.0",
40
43
  "tsdown": "^0.15.9",
41
44
  "tsup": "8.3.0",
42
45
  "typescript": "~5.8.3",
43
- "vitest": "~3.2.0",
46
+ "vitest": "4.1.0",
44
47
  "xdg-app-paths": "^8.3.0",
45
- "@cloudflare/workers-shared": "0.19.0",
46
- "@cloudflare/eslint-config-shared": "1.2.1",
47
- "@cloudflare/workflows-shared": "0.4.0",
48
- "@cloudflare/workers-tsconfig": "0.0.0"
48
+ "@cloudflare/workers-shared": "0.19.2",
49
+ "@cloudflare/workers-tsconfig": "0.0.0",
50
+ "@cloudflare/workflows-shared": "0.9.1"
49
51
  },
50
52
  "volta": {
51
53
  "extends": "../../package.json"
@@ -55,8 +57,8 @@
55
57
  },
56
58
  "scripts": {
57
59
  "build": "tsup",
58
- "check:lint": "eslint . --max-warnings=0 --cache",
59
60
  "check:type": "tsc -p ./tsconfig.json",
61
+ "deploy": "echo 'no deploy'",
60
62
  "dev": "concurrently -c black,blue --kill-others-on-fail false \"pnpm tsup --watch src\" \"pnpm run check:type --watch --preserveWatchOutput\"",
61
63
  "test": "vitest",
62
64
  "test:ci": "vitest run",