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

react-addons-pure-render-mixin

Package Overview
Dependencies
Maintainers
9
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-addons-pure-render-mixin - npm Package Compare versions

Comparing version 15.5.0-alpha.0 to 15.5.0-rc.1

LICENSE

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.
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