Socket
Socket
Sign inDemoInstall

objection

Package Overview
Dependencies
Maintainers
2
Versions
200
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.3.2 to 0.3.3

5

lib/queryBuilder/QueryBuilder.js

@@ -2009,3 +2009,6 @@ 'use strict';

function build(builder) {
builder.table(builder._modelClass.tableName);
if (!builder.has(/from|table|into/)) {
// Set the table only if it hasn't been explicitly set yet.
builder.table(builder._modelClass.tableName);
}

@@ -2012,0 +2015,0 @@ _.each(builder._hooks.onBuild, function (func) {

2

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

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

@@ -871,2 +871,8 @@ [![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.3.3
#### What's new
* fix regression: QueryBuilder.from is broken.
## 0.3.2

@@ -873,0 +879,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