diff --git a/package.json b/package.json index f9a9eb00..67620085 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "author": "codehex", "license": "MIT", "devDependencies": { - "@graphql-codegen/cli": "5.0.0", + "@graphql-codegen/cli": "5.0.2", "@graphql-codegen/typescript": "^4.0.0", "@tsconfig/recommended": "1.0.3", "@types/graphlib": "^2.1.8", @@ -71,7 +71,7 @@ }, "dependencies": { "@graphql-codegen/plugin-helpers": "^5.0.0", - "@graphql-codegen/schema-ast": "4.0.0", + "@graphql-codegen/schema-ast": "4.0.2", "@graphql-codegen/visitor-plugin-common": "^4.0.0", "@graphql-tools/utils": "^10.0.0", "graphlib": "^2.1.8", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e423c5dd..517a9e0f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ dependencies: specifier: ^5.0.0 version: 5.0.1(graphql@16.7.1) '@graphql-codegen/schema-ast': - specifier: 4.0.0 - version: 4.0.0(graphql@16.7.1) + specifier: 4.0.2 + version: 4.0.2(graphql@16.7.1) '@graphql-codegen/visitor-plugin-common': specifier: ^4.0.0 version: 4.0.1(graphql@16.7.1) @@ -26,8 +26,8 @@ dependencies: devDependencies: '@graphql-codegen/cli': - specifier: 5.0.0 - version: 5.0.0(@babel/core@7.22.5)(@types/node@20.1.3)(graphql@16.7.1) + specifier: 5.0.2 + version: 5.0.2(@babel/core@7.22.5)(@types/node@20.1.3)(graphql@16.7.1) '@graphql-codegen/typescript': specifier: ^4.0.0 version: 4.0.1(graphql@16.7.1) @@ -995,8 +995,18 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@graphql-codegen/cli@5.0.0(@babel/core@7.22.5)(@types/node@20.1.3)(graphql@16.7.1): - resolution: {integrity: sha512-A7J7+be/a6e+/ul2KI5sfJlpoqeqwX8EzktaKCeduyVKgOLA6W5t+NUGf6QumBDXU8PEOqXk3o3F+RAwCWOiqA==} + /@graphql-codegen/add@5.0.2(graphql@16.7.1): + resolution: {integrity: sha512-ouBkSvMFUhda5VoKumo/ZvsZM9P5ZTyDsI8LW18VxSNWOjrTeLXBWHG8Gfaai0HwhflPtCYVABbriEcOmrRShQ==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-codegen/plugin-helpers': 5.0.3(graphql@16.7.1) + graphql: 16.7.1 + tslib: 2.6.1 + dev: true + + /@graphql-codegen/cli@5.0.2(@babel/core@7.22.5)(@types/node@20.1.3)(graphql@16.7.1): + resolution: {integrity: sha512-MBIaFqDiLKuO4ojN6xxG9/xL9wmfD3ZjZ7RsPjwQnSHBCUXnEkdKvX+JVpx87Pq29Ycn8wTJUguXnTZ7Di0Mlw==} hasBin: true peerDependencies: '@parcel/watcher': ^2.1.0 @@ -1008,8 +1018,9 @@ packages: '@babel/generator': 7.22.5 '@babel/template': 7.22.5 '@babel/types': 7.22.5 - '@graphql-codegen/core': 4.0.0(graphql@16.7.1) - '@graphql-codegen/plugin-helpers': 5.0.1(graphql@16.7.1) + '@graphql-codegen/client-preset': 4.2.2(graphql@16.7.1) + '@graphql-codegen/core': 4.0.2(graphql@16.7.1) + '@graphql-codegen/plugin-helpers': 5.0.3(graphql@16.7.1) '@graphql-tools/apollo-engine-loader': 8.0.0(graphql@16.7.1) '@graphql-tools/code-file-loader': 8.0.0(@babel/core@7.22.5)(graphql@16.7.1) '@graphql-tools/git-loader': 8.0.0(@babel/core@7.22.5)(graphql@16.7.1) @@ -1051,16 +1062,56 @@ packages: - utf-8-validate dev: true - /@graphql-codegen/core@4.0.0(graphql@16.7.1): - resolution: {integrity: sha512-JAGRn49lEtSsZVxeIlFVIRxts2lWObR+OQo7V2LHDJ7ohYYw3ilv7nJ8pf8P4GTg/w6ptcYdSdVVdkI8kUHB/Q==} + /@graphql-codegen/client-preset@4.2.2(graphql@16.7.1): + resolution: {integrity: sha512-DF9pNWj3TEdA90E9FH5SsUIqiZfr872vqaQOspLVuVXGsaDx8F/JLLzaN+7ucmoo0ff/bLW8munVXYXTmgwwEA==} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 5.0.1(graphql@16.7.1) + '@babel/helper-plugin-utils': 7.22.5 + '@babel/template': 7.22.5 + '@graphql-codegen/add': 5.0.2(graphql@16.7.1) + '@graphql-codegen/gql-tag-operations': 4.0.4(graphql@16.7.1) + '@graphql-codegen/plugin-helpers': 5.0.3(graphql@16.7.1) + '@graphql-codegen/typed-document-node': 5.0.4(graphql@16.7.1) + '@graphql-codegen/typescript': 4.0.4(graphql@16.7.1) + '@graphql-codegen/typescript-operations': 4.1.2(graphql@16.7.1) + '@graphql-codegen/visitor-plugin-common': 4.1.2(graphql@16.7.1) + '@graphql-tools/documents': 1.0.0(graphql@16.7.1) + '@graphql-tools/utils': 10.0.5(graphql@16.7.1) + '@graphql-typed-document-node/core': 3.2.0(graphql@16.7.1) + graphql: 16.7.1 + tslib: 2.6.1 + transitivePeerDependencies: + - encoding + - supports-color + dev: true + + /@graphql-codegen/core@4.0.2(graphql@16.7.1): + resolution: {integrity: sha512-IZbpkhwVqgizcjNiaVzNAzm/xbWT6YnGgeOLwVjm4KbJn3V2jchVtuzHH09G5/WkkLSk2wgbXNdwjM41JxO6Eg==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-codegen/plugin-helpers': 5.0.3(graphql@16.7.1) '@graphql-tools/schema': 10.0.0(graphql@16.7.1) '@graphql-tools/utils': 10.0.5(graphql@16.7.1) graphql: 16.7.1 - tslib: 2.5.3 + tslib: 2.6.1 + dev: true + + /@graphql-codegen/gql-tag-operations@4.0.4(graphql@16.7.1): + resolution: {integrity: sha512-dypul0iDLjb07yv+/cRb6qPbn42cFPcwlsJertVl9G6qkS4+3V4806WwSfUht4QVMWnvGfgDkJJqG0yUVKOHwA==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-codegen/plugin-helpers': 5.0.3(graphql@16.7.1) + '@graphql-codegen/visitor-plugin-common': 4.1.2(graphql@16.7.1) + '@graphql-tools/utils': 10.0.5(graphql@16.7.1) + auto-bind: 4.0.0 + graphql: 16.7.1 + tslib: 2.6.1 + transitivePeerDependencies: + - encoding + - supports-color dev: true /@graphql-codegen/plugin-helpers@5.0.1(graphql@16.7.1): @@ -1076,15 +1127,60 @@ packages: lodash: 4.17.21 tslib: 2.5.3 - /@graphql-codegen/schema-ast@4.0.0(graphql@16.7.1): - resolution: {integrity: sha512-WIzkJFa9Gz28FITAPILbt+7A8+yzOyd1NxgwFh7ie+EmO9a5zQK6UQ3U/BviirguXCYnn+AR4dXsoDrSrtRA1g==} + /@graphql-codegen/plugin-helpers@5.0.3(graphql@16.7.1): + resolution: {integrity: sha512-yZ1rpULIWKBZqCDlvGIJRSyj1B2utkEdGmXZTBT/GVayP4hyRYlkd36AJV/LfEsVD8dnsKL5rLz2VTYmRNlJ5Q==} peerDependencies: graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: - '@graphql-codegen/plugin-helpers': 5.0.1(graphql@16.7.1) '@graphql-tools/utils': 10.0.5(graphql@16.7.1) + change-case-all: 1.0.15 + common-tags: 1.8.2 graphql: 16.7.1 - tslib: 2.5.3 + import-from: 4.0.0 + lodash: 4.17.21 + tslib: 2.6.1 + + /@graphql-codegen/schema-ast@4.0.2(graphql@16.7.1): + resolution: {integrity: sha512-5mVAOQQK3Oz7EtMl/l3vOQdc2aYClUzVDHHkMvZlunc+KlGgl81j8TLa+X7ANIllqU4fUEsQU3lJmk4hXP6K7Q==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-codegen/plugin-helpers': 5.0.3(graphql@16.7.1) + '@graphql-tools/utils': 10.0.5(graphql@16.7.1) + graphql: 16.7.1 + tslib: 2.6.1 + + /@graphql-codegen/typed-document-node@5.0.4(graphql@16.7.1): + resolution: {integrity: sha512-t66Z6erQ4Dh1j6f9pRZmc8uYtHoUI3A49tLmJAlg9/3IV0kCmwrWKJut/G8SeOefDLG8cXBTVtI/YuZOe1Te+w==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-codegen/plugin-helpers': 5.0.3(graphql@16.7.1) + '@graphql-codegen/visitor-plugin-common': 4.1.2(graphql@16.7.1) + auto-bind: 4.0.0 + change-case-all: 1.0.15 + graphql: 16.7.1 + tslib: 2.6.1 + transitivePeerDependencies: + - encoding + - supports-color + dev: true + + /@graphql-codegen/typescript-operations@4.1.2(graphql@16.7.1): + resolution: {integrity: sha512-CtCWK+gW7hS+Ely3lohr8CL1HVLswQzMcaUk3k1sxdWCWKTNq7abMsWa31rTVwRCJ+WNEkM/7S8sIBTpEG683A==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-codegen/plugin-helpers': 5.0.3(graphql@16.7.1) + '@graphql-codegen/typescript': 4.0.4(graphql@16.7.1) + '@graphql-codegen/visitor-plugin-common': 4.1.2(graphql@16.7.1) + auto-bind: 4.0.0 + graphql: 16.7.1 + tslib: 2.6.1 + transitivePeerDependencies: + - encoding + - supports-color + dev: true /@graphql-codegen/typescript@4.0.1(graphql@16.7.1): resolution: {integrity: sha512-3YziQ21dCVdnHb+Us1uDb3pA6eG5Chjv0uTK+bt9dXeMlwYBU8MbtzvQTo4qvzWVC1AxSOKj0rgfNu1xCXqJyA==} @@ -1092,7 +1188,7 @@ packages: graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 dependencies: '@graphql-codegen/plugin-helpers': 5.0.1(graphql@16.7.1) - '@graphql-codegen/schema-ast': 4.0.0(graphql@16.7.1) + '@graphql-codegen/schema-ast': 4.0.2(graphql@16.7.1) '@graphql-codegen/visitor-plugin-common': 4.0.1(graphql@16.7.1) auto-bind: 4.0.0 graphql: 16.7.1 @@ -1102,6 +1198,22 @@ packages: - supports-color dev: true + /@graphql-codegen/typescript@4.0.4(graphql@16.7.1): + resolution: {integrity: sha512-x79CKLfP9UQCX+/I78qxQlMs2Mmq3pF1lKafZo7lAno0f/fvJ+qWUduzdgjRNz+YL+5blGeWcC0pWEDxniO7hw==} + peerDependencies: + graphql: ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-codegen/plugin-helpers': 5.0.3(graphql@16.7.1) + '@graphql-codegen/schema-ast': 4.0.2(graphql@16.7.1) + '@graphql-codegen/visitor-plugin-common': 4.1.2(graphql@16.7.1) + auto-bind: 4.0.0 + graphql: 16.7.1 + tslib: 2.6.1 + transitivePeerDependencies: + - encoding + - supports-color + dev: true + /@graphql-codegen/visitor-plugin-common@4.0.1(graphql@16.7.1): resolution: {integrity: sha512-Bi/1z0nHg4QMsAqAJhds+ForyLtk7A3HQOlkrZNm3xEkY7lcBzPtiOTLBtvziwopBsXUxqeSwVjOOFPLS5Yw1Q==} peerDependencies: @@ -1122,6 +1234,27 @@ packages: - encoding - supports-color + /@graphql-codegen/visitor-plugin-common@4.1.2(graphql@16.7.1): + resolution: {integrity: sha512-yk7iEAL1kYZ2Gi/pvVjdsZhul5WsYEM4Zcgh2Ev15VicMdJmPHsMhNUsZWyVJV0CaQCYpNOFlGD/11Ea3pn4GA==} + peerDependencies: + graphql: ^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 + dependencies: + '@graphql-codegen/plugin-helpers': 5.0.3(graphql@16.7.1) + '@graphql-tools/optimize': 2.0.0(graphql@16.7.1) + '@graphql-tools/relay-operation-optimizer': 7.0.0(graphql@16.7.1) + '@graphql-tools/utils': 10.0.5(graphql@16.7.1) + auto-bind: 4.0.0 + change-case-all: 1.0.15 + dependency-graph: 0.11.0 + graphql: 16.7.1 + graphql-tag: 2.12.6(graphql@16.7.1) + parse-filepath: 1.0.2 + tslib: 2.6.1 + transitivePeerDependencies: + - encoding + - supports-color + dev: true + /@graphql-tools/apollo-engine-loader@8.0.0(graphql@16.7.1): resolution: {integrity: sha512-axQTbN5+Yxs1rJ6cWQBOfw3AEeC+fvIuZSfJLPLLvFJLj4pUm9fhxey/g6oQZAAQJqKPfw+tLDUQvnfvRK8Kmg==} engines: {node: '>=16.0.0'} @@ -1183,6 +1316,17 @@ packages: value-or-promise: 1.0.12 dev: true + /@graphql-tools/documents@1.0.0(graphql@16.7.1): + resolution: {integrity: sha512-rHGjX1vg/nZ2DKqRGfDPNC55CWZBMldEVcH+91BThRa6JeT80NqXknffLLEZLRUxyikCfkwMsk6xR3UNMqG0Rg==} + engines: {node: '>=16.0.0'} + peerDependencies: + graphql: ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0 + dependencies: + graphql: 16.7.1 + lodash.sortby: 4.7.0 + tslib: 2.6.1 + dev: true + /@graphql-tools/executor-graphql-ws@1.0.0(graphql@16.7.1): resolution: {integrity: sha512-voczXmNcEzZKk6dS4pCwN0XCXvDiAVm9rj+54oz7X04IsHBJmTUul1YhCbJie1xUvN1jmgEJ14lfD92tMMMTmQ==} engines: {node: '>=16.0.0'} @@ -4753,6 +4897,10 @@ packages: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} dev: true + /lodash.sortby@4.7.0: + resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} + dev: true + /lodash@4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==}