Socket
Socket
Sign inDemoInstall

rc-util

Package Overview
Dependencies
Maintainers
9
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-util - npm Package Compare versions

Comparing version 5.33.0 to 5.33.1

6

es/utils/set.js

@@ -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": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc