pg
8.23.1 · 30 Sep 2026MIT106.3M / weekRepositorynpmAtom feed
Your version
2.11.2 is the newest release of 2.x.
In short
1 changed
Security
1 advisory affects 2.0.0; 2.11.2 fixes them
- CriticalRemote Code Execution in pgGHSA-wc9v-mj63-m9g5 · 24 Jul 2018Fixed in 2.11.2
Release note
Properly handle various PostgreSQL to JavaScript type conversions to avoid data loss:
PostgreSQL | pg@v2.0 JavaScript | pg@v1.0 JavaScript --------------------------------|---------------- float4 | number (float) | string float8 | number (float) | string int8 | string | number (int) numeric | string | number (float) decimal | string | number (float)
For more information see #353
If you are unhappy with these changes you can always override the built in type parsing fairly easily.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.