diff --git a/package.json b/package.json index b7d60df083..8a05d90d32 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "autoprefixer": "^10.4.17", "clsx": "^2.1.0", "codemirror": "^5.65.19", - "codemirror-graphql": "1.3.2", + "codemirror-graphql": "2.2.2", "date-fns": "^2.30.0", "fast-glob": "^3.3.2", "graphql": "16.10.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c2cde5d2db..c5ba79b916 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -41,8 +41,8 @@ importers: specifier: ^5.65.19 version: 5.65.19 codemirror-graphql: - specifier: 1.3.2 - version: 1.3.2(@codemirror/language@0.20.2)(codemirror@5.65.19)(graphql@16.10.0) + specifier: 2.2.2 + version: 2.2.2(@codemirror/language@0.20.2)(codemirror@5.65.19)(graphql@16.10.0) date-fns: specifier: ^2.30.0 version: 2.30.0 @@ -1751,6 +1751,9 @@ packages: '@types/acorn@4.0.6': resolution: {integrity: sha512-veQTnWP+1D/xbxVrPC3zHnCZRjSrKfhbMUlEA43iMZLu7EsnTtkJklIuwrCPbOi8YkvDQAiW05VQQFvvz9oieQ==} + '@types/codemirror@0.0.90': + resolution: {integrity: sha512-8Z9+tSg27NPRGubbUPUCrt5DDG/OWzLph5BvcDykwR5D7RyZh5mhHG0uS1ePKV1YFCA+/cwc4Ey2AJAEFfV3IA==} + '@types/codemirror@5.60.7': resolution: {integrity: sha512-QXIC+RPzt/1BGSuD6iFn6UMC9TDp+9hkOANYNPVsjjrDdzKphfRkwQDKGp2YaC54Yhz0g6P5uYTCCibZZEiMAA==} @@ -2127,12 +2130,12 @@ packages: resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} engines: {node: '>=6'} - codemirror-graphql@1.3.2: - resolution: {integrity: sha512-glwFsEVlH5TvxjSKGymZ1sNy37f3Mes58CB4fXOd0zy9+JzDL08Wti1b5ycy4vFZYghMDK1/Or/zRSjMAGtC2w==} + codemirror-graphql@2.2.2: + resolution: {integrity: sha512-9WY6YGPeXDLvdHeBNh4mompvZKapYJsfEXhodCW72W+9E/z8GajgCZjGLOaq57a9fD2f9+Zp/J0FGiypOtNgrw==} peerDependencies: - '@codemirror/language': ^0.20.0 + '@codemirror/language': 6.0.0 codemirror: ^5.65.3 - graphql: ^15.5.0 || ^16.0.0 + graphql: ^15.5.0 || ^16.0.0 || ^17.0.0 codemirror@5.65.19: resolution: {integrity: sha512-+aFkvqhaAVr1gferNMuN8vkTSrWIFvzlMV9I2KBLCWS2WpZ2+UAkZjlMZmEuT+gcXTi6RrGQCkWq1/bDtGqhIA==} @@ -2417,6 +2420,9 @@ packages: dayjs@1.11.10: resolution: {integrity: sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==} + debounce-promise@3.1.2: + resolution: {integrity: sha512-rZHcgBkbYavBeD9ej6sP56XfG53d51CD4dnaw989YX/nZ/ZJfgRx/9ePKmTNiUiyQvh4mtrMoS3OAWW+yoYtpg==} + debug@4.3.4: resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} engines: {node: '>=6.0'} @@ -2839,11 +2845,11 @@ packages: peerDependencies: graphql: '*' - graphql-language-service@5.2.0: - resolution: {integrity: sha512-o/ZgTS0pBxWm3hSF4+6GwiV1//DxzoLWEbS38+jqpzzy1d/QXBidwQuVYTOksclbtOJZ3KR/tZ8fi/tI6VpVMg==} + graphql-language-service@5.4.0: + resolution: {integrity: sha512-g4N5PKh4Dxow9zuHrzX6PHuWWL/aQPYgzZvZst1KkWYFW1H1rmOA/p0/eEJ2WVuoCCfy1tyAR91iG92MAKCILA==} hasBin: true peerDependencies: - graphql: ^15.5.0 || ^16.0.0 + graphql: ^15.5.0 || ^16.0.0 || ^17.0.0 graphql-ws@5.16.0: resolution: {integrity: sha512-Ju2RCU2dQMgSKtArPbEtsK5gNLnsQyTNIo/T7cZNp96niC1x0KdJNZV0TIoilceBPQwfb5itrGl8pkFeOUMl4A==} @@ -6557,6 +6563,10 @@ snapshots: dependencies: '@types/estree': 1.0.5 + '@types/codemirror@0.0.90': + dependencies: + '@types/tern': 0.23.9 + '@types/codemirror@5.60.7': dependencies: '@types/tern': 0.23.9 @@ -6953,12 +6963,13 @@ snapshots: clsx@2.1.1: {} - codemirror-graphql@1.3.2(@codemirror/language@0.20.2)(codemirror@5.65.19)(graphql@16.10.0): + codemirror-graphql@2.2.2(@codemirror/language@0.20.2)(codemirror@5.65.19)(graphql@16.10.0): dependencies: '@codemirror/language': 0.20.2 + '@types/codemirror': 0.0.90 codemirror: 5.65.19 graphql: 16.10.0 - graphql-language-service: 5.2.0(graphql@16.10.0) + graphql-language-service: 5.4.0(graphql@16.10.0) codemirror@5.65.19: {} @@ -7274,6 +7285,8 @@ snapshots: dayjs@1.11.10: {} + debounce-promise@3.1.2: {} + debug@4.3.4: dependencies: ms: 2.1.2 @@ -7759,8 +7772,9 @@ snapshots: arrify: 1.0.1 graphql: 16.10.0 - graphql-language-service@5.2.0(graphql@16.10.0): + graphql-language-service@5.4.0(graphql@16.10.0): dependencies: + debounce-promise: 3.1.2 graphql: 16.10.0 nullthrows: 1.1.1 vscode-languageserver-types: 3.17.5