Skip to content

Commit a851d95

Browse files
authored
chore(deps): update (#115)
1 parent 1c5c744 commit a851d95

File tree

20 files changed

+5798
-6547
lines changed

20 files changed

+5798
-6547
lines changed

Diff for: .github/workflows/audits.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up node
3434
uses: actions/setup-node@v3
3535
with:
36-
node-version: 18
36+
node-version-file: .nvmrc
3737
cache: yarn
3838
- name: Install
3939
run: yarn install --immutable
@@ -81,7 +81,7 @@ jobs:
8181
- name: Set up node
8282
uses: actions/setup-node@v3
8383
with:
84-
node-version: 18
84+
node-version-file: .nvmrc
8585
cache: yarn
8686
- name: Install
8787
run: yarn install --immutable
@@ -132,7 +132,7 @@ jobs:
132132
- name: Set up node
133133
uses: actions/setup-node@v3
134134
with:
135-
node-version: 18
135+
node-version-file: .nvmrc
136136
cache: yarn
137137
- name: Install
138138
run: yarn install --immutable

Diff for: .github/workflows/benchmark.yml

+14-7
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set up node
2323
uses: actions/setup-node@v3
2424
with:
25-
node-version: 18
25+
node-version-file: .nvmrc
2626
cache: yarn
2727
- name: Install
2828
run: yarn install --immutable
@@ -48,7 +48,7 @@ jobs:
4848
- name: Set up node
4949
uses: actions/setup-node@v3
5050
with:
51-
node-version: 18
51+
node-version-file: .nvmrc
5252
cache: yarn
5353
- name: Install
5454
run: yarn install --immutable
@@ -74,7 +74,7 @@ jobs:
7474
- name: Set up node
7575
uses: actions/setup-node@v3
7676
with:
77-
node-version: 18
77+
node-version-file: .nvmrc
7878
cache: yarn
7979
- name: Install
8080
run: yarn install --immutable
@@ -100,7 +100,7 @@ jobs:
100100
- name: Set up node
101101
uses: actions/setup-node@v3
102102
with:
103-
node-version: 18
103+
node-version-file: .nvmrc
104104
cache: yarn
105105
- name: Install
106106
run: yarn install --immutable
@@ -126,7 +126,7 @@ jobs:
126126
- name: Set up node
127127
uses: actions/setup-node@v3
128128
with:
129-
node-version: 18
129+
node-version-file: .nvmrc
130130
cache: yarn
131131
- name: Install
132132
run: yarn install --immutable
@@ -152,12 +152,19 @@ jobs:
152152
- name: Set up node
153153
uses: actions/setup-node@v3
154154
with:
155-
node-version: 18
155+
node-version-file: .nvmrc
156156
cache: yarn
157157
- name: Set up deno
158158
uses: denoland/setup-deno@v1
159159
with:
160160
deno-version: 1.x
161+
- name: Set up deno cache
162+
uses: actions/cache@v3
163+
with:
164+
path: |
165+
~/.deno
166+
~/.cache/deno
167+
key: ${{ runner.os }}-deno-${{ hashFiles('**/yarn.lock') }}
161168
- name: Install
162169
run: yarn install --immutable
163170
- name: Download k6
@@ -186,7 +193,7 @@ jobs:
186193
- name: Set up node
187194
uses: actions/setup-node@v3
188195
with:
189-
node-version: 18
196+
node-version-file: .nvmrc
190197
cache: yarn
191198
- name: Set up bun
192199
uses: oven-sh/setup-bun@v1

Diff for: .github/workflows/build-and-release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Set up node
1313
uses: actions/setup-node@v3
1414
with:
15-
node-version: 18
15+
node-version-file: .nvmrc
1616
cache: yarn
1717
- name: Install
1818
run: yarn install --immutable
@@ -37,7 +37,7 @@ jobs:
3737
- name: Set up node
3838
uses: actions/setup-node@v3
3939
with:
40-
node-version: 18
40+
node-version-file: .nvmrc
4141
cache: yarn
4242
- name: Install
4343
run: yarn install --immutable
@@ -63,7 +63,7 @@ jobs:
6363
- name: Set up node
6464
uses: actions/setup-node@v3
6565
with:
66-
node-version: 18
66+
node-version-file: .nvmrc
6767
cache: yarn
6868
- name: Install
6969
run: yarn install --immutable

Diff for: .github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up Node
2828
uses: actions/setup-node@v3
2929
with:
30-
node-version: 18
30+
node-version-file: .nvmrc
3131
cache: yarn
3232
- name: Install
3333
run: yarn install --immutable
@@ -44,7 +44,7 @@ jobs:
4444
- name: Set up Node
4545
uses: actions/setup-node@v3
4646
with:
47-
node-version: 18
47+
node-version-file: .nvmrc
4848
cache: yarn
4949
- name: Install
5050
run: yarn install --immutable

Diff for: .github/workflows/website.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up node
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: 18
19+
node-version-file: .nvmrc
2020
cache: yarn
2121
- name: Install
2222
run: yarn install --immutable

Diff for: .nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v21

Diff for: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

-541
This file was deleted.

Diff for: .yarn/releases/yarn-3.6.3.cjs

-874
This file was deleted.

Diff for: .yarn/releases/yarn-4.0.2.cjs

+893
Large diffs are not rendered by default.

Diff for: .yarnrc.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
nodeLinker: node-modules
1+
compressionLevel: mixed
2+
3+
enableGlobalCache: false
24

3-
plugins:
4-
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
5-
spec: '@yarnpkg/plugin-interactive-tools'
5+
nodeLinker: node-modules
66

7-
yarnPath: .yarn/releases/yarn-3.6.3.cjs
7+
yarnPath: .yarn/releases/yarn-4.0.2.cjs

Diff for: implementations/apollo-server/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"start": "node ."
99
},
1010
"dependencies": {
11-
"@apollo/server": "^4.9.3",
12-
"graphql": "^16.8.0"
11+
"@apollo/server": "^4.9.5",
12+
"graphql": "^16.8.1"
1313
}
1414
}

