dependency: use Node 12 type definitions

This has to correspond to the minimum supported Node version
(which is Node 12 at this moment) so TypeScript can spot
errors when incompatible new features are used.
This commit is contained in:
Jesse Chan
2020-10-06 19:55:22 +08:00
parent 8c69786c2e
commit 1dead48e60
2 changed files with 10 additions and 4 deletions
+9 -3
View File
@@ -1230,6 +1230,12 @@
"typescript": "^4.0"
},
"dependencies": {
"@types/node": {
"version": "14.11.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.5.tgz",
"integrity": "sha512-jVFzDV6NTbrLMxm4xDSIW/gKnk8rQLF9wAzLWIOg+5nU6ACrIMndeBdXci0FGtqJbP9tQvm6V39eshc96TO2wQ==",
"dev": true
},
"typescript": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.0.3.tgz",
@@ -1998,9 +2004,9 @@
}
},
"@types/node": {
"version": "14.11.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.11.2.tgz",
"integrity": "sha512-jiE3QIxJ8JLNcb1Ps6rDbysDhN4xa8DJJvuC9prr6w+1tIh+QAbYyNF3tyiZNLDBIuBCf4KEcV2UvQm/V60xfA==",
"version": "12.12.64",
"resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.64.tgz",
"integrity": "sha512-UV1/ZJMC+HcP902wWdpC43cAcGu0IQk/I5bXjP2aSuCjsk3cE74mDvFrLKga7oDC170ugOAYBwfT4DSQW3akDA==",
"dev": true
},
"@types/parse-json": {
+1 -1
View File
@@ -61,7 +61,7 @@
"@types/jsonwebtoken": "^8.5.0",
"@types/morgan": "^1.9.1",
"@types/nedb": "^1.8.11",
"@types/node": "^14.11.2",
"@types/node": "^12.12.64",
"@types/passport": "^1.0.4",
"@types/passport-jwt": "^3.0.3",
"@types/react": "^16.9.49",