Skip to content

Commit

Permalink
bump whatwg node (#2896)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
n1ru4l and github-actions[bot] authored Jun 28, 2023
1 parent a52dad8 commit 5efb825
Show file tree
Hide file tree
Showing 18 changed files with 74 additions and 64 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphql-yoga/plugin-apollo-inline-trace': patch
---
dependencies updates:
- Updated dependency [`@whatwg-node/fetch@^0.9.7` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/0.9.7) (from `^0.9.0`, in `peerDependencies`)
6 changes: 6 additions & 0 deletions .changeset/graphql-yoga-2896-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'graphql-yoga': patch
---
dependencies updates:
- Updated dependency [`@whatwg-node/fetch@^0.9.7` ↗︎](https://www.npmjs.com/package/@whatwg-node/fetch/v/0.9.7) (from `^0.9.0`, in `dependencies`)
- Updated dependency [`@whatwg-node/server@^0.9.1` ↗︎](https://www.npmjs.com/package/@whatwg-node/server/v/0.9.1) (from `^0.8.1`, in `dependencies`)
2 changes: 1 addition & 1 deletion examples/cloudflare-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"graphql": "16.6.0"
},
"devDependencies": {
"@whatwg-node/fetch": "^0.9.0",
"@whatwg-node/fetch": "^0.9.7",
"typescript": "5.1.3",
"wrangler": "3.1.0",
"@cloudflare/workers-types": "4.20230518.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/error-handling/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"dependencies": {
"graphql-yoga": "4.0.2",
"@whatwg-node/fetch": "^0.9.0",
"@whatwg-node/fetch": "^0.9.7",
"graphql": "^16.1.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/file-upload-nextjs-pothos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"react-dom": "18.2.0"
},
"devDependencies": {
"@whatwg-node/fetch": "^0.9.0",
"@whatwg-node/fetch": "^0.9.7",
"@types/react": "^18.0.17",
"eslint": "8.42.0",
"eslint-config-next": "13.4.7",
Expand Down
2 changes: 1 addition & 1 deletion examples/file-upload-nexus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"nexus": "^1.3.0"
},
"devDependencies": {
"@whatwg-node/fetch": "^0.9.0",
"@whatwg-node/fetch": "^0.9.7",
"ts-node": "10.9.1",
"typescript": "5.1.3"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/generic-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@whatwg-node/fetch": "^0.9.0",
"@whatwg-node/fetch": "^0.9.7",
"@types/node": "18.16.16",
"cross-env": "7.0.3",
"ts-node": "10.9.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/hapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"graphql": "16.6.0"
},
"devDependencies": {
"@whatwg-node/fetch": "^0.9.0",
"@whatwg-node/fetch": "^0.9.7",
"ts-node": "10.9.1",
"typescript": "5.1.3"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/response-cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"author": "",
"license": "ISC",
"devDependencies": {
"@whatwg-node/fetch": "^0.9.0",
"@whatwg-node/fetch": "^0.9.7",
"@types/node": "18.16.16",
"cross-env": "7.0.3",
"ts-node": "10.9.1",
Expand Down
2 changes: 1 addition & 1 deletion examples/service-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"graphql": "16.6.0"
},
"devDependencies": {
"@whatwg-node/fetch": "^0.9.0",
"@whatwg-node/fetch": "^0.9.7",
"typescript": "5.1.3",
"wrangler": "3.1.0"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/uwebsockets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"uWebSockets.js": "uNetworking/uWebSockets.js#v20.30.0"
},
"devDependencies": {
"@whatwg-node/fetch": "^0.9.0",
"@whatwg-node/fetch": "^0.9.7",
"@types/ws": "8.5.4",
"ws": "8.13.0"
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"packageManager": "pnpm@8.6.1",
"engines": {
"node": ">=16.14",
"pnpm": ">=8.6.0"
"pnpm": ">=8.6.1"
},
"scripts": {
"prebuild": "rimraf packages/*/dist",
Expand Down
5 changes: 2 additions & 3 deletions packages/graphql-yoga/__tests__/requests.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ describe('requests', () => {
method: 'POST',
headers: {
'content-type': 'application/json',
accept: ['application/xml', 'application/json'],
accept: 'application/xml, application/json',
},
body: JSON.stringify({ query: '{ ping }' }),
})
Expand All @@ -397,8 +397,7 @@ describe('requests', () => {
const response = await yoga.fetch('http://yoga/test-graphql', {
method: 'POST',
headers: {
// not valid as per HTTP spec, but some clients dont care
'content-type': ['application/json', 'application/json'],
'content-type': 'application/json, application/json',
},
body: JSON.stringify({ query: '{ ping }' }),
})
Expand Down
4 changes: 2 additions & 2 deletions packages/graphql-yoga/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
"@graphql-tools/utils": "^10.0.0",
"@graphql-yoga/subscription": "^4.0.0",
"@graphql-yoga/logger": "^1.0.0",
"@whatwg-node/fetch": "^0.9.0",
"@whatwg-node/server": "^0.8.1",
"@whatwg-node/fetch": "^0.9.7",
"@whatwg-node/server": "^0.9.1",
"dset": "^3.1.1",
"lru-cache": "^10.0.0",
"tslib": "^2.5.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/nestjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@types/express": "^4.17.17",
"@types/glob": "^8.0.1",
"@types/ws": "^8.5.4",
"@whatwg-node/fetch": "^0.9.0",
"@whatwg-node/fetch": "^0.9.7",
"express": "^4.18.2",
"fastify": "^4.13.0",
"glob": "^10.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/plugins/apollo-inline-trace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"access": "public"
},
"peerDependencies": {
"@whatwg-node/fetch": "^0.9.0",
"@whatwg-node/fetch": "^0.9.7",
"@graphql-tools/utils": "^10.0.0",
"graphql-yoga": "^4.0.2",
"graphql": "^15.2.0 || ^16.0.0"
Expand All @@ -56,7 +56,7 @@
},
"devDependencies": {
"@envelop/on-resolve": "^3.0.0",
"@whatwg-node/fetch": "^0.9.0",
"@whatwg-node/fetch": "^0.9.7",
"graphql-yoga": "4.0.2",
"graphql": "^16.6.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/defer-stream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"graphql-yoga": "^4.0.2"
},
"devDependencies": {
"@whatwg-node/fetch": "^0.9.0",
"@whatwg-node/fetch": "^0.9.7",
"@graphql-tools/executor-http": "^1.0.0",
"graphql": "^16.6.0",
"tslib": "^2.5.2"
Expand Down
Loading

0 comments on commit 5efb825

Please sign in to comment.