summary refs log tree commit diff
path: root/api/package.json
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-03-06 18:47:08 +1100
committerErkin Alp Güney <erkinalp9035@gmail.com>2022-03-06 10:52:19 +0300
commit4b1f30ba43d0a358273c33de35e44c08356df74b (patch)
tree8eaa9aae2ea14fc998997083ab8cf7f949942ef9 /api/package.json
parentTsnode support (#580) (diff)
downloadserver-4b1f30ba43d0a358273c33de35e44c08356df74b.tar.xz
Fixed npm run tsnode throwing error about ES modules for node-fetch. Probably was api package.json still included node-fetch 3, but bundle still had v2
Diffstat (limited to 'api/package.json')
-rw-r--r--api/package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/api/package.json b/api/package.json

index f4614c90..c586c9fe 100644 --- a/api/package.json +++ b/api/package.json
@@ -49,7 +49,7 @@ "@types/morgan": "^1.9.3", "@types/multer": "^1.4.5", "@types/node": "^14.17.9", - "@types/node-fetch": "^2.5.7", + "@types/node-fetch": "^2.5.5", "@types/supertest": "^2.0.11", "@zerollup/ts-transform-paths": "^1.7.18", "jest": "^27.2.5", @@ -86,7 +86,7 @@ "missing-native-js-functions": "^1.2.18", "morgan": "^1.10.0", "multer": "^1.4.2", - "node-fetch": "^3.1.1", + "node-fetch": "^2.6.2", "patch-package": "^6.4.7", "picocolors": "^1.0.0", "proxy-agent": "^5.0.0",