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

putil-merge

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

putil-merge - npm Package Compare versions

Comparing version 3.1.3 to 3.1.4

4

lib/merge.js

@@ -19,3 +19,2 @@ /* putil-merge

* @param {boolean} [options.descriptor]
* @param {boolean} [options.functions]
* @param {Function} [options.filter]

@@ -42,5 +41,2 @@ * @param {Function|Boolean} [options.arrayMerge]

if (typeof descriptor.value === 'function' && !options.functions)
continue;
if (options.descriptor && (descriptor.get || descriptor.set)) {

@@ -47,0 +43,0 @@ Object.defineProperty(target, key, descriptor);

2

package.json
{
"name": "putil-merge",
"description": "Lightweight solution for merging multiple objects into one. Also it supports deep merge and deep clone",
"version": "3.1.3",
"version": "3.1.4",
"author": "Panates Ltd.",

@@ -6,0 +6,0 @@ "contributors": [

@@ -32,3 +32,2 @@ # putil-merge

- `descriptor:boolean`(optional): If true, copies property descriptors. **Default:** `false`
- `functions:boolean`(optional): If true, copies function values, else functions will be ignored. **Default:** `false`
- `filter:function` (optional): A callback function to test if source property will be merged to target.

@@ -119,3 +118,2 @@ - `arrayMerge:boolean|function` (optional): If true, it combines array values. It this is a function, result of call will be assigned to target.

- `descriptor:boolean`(optional): If true, copies property descriptors. **Default:** `false`
- `functions:boolean`(optional): If true, copies function values, else functions will be ignored. **Default:** `false`
- `filter:function` (optional): A callback function to test if source property will be merged to target.

@@ -122,0 +120,0 @@ - `arrayMerge:boolean|function` (optional): If true, it combines array values. It this is a function, result of call will be assigned to target.

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