deep-state-observer
Advanced tools
Comparing version 4.1.5 to 4.1.6
@@ -463,3 +463,9 @@ import WildcardObject from "./wildcard-object-scan"; | ||
this.setNodeSaving(obj as ProxyNode, last); | ||
value = this.updateMapDown(currentPath, value, obj as ProxyNode, !referencesDeleted); | ||
let parent; | ||
if (!currentPath) { | ||
parent = this.rootProxyNode; | ||
} else { | ||
parent = obj; | ||
} | ||
value = this.updateMapDown(currentPath, value, parent as ProxyNode, !referencesDeleted); | ||
if (last) { | ||
@@ -466,0 +472,0 @@ obj[last] = value; |
{ | ||
"name": "deep-state-observer", | ||
"version": "4.1.5", | ||
"version": "4.1.6", | ||
"description": "Deep state observer is an state management library that will fire listeners only when specified object node (which also can be a wildcard) was changed.", | ||
@@ -5,0 +5,0 @@ "main": "index.cjs.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
597247
14578