Socket
Socket
Sign inDemoInstall

objection

Package Overview
Dependencies
Maintainers
2
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 2.0.4 to 2.0.5

10

lib/queryBuilder/graph/GraphFetcher.js

@@ -124,7 +124,9 @@ 'use strict';

const selectArr = Array.from(selects.values());
const idColumn = builder.fullIdColumn();
const idColumns = asArray(builder.fullIdColumn());
if (!selectArr.includes(idColumn)) {
// Always select the identifer.
selectArr.push(idColumn);
for (const idColumn of idColumns) {
if (!selectArr.includes(idColumn)) {
// Always select the identifers.
selectArr.push(idColumn);
}
}

@@ -131,0 +133,0 @@

2

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

@@ -5,0 +5,0 @@ "main": "lib/objection.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