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

[Snyk] Upgrade knex from 0.21.5 to 3.1.0 #3

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

doperiddle
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade knex from 0.21.5 to 3.1.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 61 versions ahead of your current version.

  • The recommended version was released on a year ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Inefficient Regular Expression Complexity
SNYK-JS-MICROMATCH-6838728
589 No Known Exploit
high severity Uncontrolled resource consumption
SNYK-JS-BRACES-6838727
589 Proof of Concept
high severity Denial of Service (DoS)
SNYK-JS-DECODEURICOMPONENT-3149970
589 Proof of Concept
high severity SQL Injection
SNYK-JS-KNEX-3175610
589 Proof of Concept
high severity Code Injection
SNYK-JS-LODASH-1040724
589 Proof of Concept
high severity Prototype Pollution
SNYK-JS-UNSETVALUE-2400660
589 No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-PATHPARSE-1077067
589 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-LODASH-1018905
589 Proof of Concept
Release notes
Package name: knex
  • 3.1.0 - 2023-12-07

    3.1.0 - 8 December, 2023

    Bug fixes

    • andWhereNotJsonObject calling wrong function (#5683)
    • PostgreSQL: fix error when setting query_timeout (#5673)
    • MySQL: Missing comments on delete, update and insert (#5738)
    • MySQL: Fixed issue with bigincrements not working with composite primary key - #5341 (#5343)

    New features

    • Add transactor.parentTransaction (#5567)
    • MySQL: Added implementation for upsert (#5743)
    • Oracle: Support Object Names Greater than 30 Characters for Oracle DB Versions 12.2 and Greater (#5197)

    Types

    • Add type definitions for orHavingNull and orHavingNotNull (#5669)
    • Import knex as type in TS migration template (#5741)
    • Fix conditional constraint error (#5747)
    • PostgreSQL: Fix typing to reflect pg typing change (#5647)
  • 3.0.1 - 2023-10-06
    • Fix broken release
  • 3.0.0 - 2023-10-06

    3.0.0 - 6 October, 2023

    • Fix raw bindings typing (#5401)
    • Fix migrate:unlock when used with custom identifier wrapping. (#5353)
    • Fix driver options specified with .options() method being ignored for oracledb dialect (#5123)
    • Drop compatibility for Node < 16
    • Fix knex d.ts to work with mixed modules (#5659)
    • Fix Lexical error from "Instaed" to "Instead" (#5655)
  • 2.5.1 - 2023-07-12

    2.5.1 - 12 July, 2023

    Bug fixes

  • 2.5.0 - 2023-07-08

    2.5.0 - 08 July, 2023

    New features

    • Add uuid helper function #5617
    • Add nativeBindings option to better-sqlite3 options #5461
    • Add QueryBuilder#updateFrom #5386
    • Add readonly transaction access mode #5445
    • Add readonly option to Better-SQLite3 #5530
    • Add EXCEPT as a valid keyword #5357
    • Add ability to prepend query comments #5289
    • Add fetchAsString option #5484

    Bug fixes

    • Avoid password leaks on query logs #5559
    • Add knex.mjs to files in package.json #5518
    • Handle numeric array elements in .orderBy() #5551
    • Attach error handler early enough #5552
    • Fix Returning * in Oracle #5598
    • Fix indexType option in Postgres #5601
    • Add mjs extension type #5616
    • Use implicit check on json fields for OracleDB #5478
    • Fix when manually close source stream #5466
    • Fix case sensitive issue with get table #5509

    Typings

    • Add Object syntax overload to increment method #5512
    • Add object syntax overload to decrement method #5555
    • Fix typing for toSql #5594
    • Add ResolveTableType for .merge() #5605
    • Add missing types for havingNull and havingNotNull #5529
    • Add collate to the columnbuilder interface #5568
    • TableBuilder methods return the SchemaBuilder. #5486

    Full Changelog: 2.4.2...2.5.0

  • 2.4.2 - 2023-01-22

    2.4.2 - 22 January, 2023

    Bug fixes

    CLI: Fix incorrent EOL causing errors on Linux #5455

  • 2.4.1 - 2023-01-18

    2.4.1 - 18 January, 2023

    Bug fixes

    • Fix Postgres Malformed array literal 2.4.0 Regression - #5439
  • 2.4.0 - 2023-01-06

    New features:

    • Support partial unique indexes #5316
    • Make compiling SQL in error message optional #5282

    Bug fixes

    • Insert array into json column #5321
    • Fix unexpected max acquire-timeout #5377
    • Fix: orWhereJson #5361
    • MySQL: Add assertion for basic where clause not to be object or array #1227
    • SQLite: Fix changing the default value of a boolean column in SQLite #5319

    Typings:

    • add missing type for 'expirationChecker' on PgConnectionConfig #5334
  • 2.3.0 - 2022-08-31

    New features:

    • PostgreSQL: Explicit jsonb support for custom pg clients #5201
    • SQLite: Support returning with sqlite3 and better-sqlite3 #5285
    • MSSQL: Implement mapBinding mssql dialect option #5292

    Typings:

    • Update types for TS 4.8 #5279
    • Fix typo #5267
    • Fix WhereJsonObject withCompositeTableType #5306
    • Fix AnalyticFunction type #5304
    • Infer specific column value type in aggregations #5297
  • 2.2.0 - 2022-07-18
  • 2.1.0 - 2022-05-26
  • 2.0.0 - 2022-04-21
  • 1.0.7 - 2022-04-13
  • 1.0.6 - 2022-04-12
  • 1.0.5 - 2022-04-04
  • 1.0.4 - 2022-03-13
  • 1.0.3 - 2022-02-10
  • 1.0.2 - 2022-02-01
  • 1.0.1 - 2022-01-16
  • 1.0.0 - 2022-01-16
  • 0.95.15 - 2021-12-21
  • 0.95.14 - 2021-11-08
  • 0.95.13 - 2021-11-02
  • 0.95.12 - 2021-10-27
  • 0.95.12-rc6 - 2021-10-27
  • 0.95.12-rc5 - 2021-10-25
  • 0.95.12-rc4 - 2021-10-20
  • 0.95.12-rc3 - 2021-10-16
  • 0.95.12-rc2 - 2021-10-15
  • 0.95.12-rc1 - 2021-10-15
  • 0.95.11 - 2021-09-03
  • 0.95.10 - 2021-08-20
  • 0.95.9 - 2021-07-31
  • 0.95.8 - 2021-07-25
  • 0.95.7 - 2021-07-10
  • 0.95.6 - 2021-05-17
  • 0.95.5 - 2021-05-11
  • 0.95.4 - 2021-03-26
  • 0.95.3 - 2021-03-25
  • 0.95.2 - 2021-03-11
  • 0.95.1 - 2021-03-04
  • 0.95.0 - 2021-03-03
  • 0.95.0-next3 - 2021-02-18
  • 0.95.0-next2 - 2021-02-15
  • 0.95.0-next1 - 2021-02-08
  • 0.21.21 - 2021-08-10
  • 0.21.20 - 2021-08-07
  • 0.21.19 - 2021-03-02
  • 0.21.18 - 2021-02-22
  • 0.21.17 - 2021-01-30
  • 0.21.16 - 2021-01-17
  • 0.21.15 - 2020-12-26
  • 0.21.14 - 2020-12-18
  • 0.21.13 - 2020-12-11
  • 0.21.12 - 2020-11-02
  • 0.21.11 - 2020-11-01
  • 0.21.10 - 2020-10-31
  • 0.21.9 - 2020-10-29
  • 0.21.8 - 2020-10-27
  • 0.21.7 - 2020-10-25
  • 0.21.6 - 2020-09-27
  • 0.21.5 - 2020-08-17
from knex GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade knex from 0.21.5 to 3.1.0.

See this package in npm:
knex

See this project in Snyk:
https://app.snyk.io/org/doperiddle/project/09cea5ed-d730-4815-9858-2b92e1f152c3?utm_source=github&utm_medium=referral&page=upgrade-pr
@doperiddle doperiddle self-assigned this Nov 14, 2024
Copy link

snyk-io bot commented Nov 14, 2024

⚠️ Snyk checks are incomplete.

⚠️ security/snyk check encountered an error. (View Details)

@doperiddle
Copy link
Owner Author

⚠️ Snyk checks are incomplete.

⚠️ security/snyk check encountered an error. (View Details)

@doperiddle doperiddle merged commit a22966c into master Nov 14, 2024
1 check failed
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.

2 participants