Fix recursion in NPM driver, update README

main
Elbert Alias 4 years ago
parent 602e888f43
commit 088590b066

@ -64,7 +64,7 @@ const options = {
};
;(async function() {
const wappalyzer = await new Wappalyzer()
const wappalyzer = await new Wappalyzer(options)
try {
await wappalyzer.init()

@ -75,9 +75,11 @@ function getJs() {
) {
const newObj = {}
Object.keys(obj).forEach((key) => {
newObj[key] = dereference(obj[key], level + 1)
})
Object.keys(obj)
.filter((key) => obj.hasOwnProperty(key))
.forEach((key) => {
newObj[key] = dereference(obj[key], level + 1)
})
return newObj
}

@ -25,10 +25,6 @@
window
)
if (name === 'Intercom') {
console.log(name, chains, value)
}
if (value !== undefined) {
technologies.push({
name,

Loading…
Cancel
Save