Skip to content

Commit

Permalink
Bump @cloudflare/workers-types@4.20240402.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GregBrimble committed Apr 3, 2024
1 parent e469fb9 commit d342bd6
Show file tree
Hide file tree
Showing 26 changed files with 77 additions and 90 deletions.
2 changes: 1 addition & 1 deletion fixtures/additional-modules/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.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"undici": "^5.28.3",
"wrangler": "workspace:*"
}
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 @@ -12,7 +12,7 @@
"devDependencies": {
"undici": "^5.28.3",
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"wrangler": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion fixtures/external-service-bindings-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"undici": "^5.28.3",
"concurrently": "^8.2.1",
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"wrangler": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion fixtures/get-bindings-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"wrangler": "workspace:*",
"undici": "^5.28.3"
}
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 @@ -9,7 +9,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"wrangler": "workspace:*",
"undici": "^5.28.3"
}
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 @@ -14,7 +14,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"@types/node": "^17.0.33",
"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 @@ -15,7 +15,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"undici": "^5.28.3",
"wrangler": "workspace:*"
},
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 @@ -10,7 +10,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"undici": "^5.28.3",
"wrangler": "workspace:*"
},
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 @@ -12,7 +12,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"pages-plugin-example": "workspace:*",
"undici": "^5.28.3",
"wrangler": "workspace:*"
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 @@ -11,7 +11,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"undici": "^5.28.3",
"wrangler": "workspace:*"
},
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 @@ -12,7 +12,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"pages-plugin-example": "workspace:*",
"undici": "^5.28.3",
"wrangler": "workspace:*"
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 @@ -12,7 +12,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"undici": "^5.28.3",
"wrangler": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/worker-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"start": "wrangler dev"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"wrangler": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@actions/artifact": "^2.0.1",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"@turbo/gen": "^1.10.13",
"@vue/compiler-sfc": "^3.3.4",
"dotenv-cli": "^7.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@cloudflare/cli": "workspace:*",
"@cloudflare/eslint-config-worker": "*",
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"@iarna/toml": "^3.0.0",
"@types/command-exists": "^1.2.0",
"@types/cross-spawn": "^6.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/edge-preview-authenticated-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"devDependencies": {
"@cloudflare/eslint-config-worker": "*",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"@types/cookie": "^0.6.0",
"cookie": "^0.6.0",
"promjs": "^0.4.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/format-errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"devDependencies": {
"@cloudflare/eslint-config-worker": "*",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"mustache": "^4.2.0",
"promjs": "^0.4.2",
"toucan-js": "^3.2.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/kv-asset-handler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
},
"devDependencies": {
"@ava/typescript": "^4.1.0",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"@types/mime": "^3.0.4",
"@types/node": "^18.11.12",
"ava": "^6.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/pages-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"@types/service-worker-mock": "^2.0.1",
"concurrently": "^7.3.0",
"glob": "^8.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/playground-preview-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"devDependencies": {
"@cloudflare/eslint-config-worker": "workspace:*",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"@types/cookie": "^0.5.1",
"cookie": "^0.5.0",
"itty-router": "^4.0.13",
Expand Down
2 changes: 1 addition & 1 deletion packages/prerelease-registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"devDependencies": {
"@cloudflare/eslint-config-worker": "*",
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"typescript": "^4.5.5",
"wrangler": "workspace:*"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/quick-edit-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
],
"devDependencies": {
"@cloudflare/workers-tsconfig": "workspace:^",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"esbuild": "0.16.3",
"esbuild-register": "^3.4.2",
"typescript": "^4.9.5"
Expand Down
2 changes: 1 addition & 1 deletion packages/workers.new/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"devDependencies": {
"@cloudflare/eslint-config-worker": "*",
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"wrangler": "workspace:*"
}
}
4 changes: 2 additions & 2 deletions packages/wrangler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"@cloudflare/pages-shared": "workspace:^",
"@cloudflare/types": "^6.18.4",
"@cloudflare/workers-tsconfig": "workspace:*",
"@cloudflare/workers-types": "^4.20240320.1",
"@cloudflare/workers-types": "^4.20240402.0",
"@cspotcode/source-map-support": "0.8.1",
"@iarna/toml": "^3.0.0",
"@microsoft/api-extractor": "^7.28.3",
Expand Down Expand Up @@ -213,7 +213,7 @@
"fsevents": "~2.3.2"
},
"peerDependencies": {
"@cloudflare/workers-types": "^4.20240320.1"
"@cloudflare/workers-types": "^4.20240402.0"
},
"peerDependenciesMeta": {
"@cloudflare/workers-types": {
Expand Down
13 changes: 0 additions & 13 deletions packages/wrangler/templates/facade.d.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
// TODO(soon): remove once https://github.com/cloudflare/workerd/pull/1870 lands
declare module "cloudflare:workers" {
export class WorkerEntrypoint {
constructor(
protected ctx: ExecutionContext,
protected env: Record<string, unknown>
);

fetch?(request: Request): Response | Promise<Response>;
scheduled?(controller: ScheduledController): void | Promise<void>;
}
}

declare module "__ENTRY_POINT__" {
import { Middleware } from "./middleware/common";
import { WorkerEntrypoint } from "cloudflare:workers";
Expand Down

0 comments on commit d342bd6

Please sign in to comment.