Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nanostores

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nanostores - npm Package Compare versions

Comparing version 0.10.1 to 0.10.2

4

deep-map/index.js

@@ -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": [

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