diff --git a/package.json b/package.json index 0354e306..e29f87eb 100644 --- a/package.json +++ b/package.json @@ -43,11 +43,11 @@ }, "devDependencies": { "@graphql-codegen/cli": "1.19.0", - "@graphql-codegen/fragment-matcher": "1.17.8", + "@graphql-codegen/fragment-matcher": "2.0.0", "@graphql-codegen/introspection": "1.18.0", "@graphql-codegen/typescript": "1.17.11", "@graphql-codegen/typescript-operations": "1.17.8", - "@graphql-codegen/typescript-react-apollo": "1.17.7", + "@graphql-codegen/typescript-react-apollo": "2.0.7", "@types/body-scroll-lock": "2.6.1", "@types/styled-components": "5.1.4", "apollo": "2.31.0" diff --git a/yarn.lock b/yarn.lock index b9fd4e2a..bfc8e9f9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1562,13 +1562,13 @@ "@graphql-tools/utils" "^6.0.18" tslib "~2.0.0" -"@graphql-codegen/fragment-matcher@1.17.8": - version "1.17.8" - resolved "https://registry.yarnpkg.com/@graphql-codegen/fragment-matcher/-/fragment-matcher-1.17.8.tgz#807247be0bf04b9fc06d5124a0d1e8bf65676fa2" - integrity sha512-EJRneU6P8dV0yzy9yBce6BTB6DlDEemTXD2wdeK5mGZqwZOfCWSExj0t6DLDSI7z90F/yhzkph72p90BbbsU7A== +"@graphql-codegen/fragment-matcher@2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@graphql-codegen/fragment-matcher/-/fragment-matcher-2.0.0.tgz#53a8ea6594df59ed00ed9dd0c1960eb729d46f3b" + integrity sha512-4MGff6hr7n5ozshaIHNnkgqU75FxYf/WpAqKpuzFI4vQT4+AmAVTTfTovzOm4xru35dBOY+229LzhUf/hYfTyg== dependencies: "@graphql-codegen/plugin-helpers" "^1.17.8" - tslib "~2.0.0" + tslib "~2.0.1" "@graphql-codegen/introspection@1.18.0": version "1.18.0" @@ -1578,23 +1578,6 @@ "@graphql-codegen/plugin-helpers" "^1.17.9" tslib "~2.0.1" -"@graphql-codegen/plugin-helpers@1.17.7": - version "1.17.7" - resolved "https://registry.yarnpkg.com/@graphql-codegen/plugin-helpers/-/plugin-helpers-1.17.7.tgz#5903105fda9470aafefe9da29e3a6fb3a52b8376" - integrity sha512-LsXS0s/ZOACZXa3W29ekcaQLzP8TsYzow6nIjW6rtkWX5T0EDooBQbDn1cdLdlpenqbUU+vtONwR6Qqc6hrq2Q== - dependencies: - "@graphql-tools/utils" "^6.0.0" - camel-case "4.1.1" - common-tags "1.8.0" - constant-case "3.0.3" - import-from "3.0.0" - lodash "~4.17.15" - lower-case "2.0.1" - param-case "3.0.3" - pascal-case "3.1.1" - tslib "~2.0.0" - upper-case "2.0.1" - "@graphql-codegen/plugin-helpers@^1.17.8": version "1.17.8" resolved "https://registry.yarnpkg.com/@graphql-codegen/plugin-helpers/-/plugin-helpers-1.17.8.tgz#d47e8bd6b425b38cfc4e2d670b31183b8e9a91e8" @@ -1657,17 +1640,17 @@ auto-bind "~4.0.0" tslib "~2.0.0" -"@graphql-codegen/typescript-react-apollo@1.17.7": - version "1.17.7" - resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript-react-apollo/-/typescript-react-apollo-1.17.7.tgz#b1d1ad1150c07097566f46c208ca54d42a8ad4f5" - integrity sha512-Yoc7XwruETJ1Aoi5UBLF+AVsyReGPxI9jEpsNWv/Xm5zzGGk8iVwKIwos9hBjzkDO0sQooZZa0UXBKXNQa7j0w== +"@graphql-codegen/typescript-react-apollo@2.0.7": + version "2.0.7" + resolved "https://registry.yarnpkg.com/@graphql-codegen/typescript-react-apollo/-/typescript-react-apollo-2.0.7.tgz#836642429259b73e7da40aa5d74c14fdf91337d6" + integrity sha512-vJunXm8sDXBeTPK5ULCpu9jMEJEnbI3kk7xXW1aNeoP+O56J2cJVj2vcy/1UwPQqhDPVoEvQv7sszm0bUE/Ljw== dependencies: - "@graphql-codegen/plugin-helpers" "1.17.7" - "@graphql-codegen/visitor-plugin-common" "1.17.7" + "@graphql-codegen/plugin-helpers" "^1.17.9" + "@graphql-codegen/visitor-plugin-common" "^1.17.15" auto-bind "~4.0.0" - camel-case "4.1.1" - pascal-case "3.1.1" - tslib "~2.0.0" + camel-case "^4.1.1" + pascal-case "^3.1.1" + tslib "~2.0.1" "@graphql-codegen/typescript@1.17.11": version "1.17.11" @@ -1689,21 +1672,6 @@ auto-bind "~4.0.0" tslib "~2.0.0" -"@graphql-codegen/visitor-plugin-common@1.17.7": - version "1.17.7" - resolved "https://registry.yarnpkg.com/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-1.17.7.tgz#3158ca4fc7d45a0f5a6ad0706061015eae481d9e" - integrity sha512-z5WvYqgCgPAAuMJMOE0e0nEicdaQRm59/vP+yYihKQmwrASzPlqa1BUiGDnfrPcCooB9fEUHB+cQb3gt9GRfEg== - dependencies: - "@graphql-codegen/plugin-helpers" "1.17.7" - "@graphql-tools/relay-operation-optimizer" "6.0.15" - array.prototype.flatmap "1.2.3" - auto-bind "~4.0.0" - dependency-graph "0.9.0" - graphql-tag "2.11.0" - parse-filepath "1.0.2" - pascal-case "3.1.1" - tslib "~2.0.0" - "@graphql-codegen/visitor-plugin-common@^1.17.13": version "1.17.13" resolved "https://registry.yarnpkg.com/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-1.17.13.tgz#88dfd8b266aab140a36018807449a1162612e393" @@ -1719,7 +1687,7 @@ pascal-case "^3.1.1" tslib "~2.0.0" -"@graphql-codegen/visitor-plugin-common@^1.17.16": +"@graphql-codegen/visitor-plugin-common@^1.17.15", "@graphql-codegen/visitor-plugin-common@^1.17.16": version "1.17.16" resolved "https://registry.yarnpkg.com/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-1.17.16.tgz#37316cbe2bb9ec4ff65d1f3287c72641d4b3fe6c" integrity sha512-q/v13WA4gqD79VR+rrUPrTdLn43qaEuSfij9k52ti4GNKnXglGHP8ljXTrHKN6MypUxOJ2u7tcFRgriH1nxy6w== @@ -1953,14 +1921,6 @@ tslib "~2.0.1" yaml-ast-parser "^0.0.43" -"@graphql-tools/relay-operation-optimizer@6.0.15": - version "6.0.15" - resolved "https://registry.yarnpkg.com/@graphql-tools/relay-operation-optimizer/-/relay-operation-optimizer-6.0.15.tgz#f991499c54945cb8fa2396bb5292252fbda0a773" - integrity sha512-Y4h2kclKh5HvyvmoxeZiDhqdhMKfLKamOYx6UVpFsbeKb6Tt9RCNPVhpa+YToXxUXl0PvjhxZWeQ4lZY0GE0ug== - dependencies: - "@graphql-tools/utils" "6.0.15" - relay-compiler "10.0.0" - "@graphql-tools/relay-operation-optimizer@^6": version "6.2.3" resolved "https://registry.yarnpkg.com/@graphql-tools/relay-operation-optimizer/-/relay-operation-optimizer-6.2.3.tgz#8f2bda200ae1eab53991f952f1e900c2bcc9b610" @@ -2009,14 +1969,6 @@ valid-url "1.0.9" websocket "1.0.32" -"@graphql-tools/utils@6.0.15": - version "6.0.15" - resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-6.0.15.tgz#6d54d383285bea3c22797531933b62a408e78e49" - integrity sha512-VG5cMLPgh9RDLGHamGpXVnBrNw7bZGT46LrxK7IIqDZI9H0GPsRCo8+p+CfDkw0IlDiEECb624WVCpm9IYNecA== - dependencies: - "@ardatan/aggregate-error" "0.0.1" - camel-case "4.1.1" - "@graphql-tools/utils@6.0.18", "@graphql-tools/utils@^6.0.18": version "6.0.18" resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-6.0.18.tgz#bba960f0ab327c8304089d41da0b7a3e00fe430f" @@ -2034,13 +1986,6 @@ camel-case "4.1.1" tslib "~2.0.1" -"@graphql-tools/utils@^6.0.0": - version "6.0.6" - resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-6.0.6.tgz#49ef23dc96ee92771115c5b35eebaea0b0e3b71a" - integrity sha512-GHRnK7uSBERIoDd4D+RRQucF2eHESDpX4gcPvRuFiJblL+tEsno+I91FzyiTix3vFxnz3bAzWt7p+EN25PE4Xw== - dependencies: - camel-case "4.1.1" - "@graphql-tools/wrap@6.2.3": version "6.2.3" resolved "https://registry.yarnpkg.com/@graphql-tools/wrap/-/wrap-6.2.3.tgz#7e27ce75fefe4da4601e2ff4ba22ccf13a130e32" @@ -3702,7 +3647,7 @@ array.prototype.flat@^1.2.1: define-properties "^1.1.3" es-abstract "^1.17.0-next.1" -array.prototype.flatmap@1.2.3, array.prototype.flatmap@^1.2.3: +array.prototype.flatmap@^1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.2.3.tgz#1c13f84a178566042dd63de4414440db9222e443" integrity sha512-OOEk+lkePcg+ODXIpvuU9PAryCikCJyo7GlDG1upleEpQRx6mzL9puEBkozQ5iAx20KV0l3DbyQwqciJtqe5Pg== @@ -5663,7 +5608,7 @@ depd@~1.1.2: resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak= -dependency-graph@0.9.0, dependency-graph@^0.9.0: +dependency-graph@^0.9.0: version "0.9.0" resolved "https://registry.yarnpkg.com/dependency-graph/-/dependency-graph-0.9.0.tgz#11aed7e203bc8b00f48356d92db27b265c445318" integrity sha512-9YLIBURXj4DJMFALxXw9K3Y3rwb5Fk0X5/8ipCzaN84+gKxoHK43tVKRNakCQbiEx07E8Uwhuq21BpUagFhZ8w== @@ -10311,7 +10256,7 @@ parse-asn1@^5.0.0: pbkdf2 "^3.0.3" safe-buffer "^5.1.1" -parse-filepath@1.0.2, parse-filepath@^1.0.2: +parse-filepath@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/parse-filepath/-/parse-filepath-1.0.2.tgz#a632127f53aaf3d15876f5872f3ffac763d6c891" integrity sha1-pjISf1Oq89FYdvWHLz/6x2PWyJE= @@ -11904,28 +11849,6 @@ relateurl@^0.2.7: resolved "https://registry.yarnpkg.com/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9" integrity sha1-VNvzd+UUQKypCkzSdGANP/LYiKk= -relay-compiler@10.0.0: - version "10.0.0" - resolved "https://registry.yarnpkg.com/relay-compiler/-/relay-compiler-10.0.0.tgz#04d50d8ec53e3f683bc379b756cf0542a76105af" - integrity sha512-EVBMcMCiP+waOPR2930cNCCsac1sNhfQayzS+bOEMz2Lls5Bx7grhaadkBZLTEdCHQ1kf7lrsmcMDqj9mxABFw== - dependencies: - "@babel/core" "^7.0.0" - "@babel/generator" "^7.5.0" - "@babel/parser" "^7.0.0" - "@babel/runtime" "^7.0.0" - "@babel/traverse" "^7.0.0" - "@babel/types" "^7.0.0" - babel-preset-fbjs "^3.3.0" - chalk "^4.0.0" - fb-watchman "^2.0.0" - fbjs "^1.0.0" - glob "^7.1.1" - immutable "~3.7.6" - nullthrows "^1.1.1" - relay-runtime "10.0.0" - signedsource "^1.0.0" - yargs "^15.3.1" - relay-compiler@10.0.1: version "10.0.1" resolved "https://registry.yarnpkg.com/relay-compiler/-/relay-compiler-10.0.1.tgz#d3029a5121cad52e1e55073210365b827cee5f3b" @@ -11948,14 +11871,6 @@ relay-compiler@10.0.1: signedsource "^1.0.0" yargs "^15.3.1" -relay-runtime@10.0.0: - version "10.0.0" - resolved "https://registry.yarnpkg.com/relay-runtime/-/relay-runtime-10.0.0.tgz#cfceb0f8453b39a385d63093f2dbf1702ddc02b3" - integrity sha512-QEpFwEjvGgWgQ0MPJyrZKggaCoGMKwxPQx7NwYl4FcMmxZcicc8wk6vI1iTxl0tsPKgW/YG8FgueQR+X7ZtZqw== - dependencies: - "@babel/runtime" "^7.0.0" - fbjs "^1.0.0" - relay-runtime@10.0.1: version "10.0.1" resolved "https://registry.yarnpkg.com/relay-runtime/-/relay-runtime-10.0.1.tgz#c83bd7e6e37234ece2a62a254e37dd199a4f74f9"