From bd886a7c23bbe0407de2bad85ec69a5b61bbdc95 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 19 May 2026 04:13:24 +0800 Subject: [PATCH] Update dependency graphql to v16.14.0 (#19120) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: fisker --- package.json | 2 +- src/language-graphql/visitor-keys.js | 6 ++++++ website/package.json | 2 +- website/yarn.lock | 10 +++++----- yarn.lock | 10 +++++----- 5 files changed, 18 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index f705d0162..e530c62a0 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "flow-parser": "0.312.0", "get-east-asian-width": "1.6.0", "get-stdin": "9.0.0", - "graphql": "16.13.2", + "graphql": "16.14.0", "hermes-parser": "0.36.1", "html-element-attributes": "3.5.0", "html-ua-styles": "0.3.1", diff --git a/src/language-graphql/visitor-keys.js b/src/language-graphql/visitor-keys.js index 1c8b081b8..ed7a0e3dc 100644 --- a/src/language-graphql/visitor-keys.js +++ b/src/language-graphql/visitor-keys.js @@ -13,4 +13,10 @@ for (const kind of [ delete visitorKeys[kind]; } +// Not supported yet +visitorKeys.DirectiveDefinition = visitorKeys.DirectiveDefinition.filter( + (key) => key !== "directives", +); +delete visitorKeys.DirectiveExtension; + export default visitorKeys; diff --git a/website/package.json b/website/package.json index e2b2fbfa8..049b18ee3 100644 --- a/website/package.json +++ b/website/package.json @@ -32,7 +32,7 @@ "clsx": "2.1.1", "cm6-graphql": "0.2.1", "github-buttons": "2.31.1", - "graphql": "16.13.2", + "graphql": "16.14.0", "lz-string": "1.5.0", "prism-react-renderer": "2.4.1", "react": "19.2.4", diff --git a/website/yarn.lock b/website/yarn.lock index 8b1594bf5..e64f1aace 100644 --- a/website/yarn.lock +++ b/website/yarn.lock @@ -8272,10 +8272,10 @@ __metadata: languageName: node linkType: hard -"graphql@npm:16.13.2": - version: 16.13.2 - resolution: "graphql@npm:16.13.2" - checksum: 10/9ede86f0a7227d47a41e2076e0132839f66fbd14899abfd818d7de2ab81076ee249c8788ad42243367d68a027a8763cc4c7be2e441ccfb03a8549490c7b66c2f +"graphql@npm:16.14.0": + version: 16.14.0 + resolution: "graphql@npm:16.14.0" + checksum: 10/019bed00a1d62c90d38bd8971f827af9be479bd1935ac990b62edce8dbe5d9e1d93cae72e986199fdeb7108ee83e3f73c7492989ec08fcaf446b6bd79d533741 languageName: node linkType: hard @@ -13038,7 +13038,7 @@ __metadata: cm6-graphql: "npm:0.2.1" concurrently: "npm:9.2.1" github-buttons: "npm:2.31.1" - graphql: "npm:16.13.2" + graphql: "npm:16.14.0" lz-string: "npm:1.5.0" package-dependencies-tree: "npm:0.0.1" prism-react-renderer: "npm:2.4.1" diff --git a/yarn.lock b/yarn.lock index 7e2878a6b..729f42dbd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5436,10 +5436,10 @@ __metadata: languageName: node linkType: hard -"graphql@npm:16.13.2": - version: 16.13.2 - resolution: "graphql@npm:16.13.2" - checksum: 10/9ede86f0a7227d47a41e2076e0132839f66fbd14899abfd818d7de2ab81076ee249c8788ad42243367d68a027a8763cc4c7be2e441ccfb03a8549490c7b66c2f +"graphql@npm:16.14.0": + version: 16.14.0 + resolution: "graphql@npm:16.14.0" + checksum: 10/019bed00a1d62c90d38bd8971f827af9be479bd1935ac990b62edce8dbe5d9e1d93cae72e986199fdeb7108ee83e3f73c7492989ec08fcaf446b6bd79d533741 languageName: node linkType: hard @@ -8496,7 +8496,7 @@ __metadata: get-stdin: "npm:9.0.0" gfm-test-suite: "npm:0.0.2" globals: "npm:17.6.0" - graphql: "npm:16.13.2" + graphql: "npm:16.14.0" hermes-parser: "npm:0.36.1" html-element-attributes: "npm:3.5.0" html-ua-styles: "npm:0.3.1"