Diff for: implementations/express-graphql/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
"dependencies": {
1111
"express": "^4.18.2",
1212
"express-graphql": "^0.12.0",
13-
"graphql": "^16.8.0"
13+
"graphql": "^16.8.1"
1414
}
1515
}

Diff for: implementations/graphql-helix/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
},
1010
"dependencies": {
1111
"express": "^4.18.2",
12-
"graphql": "^16.8.0",
12+
"graphql": "^16.8.1",
1313
"graphql-helix": "^1.13.0"
1414
},
1515
"devDependencies": {
16-
"@types/express": "^4.17.17"
16+
"@types/express": "^4.17.21"
1717
}
1818
}

Diff for: implementations/graphql-yoga/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"start": "node ."
99
},
1010
"dependencies": {
11-
"graphql": "^16.8.0",
12-
"graphql-yoga": "^4.0.4"
11+
"graphql": "^16.8.1",
12+
"graphql-yoga": "^5.0.0"
1313
}
1414
}

Diff for: implementations/mercurius/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"start": "node ."
99
},
1010
"dependencies": {
11-
"fastify": "^4.22.2",
12-
"graphql": "^16.8.0",
13-
"mercurius": "^13.1.0"
11+
"fastify": "^4.24.3",
12+
"graphql": "^16.8.1",
13+
"mercurius": "^13.3.1"
1414
}
1515
}

Diff for: package.json

