summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorSheogorath2020-06-09 20:15:25 +0200
committerSheogorath2020-06-09 20:26:51 +0200
commitd6ce60c86e714b9835822e8539470b21b8fb823c (patch)
treed5ad3bbf0bf9bfeb4a4ba7c9aa34ab3cf4570f62 /package.json
parent2890022d4d2a8bd04cd6b8895e2e28233dcdd767 (diff)
Upgrade pg to fix node version 14 compatibility
As @davidmehren figured out, the problem that NodeJS version 14 gets stuck while CodiMD is starting, was due to the outdated postgres dependency. The old pg version doesn't work with node version 14 due to an undocumented API change in the `readyState` in the socket API. This patch updates the required dependency and this way resolves the issue. Reference: https://github.com/sequelize/sequelize/issues/12158 https://github.com/brianc/node-postgres/commit/149f48232445da0fb3022044e4f1c53509040ad3 Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to '')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index e38a4c72..da8348f0 100644
--- a/package.json
+++ b/package.json
@@ -103,7 +103,7 @@
"passport-twitter": "^1.0.4",
"passport.socketio": "^3.7.0",
"pdfobject": "^2.0.201604172",
- "pg": "^7.12.1",
+ "pg": "^8.2.1",
"pg-hstore": "^2.3.3",
"prismjs": "^1.6.0",
"randomcolor": "^0.5.3",