Skip to content

Commit 76af3ec

Browse files
committed
fix: switch node-fetch back to v2 with cookie patch
1 parent 2059516 commit 76af3ec

File tree

2 files changed

+24
-38
lines changed

2 files changed

+24
-38
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@bigbite/wp-cypress",
3-
"version": "0.9.4",
3+
"version": "0.9.5",
44
"description": "WordPress end to end testing with Cypress.io",
55
"repository": "https://github.com/bigbite/wp-cypress",
66
"author": {
@@ -51,7 +51,7 @@
5151
"glob": "^7.1.6",
5252
"junk": "^3.1.0",
5353
"lodash": "^4.17.20",
54-
"node-fetch": "^3.1.1",
54+
"node-fetch": "^2.6.7",
5555
"ora": "^4.0.3",
5656
"pretty-error": "^4.0.0",
5757
"shelljs": "^0.8.5"

yarn.lock

+22-36
Original file line numberDiff line numberDiff line change
@@ -538,11 +538,6 @@ css-what@^5.1.0:
538538
resolved "https://registry.yarnpkg.com/css-what/-/css-what-5.1.0.tgz#3f7b707aadf633baf62c2ceb8579b545bb40f7fe"
539539
integrity sha512-arSMRWIIFY0hV8pIxZMEfmMI47Wj3R/aWpZDDxWYCPEiOMv6tfOrnpDtgxBYPEQD4V0Y/958+1TdC3iWTFcUPw==
540540

541-
data-uri-to-buffer@^4.0.0:
542-
version "4.0.0"
543-
resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-4.0.0.tgz#b5db46aea50f6176428ac05b73be39a57701a64b"
544-
integrity sha512-Vr3mLBA8qWmcuschSLAOogKgQ/Jwxulv3RNE4FXnYWRGujzrRWQI4m12fQqRkwX06C0KanhLr4hK+GydchZsaA==
545-
546541
debug@^2.6.9:
547542
version "2.6.9"
548543
resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
@@ -914,14 +909,6 @@ fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6:
914909
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
915910
integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=
916911

917-
fetch-blob@^3.1.2, fetch-blob@^3.1.3:
918-
version "3.1.4"
919-
resolved "https://registry.yarnpkg.com/fetch-blob/-/fetch-blob-3.1.4.tgz#e8c6567f80ad7fc22fd302e7dcb72bafde9c1717"
920-
integrity sha512-Eq5Xv5+VlSrYWEqKrusxY1C3Hm/hjeAsCGVG3ft7pZahlUAChpGZT/Ms1WmSLnEAisEXszjzu/s+ce6HZB2VHA==
921-
dependencies:
922-
node-domexception "^1.0.0"
923-
web-streams-polyfill "^3.0.3"
924-
925912
file-entry-cache@^6.0.1:
926913
version "6.0.1"
927914
resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027"
@@ -978,13 +965,6 @@ flatted@^3.1.0:
978965
resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.4.tgz#28d9969ea90661b5134259f312ab6aa7929ac5e2"
979966
integrity sha512-8/sOawo8tJ4QOBX8YlQBMxL8+RLZfxMQOif9o0KUKTNTjMYElWPE0r/m5VNFxTRd0NSw8qSy8dajrwX4RYI1Hw==
980967

981-
formdata-polyfill@^4.0.10:
982-
version "4.0.10"
983-
resolved "https://registry.yarnpkg.com/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz#24807c31c9d402e002ab3d8c720144ceb8848423"
984-
integrity sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==
985-
dependencies:
986-
fetch-blob "^3.1.2"
987-
988968
fs-extra@^9.0.1:
989969
version "9.1.0"
990970
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d"
@@ -1476,19 +1456,12 @@ natural-compare@^1.4.0:
14761456
resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
14771457
integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=
14781458

1479-
node-domexception@^1.0.0:
1480-
version "1.0.0"
1481-
resolved "https://registry.yarnpkg.com/node-domexception/-/node-domexception-1.0.0.tgz#6888db46a1f71c0b76b3f7555016b63fe64766e5"
1482-
integrity sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==
1483-
1484-
node-fetch@^3.1.1:
1485-
version "3.1.1"
1486-
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-3.1.1.tgz#d0d9607e455b3087e3092b821b5b1f1ebf4c2147"
1487-
integrity sha512-SMk+vKgU77PYotRdWzqZGTZeuFKlsJ0hu4KPviQKkfY+N3vn2MIzr0rvpnYpR8MtB3IEuhlEcuOLbGvLRlA+yg==
1459+
node-fetch@^2.6.7:
1460+
version "2.6.7"
1461+
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad"
1462+
integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==
14881463
dependencies:
1489-
data-uri-to-buffer "^4.0.0"
1490-
fetch-blob "^3.1.3"
1491-
formdata-polyfill "^4.0.10"
1464+
whatwg-url "^5.0.0"
14921465

14931466
node-releases@^2.0.1:
14941467
version "2.0.1"
@@ -1940,6 +1913,11 @@ to-regex-range@^5.0.1:
19401913
dependencies:
19411914
is-number "^7.0.0"
19421915

1916+
tr46@~0.0.3:
1917+
version "0.0.3"
1918+
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
1919+
integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=
1920+
19431921
tsconfig-paths@^3.11.0:
19441922
version "3.12.0"
19451923
resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.12.0.tgz#19769aca6ee8f6a1a341e38c8fa45dd9fb18899b"
@@ -2008,10 +1986,18 @@ wcwidth@^1.0.1:
20081986
dependencies:
20091987
defaults "^1.0.3"
20101988

2011-
web-streams-polyfill@^3.0.3:
2012-
version "3.2.0"
2013-
resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.2.0.tgz#a6b74026b38e4885869fb5c589e90b95ccfc7965"
2014-
integrity sha512-EqPmREeOzttaLRm5HS7io98goBgZ7IVz79aDvqjD0kYXLtFZTc0T/U6wHTPKyIjb+MdN7DFIIX6hgdBEpWmfPA==
1989+
webidl-conversions@^3.0.0:
1990+
version "3.0.1"
1991+
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"
1992+
integrity sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=
1993+
1994+
whatwg-url@^5.0.0:
1995+
version "5.0.0"
1996+
resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d"
1997+
integrity sha1-lmRU6HZUYuN2RNNib2dCzotwll0=
1998+
dependencies:
1999+
tr46 "~0.0.3"
2000+
webidl-conversions "^3.0.0"
20152001

20162002
which-boxed-primitive@^1.0.2:
20172003
version "1.0.2"

0 commit comments

Comments
 (0)