state-tree
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -61,2 +61,5 @@ "use strict"; | ||
function traverse(obj, path) { | ||
if (typeof obj === 'function') { | ||
throw new Error('You can not pass functions into the state tree. This happens on path: ' + path); | ||
} | ||
if (Array.isArray(obj)) { | ||
@@ -63,0 +66,0 @@ Object.defineProperty(obj, '.referencePaths', { |
{ | ||
"name": "state-tree", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "A state tree that handles reference updates and lets you flush a description of changes", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
38940
398