nanostores
Advanced tools
Comparing version 0.10.1 to 0.10.2
@@ -9,6 +9,6 @@ import { atom } from '../atom/index.js' | ||
$deepMap.setKey = (key, value) => { | ||
let oldMap = $deepMap.value | ||
let oldValue = { ...$deepMap.value } | ||
if (getPath($deepMap.value, key) !== value) { | ||
$deepMap.value = { ...setPath($deepMap.value, key, value) } | ||
$deepMap.notify(oldMap, key) | ||
$deepMap.notify(oldValue, key) | ||
} | ||
@@ -15,0 +15,0 @@ } |
{ | ||
"name": "nanostores", | ||
"version": "0.10.1", | ||
"version": "0.10.2", | ||
"description": "A tiny (286 bytes) state manager for React/Preact/Vue/Svelte with many atomic tree-shakable stores", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
39733