react-tag-cloud
Advanced tools
Comparing version 1.3.0-rc0 to 1.3.0-rc1
@@ -56,3 +56,3 @@ import * as PropTypes from "prop-types"; | ||
}; | ||
private isMounted; | ||
private mounted; | ||
private resizeTimer?; | ||
@@ -59,0 +59,0 @@ private fontFamily; |
@@ -36,3 +36,3 @@ "use strict"; | ||
}; | ||
this.isMounted = false; | ||
this.mounted = false; | ||
this.resizeTimer = undefined; | ||
@@ -80,3 +80,3 @@ this.fontFamily = this.getStyleValue.bind(this, "fontFamily"); | ||
this.resizeTimer = undefined; | ||
if (this.isMounted) { | ||
if (this.mounted) { | ||
this.setState({ | ||
@@ -92,6 +92,6 @@ height, | ||
componentDidMount() { | ||
this.isMounted = true; | ||
this.mounted = true; | ||
} | ||
componentWillUnmount() { | ||
this.isMounted = false; | ||
this.mounted = false; | ||
} | ||
@@ -179,3 +179,3 @@ calculateLayout(props, state) { | ||
this.calculateLayout(this.props, this.state).then((wrappedChildren) => { | ||
if (!this.isMounted) { | ||
if (!this.mounted) { | ||
return; | ||
@@ -182,0 +182,0 @@ } |
{ | ||
"name": "react-tag-cloud", | ||
"version": "1.3.0-rc0", | ||
"version": "1.3.0-rc1", | ||
"description": "Create beautiful tag/word clouds using React", | ||
@@ -26,3 +26,3 @@ "keywords": [ | ||
"build": "rm -rf ./dist && yarn lint && tsc", | ||
"lint": "tslint -c tslint.json --project tsconfig.json" | ||
"lint": "tslint -c tslint.json --project tsconfig.json --fix" | ||
}, | ||
@@ -29,0 +29,0 @@ "dependencies": { |
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
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
0
26031