react-liquid-gauge
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -19,6 +19,2 @@ 'use strict'; | ||
var _reactAddonsShallowCompare = require('react-addons-shallow-compare'); | ||
var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); | ||
var _d3Color = require('d3-color'); | ||
@@ -62,4 +58,4 @@ | ||
var LiquidFillGauge = (_temp = _class = function (_Component) { | ||
_inherits(LiquidFillGauge, _Component); | ||
var LiquidFillGauge = (_temp = _class = function (_PureComponent) { | ||
_inherits(LiquidFillGauge, _PureComponent); | ||
@@ -83,7 +79,2 @@ function LiquidFillGauge() { | ||
}, { | ||
key: 'shouldComponentUpdate', | ||
value: function shouldComponentUpdate(nextProps, nextState) { | ||
return (0, _reactAddonsShallowCompare2.default)(this, nextProps, nextState); | ||
} | ||
}, { | ||
key: 'draw', | ||
@@ -328,3 +319,3 @@ value: function draw() { | ||
return LiquidFillGauge; | ||
}(_react.Component), _class.propTypes = { | ||
}(_react.PureComponent), _class.propTypes = { | ||
// A unique identifier (ID) to identify the element. | ||
@@ -331,0 +322,0 @@ id: _propTypes2.default.string, |
{ | ||
"name": "react-liquid-gauge", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "React Liquid Gauge component", | ||
@@ -60,7 +60,6 @@ "main": "lib/index.js", | ||
"d3-transition": "^1.0.3", | ||
"prop-types": "^15.5.8", | ||
"react-addons-shallow-compare": "^0.14.0 || ^15.0.0" | ||
"prop-types": "^15.5.8" | ||
}, | ||
"devDependencies": { | ||
"@trendmicro/react-buttons": "~1.0.3", | ||
"@trendmicro/react-buttons": "~1.0.4", | ||
"babel-cli": "~6.24.0", | ||
@@ -67,0 +66,0 @@ "babel-core": "~6.24.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
11
38344
481
- Removedreact-addons-shallow-compare@15.6.3(transitive)