Socket
Socket
Sign inDemoInstall

xtend

Package Overview
Dependencies
1
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.6 to 2.1.1

16

mutable.js

@@ -0,1 +1,2 @@

var Keys = require("object-keys")
var hasKeys = require("./has-keys")

@@ -8,13 +9,18 @@

sources.forEach(function (source) {
for (var i = 0; i < sources.length; i++) {
var source = sources[i]
if (!hasKeys(source)) {
return
continue
}
Object.keys(source).forEach(function (name) {
var keys = Keys(source)
for (var j = 0; j < keys.length; j++) {
var name = keys[j]
target[name] = source[name]
})
})
}
}
return target
}
{
"name": "xtend",
"version": "2.0.6",
"version": "2.1.1",
"description": "extend like a boss",

@@ -13,7 +13,6 @@ "keywords": [],

"dependencies": {
"is-object": "~0.1.2",
"object-keys": "~0.2.0"
"object-keys": "~0.4.0"
},
"devDependencies": {
"tape": "~1.0.2"
"tape": "~1.1.0"
},

@@ -20,0 +19,0 @@ "homepage": "https://github.com/Raynos/xtend",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc