@workpop/dux
Advanced tools
Comparing version 2.1.2 to 2.1.3
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="2.1.3"></a> | ||
## [2.1.3](https://github.com/Workpop/dux/compare/v2.1.2...v2.1.3) (2018-05-01) | ||
### Bug Fixes | ||
* **withMerge:** do not use cloneDeep ([4a7f51f](https://github.com/Workpop/dux/commit/4a7f51f)) | ||
<a name="2.1.2"></a> | ||
@@ -7,0 +17,0 @@ ## [2.1.2](https://github.com/Workpop/dux/compare/v2.1.1...v2.1.2) (2017-08-08) |
@@ -7,6 +7,2 @@ 'use strict'; | ||
var _cloneDeep2 = require('lodash/cloneDeep'); | ||
var _cloneDeep3 = _interopRequireDefault(_cloneDeep2); | ||
var _merge2 = require('lodash/merge'); | ||
@@ -16,4 +12,2 @@ | ||
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; | ||
exports.withClear = withClear; | ||
@@ -78,4 +72,3 @@ exports.withSet = withSet; | ||
{ | ||
var stateClone = (0, _cloneDeep3.default)(state); | ||
return _extends({}, (0, _merge3.default)(stateClone, (0, _utils.getDataFromAction)(action))); | ||
return (0, _merge3.default)({}, state, (0, _utils.getDataFromAction)(action)); | ||
} | ||
@@ -82,0 +75,0 @@ default: |
{ | ||
"name": "@workpop/dux", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "HOC Redux Functions", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
188477
24
782
1