@nightintelligence/cloudflare-workers-utils 0.35.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.
- package/README.md +5 -0
- package/dist/browser.d.mts +47 -0
- package/dist/browser.mjs +4 -0
- package/dist/browser.mjs.map +1 -0
- package/dist/chunk-3D4BXUZX.mjs +54 -0
- package/dist/chunk-3D4BXUZX.mjs.map +1 -0
- package/dist/chunk-4RE36JUD.mjs +3160 -0
- package/dist/chunk-4RE36JUD.mjs.map +1 -0
- package/dist/chunk-6LYDFTTF.mjs +40 -0
- package/dist/chunk-6LYDFTTF.mjs.map +1 -0
- package/dist/chunk-CPLEE7LH.mjs +64 -0
- package/dist/chunk-CPLEE7LH.mjs.map +1 -0
- package/dist/chunk-G5FCNCLK.mjs +47 -0
- package/dist/chunk-G5FCNCLK.mjs.map +1 -0
- package/dist/chunk-IGC3TZGH.mjs +157 -0
- package/dist/chunk-IGC3TZGH.mjs.map +1 -0
- package/dist/chunk-NXPJWJ2B.mjs +180 -0
- package/dist/chunk-NXPJWJ2B.mjs.map +1 -0
- package/dist/chunk-OPAKTV2K.mjs +75 -0
- package/dist/chunk-OPAKTV2K.mjs.map +1 -0
- package/dist/chunk-VKFVZ67V.mjs +35 -0
- package/dist/chunk-VKFVZ67V.mjs.map +1 -0
- package/dist/chunk-W7DIL5J2.mjs +267 -0
- package/dist/chunk-W7DIL5J2.mjs.map +1 -0
- package/dist/chunk-ZLUHKBEC.mjs +44 -0
- package/dist/chunk-ZLUHKBEC.mjs.map +1 -0
- package/dist/chunk-ZQ2EZEOC.mjs +477 -0
- package/dist/chunk-ZQ2EZEOC.mjs.map +1 -0
- package/dist/compatibility-date.d.mts +80 -0
- package/dist/compatibility-date.mjs +4 -0
- package/dist/compatibility-date.mjs.map +1 -0
- package/dist/compliance-j3-tqeao.d.mts +3616 -0
- package/dist/compliance.d.mts +4 -0
- package/dist/compliance.mjs +9 -0
- package/dist/compliance.mjs.map +1 -0
- package/dist/docker-path.d.mts +8 -0
- package/dist/docker-path.mjs +5 -0
- package/dist/docker-path.mjs.map +1 -0
- package/dist/errors.d.mts +55 -0
- package/dist/errors.mjs +4 -0
- package/dist/errors.mjs.map +1 -0
- package/dist/fs-helpers.d.mts +40 -0
- package/dist/fs-helpers.mjs +4 -0
- package/dist/fs-helpers.mjs.map +1 -0
- package/dist/global-wrangler-config-path.d.mts +35 -0
- package/dist/global-wrangler-config-path.mjs +5 -0
- package/dist/global-wrangler-config-path.mjs.map +1 -0
- package/dist/index.d.mts +1263 -0
- package/dist/index.mjs +26282 -0
- package/dist/index.mjs.map +1 -0
- package/dist/local-env.d.mts +54 -0
- package/dist/local-env.mjs +178 -0
- package/dist/local-env.mjs.map +1 -0
- package/dist/metafile-esm.json +1 -0
- package/dist/open-OYMIZX6T.mjs +609 -0
- package/dist/open-OYMIZX6T.mjs.map +1 -0
- package/dist/prometheus-metrics.d.mts +50 -0
- package/dist/prometheus-metrics.mjs +4 -0
- package/dist/prometheus-metrics.mjs.map +1 -0
- package/dist/test-helpers/index.d.mts +46 -0
- package/dist/test-helpers/index.mjs +310 -0
- package/dist/test-helpers/index.mjs.map +1 -0
- package/dist/zod-format.d.mts +6 -0
- package/dist/zod-format.mjs +4 -0
- package/dist/zod-format.mjs.map +1 -0
- package/package.json +126 -0
package/package.json
ADDED
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nightintelligence/cloudflare-workers-utils",
|
|
3
|
+
"version": "0.35.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
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/cloudflare/workers-sdk/issues"
|
|
8
|
+
},
|
|
9
|
+
"license": "MIT OR Apache-2.0",
|
|
10
|
+
"author": "workers-devprod@cloudflare.com",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/cloudflare/workers-sdk.git",
|
|
14
|
+
"directory": "packages/workers-utils"
|
|
15
|
+
},
|
|
16
|
+
"publishConfig": {
|
|
17
|
+
"access": "public"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist"
|
|
21
|
+
],
|
|
22
|
+
"sideEffects": false,
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"browser": "./dist/browser.mjs",
|
|
26
|
+
"import": "./dist/index.mjs",
|
|
27
|
+
"types": "./dist/index.d.mts",
|
|
28
|
+
"default": "./dist/index.mjs"
|
|
29
|
+
},
|
|
30
|
+
"./prometheus-metrics": {
|
|
31
|
+
"import": "./dist/prometheus-metrics.mjs",
|
|
32
|
+
"types": "./dist/prometheus-metrics.d.mts"
|
|
33
|
+
},
|
|
34
|
+
"./compliance": {
|
|
35
|
+
"import": "./dist/compliance.mjs",
|
|
36
|
+
"types": "./dist/compliance.d.mts"
|
|
37
|
+
},
|
|
38
|
+
"./test-helpers": {
|
|
39
|
+
"import": "./dist/test-helpers/index.mjs",
|
|
40
|
+
"types": "./dist/test-helpers/index.d.mts"
|
|
41
|
+
},
|
|
42
|
+
"./fs-helpers": {
|
|
43
|
+
"import": "./dist/fs-helpers.mjs",
|
|
44
|
+
"types": "./dist/fs-helpers.d.mts"
|
|
45
|
+
},
|
|
46
|
+
"./compatibility-date": {
|
|
47
|
+
"import": "./dist/compatibility-date.mjs",
|
|
48
|
+
"types": "./dist/compatibility-date.d.mts"
|
|
49
|
+
},
|
|
50
|
+
"./docker-path": {
|
|
51
|
+
"import": "./dist/docker-path.mjs",
|
|
52
|
+
"types": "./dist/docker-path.d.mts"
|
|
53
|
+
},
|
|
54
|
+
"./errors": {
|
|
55
|
+
"import": "./dist/errors.mjs",
|
|
56
|
+
"types": "./dist/errors.d.mts"
|
|
57
|
+
},
|
|
58
|
+
"./global-wrangler-config-path": {
|
|
59
|
+
"import": "./dist/global-wrangler-config-path.mjs",
|
|
60
|
+
"types": "./dist/global-wrangler-config-path.d.mts"
|
|
61
|
+
},
|
|
62
|
+
"./local-env": {
|
|
63
|
+
"import": "./dist/local-env.mjs",
|
|
64
|
+
"types": "./dist/local-env.d.mts"
|
|
65
|
+
},
|
|
66
|
+
"./zod-format": {
|
|
67
|
+
"import": "./dist/zod-format.mjs",
|
|
68
|
+
"types": "./dist/zod-format.d.mts"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"dependencies": {
|
|
72
|
+
"chalk": "5.3.0",
|
|
73
|
+
"dotenv": "16.3.1",
|
|
74
|
+
"undici": "7.29.0"
|
|
75
|
+
},
|
|
76
|
+
"devDependencies": {
|
|
77
|
+
"@cloudflare/workers-shared": "0.19.9",
|
|
78
|
+
"@cloudflare/workers-tsconfig": "0.0.0",
|
|
79
|
+
"@cloudflare/workflows-shared": "0.13.0",
|
|
80
|
+
"@types/command-exists": "^1.2.0",
|
|
81
|
+
"@types/node": "22.15.17",
|
|
82
|
+
"@vitest/ui": "4.1.0",
|
|
83
|
+
"ci-info": "4.4.0",
|
|
84
|
+
"cloudflare": "^5.2.0",
|
|
85
|
+
"command-exists": "1.2.9",
|
|
86
|
+
"concurrently": "^8.2.2",
|
|
87
|
+
"dotenv-expand": "13.0.0",
|
|
88
|
+
"empathic": "^2.0.0",
|
|
89
|
+
"jsonc-parser": "3.2.0",
|
|
90
|
+
"kleur": "^4.1.5",
|
|
91
|
+
"open": "11.0.0",
|
|
92
|
+
"signal-exit": "4.1.0",
|
|
93
|
+
"smol-toml": "1.5.2",
|
|
94
|
+
"ts-dedent": "^2.2.0",
|
|
95
|
+
"tsdown": "^0.15.9",
|
|
96
|
+
"tsup": "8.3.0",
|
|
97
|
+
"typescript": "5.8.3",
|
|
98
|
+
"update-check": "^1.5.4",
|
|
99
|
+
"vitest": "4.1.0",
|
|
100
|
+
"xdg-app-paths": "^8.3.0",
|
|
101
|
+
"zod": "4.4.3"
|
|
102
|
+
},
|
|
103
|
+
"peerDependencies": {
|
|
104
|
+
"vitest": "^4.1.0"
|
|
105
|
+
},
|
|
106
|
+
"peerDependenciesMeta": {
|
|
107
|
+
"vitest": {
|
|
108
|
+
"optional": true
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"volta": {
|
|
112
|
+
"extends": "../../package.json"
|
|
113
|
+
},
|
|
114
|
+
"workers-sdk": {
|
|
115
|
+
"prerelease": true
|
|
116
|
+
},
|
|
117
|
+
"scripts": {
|
|
118
|
+
"build": "tsup",
|
|
119
|
+
"check:type": "tsc -p ./tsconfig.json",
|
|
120
|
+
"deploy": "echo 'no deploy'",
|
|
121
|
+
"dev": "concurrently -c black,blue --kill-others-on-fail false \"pnpm tsup --watch src\" \"pnpm run check:type --watch --preserveWatchOutput\"",
|
|
122
|
+
"test": "vitest",
|
|
123
|
+
"test:ci": "vitest run",
|
|
124
|
+
"type:tests": "tsc -p ./tests/tsconfig.json"
|
|
125
|
+
}
|
|
126
|
+
}
|