Comparing version 5.4.0 to 5.4.1
{ | ||
"name": "quarx", | ||
"version": "5.4.0", | ||
"version": "5.4.1", | ||
"description": "Simple tiny reactivity engine", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -5,3 +5,3 @@ import { autorun, createAtom } from './core.js'; | ||
return { | ||
subscribe(subscriber, onError = options.onError) { | ||
subscribe(subscriber, onError = options.onError || console.error) { | ||
return autorun(() => subscriber(evaluate()), { | ||
@@ -8,0 +8,0 @@ onError, |
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
21353