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

es6-react-mixins

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es6-react-mixins - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

9

lib/mixin.js

@@ -55,3 +55,10 @@ /*

_Object$assign(NewClass.prototype, mixin);
var clonedMixin = _Object$assign({}, mixin);
// These React properties are defined as ES7 class static properties
['childContextTypes', 'contextTypes', 'defaultProps', 'propTypes'].forEach(function (m) {
NewClass[m] = clonedMixin[m];
delete clonedMixin[m];
});
_Object$assign(NewClass.prototype, clonedMixin);
return NewClass;

@@ -58,0 +65,0 @@ };

2

package.json
{
"name": "es6-react-mixins",
"version": "0.1.7",
"version": "0.1.8",
"description": "Augments ES6 classes with ES6 or traditional React mixins",

@@ -5,0 +5,0 @@ "author": "Angus Croll",

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