New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@deephaven/log

Package Overview
Dependencies
Maintainers
0
Versions
820
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deephaven/log - npm Package Compare versions

Comparing version

to
0.106.2

35

dist/LogExport.js

@@ -22,13 +22,4 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }

// check blacklists
var _loop = function _loop(i) {
if (currPath.length === blacklist[i].length && currPath.every((v, index) => v === blacklist[i][index])) {
// blacklist match
return {
v: undefined
};
}
};
for (var i = 0; i < blacklist.length; i += 1) {
var _ret = _loop(i);
if (typeof _ret === "object") return _ret.v;
if (isOnBlackList(currPath, blacklist)) {
return undefined;
}

@@ -43,2 +34,17 @@ if (value instanceof Map) {

}
function isOnBlackList(currPath, blacklist) {
var _loop = function _loop(i) {
if (currPath.length === blacklist[i].length && currPath.every((v, index) => v === blacklist[i][index])) {
// blacklist match
return {
v: true
};
}
};
for (var i = 0; i < blacklist.length; i += 1) {
var _ret = _loop(i);
if (typeof _ret === "object") return _ret.v;
}
return false;
}

@@ -82,3 +88,8 @@ /**

potentiallyCircularValues.set(valRecord, curPath);
output[key] = makeSafeToStringify(val, blacklist, curPath, potentiallyCircularValues);
// Convert the path to an array and remove the root
var curPathArray = curPath.split('.').slice(1);
// If the path is on the blacklist, it will eventually be replaced by undefined, so avoid the recursive call
if (!isOnBlackList(curPathArray, blacklist)) {
output[key] = makeSafeToStringify(val, blacklist, curPath, potentiallyCircularValues);
}
}

@@ -85,0 +96,0 @@ }

{
"name": "@deephaven/log",
"version": "0.106.2-beta.1+d44370b1",
"version": "0.106.2",
"description": "Deephaven Logger",

@@ -34,3 +34,3 @@ "author": "Deephaven Data Labs LLC",

},
"gitHead": "d44370b18b16f153403eaf95094e29755d673d4e"
"gitHead": "d595d88499eeb036f23c31a3a94fcbd677ea7ee5"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet