Skip to content

Commit de705e1

Browse files
authored
Use native fetch instead of node-fetch (#2357)
1 parent 640610b commit de705e1

4 files changed

Lines changed: 0 additions & 28 deletions

File tree

bin/build-script

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
*
77
*/
88

9-
const fetch = require('node-fetch');
109
const fs = require('fs-extra');
1110
const isProduction = process.env.ELEVENTY_ENV;
1211

bin/build-styles

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env node
22

3-
const fetch = require('node-fetch');
43
const fs = require('fs-extra');
54
const util = require('util');
65
const sass = require('sass-embedded');

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
"jest-environment-jsdom": "30.4.1",
4242
"markdown-it": "14.2.0",
4343
"markdown-it-container": "4.0.0",
44-
"node-fetch": "2.6.7",
4544
"npm-run-all": "4.1.5",
4645
"postcss": "8.5.15",
4746
"postcss-scss": "4.0.9",

yarn.lock

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4241,13 +4241,6 @@ node-addon-api@^7.0.0:
42414241
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.1.1.tgz#1aba6693b0f255258a049d621329329322aad558"
42424242
integrity sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==
42434243

4244-
node-fetch@2.6.7:
4245-
version "2.6.7"
4246-
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad"
4247-
integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==
4248-
dependencies:
4249-
whatwg-url "^5.0.0"
4250-
42514244
node-int64@^0.4.0:
42524245
version "0.4.0"
42534246
resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b"
@@ -5764,11 +5757,6 @@ tr46@^5.1.0:
57645757
dependencies:
57655758
punycode "^2.3.1"
57665759

5767-
tr46@~0.0.3:
5768-
version "0.0.3"
5769-
resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
5770-
integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==
5771-
57725760
trim-newlines@^3.0.0:
57735761
version "3.0.1"
57745762
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144"
@@ -5949,11 +5937,6 @@ walker@^1.0.8:
59495937
dependencies:
59505938
makeerror "1.0.12"
59515939

5952-
webidl-conversions@^3.0.0:
5953-
version "3.0.1"
5954-
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"
5955-
integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==
5956-
59575940
webidl-conversions@^7.0.0:
59585941
version "7.0.0"
59595942
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-7.0.0.tgz#256b4e1882be7debbf01d05f0aa2039778ea080a"
@@ -5979,14 +5962,6 @@ whatwg-url@^14.0.0, whatwg-url@^14.1.1:
59795962
tr46 "^5.1.0"
59805963
webidl-conversions "^7.0.0"
59815964

5982-
whatwg-url@^5.0.0:
5983-
version "5.0.0"
5984-
resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d"
5985-
integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==
5986-
dependencies:
5987-
tr46 "~0.0.3"
5988-
webidl-conversions "^3.0.0"
5989-
59905965
which-boxed-primitive@^1.0.2:
59915966
version "1.0.2"
59925967
resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6"

0 commit comments

Comments
 (0)