Skip to content

Commit

Permalink
chore(deps): update (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
enisdenjo authored Nov 22, 2023
1 parent 1c5c744 commit a851d95
Show file tree
Hide file tree
Showing 20 changed files with 5,798 additions and 6,547 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/audits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: .nvmrc
cache: yarn
- name: Install
run: yarn install --immutable
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: .nvmrc
cache: yarn
- name: Install
run: yarn install --immutable
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: .nvmrc
cache: yarn
- name: Install
run: yarn install --immutable
Expand Down
21 changes: 14 additions & 7 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: .nvmrc
cache: yarn
- name: Install
run: yarn install --immutable
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: .nvmrc
cache: yarn
- name: Install
run: yarn install --immutable
Expand All @@ -74,7 +74,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: .nvmrc
cache: yarn
- name: Install
run: yarn install --immutable
Expand All @@ -100,7 +100,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: .nvmrc
cache: yarn
- name: Install
run: yarn install --immutable
Expand All @@ -126,7 +126,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: .nvmrc
cache: yarn
- name: Install
run: yarn install --immutable
Expand All @@ -152,12 +152,19 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: .nvmrc
cache: yarn
- name: Set up deno
uses: denoland/setup-deno@v1
with:
deno-version: 1.x
- name: Set up deno cache
uses: actions/cache@v3
with:
path: |
~/.deno
~/.cache/deno
key: ${{ runner.os }}-deno-${{ hashFiles('**/yarn.lock') }}
- name: Install
run: yarn install --immutable
- name: Download k6
Expand Down Expand Up @@ -186,7 +193,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: .nvmrc
cache: yarn
- name: Set up bun
uses: oven-sh/setup-bun@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: .nvmrc
cache: yarn
- name: Install
run: yarn install --immutable
Expand All @@ -37,7 +37,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: .nvmrc
cache: yarn
- name: Install
run: yarn install --immutable
Expand All @@ -63,7 +63,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: .nvmrc
cache: yarn
- name: Install
run: yarn install --immutable
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: .nvmrc
cache: yarn
- name: Install
run: yarn install --immutable
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: .nvmrc
cache: yarn
- name: Install
run: yarn install --immutable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: .nvmrc
cache: yarn
- name: Install
run: yarn install --immutable
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v21
541 changes: 0 additions & 541 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.3.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.2.cjs

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
nodeLinker: node-modules
compressionLevel: mixed

enableGlobalCache: false

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: '@yarnpkg/plugin-interactive-tools'
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.6.3.cjs
yarnPath: .yarn/releases/yarn-4.0.2.cjs
4 changes: 2 additions & 2 deletions implementations/apollo-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"start": "node ."
},
"dependencies": {
"@apollo/server": "^4.9.3",
"graphql": "^16.8.0"
"@apollo/server": "^4.9.5",
"graphql": "^16.8.1"
}
}
2 changes: 1 addition & 1 deletion implementations/express-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"dependencies": {
"express": "^4.18.2",
"express-graphql": "^0.12.0",
"graphql": "^16.8.0"
"graphql": "^16.8.1"
}
}
4 changes: 2 additions & 2 deletions implementations/graphql-helix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
},
"dependencies": {
"express": "^4.18.2",
"graphql": "^16.8.0",
"graphql": "^16.8.1",
"graphql-helix": "^1.13.0"
},
"devDependencies": {
"@types/express": "^4.17.17"
"@types/express": "^4.17.21"
}
}
4 changes: 2 additions & 2 deletions implementations/graphql-yoga/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"start": "node ."
},
"dependencies": {
"graphql": "^16.8.0",
"graphql-yoga": "^4.0.4"
"graphql": "^16.8.1",
"graphql-yoga": "^5.0.0"
}
}
6 changes: 3 additions & 3 deletions implementations/mercurius/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"start": "node ."
},
"dependencies": {
"fastify": "^4.22.2",
"graphql": "^16.8.0",
"mercurius": "^13.1.0"
"fastify": "^4.24.3",
"graphql": "^16.8.1",
"mercurius": "^13.3.1"
}
}
56 changes: 28 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"engines": {
"node": ">=12"
},
"packageManager": "yarn@3.6.3",
"packageManager": "yarn@4.0.2",
"main": "lib/index.js",
"module": "lib/index.mjs",
"browser": "umd/graphql-http.js",
Expand Down Expand Up @@ -116,43 +116,43 @@
"graphql": ">=0.11 <=16"
},
"devDependencies": {
"@cspell/cspell-types": "^7.3.2",
"@netlify/functions": "^2.0.2",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.3",
"@cspell/cspell-types": "^8.0.0",
"@netlify/functions": "^2.4.0",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/eslint": "^8.44.2",
"@types/express": "^4.17.17",
"@types/eslint": "^8.44.7",
"@types/express": "^4.17.21",
"@types/glob": "^8.1.0",
"@types/html-validator": "^5.0.3",
"@types/k6": "^0.46.2",
"@types/koa": "^2.13.8",
"@types/koa-mount": "^4.0.2",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"@whatwg-node/fetch": "^0.9.12",
"cspell": "^7.3.2",
"eslint": "^8.48.0",
"@types/html-validator": "^5.0.6",
"@types/k6": "^0.47.3",
"@types/koa": "^2.13.12",
"@types/koa-mount": "^4.0.5",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"@whatwg-node/fetch": "^0.9.14",
"cspell": "^8.0.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"express": "^4.18.2",
"fastify": "^4.22.2",
"glob": "^10.3.4",
"graphql": "^16.8.0",
"fastify": "^4.24.3",
"glob": "^10.3.10",
"graphql": "^16.8.1",
"html-validator": "^6.0.1",
"koa": "^2.14.2",
"koa-mount": "^4.0.0",
"node-fetch": "^3.3.2",
"prettier": "^3.0.3",
"rollup": "^3.28.1",
"prettier": "^3.1.0",
"rollup": "^4.5.1",
"rollup-plugin-gzip": "^3.1.0",
"semantic-release": "^21.1.1",
"semantic-release": "^22.0.8",
"tslib": "^2.6.2",
"tsx": "^3.12.8",
"typedoc": "^0.25.1",
"typedoc-plugin-markdown": "^3.16.0",
"typescript": "^5.2.2",
"uWebSockets.js": "uNetworking/uWebSockets.js#v20.31.0",
"vitest": "^0.34.3"
"tsx": "^4.1.3",
"typedoc": "^0.25.3",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.3.2",
"uWebSockets.js": "uNetworking/uWebSockets.js#v20.34.0",
"vitest": "^0.34.6"
}
}
8 changes: 4 additions & 4 deletions src/audits/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ export function audit(
? // failing MUSTs are considered errors
'error'
: name.startsWith('SHOULD')
? // recommendations are warnings
'warn'
: // everything else is truly optional
'notice',
? // recommendations are warnings
'warn'
: // everything else is truly optional
'notice',
reason: err.reason,
response: err.response,
};
Expand Down
4 changes: 2 additions & 2 deletions src/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -791,8 +791,8 @@ function makeResponse(
const errors = isGraphQLError(resultOrErrors)
? [resultOrErrors]
: areGraphQLErrors(resultOrErrors)
? resultOrErrors
: null;
? resultOrErrors
: null;
if (errors) {
return [
JSON.stringify({ errors: errors.map(formatError) }, jsonErrorReplacer),
Expand Down
4 changes: 2 additions & 2 deletions tests/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ it('should use the provided headers', async () => {
await request;

expect(headers).toMatchInlineSnapshot(`
_Headers {
Symbol(headers list): _HeadersList {
Headers {
Symbol(headers list): HeadersList {
"cookies": null,
Symbol(headers map): Map {
"x-some" => {
Expand Down
Loading

0 comments on commit a851d95

Please sign in to comment.