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.1.0 to 2.1.1

7

CHANGELOG.md

@@ -7,5 +7,12 @@ ### Changelog

#### [v2.1.1](https://github.com/felixmosh/knex-on-duplicate-update/compare/v2.1.0...v2.1.1)
- fix: wrong return type of onDuplicateUpdate [`26a8f0a`](https://github.com/felixmosh/knex-on-duplicate-update/commit/26a8f0aa21a3793ce847607537ee59196d824eda)
#### [v2.1.0](https://github.com/felixmosh/knex-on-duplicate-update/compare/v2.0.2...v2.1.0)
> 21 April 2021
- feat: Add columns names & types inference [`b9ed0ab`](https://github.com/felixmosh/knex-on-duplicate-update/commit/b9ed0ab5b32d75f52a6f881997f2babf72257c22)
- Release 2.1.0 [`65c5c36`](https://github.com/felixmosh/knex-on-duplicate-update/commit/65c5c361e49149ed8be40aeb41885836f99a3e09)

@@ -12,0 +19,0 @@ #### [v2.0.2](https://github.com/felixmosh/knex-on-duplicate-update/compare/v2.0.1...v2.0.2)

2

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

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -5,3 +5,3 @@ import { Knex } from 'knex';

namespace Knex {
interface QueryBuilder<TRecord extends {} = any, TResult = any> {
interface QueryBuilder<TRecord extends {} = any> {
onDuplicateUpdate(

@@ -12,3 +12,3 @@ ...columnNames: Array<

>
): Knex.QueryBuilder<TRecord, TResult>;
): Knex.QueryBuilder<TRecord, any>;
}

@@ -15,0 +15,0 @@ }

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