knex
3.3.0 · 26 Jun 2026MIT7.2M / weekRepositoryHomepagenpmAtom feed
0.95.15 is the newest release of 0.21.x.
In short
2 breaking1 new3 changed
- Breaking
Dropped support for Node 8
- Breaking
Breaking upstream change in
pg-query-stream:Changed stream.close to stream.destroy which is the official way to terminate a readable stream. This is a breaking change if you rely on the stream.close method on pg-query-stream...though should be just a find/replace type operation to upgrade as the semantics remain very similar (not exactly the same, since internals are rewritten, but more in line with how streams are "supposed" to behave).
Security
1 advisory affects 0.21.0; 2.4.0 fixes them
- HighKnex.js has a limited SQL injection vulnerabilityGHSA-4jv9-3563-23j3 · 19 Dec 2022Fixed in 2.4.0
Release note
0.21.0 - 18 April, 2020
Improvements
Reduce size of lodash in bundle #3804
Breaking changes
- Breaking
Dropped support for Node 8
- Breaking
Breaking upstream change in
pg-query-stream:Changed stream.close to stream.destroy which is the official way to terminate a readable stream. This is a breaking change if you rely on the stream.close method on pg-query-stream...though should be just a find/replace type operation to upgrade as the semantics remain very similar (not exactly the same, since internals are rewritten, but more in line with how streams are "supposed" to behave).
Test / internal changes
Updated Tarn.js to a version 3.0.0
Updated mkdirp to a version 1.0.4
Updated examples to use ES2015 style #3810
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.