mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-14 20:35:17 +00:00
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
This commit is contained in:
committed by
Erkin Alp Güney
parent
68f6fe58d5
commit
4ede702657
Generated
BIN
Binary file not shown.
+2
-2
@@ -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",
|
||||
|
||||
Generated
BIN
Binary file not shown.
+2
-2
@@ -93,6 +93,7 @@
|
||||
"missing-native-js-functions": "^1.2.18",
|
||||
"morgan": "^1.10.0",
|
||||
"multer": "^1.4.2",
|
||||
"nan": "^2.15.0",
|
||||
"nanocolors": "^0.2.12",
|
||||
"node-fetch": "^2.6.2",
|
||||
"node-os-utils": "^1.3.5",
|
||||
@@ -108,7 +109,6 @@
|
||||
"typescript": "^4.1.2",
|
||||
"typescript-cached-transpile": "^0.0.6",
|
||||
"typescript-json-schema": "^0.50.1",
|
||||
"ws": "^7.4.2",
|
||||
"nan": "^2.15.0"
|
||||
"ws": "^7.4.2"
|
||||
}
|
||||
}
|
||||
|
||||
Generated
BIN
Binary file not shown.
+1
-1
@@ -54,7 +54,7 @@
|
||||
"missing-native-js-functions": "^1.2.17",
|
||||
"multer": "^1.4.2",
|
||||
"nanocolors": "^0.2.12",
|
||||
"node-fetch": "^2.6.7",
|
||||
"node-fetch": "^2.6.2",
|
||||
"supertest": "^6.1.6",
|
||||
"typescript": "^4.1.2"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user