knex
3.3.0 · 26 Jun 2026MIT7.3M / weekRepositoryHomepagenpmAtom feed
0.95.15 is the newest release of 0.5.x.
In short
7 changed
Security
2 advisories affect 0.5.0; 2.4.0 fixes them
- CriticalSQL Injection in knexGHSA-58v4-qwx5-7f59 · 21 Oct 2019Fixed in 0.19.5
- HighKnex.js has a limited SQL injection vulnerabilityGHSA-4jv9-3563-23j3 · 19 Dec 2022Fixed in 2.4.0
Release note
Initial pass at a migration api.
Aggregate methods are no longer aliased as "aggregate", but may now be aliased and have more than one aggregate in a query (#108, #110).
Adding bigint and bigserial to PostgreSQL (#111).
Bugfix on increment/decrement values (#100).
Bugfix with having method (#107).
Switched from when.js to bluebird for promise implementation, with shim for backward compatibility.
Switched from underscore to lodash, for semver reliability
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.