+28-28
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"engines": {
2525
"node": ">=12"
2626
},
27-
"packageManager": "yarn@3.6.3",
27+
"packageManager": "yarn@4.0.2",
2828
"main": "lib/index.js",
2929
"module": "lib/index.mjs",
3030
"browser": "umd/graphql-http.js",
@@ -116,43 +116,43 @@
116116
"graphql": ">=0.11 <=16"
117117
},
118118
"devDependencies": {
119-
"@cspell/cspell-types": "^7.3.2",
120-
"@netlify/functions": "^2.0.2",
121-
"@rollup/plugin-terser": "^0.4.3",
122-
"@rollup/plugin-typescript": "^11.1.3",
119+
"@cspell/cspell-types": "^8.0.0",
120+
"@netlify/functions": "^2.4.0",
121+
"@rollup/plugin-terser": "^0.4.4",
122+
"@rollup/plugin-typescript": "^11.1.5",
123123
"@semantic-release/changelog": "^6.0.3",
124124
"@semantic-release/git": "^10.0.1",
125-
"@types/eslint": "^8.44.2",
126-
"@types/express": "^4.17.17",
125+
"@types/eslint": "^8.44.7",
126+
"@types/express": "^4.17.21",
127127
"@types/glob": "^8.1.0",
128-
"@types/html-validator": "^5.0.3",
129-
"@types/k6": "^0.46.2",
130-
"@types/koa": "^2.13.8",
131-
"@types/koa-mount": "^4.0.2",
132-
"@typescript-eslint/eslint-plugin": "^6.6.0",
133-
"@typescript-eslint/parser": "^6.6.0",
134-
"@whatwg-node/fetch": "^0.9.12",
135-
"cspell": "^7.3.2",
136-
"eslint": "^8.48.0",
128+
"@types/html-validator": "^5.0.6",
129+
"@types/k6": "^0.47.3",
130+
"@types/koa": "^2.13.12",
131+
"@types/koa-mount": "^4.0.5",
132+
"@typescript-eslint/eslint-plugin": "^6.12.0",
133+
"@typescript-eslint/parser": "^6.12.0",
134+
"@whatwg-node/fetch": "^0.9.14",
135+
"cspell": "^8.0.0",
136+
"eslint": "^8.54.0",
137137
"eslint-config-prettier": "^9.0.0",
138138
"express": "^4.18.2",
139-
"fastify": "^4.22.2",
140-
"glob": "^10.3.4",
141-
"graphql": "^16.8.0",
139+
"fastify": "^4.24.3",
140+
"glob": "^10.3.10",
141+
"graphql": "^16.8.1",
142142
"html-validator": "^6.0.1",
143143
"koa": "^2.14.2",
144144
"koa-mount": "^4.0.0",
145145
"node-fetch": "^3.3.2",
146-
"prettier": "^3.0.3",
147-
"rollup": "^3.28.1",
146+
"prettier": "^3.1.0",
147+
"rollup": "^4.5.1",
148148
"rollup-plugin-gzip": "^3.1.0",
149-
"semantic-release": "^21.1.1",
149+
"semantic-release": "^22.0.8",
150150
"tslib": "^2.6.2",
151-
"tsx": "^3.12.8",
152-
"typedoc": "^0.25.1",
153-
"typedoc-plugin-markdown": "^3.16.0",
154-
"typescript": "^5.2.2",
155-
"uWebSockets.js": "uNetworking/uWebSockets.js#v20.31.0",
156-
"vitest": "^0.34.3"
151+
"tsx": "^4.1.3",
152+
"typedoc": "^0.25.3",
153+
"typedoc-plugin-markdown": "^3.17.1",
154+
"typescript": "^5.3.2",
155+
"uWebSockets.js": "uNetworking/uWebSockets.js#v20.34.0",
156+
"vitest": "^0.34.6"
157157
}
158158
}

Diff for: src/audits/utils.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ export function audit(
4242
? // failing MUSTs are considered errors
4343
'error'
4444
: name.startsWith('SHOULD')
45-
? // recommendations are warnings
46-
'warn'
47-
: // everything else is truly optional
48-
'notice',
45+
? // recommendations are warnings
46+
'warn'
47+
: // everything else is truly optional
48+
'notice',
4949
reason: err.reason,
5050
response: err.response,
5151
};

Diff for: src/handler.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -791,8 +791,8 @@ function makeResponse(
791791
const errors = isGraphQLError(resultOrErrors)
792792
? [resultOrErrors]
793793
: areGraphQLErrors(resultOrErrors)
794-
? resultOrErrors
795-
: null;
794+
? resultOrErrors
795+
: null;
796796
if (errors) {
797797
return [
798798
JSON.stringify({ errors: errors.map(formatError) }, jsonErrorReplacer),

Diff for: tests/client.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ it('should use the provided headers', async () => {
4242
await request;
4343

4444
expect(headers).toMatchInlineSnapshot(`
45-
_Headers {
46-
Symbol(headers list): _HeadersList {
45+
Headers {
46+
Symbol(headers list): HeadersList {
4747
"cookies": null,
4848
Symbol(headers map): Map {
4949
"x-some" => {

0 commit comments

Comments
 (0)