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

@semantic-ui/reactivity

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@semantic-ui/reactivity - npm Package Compare versions

Comparing version 0.0.20 to 0.0.21

4

package.json

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

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