diff --git a/package.json b/package.json index 3d4864d..6712b2e 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "@types/graphql": "0.13.4", "ava": "0.25.0", "graphql": "0.13.2", - "graphql-middleware": "1.7.8", + "graphql-middleware": "6.1.20", "graphql-tools": "4.0.4", "prettier": "1.14.3", "prettier-check": "2.0.0", @@ -40,7 +40,7 @@ }, "peerDependencies": { "graphql": "^0.13.2", - "graphql-middleware": "^1.4.2" + "graphql-middleware": "^1.4.2 || ^6.0.0" }, "release": { "branch": "master" diff --git a/yarn.lock b/yarn.lock index ae42ea7..ce89168 100644 --- a/yarn.lock +++ b/yarn.lock @@ -51,6 +51,54 @@ dependencies: arrify "^1.0.1" +"@graphql-tools/batch-execute@8.4.1": + version "8.4.1" + resolved "https://registry.yarnpkg.com/@graphql-tools/batch-execute/-/batch-execute-8.4.1.tgz#bc5e96ad22c545676da523bae3c3dc94e57bdf3e" + integrity sha512-63+lNWrwXmofjZVa7ML+n9CBviClF3K+RP3Xx3hxGQ8BrhvB1pWS1yzaUZqrkiiKdTu1v3mJGVfmooHwzlyPwQ== + dependencies: + "@graphql-tools/utils" "8.6.5" + dataloader "2.0.0" + tslib "~2.3.0" + value-or-promise "1.0.11" + +"@graphql-tools/delegate@^8.7.0": + version "8.7.0" + resolved "https://registry.yarnpkg.com/@graphql-tools/delegate/-/delegate-8.7.0.tgz#14148e10405d5f0b3b0a5d76cce248f9c3def863" + integrity sha512-tsmNFV8nVvPY2nApCj69ck32/Jdj44rYbUZx+cpyUWOzfbUT1iu0d1mUwn5UeHuGnB+Bzgn3fuTypg97mDEyEw== + dependencies: + "@graphql-tools/batch-execute" "8.4.1" + "@graphql-tools/schema" "8.3.5" + "@graphql-tools/utils" "8.6.5" + dataloader "2.0.0" + graphql-executor "0.0.22" + tslib "~2.3.0" + value-or-promise "1.0.11" + +"@graphql-tools/merge@8.2.6": + version "8.2.6" + resolved "https://registry.yarnpkg.com/@graphql-tools/merge/-/merge-8.2.6.tgz#7fb615fa9c143c3151ff025e501d52bd48186d19" + integrity sha512-dkwTm4czMISi/Io47IVvq2Fl9q4TIGKpJ0VZjuXYdEFkECyH6A5uwxZfPVandZG+gQs8ocFFoa6RisiUJLZrJw== + dependencies: + "@graphql-tools/utils" "8.6.5" + tslib "~2.3.0" + +"@graphql-tools/schema@8.3.5", "@graphql-tools/schema@^8.3.5": + version "8.3.5" + resolved "https://registry.yarnpkg.com/@graphql-tools/schema/-/schema-8.3.5.tgz#ebec0c0c7f53e591d34375d6f81d0660852fcaca" + integrity sha512-3mJ/K7TdL+fnEUtCUqF4qkh1fcNMzaxgwKgO9fSYSTS7zyT16hbi5XSulSTshygHgaD2u+MO588iR4ZJcbZcIg== + dependencies: + "@graphql-tools/merge" "8.2.6" + "@graphql-tools/utils" "8.6.5" + tslib "~2.3.0" + value-or-promise "1.0.11" + +"@graphql-tools/utils@8.6.5": + version "8.6.5" + resolved "https://registry.yarnpkg.com/@graphql-tools/utils/-/utils-8.6.5.tgz#ac04571b03f854c7a938b2ab700516a6c6d32335" + integrity sha512-mjOtaWiS2WIqRz/cq5gaeM3sVrllcu2xbtHROw1su1v3xWa3D3dKgn8Lrl7+tvWs5WUVySsBss/VZ3WdoPkCrA== + dependencies: + tslib "~2.3.0" + "@ladjs/time-require@^0.1.4": version "0.1.4" resolved "https://registry.yarnpkg.com/@ladjs/time-require/-/time-require-0.1.4.tgz#5c615d75fd647ddd5de9cf6922649558856b21a1" @@ -1242,6 +1290,11 @@ currently-unhandled@^0.4.1: dependencies: array-find-index "^1.0.1" +dataloader@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/dataloader/-/dataloader-2.0.0.tgz#41eaf123db115987e21ca93c005cd7753c55fe6f" + integrity sha512-YzhyDAwA4TaQIhM5go+vCLmU0UikghC/t9DTQYZR2M/UvZ1MdOhPezSDZcjj9uqQJOMqjLcpWtyW2iNINdlatQ== + date-time@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/date-time/-/date-time-0.1.1.tgz#ed2f6d93d9790ce2fd66d5b5ff3edd5bbcbf3b07" @@ -1840,11 +1893,18 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6: version "4.1.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" -graphql-middleware@1.7.8: - version "1.7.8" - resolved "https://registry.yarnpkg.com/graphql-middleware/-/graphql-middleware-1.7.8.tgz#617940d3cd462e9553e582d2b6ce86cb0e95a3dd" +graphql-executor@0.0.22: + version "0.0.22" + resolved "https://registry.yarnpkg.com/graphql-executor/-/graphql-executor-0.0.22.tgz#14bc466bb27ab38346998e0b375cba55685eed94" + integrity sha512-WbKSnSHFn6REKKH4T6UAwDM3mLUnYMQlQLNG0Fw+Lkb3ilCnL3m5lkJ7411LAI9sF7BvPbthovVZhsEUh9Xfag== + +graphql-middleware@6.1.20: + version "6.1.20" + resolved "https://registry.yarnpkg.com/graphql-middleware/-/graphql-middleware-6.1.20.tgz#41c97e16cc53ca6f411e8333b96c89cb189edae6" + integrity sha512-rkGLlzvvEEB/o6n1JgH0EGfBdVdHL1u2+XWsnvOXpP7goR2qbKaeDaeKFBm/Kqcxg/Xq9Kk52VrPr2Jwl2NePw== dependencies: - graphql-tools "^4.0.2" + "@graphql-tools/delegate" "^8.7.0" + "@graphql-tools/schema" "^8.3.5" graphql-tools@4.0.4: version "4.0.4" @@ -1856,16 +1916,6 @@ graphql-tools@4.0.4: iterall "^1.1.3" uuid "^3.1.0" -graphql-tools@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/graphql-tools/-/graphql-tools-4.0.2.tgz#9da22974cc6bf6524ed4f4af35556fd15aa6516d" - dependencies: - apollo-link "^1.2.3" - apollo-utilities "^1.0.1" - deprecated-decorator "^0.1.6" - iterall "^1.1.3" - uuid "^3.1.0" - graphql@0.13.2: version "0.13.2" resolved "https://registry.yarnpkg.com/graphql/-/graphql-0.13.2.tgz#4c740ae3c222823e7004096f832e7b93b2108270" @@ -4056,6 +4106,11 @@ tslib@^1.8.0, tslib@^1.8.1: version "1.9.2" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.2.tgz#8be0cc9a1f6dc7727c38deb16c2ebd1a2892988e" +tslib@~2.3.0: + version "2.3.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01" + integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw== + tslint-config-prettier@1.15.0: version "1.15.0" resolved "https://registry.yarnpkg.com/tslint-config-prettier/-/tslint-config-prettier-1.15.0.tgz#76b9714399004ab6831fdcf76d89b73691c812cf" @@ -4216,6 +4271,11 @@ validate-npm-package-license@^3.0.1: spdx-correct "^3.0.0" spdx-expression-parse "^3.0.0" +value-or-promise@1.0.11: + version "1.0.11" + resolved "https://registry.yarnpkg.com/value-or-promise/-/value-or-promise-1.0.11.tgz#3e90299af31dd014fe843fe309cefa7c1d94b140" + integrity sha512-41BrgH+dIbCFXClcSapVs5M6GkENd3gQOJpEfPDNa71LsUGMXDL0jMWpI/Rh7WhX+Aalfz2TTS3Zt5pUsbnhLg== + well-known-symbols@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/well-known-symbols/-/well-known-symbols-1.0.0.tgz#73c78ae81a7726a8fa598e2880801c8b16225518"