Open willroberts opened 1 year ago
Is this as trivial as changing all counts of require('knex')
to require('knex').knex
? Apologies if I missed something as I am not at my desk atm
I don't recall exactly what the work required was to get this working, but the guide linked above should be a good starting point.
Bit annoying to upgrade as knex@0.95.0 uses native promises while the current knex uses blue bird promises. Going to have to rewrite and replace the promises with native promises if someone decides to upgrade.
Knex.js, our SQL query builder, has a few minor vulnerabilities in the current 0.19.5 version:
We should upgrade to 0.95.0 by following this guide: https://github.com/knex/knex/blob/master/UPGRADING.md#upgrading-to-version-0950
This may require changes to code in the
cli
,scripts
,server
,test
, andworker
directories.