Skip to content

Commit

Permalink
improvement(build-cli): Remove node-fetch dependency (#22832)
Browse files Browse the repository at this point in the history
node-fetch is not actually used in build-cli because Node 18+ supports
fetch natively, and we weren't importing from node-fetch anyway.
  • Loading branch information
tylerbutler authored Oct 29, 2024
1 parent bea83a6 commit 34e16dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 15 deletions.
2 changes: 0 additions & 2 deletions build-tools/packages/build-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
"mdast-util-heading-range": "^4.0.0",
"mdast-util-to-string": "^4.0.0",
"minimatch": "^7.4.6",
"node-fetch": "^3.3.2",
"npm-check-updates": "^16.14.20",
"oclif": "^4.15.16",
"prettier": "~3.2.5",
Expand Down Expand Up @@ -156,7 +155,6 @@
"@types/mdast": "^4.0.4",
"@types/mocha": "^10.0.9",
"@types/node": "^18.19.59",
"@types/node-fetch": "^2.6.11",
"@types/prettier": "^2.7.3",
"@types/prompts": "^2.4.9",
"@types/semver": "^7.5.8",
Expand Down
19 changes: 6 additions & 13 deletions build-tools/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 34e16dd

Please sign in to comment.