deep-state-observer
Advanced tools
Comparing version 4.1.6 to 4.1.7
@@ -462,3 +462,2 @@ import WildcardObject from "./wildcard-object-scan"; | ||
// update down if needed | ||
this.setNodeSaving(obj as ProxyNode, last); | ||
let parent; | ||
@@ -470,2 +469,3 @@ if (!currentPath) { | ||
} | ||
this.setNodeSaving(parent, last); | ||
value = this.updateMapDown(currentPath, value, parent as ProxyNode, !referencesDeleted); | ||
@@ -477,3 +477,3 @@ if (last) { | ||
} | ||
this.unsetNodeSaving(obj as ProxyNode, last); | ||
this.unsetNodeSaving(parent, last); | ||
for (const [obj, prop] of removeSavings) { | ||
@@ -480,0 +480,0 @@ this.unsetNodeSaving(obj, prop); |
{ | ||
"name": "deep-state-observer", | ||
"version": "4.1.6", | ||
"version": "4.1.7", | ||
"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
597257