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
8
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.4.2 to 15.5.0-alpha.0

LICENSE.txt

23

index.js

@@ -1,1 +0,22 @@

module.exports = require('react/lib/ReactComponentWithPureRenderMixin');
/**
* 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)
);
},
};

21

package.json
{
"name": "react-addons-pure-render-mixin",
"version": "15.4.2",
"version": "15.5.0-alpha.0",
"main": "index.js",

@@ -15,5 +15,2 @@ "repository": "facebook/react",

},
"peerDependencies": {
"react": "^15.4.2"
},
"files": [

@@ -23,4 +20,14 @@ "LICENSE",

"README.md",
"index.js"
]
}
"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"
}
}

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