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

object-path-immutable

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

object-path-immutable - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

3

package.json
{
"name": "object-path-immutable",
"version": "1.0.1",
"version": "1.0.2",
"description": "Modify deep object properties without modifying the original object (immutability). Works great with React and Redux.",

@@ -11,2 +11,3 @@ "author": "Mario Casciaro <mariocasciaro@gmail.com>",

},
"types": "./object-path-immutable.d.ts",
"engines": {

@@ -13,0 +14,0 @@ "node": ">=0.10.0"

@@ -91,3 +91,2 @@ [![build](https://img.shields.io/travis/mariocasciaro/object-path-immutable.svg?style=flat-square)](https://travis-ci.org/mariocasciaro/object-path-immutable)

const newObj2 = immutable.set(obj, ['a', 'b'], 'f')
const newObj3 = immutable.set(obj, ['a', 'b'], v => 'f')

@@ -94,0 +93,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