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

util-ex

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

util-ex - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

16

lib/_extend.js

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

var isObject = require('./is/type/object');
module.exports = function (origin) {
for (var i=1; i < arguments.length; i++) {
var add = arguments[i];
// Don't do anything if add isn't an object
if (!add || !isObject(add)) continue;
var keys = Object.keys(add);
var j = keys.length;
while (j--) {
origin[keys[j]] = add[keys[j]];
}
}
return origin;
}
module.exports = require('xtend/mutable');

5

package.json

@@ -5,3 +5,3 @@ {

"homepage": "https://github.com/snowyu/util-ex.js",
"version": "0.2.4",
"version": "0.2.5",
"author": {

@@ -59,4 +59,5 @@ "name": "Riceball LEE",

"dependencies": {
"inherits-ex": "~1.0.5"
"inherits-ex": "~1.0.6",
"xtend": "^4.0.0"
}
}

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

var isObject = require('./is/type/object');
module.exports = function (origin) {
for (var i=1; i < arguments.length; i++) {
var add = arguments[i];
// Don't do anything if add isn't an object
if (!add || !isObject(add)) continue;
var keys = Object.keys(add);
var j = keys.length;
while (j--) {
origin[keys[j]] = add[keys[j]];
}
}
return origin;
}
module.exports = require('xtend/mutable');
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