@workpop/dux
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="2.1.2"></a> | ||
## [2.1.2](https://github.com/Workpop/dux/compare/v2.1.1...v2.1.2) (2017-08-08) | ||
### Bug Fixes | ||
* **MoveEntities:** allow sorting. ([ce3a162](https://github.com/Workpop/dux/commit/ce3a162)) | ||
<a name="2.1.1"></a> | ||
@@ -7,0 +17,0 @@ ## [2.1.1](https://github.com/Workpop/dux/compare/v2.1.0...v2.1.1) (2017-07-14) |
@@ -8,2 +8,6 @@ 'use strict'; | ||
var _identity2 = require('lodash/identity'); | ||
var _identity3 = _interopRequireDefault(_identity2); | ||
var _reject2 = require('lodash/reject'); | ||
@@ -56,2 +60,3 @@ | ||
var entityType = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ENTITY_TYPES.LIST; | ||
var transformFunc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _identity3.default; | ||
@@ -86,3 +91,3 @@ return function (reducer) { | ||
mergedData = { | ||
data: [].concat(_toConsumableArray(currentData), [data]) | ||
data: transformFunc([].concat(_toConsumableArray(currentData), [data])) | ||
}; | ||
@@ -89,0 +94,0 @@ return Object.assign({}, currentState, mergedData); |
{ | ||
"name": "@workpop/dux", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"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
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
154617
701
0