Skip to content

Commit

Permalink
Normalize some dependencies in workers-sdk (#6029)
Browse files Browse the repository at this point in the history
This is the first of a few expected patches that normalize dependency versions, This normalizes `undici`, `concurrently`, `@types/node`, `react`, `react-dom`, `@types/react`, `@types/react-dom`, `eslint`, `typescript`. There are no functional code changes (but there are a couple of typecheck fixes).
  • Loading branch information
threepointone committed Jun 14, 2024
1 parent e5b8cb4 commit f5ad1d3
Show file tree
Hide file tree
Showing 76 changed files with 758 additions and 1,377 deletions.
15 changes: 15 additions & 0 deletions .changeset/little-ligers-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
"playground-preview-worker": patch
"@cloudflare/vitest-pool-workers": patch
"workers-playground": patch
"create-cloudflare": patch
"@cloudflare/kv-asset-handler": patch
"@cloudflare/pages-shared": patch
"@cloudflare/quick-edit": patch
"miniflare": patch
"wrangler": patch
---

Normalize some dependencies in workers-sdk

This is the first of a few expected patches that normalize dependency versions, This normalizes `undici`, `concurrently`, `@types/node`, `react`, `react-dom`, `@types/react`, `@types/react-dom`, `eslint`, `typescript`. There are no functional code changes (but there are a couple of typecheck fixes).
2 changes: 1 addition & 1 deletion fixtures/additional-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
"volta": {
Expand Down
2 changes: 1 addition & 1 deletion fixtures/ai-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"type:tests": "tsc -p ./tests/tsconfig.json"
},
"devDependencies": {
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*",
"@cloudflare/workers-tsconfig": "workspace:^"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/dev-env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@cloudflare/workers-tsconfig": "workspace:^",
"get-port": "^7.0.0",
"miniflare": "workspace:*",
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*",
"ws": "^8.14.2"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/durable-objects-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:^",
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
"volta": {
Expand Down
2 changes: 1 addition & 1 deletion fixtures/entrypoints-rpc-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@cloudflare/workers-tsconfig": "workspace:*",
"wrangler": "workspace:*",
"ts-dedent": "^2.2.0",
"undici": "^5.28.3"
"undici": "^5.28.4"
},
"volta": {
"extends": "../../package.json"
Expand Down
2 changes: 1 addition & 1 deletion fixtures/external-durable-objects-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type:tests": "tsc -p ./tests/tsconfig.json"
},
"devDependencies": {
"undici": "^5.28.3",
"undici": "^5.28.4",
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"wrangler": "workspace:*"
Expand Down
4 changes: 2 additions & 2 deletions fixtures/external-service-bindings-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"type:tests": "tsc --noEmit"
},
"devDependencies": {
"undici": "^5.28.3",
"concurrently": "^8.2.1",
"undici": "^5.28.4",
"concurrently": "^8.2.2",
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"wrangler": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion fixtures/get-bindings-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"wrangler": "workspace:*",
"undici": "^5.28.3"
"undici": "^5.28.4"
},
"volta": {
"extends": "../../package.json"
Expand Down
2 changes: 1 addition & 1 deletion fixtures/get-platform-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"wrangler": "workspace:*",
"undici": "^5.28.3"
"undici": "^5.28.4"
},
"volta": {
"extends": "../../package.json"
Expand Down
2 changes: 1 addition & 1 deletion fixtures/import-wasm-example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"type:tests": "tsc -p ./tests/tsconfig.json"
},
"devDependencies": {
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*",
"@cloudflare/workers-tsconfig": "workspace:^"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/interactive-dev-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"devDependencies": {
"fixtures-shared": "workspace:*",
"strip-ansi": "^7.1.0",
"undici": "^5.28.3"
"undici": "^5.28.4"
},
"optionalDependencies": {
"@cdktf/node-pty-prebuilt-multiarch": "0.10.1-pre.11"
Expand Down
2 changes: 1 addition & 1 deletion fixtures/local-mode-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"@types/node": "^17.0.33",
"@types/node": "20.8.3",
"buffer": "^6.0.3",
"wrangler": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/node-app-pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion fixtures/nodejs-hybrid-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@types/pg": "^8.11.2",
"pg": "8.11.3",
"pg-cloudflare": "^1.1.1",
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion fixtures/pages-d1-shim/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-dev-proxy-with-script/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-functions-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"pages-plugin-example": "workspace:*",
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-functions-wasm-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"type:tests": "tsc -p ./tests/tsconfig.json"
},
"devDependencies": {
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*",
"@cloudflare/workers-tsconfig": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-functions-with-config-file-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-functions-with-routes-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-plugin-mounted-on-root-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"pages-plugin-example": "workspace:*",
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-proxy-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"miniflare": "workspace:*",
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-simple-assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240605.0",
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-workerjs-and-functions-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-workerjs-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type:tests": "tsc -p ./tests/tsconfig.json"
},
"devDependencies": {
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*",
"@cloudflare/workers-tsconfig": "workspace:^"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-workerjs-directory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type:tests": "tsc -p ./tests/tsconfig.json"
},
"devDependencies": {
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*",
"@cloudflare/workers-tsconfig": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-workerjs-wasm-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"type:tests": "tsc -p ./tests/tsconfig.json"
},
"devDependencies": {
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*",
"@cloudflare/workers-tsconfig": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-workerjs-with-config-file-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type:tests": "tsc -p ./tests/tsconfig.json"
},
"devDependencies": {
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*",
"@cloudflare/workers-tsconfig": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/pages-workerjs-with-routes-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type:tests": "tsc -p ./tests/tsconfig.json"
},
"devDependencies": {
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*",
"@cloudflare/workers-tsconfig": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/ratelimit-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"devDependencies": {
"wrangler": "workspace:*",
"undici": "^5.28.3",
"undici": "^5.28.4",
"@cloudflare/workers-tsconfig": "workspace:^"
},
"volta": {
Expand Down
14 changes: 7 additions & 7 deletions fixtures/remix-pages-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"dependencies": {
"@remix-run/cloudflare-pages": "^1.17.0",
"cross-env": "^7.0.3",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"undici": "^5.28.3"
"react": "^18.2.0",
"react-dom": "^18.2.0",
"undici": "^5.28.4"
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
Expand All @@ -27,12 +27,12 @@
"@remix-run/dev": "^1.17.0",
"@remix-run/eslint-config": "^1.17.0",
"@remix-run/react": "^1.17.0",
"@types/react": "^17.0.52",
"@types/react-dom": "^17.0.18",
"eslint": "^8.27.0",
"@types/react": "^18.2.21",
"@types/react-dom": "^18.2.7",
"eslint": "^8.49.0",
"npm-run-all": "^4.1.5",
"remix": "^1.17.0",
"typescript": "^4.8.4",
"typescript": "^5.4.5",
"wrangler": "workspace:*"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion fixtures/service-bindings-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"concurrently": "^8.2.2",
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
"volta": {
Expand Down
2 changes: 1 addition & 1 deletion fixtures/vitest-pool-workers-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"jose": "^5.2.2",
"miniflare": "workspace:*",
"toucan-js": "^3.3.1",
"typescript": "^5.4.3",
"typescript": "^5.4.5",
"vitest": "1.5.0",
"wrangler": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/worker-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:^",
"undici": "^5.28.3",
"undici": "^5.28.4",
"wrangler": "workspace:*"
},
"dependencies": {
Expand Down
25 changes: 12 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,29 +27,28 @@
"gen:package": "turbo gen package"
},
"dependencies": {
"@types/node": "^20.0.0",
"cross-env": "^7.0.3",
"esbuild-register": "^3.5.0",
"jsonc-parser": "^3.2.0",
"prettier-plugin-packagejson": "^2.2.18",
"rimraf": "^5.0.1",
"typescript": "^5.4.5",
"vite": "^5.0.12",
"vitest": "^1.2.2"
},
"devDependencies": {
"@actions/artifact": "^2.0.1",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@changesets/parse": "^0.4.0",
"@cloudflare/workers-types": "^4.20240605.0",
"@ianvs/prettier-plugin-sort-imports": "4.2.1",
"@manypkg/cli": "^0.21.4",
"@turbo/gen": "^1.10.13",
"@types/node": "20.8.3",
"@vue/compiler-sfc": "^3.3.4",
"cross-env": "^7.0.3",
"dotenv-cli": "^7.3.0",
"esbuild": "0.17.19",
"esbuild-register": "^3.5.0",
"jsonc-parser": "^3.2.0",
"prettier": "^3.2.5",
"turbo": "^1.10.14"
"prettier-plugin-packagejson": "^2.2.18",
"rimraf": "^5.0.1",
"turbo": "^1.10.14",
"typescript": "^5.4.5",
"vite": "^5.0.12",
"vitest": "^1.2.2"
},
"engines": {
"node": ">=18.20.0",
Expand All @@ -72,7 +71,7 @@
"@types/react-tabs>@types/react": "^18",
"@types/react-transition-group>@types/react": "^18",
"@cloudflare/elements>@types/react": "^18",
"capnpc-ts>typescript": "4.2.4"
"capnpc-ts>typescript": "5.4.5"
},
"patchedDependencies": {
"ink@3.2.0": "patches/ink@3.2.0.patch",
Expand Down
Loading

0 comments on commit f5ad1d3

Please sign in to comment.