Socket
Socket
Sign inDemoInstall

extend

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extend - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

README.md

8

index.js

@@ -0,1 +1,3 @@

var hasOwn = Object.prototype.hasOwnProperty;
function isPlainObject(obj) {

@@ -39,8 +41,2 @@ if (!obj || toString.call(obj) !== '[object Object]' || obj.nodeType || obj.setInterval)

// extend jQuery itself if only one argument is passed
if ( length === i ) {
target = this;
--i;
}
for ( ; i < length; i++ ) {

@@ -47,0 +43,0 @@ // Only deal with non-null/undefined values

{
"name": "extend",
"version": "1.0.0",
"version": "1.1.0",
"description": "Port of jQuery.extend for Node.js",

@@ -5,0 +5,0 @@ "main": "./index",

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