|
|
@ -14,7 +14,7 @@
|
|
|
|
postMessage({
|
|
|
|
postMessage({
|
|
|
|
wappalyzer: {
|
|
|
|
wappalyzer: {
|
|
|
|
js: technologies.reduce((technologies, { name, chains }) => {
|
|
|
|
js: technologies.reduce((technologies, { name, chains }) => {
|
|
|
|
chains.forEach((chain) => {
|
|
|
|
chains.forEach((chain, index) => {
|
|
|
|
const value = chain
|
|
|
|
const value = chain
|
|
|
|
.split('.')
|
|
|
|
.split('.')
|
|
|
|
.reduce(
|
|
|
|
.reduce(
|
|
|
@ -23,11 +23,11 @@
|
|
|
|
value instanceof Object &&
|
|
|
|
value instanceof Object &&
|
|
|
|
Object.prototype.hasOwnProperty.call(value, method)
|
|
|
|
Object.prototype.hasOwnProperty.call(value, method)
|
|
|
|
? value[method]
|
|
|
|
? value[method]
|
|
|
|
: undefined,
|
|
|
|
: '__UNDEFINED__',
|
|
|
|
window
|
|
|
|
window
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
if (value !== undefined) {
|
|
|
|
if (value !== '__UNDEFINED__') {
|
|
|
|
technologies.push({
|
|
|
|
technologies.push({
|
|
|
|
name,
|
|
|
|
name,
|
|
|
|
chain,
|
|
|
|
chain,
|
|
|
|