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

mix-objects

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mix-objects - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

18

index.js

@@ -1,4 +0,5 @@

module.exports = mix;
module.exports = multiple;
module.exports.one = one;
function mix (target, sources) {
function multiple (target, sources) {
var i = -1;

@@ -9,6 +10,3 @@ var len = sources.length;

while (++i < len) {
for (key in sources[i]) {
if (target.hasOwnProperty(key)) continue;
target[key] = sources[i][key];
}
one(target, sources[i]);
}

@@ -18,1 +16,9 @@

}
function one (target, source) {
var key;
for (key in source) {
if (target.hasOwnProperty(key)) continue;
target[key] = source[key];
}
}
{
"name": "mix-objects",
"version": "0.0.1",
"version": "0.0.2",
"description": "Mix specified objects",

@@ -5,0 +5,0 @@ "main": "index.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