Socket
Socket
Sign inDemoInstall

knex-on-duplicate-update

Package Overview
Dependencies
26
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.0 to 2.3.0

14

package.json
{
"name": "knex-on-duplicate-update",
"version": "2.2.0",
"version": "2.3.0",
"description": "Simple patcher for Knex. It adds the .onDuplicateUpdate() function to knex's query builder.",

@@ -27,3 +27,3 @@ "keywords": [

"scripts": {
"release": "release-it",
"release": "release-it --only-version",
"test": "jest",

@@ -42,11 +42,11 @@ "test:types": "tsd",

"devDependencies": {
"@types/jest": "^27.4.1",
"@types/node": "^16.6.1",
"@types/jest": "^27.5.0",
"@types/node": "^17.0.31",
"auto-changelog": "^2.4.0",
"dotenv": "^16.0.0",
"jest": "^27.5.1",
"knex": "1.0.6",
"jest": "^28.1.0",
"knex": "2.0.0",
"mysql": "^2.18.1",
"prettier": "^2.6.2",
"release-it": "^14.14.2",
"release-it": "^15.0.0",
"tsd": "^0.20.0"

@@ -53,0 +53,0 @@ },

@@ -9,3 +9,3 @@ # Knex-onDuplicateUpdate

## Note
`Knex` (v0.21.10) added an official [`upsert`](http://knexjs.org/#Builder-onConflict) functionality with similar capabilities which has support in MySQL, Postgress & SQLite.
`Knex` (v0.21.10) added an official [`upsert`](http://knexjs.org/#Builder-onConflict) functionality with similar capabilities which supports MySQL, Postgress & SQLite.

@@ -12,0 +12,0 @@ ## How to set up

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc