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

react-cmf

Package Overview
Dependencies
Maintainers
5
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-cmf - npm Package Compare versions

Comparing version 0.86.0 to 0.87.0

2

package.json

@@ -103,3 +103,3 @@ {

},
"version": "0.86.0",
"version": "0.87.0",
"dependencies": {

@@ -106,0 +106,0 @@ "hoist-non-react-statics": "^1.2.0"

@@ -120,3 +120,3 @@ import React, { PropTypes, createElement } from 'react';

mergeProps,
...rest,
...rest
}) {

@@ -123,0 +123,0 @@ return function wrapWithCMF(WrappedComponent) {

@@ -85,3 +85,3 @@ /**

onProps.forEach((name) => {
props[name] = (event) => this.onEvent(event, name);
props[name] = event => this.onEvent(event, name);
});

@@ -88,0 +88,0 @@ return React.cloneElement(child, props);

@@ -69,3 +69,3 @@ /**

return connect(
(state) => mapStateToViewProps(state, { view })
state => mapStateToViewProps(state, { view })
)(component);

@@ -96,3 +96,3 @@ }

const WithView = item.component;
item.component = (props) => <WithView view={item.view} {...props} />;
item.component = props => <WithView view={item.view} {...props} />;
item.component.displayName = 'WithView';

@@ -120,3 +120,3 @@ item.component.propTypes = {

if (item.childRoutes) {
item.childRoutes.forEach((route) => loadComponents(context, route));
item.childRoutes.forEach(route => loadComponents(context, route));
}

@@ -123,0 +123,0 @@ if (item.indexRoute) {

@@ -33,3 +33,3 @@ /**

Object.keys(attachedProps).forEach(
key => {
(key) => {
attachedProps[key] = attachRef(state, attachedProps[key]);

@@ -36,0 +36,0 @@ }

@@ -34,5 +34,5 @@ /**

};
const mapStateToProps = (state) => ({ routes: state.cmf.settings.routes });
const mapStateToProps = state => ({ routes: state.cmf.settings.routes });
export default connect(
mapStateToProps
)(UIRouter);
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