Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Knex to v2.4.2 & Run npm audit #2125

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

kellnerd
Copy link

@kellnerd kellnerd commented Apr 11, 2023

Introduction

Update to the latest, non-vulnerable version of the Knex query builder.

Motivation

GHSA-4jv9-3563-23j3

Proposed solution

I performed this update in two steps: First I tested the existing commits for the update to v1 from #2120, then I updated to v2 and ran the test suite again, which required me to exchange the sqlite3 package again (see 5ece77d).
Finally I performed an npm audit to update a few other dependencies with security issues.

Current PR Issues

The only remaining security issues are related to dependencies of the website, i.e.
bookshelf-jsdoc-theme, which are not relevant for my (or other downstream users) use case.

t1eb4n and others added 8 commits February 15, 2022 01:56
Removing Node 10 as Knex requires at least 12, and 16 is the most recent LTS
While the fork got rid of a few unneeded dependencies, the latest knex
version needs the official package in order to run the SQLite tests.
Partially reverts 2baafea
The only remaining security issues are dependencies of the website, i.e.
bookshelf-jsdoc-theme, which are not relevant for us.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants