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 3.0.0-rc.3 to 3.0.0-rc.4

8

lib/model/modelClone.js

@@ -59,6 +59,12 @@ 'use strict';

if ((shallow && relationNames.includes(key)) || (stripInternal && isInternalProp(key))) {
if (shallow && relationNames.includes(key)) {
// The constructor may have given default values for relations.
delete clone[key];
continue;
}
if (stripInternal && isInternalProp(key)) {
continue;
}
if (isObject(value)) {

@@ -65,0 +71,0 @@ clone[key] = cloneObject(value);

2

package.json
{
"name": "objection",
"version": "3.0.0-rc.3",
"version": "3.0.0-rc.4",
"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