From 5482b546a852dd0835ca1b052fc55b610af71a6b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 16 Jun 2026 02:17:49 +0800 Subject: [PATCH] Update dependency graphql to v17.0.0 (#19361) Co-authored-by: fisker --- package.json | 2 +- src/language-graphql/parser-graphql.js | 1 - website/package.json | 2 +- website/yarn.lock | 10 +++++----- yarn.lock | 10 +++++----- 5 files changed, 12 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index ff6c3b8e8..762cac597 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "flow-parser": "0.318.0", "get-east-asian-width": "1.6.0", "get-stdin": "9.0.0", - "graphql": "17.0.0-rc.0", + "graphql": "17.0.0", "hermes-parser": "0.36.1", "html-element-attributes": "3.5.0", "html-ua-styles": "0.4.0", diff --git a/src/language-graphql/parser-graphql.js b/src/language-graphql/parser-graphql.js index 4c53bf128..77cfd3913 100644 --- a/src/language-graphql/parser-graphql.js +++ b/src/language-graphql/parser-graphql.js @@ -22,7 +22,6 @@ function parseComments(ast) { /** @type {ParseOptions} */ const parseOptions = { experimentalFragmentArguments: true, - experimentalDirectivesOnDirectiveDefinitions: true, }; function createParseError(error) { diff --git a/website/package.json b/website/package.json index 826460629..5ff58458c 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.32.0", - "graphql": "16.14.1", + "graphql": "17.0.0", "lz-string": "1.5.0", "prism-react-renderer": "2.4.1", "react": "19.2.7", diff --git a/website/yarn.lock b/website/yarn.lock index 2b3a6eed4..a90a267ed 100644 --- a/website/yarn.lock +++ b/website/yarn.lock @@ -8380,10 +8380,10 @@ __metadata: languageName: node linkType: hard -"graphql@npm:16.14.1": - version: 16.14.1 - resolution: "graphql@npm:16.14.1" - checksum: 10/8e506bdd2a0dac666e3de82461bd3cf337335b9c0a9a209756a4d20c481393a4f664084474ccc1ccd22a1fae174a69695ce4154a59d2b6e1c0de0b2cfc992ca8 +"graphql@npm:17.0.0": + version: 17.0.0 + resolution: "graphql@npm:17.0.0" + checksum: 10/72f25098597754f3186c2908247ae114275c11424bfa4299e99aa0c814fd8726bae739a6934e23803ae4bf5c3a71a38ffcafc5354a03dc23b7b02b0d3fdd1406 languageName: node linkType: hard @@ -12973,7 +12973,7 @@ __metadata: cm6-graphql: "npm:0.2.1" concurrently: "npm:10.0.3" github-buttons: "npm:2.32.0" - graphql: "npm:16.14.1" + graphql: "npm:17.0.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 3b38e4d3d..2bf2d7509 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5232,10 +5232,10 @@ __metadata: languageName: node linkType: hard -"graphql@npm:17.0.0-rc.0": - version: 17.0.0-rc.0 - resolution: "graphql@npm:17.0.0-rc.0" - checksum: 10/cb23267a03f556ded9072f4307b445aa82239753d46bd33749be7527db29bd9e956937ed0eda0f949e8443108a8673903ff6626ce7e0ce9d835d7cfb0cb992bc +"graphql@npm:17.0.0": + version: 17.0.0 + resolution: "graphql@npm:17.0.0" + checksum: 10/72f25098597754f3186c2908247ae114275c11424bfa4299e99aa0c814fd8726bae739a6934e23803ae4bf5c3a71a38ffcafc5354a03dc23b7b02b0d3fdd1406 languageName: node linkType: hard @@ -8136,7 +8136,7 @@ __metadata: get-stdin: "npm:9.0.0" gfm-test-suite: "npm:0.0.2" globals: "npm:17.6.0" - graphql: "npm:17.0.0-rc.0" + graphql: "npm:17.0.0" hermes-parser: "npm:0.36.1" html-element-attributes: "npm:3.5.0" html-ua-styles: "npm:0.4.0"