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

union-value

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

union-value - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

index.js

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

var arr = arrayify(get(obj, prop) || []);
set(obj, prop, union(arr, value || []));
set(obj, prop, union(arr, arrayify(value || [])));
return obj;

@@ -21,0 +21,0 @@ };

{
"name": "union-value",
"description": "Set an array of unique values as a property of an object, using dot notation.",
"version": "0.1.0",
"description": "Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.",
"version": "0.1.1",
"homepage": "https://github.com/jonschlinkert/union-value",

@@ -56,2 +56,2 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

}
}
}
# union-value [![NPM version](https://badge.fury.io/js/union-value.svg)](http://badge.fury.io/js/union-value)
> Set an array of unique values as a property of an object, using dot notation.
> Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notation.

@@ -5,0 +5,0 @@ ## Install

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