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.2 to 1.0.3

2

object-path-immutable.d.ts

@@ -8,2 +8,3 @@ type Path = string | string[]

assign(path?: Path, source?: T): WrappedObject<T>
update(path?: Path, updater?: (formerValue: any) => any): WrappedObject<T>
value(): T

@@ -18,2 +19,3 @@ }

assign<T = object>(src: T, path?: Path, source?: T): T
update<T = object>(src: T, path?: Path, updater?: (formerValue: any) => any): WrappedObject<T>
}

@@ -20,0 +22,0 @@

2

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

@@ -5,0 +5,0 @@ "author": "Mario Casciaro <mariocasciaro@gmail.com>",

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