Skip to content

Commit c9f610f

Browse files
committed
Lock node-fetch to v2 for commonJS
1 parent f6b3347 commit c9f610f

File tree

2 files changed

+23
-42
lines changed

2 files changed

+23
-42
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
"html-to-text": "^8.2.0",
115115
"md5": "^2.3.0",
116116
"mpris-service": "^2.1.2",
117-
"node-fetch": "^3.2.10",
117+
"node-fetch": "^2.6.7",
118118
"node-notifier": "^10.0.1",
119119
"ytdl-core": "^4.11.0",
120120
"ytpl": "^2.3.0"

yarn.lock

Lines changed: 22 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -2786,11 +2786,6 @@ dashdash@^1.12.0:
27862786
dependencies:
27872787
assert-plus "^1.0.0"
27882788

2789-
data-uri-to-buffer@^4.0.0:
2790-
version "4.0.0"
2791-
resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-4.0.0.tgz#b5db46aea50f6176428ac05b73be39a57701a64b"
2792-
integrity sha512-Vr3mLBA8qWmcuschSLAOogKgQ/Jwxulv3RNE4FXnYWRGujzrRWQI4m12fQqRkwX06C0KanhLr4hK+GydchZsaA==
2793-
27942789
data-urls@^2.0.0:
27952790
version "2.0.0"
27962791
resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-2.0.0.tgz#156485a72963a970f5d5821aaf642bef2bf2db9b"
@@ -3932,14 +3927,6 @@ fd-slicer@~1.1.0:
39323927
dependencies:
39333928
pend "~1.2.0"
39343929

3935-
fetch-blob@^3.1.2, fetch-blob@^3.1.4:
3936-
version "3.2.0"
3937-
resolved "https://registry.yarnpkg.com/fetch-blob/-/fetch-blob-3.2.0.tgz#f09b8d4bbd45adc6f0c20b7e787e793e309dcce9"
3938-
integrity sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==
3939-
dependencies:
3940-
node-domexception "^1.0.0"
3941-
web-streams-polyfill "^3.0.3"
3942-
39433930
file-entry-cache@^6.0.1:
39443931
version "6.0.1"
39453932
resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027"
@@ -4095,13 +4082,6 @@ form-data@~2.3.2:
40954082
combined-stream "^1.0.6"
40964083
mime-types "^2.1.12"
40974084

4098-
formdata-polyfill@^4.0.10:
4099-
version "4.0.10"
4100-
resolved "https://registry.yarnpkg.com/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz#24807c31c9d402e002ab3d8c720144ceb8848423"
4101-
integrity sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==
4102-
dependencies:
4103-
fetch-blob "^3.1.2"
4104-
41054085
from@~0:
41064086
version "0.1.7"
41074087
resolved "https://registry.yarnpkg.com/from/-/from-0.1.7.tgz#83c60afc58b9c56997007ed1a768b3ab303a44fe"
@@ -6283,24 +6263,12 @@ node-addon-api@^1.3.0, node-addon-api@^1.6.3:
62836263
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-1.7.2.tgz#3df30b95720b53c24e59948b49532b662444f54d"
62846264
integrity sha512-ibPK3iA+vaY1eEjESkQkM0BbCqFOaZMiXRTtdB0u7b4djtY6JnsjvPdUHVMg6xQt3B8fpTTWHI9A+ADjM9frzg==
62856265

6286-
node-domexception@^1.0.0:
6287-
version "1.0.0"
6288-
resolved "https://registry.yarnpkg.com/node-domexception/-/node-domexception-1.0.0.tgz#6888db46a1f71c0b76b3f7555016b63fe64766e5"
6289-
integrity sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==
6290-
6291-
node-fetch@^2.6.1:
6292-
version "2.6.1"
6293-
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052"
6294-
integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==
6295-
6296-
node-fetch@^3.2.10:
6297-
version "3.2.10"
6298-
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-3.2.10.tgz#e8347f94b54ae18b57c9c049ef641cef398a85c8"
6299-
integrity sha512-MhuzNwdURnZ1Cp4XTazr69K0BTizsBroX7Zx3UgDSVcZYKF/6p0CBe4EUb/hLqmzVhl0UpYfgRljQ4yxE+iCxA==
6266+
node-fetch@^2.6.1, node-fetch@^2.6.7:
6267+
version "2.6.7"
6268+
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad"
6269+
integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==
63006270
dependencies:
6301-
data-uri-to-buffer "^4.0.0"
6302-
fetch-blob "^3.1.4"
6303-
formdata-polyfill "^4.0.10"
6271+
whatwg-url "^5.0.0"
63046272

63056273
node-int64@^0.4.0:
63066274
version "0.4.0"
@@ -8016,6 +7984,11 @@ tr46@^2.1.0:
80167984
dependencies:
80177985
punycode "^2.1.1"
80187986

7987+
tr46@~0.0.3:
7988+
version "0.0.3"
7989+
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
7990+
integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==
7991+
80197992
trim-newlines@^4.0.2:
80207993
version "4.0.2"
80217994
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-4.0.2.tgz#d6aaaf6a0df1b4b536d183879a6b939489808c7c"
@@ -8316,10 +8289,10 @@ walker@^1.0.7:
83168289
dependencies:
83178290
makeerror "1.0.x"
83188291

8319-
web-streams-polyfill@^3.0.3:
8320-
version "3.2.1"
8321-
resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz#71c2718c52b45fd49dbeee88634b3a60ceab42a6"
8322-
integrity sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==
8292+
webidl-conversions@^3.0.0:
8293+
version "3.0.1"
8294+
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"
8295+
integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==
83238296

83248297
webidl-conversions@^5.0.0:
83258298
version "5.0.0"
@@ -8343,6 +8316,14 @@ whatwg-mimetype@^2.3.0:
83438316
resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf"
83448317
integrity sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==
83458318

8319+
whatwg-url@^5.0.0:
8320+
version "5.0.0"
8321+
resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d"
8322+
integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==
8323+
dependencies:
8324+
tr46 "~0.0.3"
8325+
webidl-conversions "^3.0.0"
8326+
83468327
whatwg-url@^8.0.0:
83478328
version "8.4.0"
83488329
resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.4.0.tgz#50fb9615b05469591d2b2bd6dfaed2942ed72837"

0 commit comments

Comments
 (0)