wappsto-redux
Advanced tools
Comparing version 4.2.2 to 4.2.3
@@ -37,6 +37,5 @@ "use strict"; | ||
function mergeUnique(arr1, arr2) { | ||
var arr = _toConsumableArray(arr1); | ||
var arr = arr1 ? _toConsumableArray(arr1) : []; | ||
arr2.forEach(function (e) { | ||
if (!arr1.includes(e)) { | ||
if (!arr1 || !arr1.includes(e)) { | ||
arr.push(e); | ||
@@ -251,3 +250,3 @@ } | ||
newData = addChildEntities(newState, newState.options.parent.type, action.options.parent.id, action.service, data, action.options.reset); | ||
newData = addChildEntities(newState, action.options.parent.type, action.options.parent.id, action.service, data, action.options.reset); | ||
newState = newData.state; | ||
@@ -254,0 +253,0 @@ } else { |
{ | ||
"name": "wappsto-redux", | ||
"version": "4.2.2", | ||
"version": "4.2.3", | ||
"description": "", | ||
@@ -50,18 +50,19 @@ "files": [ | ||
"devDependencies": { | ||
"@babel/cli": "^7.18.6", | ||
"@babel/core": "^7.18.6", | ||
"@babel/eslint-parser": "^7.18.2", | ||
"@babel/preset-env": "^7.18.6", | ||
"@babel/cli": "^7.18.10", | ||
"@babel/core": "^7.18.10", | ||
"@babel/eslint-parser": "^7.18.9", | ||
"@babel/preset-env": "^7.18.10", | ||
"@babel/preset-react": "^7.18.6", | ||
"babel-jest": "^28.1.2", | ||
"eslint": "^8.19.0", | ||
"babel-jest": "^28.1.3", | ||
"eslint": "^8.21.0", | ||
"eslint-config-airbnb": "^19.0.4", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-jest": "^26.5.3", | ||
"eslint-plugin-jest": "^26.7.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-react": "^7.30.1", | ||
"eslint-plugin-react-redux": "^4.0.0", | ||
"husky": "^8.0.1", | ||
"jest": "^28.1.2", | ||
"jest-environment-jsdom": "^28.1.2", | ||
"jest": "^28.1.3", | ||
"jest-environment-jsdom": "^28.1.3", | ||
"jest-fetch-mock": "^3.0.3", | ||
@@ -68,0 +69,0 @@ "jest-websocket-mock": "^2.3.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
115033
24