Skip to content

Commit

Permalink
deps: downgrade node-fetch
Browse files Browse the repository at this point in the history
Seems like node-fetch@3 requires esm.

https://stackoverflow.com/questions/69087292/requirenode-fetch-gives-err-require-esm

The solution is to use @2.
  • Loading branch information
ComradeVanti committed Jul 9, 2024
1 parent f0150d5 commit 68eab62
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 158 deletions.
178 changes: 21 additions & 157 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"is-wsl": "^2.2.0",
"libnpmsearch": "^5.0.3",
"mkdirp": "^3.0.1",
"node-fetch": "^3.3.2",
"node-fetch": "^2.7.0",
"npm-registry-fetch": "^13.1.1",
"npmlog": "^6.0.2",
"pkginfo": "^0.4.1",
Expand Down

0 comments on commit 68eab62

Please sign in to comment.