Socket
Socket
Sign inDemoInstall

react-tag-cloud

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-tag-cloud - npm Package Compare versions

Comparing version 1.3.0-rc0 to 1.3.0-rc1

2

dist/TagCloud.d.ts

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

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