Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@trendmicro/react-anchor

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trendmicro/react-anchor - npm Package Compare versions

Comparing version 0.5.4 to 0.5.5

15

lib/Anchor.js

@@ -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": {

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