Update moment.js icon, remove console.log

main
Elbert Alias 7 years ago
parent c4498ca951
commit e96fb5ba30

@ -5238,7 +5238,7 @@
"cats": [
"12"
],
"icon": "Moment.js.png",
"icon": "Moment.js.svg",
"implies": "Moment.js",
"script": "moment-timezone(?:\\-data)?(?:\\.min)?\\.js",
"website": "http://momentjs.com/timezone/"
@ -5248,7 +5248,7 @@
"12"
],
"env": "^moment$",
"icon": "Moment.js.png",
"icon": "Moment.js.svg",
"script": "moment(?:\\.min)?\\.js",
"website": "http://momentjs.com"
},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 438 B

@ -0,0 +1 @@
<svg width="2500" height="2500" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid"><g fill-rule="evenodd"><path d="M128 256c70.692 0 128-57.308 128-128C256 57.308 198.692 0 128 0 57.308 0 0 57.308 0 128c0 70.692 57.308 128 128 128zm0-19.2c-60.089 0-108.8-48.711-108.8-108.8S67.911 19.2 128 19.2 236.8 67.911 236.8 128 188.089 236.8 128 236.8z" fill="#376660"/><path d="M128 230.4c56.554 0 102.4-45.846 102.4-102.4 0-56.554-45.846-102.4-102.4-102.4C71.446 25.6 25.6 71.446 25.6 128c0 56.554 45.846 102.4 102.4 102.4zM128 32c-3.535 0-6.4 2.88-6.4 6.444V121.6H76.781A6.375 6.375 0 0 0 70.4 128c0 3.535 2.916 6.4 6.37 6.4h57.63V38.406A6.387 6.387 0 0 0 128 32z" fill="#529990"/></g></svg>

After

Width:  |  Height:  |  Size: 721 B

@ -116,11 +116,7 @@ class Wappalyzer {
this.driver.getRobotsTxt(parsed.host, parsed.protocol === 'https:')
.then(robotsTxt => {
robotsTxt.forEach(disallow => {
if ( parsed.pathname.indexOf(disallow) === 0 ) {
reject();
}
});
robotsTxt.forEach(disallow => parsed.pathname.indexOf(disallow) === 0 && reject());
resolve();
});
@ -352,7 +348,7 @@ class Wappalyzer {
this.hostnameCache[hostname].applications[appName].version = app.version;
}
})
.catch(() => console.log('Disallowed in robots.txt: ' + url))
.catch(() => this.log('Disallowed in robots.txt: ' + url), 'core')
}
}
});