@trendmicro/react-buttons
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -1,2 +0,2 @@ | ||
/*! react-buttons v1.0.3 | (c) 2017 Trend Micro Inc. | MIT | https://github.com/trendmicro-frontend/react-buttons */ | ||
/*! react-buttons v1.0.4 | (c) 2017 Trend Micro Inc. | MIT | https://github.com/trendmicro-frontend/react-buttons */ | ||
module.exports = | ||
@@ -125,6 +125,2 @@ /******/ (function(modules) { // webpackBootstrap | ||
var _reactAddonsShallowCompare = __webpack_require__(8); | ||
var _reactAddonsShallowCompare2 = _interopRequireDefault(_reactAddonsShallowCompare); | ||
var _index = __webpack_require__(0); | ||
@@ -146,4 +142,4 @@ | ||
var Button = (_temp = _class = function (_Component) { | ||
_inherits(Button, _Component); | ||
var Button = (_temp = _class = function (_PureComponent) { | ||
_inherits(Button, _PureComponent); | ||
@@ -157,7 +153,2 @@ function Button() { | ||
_createClass(Button, [{ | ||
key: 'shouldComponentUpdate', | ||
value: function shouldComponentUpdate(nextProps, nextState) { | ||
return (0, _reactAddonsShallowCompare2.default)(this, nextProps, nextState); | ||
} | ||
}, { | ||
key: 'render', | ||
@@ -193,3 +184,3 @@ value: function render() { | ||
return Button; | ||
}(_react.Component), _class.propTypes = { | ||
}(_react.PureComponent), _class.propTypes = { | ||
componentClass: _propTypes2.default.oneOfType([_propTypes2.default.func, _propTypes2.default.string]), | ||
@@ -361,10 +352,4 @@ type: _propTypes2.default.oneOf(['button', 'reset', 'submit']), | ||
/***/ }), | ||
/* 8 */ | ||
/***/ (function(module, exports) { | ||
module.exports = require("react-addons-shallow-compare"); | ||
/***/ }) | ||
/******/ ]); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@trendmicro/react-buttons", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Trend Micro Components: React Buttons", | ||
@@ -58,4 +58,3 @@ "main": "lib/index.js", | ||
"classnames": "^2.2.5", | ||
"prop-types": "^15.5.8", | ||
"react-addons-shallow-compare": "^0.14.0 || ^15.0.0" | ||
"prop-types": "^15.5.8" | ||
}, | ||
@@ -62,0 +61,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
3
93341
962
- Removedreact-addons-shallow-compare@15.6.3(transitive)