@applitools/visual-grid-client
Advanced tools
Comparing version 5.3.9 to 5.3.10
{ | ||
"name": "@applitools/visual-grid-client", | ||
"version": "5.3.9", | ||
"version": "5.3.10", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "src/visual-grid-client.js", |
@@ -32,3 +32,6 @@ 'use strict'; | ||
entry.dependencies.forEach(dep => { | ||
Object.assign(ret, getWithDependencies(dep)); | ||
// stop condition to avoid infinite recursion | ||
if (!ret[dep]) { | ||
Object.assign(ret, getWithDependencies(dep)); | ||
} | ||
}); | ||
@@ -43,2 +46,10 @@ } | ||
// for debugging purposes | ||
function toJSON() { | ||
return Object.keys(cache).reduce((acc, curr) => { | ||
acc[curr] = {length: cache[curr].value.length, dependencies: cache[curr].dependencies}; | ||
return acc; | ||
}, {}); | ||
} | ||
const cache = {}; | ||
@@ -52,2 +63,3 @@ | ||
remove, | ||
toJSON, | ||
}; | ||
@@ -54,0 +66,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
76451
2026