react-addons-pure-render-mixin
Advanced tools
Comparing version 15.5.0-alpha.0 to 15.5.0-rc.1
23
index.js
@@ -1,22 +0,1 @@ | ||
/** | ||
* Copyright 2015-present, Facebook, Inc. | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. An additional grant | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
* | ||
*/ | ||
'use strict'; | ||
var shallowEqual = require('fbjs/lib/shallowEqual'); | ||
module.exports = { | ||
shouldComponentUpdate: function(nextProps, nextState) { | ||
return ( | ||
!shallowEqual(this.props, nextProps) || | ||
!shallowEqual(this.state, nextState) | ||
); | ||
}, | ||
}; | ||
module.exports = require('react/lib/ReactComponentWithPureRenderMixin'); |
{ | ||
"name": "react-addons-pure-render-mixin", | ||
"version": "15.5.0-alpha.0", | ||
"version": "15.5.0-rc.1", | ||
"main": "index.js", | ||
@@ -12,5 +12,8 @@ "repository": "facebook/react", | ||
"dependencies": { | ||
"fbjs": "^0.8.4", | ||
"fbjs": "^0.8.9", | ||
"object-assign": "^4.1.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^15.5.0-rc.1" | ||
}, | ||
"files": [ | ||
@@ -20,14 +23,4 @@ "LICENSE", | ||
"README.md", | ||
"index.js", | ||
"react-addons-pure-render-mixin.js", | ||
"react-addons-pure-render-mixin.min.js" | ||
], | ||
"scripts": { | ||
"test": "jest" | ||
}, | ||
"devDependencies": { | ||
"jest": "^19.0.2", | ||
"react": "^16.0.0-alpha.4", | ||
"react-dom": "^16.0.0-alpha.4" | ||
} | ||
} | ||
"index.js" | ||
] | ||
} |
@@ -5,2 +5,2 @@ # react-addons-pure-render-mixin | ||
See <https://facebook.github.io/react/docs/pure-render-mixin.html> for more information. | ||
See <https://facebook.github.io/react/docs/pure-render-mixin.html> for more information. |
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
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
0
2
1
4176
3
5
0
5
1
+ Addedcreate-react-class@15.7.0(transitive)
+ Addedprop-types@15.8.1(transitive)
+ Addedreact@15.7.0(transitive)
+ Addedreact-is@16.13.1(transitive)
Updatedfbjs@^0.8.9