with-immutable-props-to-js
Advanced tools
Comparing version 1.0.2 to 1.1.0
@@ -8,2 +8,4 @@ "use strict"; | ||
var _hoistNonReactStatics = _interopRequireDefault(require("hoist-non-react-statics")); | ||
var _react = _interopRequireDefault(require("react")); | ||
@@ -42,3 +44,3 @@ | ||
Wrapper.displayName = "withImmutablePropsToJS(".concat(getDisplayName(WrappedComponent), ")"); | ||
return Wrapper; | ||
return (0, _hoistNonReactStatics.default)(Wrapper, WrappedComponent); | ||
}; | ||
@@ -45,0 +47,0 @@ |
{ | ||
"name": "with-immutable-props-to-js", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"description": "A higher-order component for keeping Immutable objects outside your presentational components", | ||
@@ -43,3 +43,3 @@ "keywords": [ | ||
"eslint-config-prettier": "^3.3.0", | ||
"eslint-plugin-jest": "^22.0.0", | ||
"eslint-plugin-jest": "^22.1.3", | ||
"eslint-plugin-jsx-a11y": "^6.1.2", | ||
@@ -64,3 +64,6 @@ "eslint-plugin-prettier": "^3.0.0", | ||
] | ||
}, | ||
"dependencies": { | ||
"hoist-non-react-statics": "^3.2.1" | ||
} | ||
} |
@@ -11,4 +11,4 @@ # with-immutable-props-to-js | ||
[![All Contributors](https://img.shields.io/badge/all_contributors-7-orange.svg?style=flat)](#contributors) | ||
[![Slack workspace](https://slackinvite.dev.tophat.com/badge.svg)](https://opensource.tophat.com/#join-slack) | ||
[![All Contributors](https://img.shields.io/badge/all_contributors-8-orange.svg?style=flat)](#contributors) | ||
[![Slack workspace](https://slackinvite.dev.tophat.com/badge.svg)](https://opensource.tophat.com/slack) | ||
[![Maturity badge - level 3](https://img.shields.io/badge/Maturity-Level%203%20--%20Stable-green.svg)](https://github.com/tophat/getting-started/blob/master/scorecard.md) | ||
@@ -84,2 +84,3 @@ | ||
| :---: | :---: | :---: | :---: | :---: | :---: | :---: | | ||
| [<img src="https://avatars0.githubusercontent.com/u/6589617?v=4" width="100px;"/><br /><sub><b>Danilo Matamoros</b></sub>](https://github.com/danilomatamoros)<br />[💻](https://github.com/tophat/with-immutable-props-to-js/commits?author=danilomatamoros "Code") | | ||
<!-- ALL-CONTRIBUTORS-LIST:END --> | ||
@@ -86,0 +87,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20782
33
91
4
+ Addedhoist-non-react-statics@3.3.2(transitive)
+ Addedreact-is@16.13.1(transitive)