Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

knex

Package Overview
Dependencies
Maintainers
1
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

knex - npm Package Compare versions

Comparing version 0.5.7 to 0.5.8

4

knex.js

@@ -1,2 +0,2 @@

// Knex.js 0.5.7
// Knex.js 0.5.8
// --------------

@@ -91,3 +91,3 @@

// Keep in sync with package.json
knex.VERSION = '0.5.7';
knex.VERSION = '0.5.8';

@@ -94,0 +94,0 @@ // Runs a new transaction, taking a container and returning a promise

@@ -58,2 +58,12 @@ // Common

map: function() {
var promise = this.then();
return promise.map.apply(promise, arguments);
},
reduce: function() {
var promise = this.then();
return promise.reduce.apply(promise, arguments);
},
catch: function() {

@@ -144,5 +154,7 @@ return this.caught.apply(this, arguments);

flags.selectMode = 'ForUpdate';
return this;
};
this.forShare = function() {
flags.selectMode = 'ForShare';
return this;
};

@@ -149,0 +161,0 @@ }

{
"name": "knex",
"version": "0.5.7",
"version": "0.5.8",
"description": "A query builder for Postgres, MySQL and SQLite3, designed to be flexible, portable, and fun to use.",

@@ -5,0 +5,0 @@ "main": "knex.js",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc