Socket
Socket
Sign inDemoInstall

immutable-set

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

immutable-set - npm Package Compare versions

Comparing version 2.2.1 to 2.2.2

2

lib/set.js

@@ -149,3 +149,3 @@ "use strict";

sameValue
}), ...currentBase.slice(key + 1)];
}), ...currentBase.slice(parseInt(key, 10) + 1)];
}

@@ -152,0 +152,0 @@

{
"name": "immutable-set",
"version": "2.2.1",
"version": "2.2.2",
"description": "Set nested properties of an object while respecting the principles of immutability",

@@ -5,0 +5,0 @@ "main": "lib/set.js",

@@ -121,3 +121,3 @@ import { recursiveEqual, isSafe } from './utils';

set(nextBase(currentBase, key, nextKey, withArrays), path.slice(1), value, { withArrays, sameValue }),
...currentBase.slice(key + 1),
...currentBase.slice(parseInt(key, 10) + 1),
];

@@ -124,0 +124,0 @@ }

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