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

blend.js

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blend.js - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

bower.json
{
"name": "blend.js",
"version": "1.0.0",
"version": "1.0.2",
"authors": [
"Kieran Boyle <norcal.kieran@gmail.com>"
],
"description": "Micro-lib for performing shallow/deep copying of objects with support of merging arrays",
"description": "Micro-lib for performing shallow/deep copying of objects with support for array merging + dedup",
"main": "lib/blend.js",

@@ -9,0 +9,0 @@ "ignore": [

@@ -14,3 +14,3 @@ 'use strict';

* @author Kieran Boyle (github.com/dysfunc)
* @version 1.0.0
* @version 1.0.2
* @link https://github.com/dysfunc/blend.js

@@ -17,0 +17,0 @@ *

{
"name": "blend.js",
"version": "1.0.1",
"description": "Micro-lib for performing shallow/deep copying of objects with support of merging arrays",
"version": "1.0.2",
"description": "Micro-lib for performing shallow/deep copying of objects with support for array merging + dedup",
"author": "Kieran Boyle <norcal.kieran@gmail.com>",

@@ -6,0 +6,0 @@ "main": "lib",

#blend.js
Micro-lib for performing shallow/deep copying of objects, with support of merging arrays (+ dedupping)
Micro-lib for performing shallow/deep copying of objects with support for array merging + dedup

@@ -47,3 +47,3 @@ # Extend for all (Node.js + Browser)

``` js
var extend = require('extend'), // window.extend for browsers (`extend` is global)
var blend = require('blend'), // window.blend for browsers (`blend` is global)
target = {

@@ -65,3 +65,3 @@ test: 'me'

extend(target, object1, object2);
blend(target, object1, object2);

@@ -79,3 +79,3 @@ // output

```js
extend(true, target, object1, object2);
blend(true, target, object1, object2);

@@ -94,3 +94,3 @@ // output

```js
extend(true, true, target, object1, object2);
blend(true, true, target, object1, object2);

@@ -97,0 +97,0 @@ // output

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