@dhmk/atom
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -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": [ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
71312
0