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

@dhmk/atom

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dhmk/atom - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

esm/observable/object.js

@@ -46,3 +46,3 @@ import { ValueAtom } from "../atoms/value";

if (!a) {
a = v[AS] ? v[AS] : new ValueAtom(creator(v, p));
a = (v === null || v === void 0 ? void 0 : v[AS]) ? v[AS] : new ValueAtom(creator(v, p));
atoms.set(p, a);

@@ -56,3 +56,3 @@ }

var v_1 = t[p];
a = v_1[AS] ? v_1[AS] : new ValueAtom(undefined);
a = (v_1 === null || v_1 === void 0 ? void 0 : v_1[AS]) ? v_1[AS] : new ValueAtom(undefined);
atoms.set(p, a);

@@ -59,0 +59,0 @@ }

@@ -50,3 +50,3 @@ "use strict";

if (!a) {
a = v[AS] ? v[AS] : new value_1.ValueAtom(creator(v, p));
a = (v === null || v === void 0 ? void 0 : v[AS]) ? v[AS] : new value_1.ValueAtom(creator(v, p));
atoms.set(p, a);

@@ -60,3 +60,3 @@ }

var v_1 = t[p];
a = v_1[AS] ? v_1[AS] : new value_1.ValueAtom(undefined);
a = (v_1 === null || v_1 === void 0 ? void 0 : v_1[AS]) ? v_1[AS] : new value_1.ValueAtom(undefined);
atoms.set(p, a);

@@ -63,0 +63,0 @@ }

{
"name": "@dhmk/atom",
"version": "2.0.0",
"version": "2.0.1",
"description": "Lightweight mobx-like observable values, computed values and side-effects",

@@ -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