Comparing version 5.33.0 to 5.33.1
@@ -54,4 +54,4 @@ import _typeof from "@babel/runtime/helpers/esm/typeof"; | ||
sources.forEach(function (src) { | ||
var loopSet = new Set(); | ||
function internalMerge(path) { | ||
function internalMerge(path, parentLoopSet) { | ||
var loopSet = new Set(parentLoopSet); | ||
var value = get(src, path); | ||
@@ -72,3 +72,3 @@ var isArr = Array.isArray(value); | ||
Object.keys(value).forEach(function (key) { | ||
internalMerge([].concat(_toConsumableArray(path), [key])); | ||
internalMerge([].concat(_toConsumableArray(path), [key]), loopSet); | ||
}); | ||
@@ -75,0 +75,0 @@ } |
@@ -62,4 +62,4 @@ "use strict"; | ||
sources.forEach(function (src) { | ||
var loopSet = new Set(); | ||
function internalMerge(path) { | ||
function internalMerge(path, parentLoopSet) { | ||
var loopSet = new Set(parentLoopSet); | ||
var value = (0, _get.default)(src, path); | ||
@@ -80,3 +80,3 @@ var isArr = Array.isArray(value); | ||
Object.keys(value).forEach(function (key) { | ||
internalMerge([].concat((0, _toConsumableArray2.default)(path), [key])); | ||
internalMerge([].concat((0, _toConsumableArray2.default)(path), [key]), loopSet); | ||
}); | ||
@@ -83,0 +83,0 @@ } |
{ | ||
"name": "rc-util", | ||
"version": "5.33.0", | ||
"version": "5.33.1", | ||
"description": "Common Utils For React Component", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
223815