manul-react-komposer
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -54,10 +54,9 @@ 'use strict'; | ||
function compose(fn, L1, E1) { | ||
var _ref = arguments.length <= 3 || arguments[3] === undefined ? {} : arguments[3]; | ||
var _ref = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}, | ||
contextTypes = _ref.contextTypes, | ||
_ref$pure = _ref.pure, | ||
pure = _ref$pure === undefined ? true : _ref$pure, | ||
_ref$withRef = _ref.withRef, | ||
withRef = _ref$withRef === undefined ? false : _ref$withRef; | ||
var contextTypes = _ref.contextTypes; | ||
var _ref$pure = _ref.pure; | ||
var pure = _ref$pure === undefined ? true : _ref$pure; | ||
var _ref$withRef = _ref.withRef; | ||
var withRef = _ref$withRef === undefined ? false : _ref$withRef; | ||
return function (ChildComponent, L2, E2) { | ||
@@ -178,4 +177,4 @@ (0, _invariant2.default)(Boolean(ChildComponent), 'Should provide a child component to build the higher order container.'); | ||
value: function _getProps() { | ||
var _state$payload = this.state.payload; | ||
var payload = _state$payload === undefined ? {} : _state$payload; | ||
var _state$payload = this.state.payload, | ||
payload = _state$payload === undefined ? {} : _state$payload; | ||
@@ -182,0 +181,0 @@ |
@@ -56,3 +56,3 @@ 'use strict'; | ||
function disable() { | ||
var value = arguments.length <= 0 || arguments[0] === undefined ? true : arguments[0]; | ||
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; | ||
@@ -69,3 +69,3 @@ disableMode = value; | ||
function setStubbingMode() { | ||
var value = arguments.length <= 0 || arguments[0] === undefined ? true : arguments[0]; | ||
var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true; | ||
@@ -72,0 +72,0 @@ stubbingMode = value; |
{ | ||
"name": "manul-react-komposer", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "fork of react-komposer -- Generic way to compose data containers for React.", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
728714
3991
3
9
3