From fa8920bf4e5c67b59402b64d27aee6c207718a50 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun, 18 Feb 2024 18:34:48 +0100
Subject: [PATCH] chore(deps): bump knex from 2.5.1 to 3.1.0 (#1404)
Bumps [knex](https://github.com/knex/knex) from 2.5.1 to 3.1.0.
Release notes
Sourced from knex's
releases.
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
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)
Changelog
Sourced from knex's
changelog.
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)
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)
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)
3.0.1 - 6 October, 2023
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)
Bug fixes
Commits
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=knex&package-manager=npm_and_yarn&previous-version=2.5.1&new-version=3.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 23 +++++++++--------------
package.json | 2 +-
2 files changed, 10 insertions(+), 15 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 1c9576338..fdd74ffdd 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -27,7 +27,7 @@
"html-to-text": "^9.0.4",
"jsonwebtoken": "^9.0.0",
"jszip": "^3.10.1",
- "knex": "^2.5.1",
+ "knex": "^3.1.0",
"metascraper": "^5.34.7",
"metascraper-description": "^5.39.0",
"metascraper-image": "^5.34.7",
@@ -8762,9 +8762,9 @@
}
},
"node_modules/knex": {
- "version": "2.5.1",
- "resolved": "https://registry.npmjs.org/knex/-/knex-2.5.1.tgz",
- "integrity": "sha512-z78DgGKUr4SE/6cm7ku+jHvFT0X97aERh/f0MUKAKgFnwCYBEW4TFBqtHWFYiJFid7fMrtpZ/gxJthvz5mEByA==",
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/knex/-/knex-3.1.0.tgz",
+ "integrity": "sha512-GLoII6hR0c4ti243gMs5/1Rb3B+AjwMOfjYm97pu0FOQa7JH56hgBxYf5WK2525ceSbBY1cjeZ9yk99GPMB6Kw==",
"dependencies": {
"colorette": "2.0.19",
"commander": "^10.0.0",
@@ -8775,7 +8775,7 @@
"getopts": "2.3.0",
"interpret": "^2.2.0",
"lodash": "^4.17.21",
- "pg-connection-string": "2.6.1",
+ "pg-connection-string": "2.6.2",
"rechoir": "^0.8.0",
"resolve-from": "^5.0.0",
"tarn": "^3.0.2",
@@ -8785,7 +8785,7 @@
"knex": "bin/cli.js"
},
"engines": {
- "node": ">=12"
+ "node": ">=16"
},
"peerDependenciesMeta": {
"better-sqlite3": {
@@ -10499,9 +10499,9 @@
"optional": true
},
"node_modules/pg-connection-string": {
- "version": "2.6.1",
- "resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.6.1.tgz",
- "integrity": "sha512-w6ZzNu6oMmIzEAYVw+RLK0+nqHPt8K3ZnknKi+g48Ak2pr3dtljJW3o+D/n2zzCG07Zoe9VOX3aiKpj+BN0pjg=="
+ "version": "2.6.2",
+ "resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.6.2.tgz",
+ "integrity": "sha512-ch6OwaeaPYcova4kKZ15sbJ2hKb/VP48ZD2gE7i1J+L4MspCtBMAx8nMgz7bksc7IojCIIWuEhHibSMFH8m8oA=="
},
"node_modules/pg-int8": {
"version": "1.0.1",
@@ -10533,11 +10533,6 @@
"postgres-interval": "^1.1.0"
}
},
- "node_modules/pg/node_modules/pg-connection-string": {
- "version": "2.6.2",
- "resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.6.2.tgz",
- "integrity": "sha512-ch6OwaeaPYcova4kKZ15sbJ2hKb/VP48ZD2gE7i1J+L4MspCtBMAx8nMgz7bksc7IojCIIWuEhHibSMFH8m8oA=="
- },
"node_modules/pgpass": {
"version": "1.0.4",
"resolved": "https://registry.npmjs.org/pgpass/-/pgpass-1.0.4.tgz",
diff --git a/package.json b/package.json
index 214fd3eaf..6d65c3afd 100644
--- a/package.json
+++ b/package.json
@@ -48,7 +48,7 @@
"html-to-text": "^9.0.4",
"jsonwebtoken": "^9.0.0",
"jszip": "^3.10.1",
- "knex": "^2.5.1",
+ "knex": "^3.1.0",
"metascraper": "^5.34.7",
"metascraper-description": "^5.39.0",
"metascraper-image": "^5.34.7",