@semantic-ui/reactivity
Advanced tools
Comparing version 0.0.20 to 0.0.21
@@ -9,3 +9,3 @@ { | ||
"dependencies": { | ||
"@semantic-ui/utils": "^0.0.20" | ||
"@semantic-ui/utils": "^0.0.21" | ||
}, | ||
@@ -15,3 +15,3 @@ "devDependencies": { | ||
}, | ||
"version": "0.0.20" | ||
"version": "0.0.21" | ||
} |
@@ -7,7 +7,7 @@ import { clone, isObject, isEqual, wrapFunction, isClassInstance, isArray, findIndex, unique, isNumber } from '@semantic-ui/utils'; | ||
constructor(initialValue, { equalityFunction, canClone = true, cloneFunction } = {}) { | ||
constructor(initialValue, { equalityFunction, allowClone = true, cloneFunction } = {}) { | ||
this.dependency = new Dependency(); | ||
// allow user to opt out of value cloning | ||
this.canClone = canClone; | ||
this.allowClone = allowClone; | ||
@@ -44,3 +44,3 @@ // allow custom equality function | ||
canCloneValue(value) { | ||
return (this.canClone === true && !isClassInstance(value)); | ||
return (this.allowClone === true && !isClassInstance(value)); | ||
} | ||
@@ -47,0 +47,0 @@ |
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
42867
+ Added@semantic-ui/utils@0.0.21(transitive)
- Removed@semantic-ui/utils@0.0.20(transitive)
Updated@semantic-ui/utils@^0.0.21