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

smart-setter

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smart-setter - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

lib/smartSetter.js

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

if (!config.isObjectOrMap(source)) return source;
//if (target === null || target === undefined) return source
if (target === null || target === undefined) return source;
return config.getKeys(source).reduce(function (acc, key) {

@@ -53,0 +53,0 @@ var _ret = function () {

{
"name": "smart-setter",
"version": "1.0.4",
"version": "1.0.5",
"description": "create new object based on old object and set of modifications that can be applied at selective depths",

@@ -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