-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: change supertest to peer dependency, and relax version constraint
The `graphqlRequest` function should use NestJS' version of supertest from the importing project which means it's a peer dependency, not an independent dev dependency.
- Loading branch information
Jesse Hallett
committed
Dec 27, 2020
1 parent
18256f4
commit e49c1e0
Showing
2 changed files
with
7 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1693,7 +1693,7 @@ columnify@~1.5.4: | |
strip-ansi "^3.0.0" | ||
wcwidth "^1.0.0" | ||
|
||
combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: | ||
combined-stream@^1.0.6, combined-stream@~1.0.6: | ||
version "1.0.8" | ||
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" | ||
integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== | ||
|
@@ -1723,7 +1723,7 @@ compare-versions@^3.6.0: | |
resolved "https://registry.yarnpkg.com/compare-versions/-/compare-versions-3.6.0.tgz#1a5689913685e5a87637b8d3ffca75514ec41d62" | ||
integrity sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA== | ||
|
||
component-emitter@^1.2.1, component-emitter@^1.3.0: | ||
component-emitter@^1.2.1: | ||
version "1.3.0" | ||
resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" | ||
integrity sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg== | ||
|
@@ -1820,11 +1820,6 @@ convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: | |
dependencies: | ||
safe-buffer "~5.1.1" | ||
|
||
cookiejar@^2.1.2: | ||
version "2.1.2" | ||
resolved "https://registry.yarnpkg.com/cookiejar/-/cookiejar-2.1.2.tgz#dd8a235530752f988f9a0844f3fc589e3111125c" | ||
integrity sha512-Mw+adcfzPxcPeI+0WlvRrr/3lGVO0bD75SxX6811cxSh1Wbxx7xZBGK1eVtDf6si8rg2lhnUjsVLMFMfbRIuwA== | ||
|
||
copy-concurrently@^1.0.0: | ||
version "1.0.5" | ||
resolved "https://registry.yarnpkg.com/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0" | ||
|
@@ -1996,7 +1991,7 @@ debug@^3.1.0, debug@^3.2.6: | |
dependencies: | ||
ms "^2.1.1" | ||
|
||
debuglog@*, debuglog@^1.0.1: | ||
debuglog@^1.0.1: | ||
version "1.0.1" | ||
resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" | ||
integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI= | ||
|
@@ -2555,11 +2550,6 @@ fast-levenshtein@~2.0.6: | |
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" | ||
integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= | ||
|
||
fast-safe-stringify@^2.0.7: | ||
version "2.0.7" | ||
resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.0.7.tgz#124aa885899261f68aedb42a7c080de9da608743" | ||
integrity sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA== | ||
|
||
fastq@^1.6.0: | ||
version "1.10.0" | ||
resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.10.0.tgz#74dbefccade964932cdf500473ef302719c652bb" | ||
|
@@ -2662,15 +2652,6 @@ forever-agent@~0.6.1: | |
resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" | ||
integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE= | ||
|
||
form-data@^3.0.0: | ||
version "3.0.0" | ||
resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.0.tgz#31b7e39c85f1355b7139ee0c647cf0de7f83c682" | ||
integrity sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg== | ||
dependencies: | ||
asynckit "^0.4.0" | ||
combined-stream "^1.0.8" | ||
mime-types "^2.1.12" | ||
|
||
form-data@~2.3.2: | ||
version "2.3.3" | ||
resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" | ||
|
@@ -2680,11 +2661,6 @@ form-data@~2.3.2: | |
combined-stream "^1.0.6" | ||
mime-types "^2.1.12" | ||
|
||
formidable@^1.2.2: | ||
version "1.2.2" | ||
resolved "https://registry.yarnpkg.com/formidable/-/formidable-1.2.2.tgz#bf69aea2972982675f00865342b982986f6b8dd9" | ||
integrity sha512-V8gLm+41I/8kguQ4/o1D3RIHRmhYFG4pnNyonvua+40rqcEmT4+V71yaZ3B457xbbgCsCfjSPi65u/W6vK1U5Q== | ||
|
||
fragment-cache@^0.2.1: | ||
version "0.2.1" | ||
resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" | ||
|
@@ -3236,7 +3212,7 @@ import-local@^3.0.2: | |
pkg-dir "^4.2.0" | ||
resolve-cwd "^3.0.0" | ||
|
||
imurmurhash@*, imurmurhash@^0.1.4: | ||
imurmurhash@^0.1.4: | ||
version "0.1.4" | ||
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" | ||
integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= | ||
|
@@ -4428,11 +4404,6 @@ lockfile@^1.0.4: | |
dependencies: | ||
signal-exit "^3.0.2" | ||
|
||
lodash._baseindexof@*: | ||
version "3.1.0" | ||
resolved "https://registry.yarnpkg.com/lodash._baseindexof/-/lodash._baseindexof-3.1.0.tgz#fe52b53a1c6761e42618d654e4a25789ed61822c" | ||
integrity sha1-/lK1OhxnYeQmGNZU5KJXie1hgiw= | ||
|
||
lodash._baseuniq@~4.6.0: | ||
version "4.6.0" | ||
resolved "https://registry.yarnpkg.com/lodash._baseuniq/-/lodash._baseuniq-4.6.0.tgz#0ebb44e456814af7905c6212fa2c9b2d51b841e8" | ||
|
@@ -4441,33 +4412,11 @@ lodash._baseuniq@~4.6.0: | |
lodash._createset "~4.0.0" | ||
lodash._root "~3.0.0" | ||
|
||
lodash._bindcallback@*: | ||
version "3.0.1" | ||
resolved "https://registry.yarnpkg.com/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e" | ||
integrity sha1-5THCdkTPi1epnhftlbNcdIeJOS4= | ||
|
||
lodash._cacheindexof@*: | ||
version "3.0.2" | ||
resolved "https://registry.yarnpkg.com/lodash._cacheindexof/-/lodash._cacheindexof-3.0.2.tgz#3dc69ac82498d2ee5e3ce56091bafd2adc7bde92" | ||
integrity sha1-PcaayCSY0u5ePOVgkbr9Ktx73pI= | ||
|
||
lodash._createcache@*: | ||
version "3.1.2" | ||
resolved "https://registry.yarnpkg.com/lodash._createcache/-/lodash._createcache-3.1.2.tgz#56d6a064017625e79ebca6b8018e17440bdcf093" | ||
integrity sha1-VtagZAF2JeeevKa4AY4XRAvc8JM= | ||
dependencies: | ||
lodash._getnative "^3.0.0" | ||
|
||
lodash._createset@~4.0.0: | ||
version "4.0.3" | ||
resolved "https://registry.yarnpkg.com/lodash._createset/-/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26" | ||
integrity sha1-D0ZZ+7CddRlPqeK4imZE02PJ/iY= | ||
|
||
lodash._getnative@*, lodash._getnative@^3.0.0: | ||
version "3.9.1" | ||
resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" | ||
integrity sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U= | ||
|
||
lodash._root@~3.0.0: | ||
version "3.0.1" | ||
resolved "https://registry.yarnpkg.com/lodash._root/-/lodash._root-3.0.1.tgz#fba1c4524c19ee9a5f8136b4609f017cf4ded692" | ||
|
@@ -4508,11 +4457,6 @@ [email protected]: | |
resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" | ||
integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4= | ||
|
||
lodash.restparam@*: | ||
version "3.6.1" | ||
resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805" | ||
integrity sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU= | ||
|
||
lodash.sortby@^4.7.0: | ||
version "4.7.0" | ||
resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438" | ||
|
@@ -4696,11 +4640,6 @@ merge2@^1.3.0: | |
resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" | ||
integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== | ||
|
||
[email protected], methods@^1.1.2: | ||
version "1.1.2" | ||
resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" | ||
integrity sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4= | ||
|
||
micromatch@^3.1.4: | ||
version "3.1.10" | ||
resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" | ||
|
@@ -4740,7 +4679,7 @@ mime-types@^2.1.12, mime-types@~2.1.19: | |
dependencies: | ||
mime-db "1.44.0" | ||
|
||
mime@^2.4.3, mime@^2.4.6: | ||
mime@^2.4.3: | ||
version "2.4.7" | ||
resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.7.tgz#962aed9be0ed19c91fd7dc2ece5d7f4e89a90d74" | ||
integrity sha512-dhNd1uA2u397uQk3Nv5LM4lm93WYDUXFn3Fu291FJerns4jyTudqhIWe4W04YLy7Uk1tm1Ore04NpjRvQp/NPA== | ||
|
@@ -5917,11 +5856,6 @@ qrcode-terminal@^0.12.0: | |
resolved "https://registry.yarnpkg.com/qrcode-terminal/-/qrcode-terminal-0.12.0.tgz#bb5b699ef7f9f0505092a3748be4464fe71b5819" | ||
integrity sha512-EXtzRZmC+YGmGlDFbXKxQiMZNwCLEO6BANKXG4iCtSIM0yqc/pappSx3RIKr4r0uh5JsBckOXeKrB3Iz7mdQpQ== | ||
|
||
qs@^6.9.4: | ||
version "6.9.4" | ||
resolved "https://registry.yarnpkg.com/qs/-/qs-6.9.4.tgz#9090b290d1f91728d3c22e54843ca44aea5ab687" | ||
integrity sha512-A1kFqHekCTM7cz0udomYUoYNWjBebHm/5wzU/XqrBRBNWectVH0QIiN+NEcZ0Dte5hvzHwbr8+XQmguPhJ6WdQ== | ||
|
||
qs@~6.5.2: | ||
version "6.5.2" | ||
resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" | ||
|
@@ -6917,31 +6851,6 @@ strip-json-comments@~2.0.1: | |
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" | ||
integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= | ||
|
||
[email protected]: | ||
version "6.1.0" | ||
resolved "https://registry.yarnpkg.com/superagent/-/superagent-6.1.0.tgz#09f08807bc41108ef164cfb4be293cebd480f4a6" | ||
integrity sha512-OUDHEssirmplo3F+1HWKUrUjvnQuA+nZI6i/JJBdXb5eq9IyEQwPyPpqND+SSsxf6TygpBEkUjISVRN4/VOpeg== | ||
dependencies: | ||
component-emitter "^1.3.0" | ||
cookiejar "^2.1.2" | ||
debug "^4.1.1" | ||
fast-safe-stringify "^2.0.7" | ||
form-data "^3.0.0" | ||
formidable "^1.2.2" | ||
methods "^1.1.2" | ||
mime "^2.4.6" | ||
qs "^6.9.4" | ||
readable-stream "^3.6.0" | ||
semver "^7.3.2" | ||
|
||
supertest@>=6.0.0: | ||
version "6.0.1" | ||
resolved "https://registry.yarnpkg.com/supertest/-/supertest-6.0.1.tgz#f6b54370de85c45d6557192c8d7df604ca2c9e18" | ||
integrity sha512-8yDNdm+bbAN/jeDdXsRipbq9qMpVF7wRsbwLgsANHqdjPsCoecmlTuqEcLQMGpmojFBhxayZ0ckXmLXYq7e+0g== | ||
dependencies: | ||
methods "1.1.2" | ||
superagent "6.1.0" | ||
|
||
supports-color@^5.3.0: | ||
version "5.5.0" | ||
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" | ||
|