object-path-immutable
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -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 @@ |
{ | ||
"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>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24848
609