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

@storybook/react-komposer

Package Overview
Dependencies
Maintainers
12
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/react-komposer - npm Package Compare versions

Comparing version 2.0.3 to 2.0.4

.idea/inspectionProfiles/Project_Default.xml

15

dist/compose.js

@@ -103,7 +103,2 @@ 'use strict';

}, {
key: 'componentWillReceiveProps',
value: function componentWillReceiveProps(props) {
this._subscribe(props);
}
}, {
key: 'shouldComponentUpdate',

@@ -122,2 +117,7 @@ value: function shouldComponentUpdate(nextProps, nextState) {

}, {
key: 'componentDidUpdate',
value: function componentDidUpdate() {
this._subscribe(this.props);
}
}, {
key: 'componentWillUnmount',

@@ -132,3 +132,3 @@ value: function componentWillUnmount() {

var firstRun = !this._cachedWatchingProps;
var nextProps = (0, _lodash2.default)(props, propsToWatch);
var nextProps = propsToWatch === null ? props : (0, _lodash2.default)(props, propsToWatch);
var currentProps = this._cachedWatchingProps || {};

@@ -142,4 +142,3 @@ this._cachedWatchingProps = nextProps;

if (propsToWatch === null) return true;
if (propsToWatch.length === 0) return false;
if (propsToWatch !== null && propsToWatch.length === 0) return false;
return !(0, _shallowequal2.default)(currentProps, nextProps);

@@ -146,0 +145,0 @@ }

{
"name": "@storybook/react-komposer",
"version": "2.0.3",
"version": "2.0.4",
"description": "Generic way to compose data containers for React.",

@@ -21,11 +21,11 @@ "repository": {

"devDependencies": {
"react": "^15.3.2",
"react-dom": "^15.3.2",
"babel-polyfill": "^6.13.0",
"babel-preset-react-app": "^0.2.1",
"babel-cli": "^6.14.0",
"babel-core": "^6.14.0",
"babel-eslint": "^6.1.2",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-polyfill": "^6.13.0",
"babel-preset-react-app": "^0.2.1",
"chai": "^3.5.0",
"enzyme": "^2.2.0",
"eslint": "^3.6.0",
"babel-eslint": "^6.1.2",
"eslint-config-airbnb": "^12.0.0",

@@ -35,8 +35,8 @@ "eslint-plugin-import": "^1.16.0",

"eslint-plugin-react": "^6.3.0",
"jsdom": "^9.5.0",
"mocha": "^3.0.2",
"chai": "^3.5.0",
"sinon": "^1.17.6",
"enzyme": "^2.2.0",
"react": "^15.3.2",
"react-addons-test-utils": "^15.3.2",
"jsdom": "^9.5.0"
"react-dom": "^15.3.2",
"sinon": "^1.17.6"
},

@@ -47,6 +47,6 @@ "peerDependencies": {

"dependencies": {
"@storybook/react-stubber": "^1.0.0",
"babel-runtime": "^6.11.6",
"hoist-non-react-statics": "^1.2.0",
"lodash.pick": "^4.4.0",
"@storybook/react-stubber": "^1.0.0",
"shallowequal": "^0.2.2"

@@ -53,0 +53,0 @@ },

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