@trendmicro/react-anchor
Advanced tools
Comparing version 0.5.4 to 0.5.5
@@ -21,6 +21,2 @@ 'use strict'; | ||
var _reactAddonsShallowCompare = require('react-addons-shallow-compare'); | ||
var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -40,4 +36,4 @@ | ||
var Anchor = (_temp2 = _class = function (_Component) { | ||
_inherits(Anchor, _Component); | ||
var Anchor = (_temp2 = _class = function (_PureComponent) { | ||
_inherits(Anchor, _PureComponent); | ||
@@ -80,7 +76,2 @@ function Anchor() { | ||
_createClass(Anchor, [{ | ||
key: 'shouldComponentUpdate', | ||
value: function shouldComponentUpdate(nextProps, nextState) { | ||
return (0, _reactAddonsShallowCompare2.default)(this, nextProps, nextState); | ||
} | ||
}, { | ||
key: 'render', | ||
@@ -121,3 +112,3 @@ value: function render() { | ||
return Anchor; | ||
}(_react.Component), _class.propTypes = { | ||
}(_react.PureComponent), _class.propTypes = { | ||
href: _propTypes2.default.string, | ||
@@ -124,0 +115,0 @@ style: _propTypes2.default.object, |
{ | ||
"name": "@trendmicro/react-anchor", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"description": "Trend Micro Components: React Anchor", | ||
@@ -48,4 +48,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"prop-types": "^15.5.8", | ||
"react-addons-shallow-compare": "^0.14.0 || ^15.0.0" | ||
"prop-types": "^15.5.8" | ||
}, | ||
@@ -52,0 +51,0 @@ "devDependencies": { |
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
2
11283
93
- Removedreact-addons-shallow-compare@15.6.3(transitive)