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

assign.js

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assign.js - npm Package Compare versions

Comparing version 1.7.0 to 1.7.5

5

lib/assign.js

@@ -61,3 +61,3 @@ 'use strict'

var obj = { }
if( !Array.isArray( arguments[1] ) )
if ( !Array.isArray( arguments[1] ) )
properties = Array.prototype.slice.call( arguments, 1, arguments.length )

@@ -75,3 +75,4 @@ properties.forEach( function ( property ) {

args.forEach(function ( element ) {
self.copyObject( element, Object.keys(element), obj )
if ( element )
self.copyObject( element, Object.keys(element), obj )
})

@@ -78,0 +79,0 @@ return obj

2

package.json
{
"name": "assign.js",
"version": "1.7.0",
"version": "1.7.5",
"description": "Tiny libary to assign objects",

@@ -5,0 +5,0 @@ "keywords": [

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