Socket
Socket
Sign inDemoInstall

objection

Package Overview
Dependencies
Maintainers
1
Versions
201
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

objection - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

1

objection.js

@@ -14,2 +14,3 @@ module.exports = {

transaction: require('./lib/transaction'),
Promise: require('bluebird')
};

2

package.json
{
"name": "objection",
"version": "0.2.2",
"version": "0.2.3",
"description": "An SQL-friendly ORM for Node.js",

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

@@ -653,2 +653,12 @@ [![Build Status](https://travis-ci.org/Vincit/objection.js.svg?branch=master)](https://travis-ci.org/Vincit/objection.js) [![Coverage Status](https://coveralls.io/repos/Vincit/objection.js/badge.svg?branch=master&service=github)](https://coveralls.io/github/Vincit/objection.js?branch=master)

## 0.2.3
* Promise constructor is now exposed through `require('objection').Promise`.
## 0.2.2
* $beforeUpdate, $afterUpdate, $beforeInsert etc. are now asynchronous and you can return promises from them.
* Added `Model.fn()` shortcut to `knex.fn`.
* Added missing `asCallback` and `nodeify` methods for `QueryBuilder`.
## 0.2.1

@@ -655,0 +665,0 @@

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