Fix validation

main
Elbert Alias 8 years ago
parent ddebcea686
commit 194acac05b

@ -24,7 +24,7 @@ node $WAPPALYZER_NODE_PATH/node_modules/jsonlint/lib/cli.js -ist $'\t' $WAPPALYZ
echo "Compressing PNG and SVG icons..."
node $WAPPALYZER_NODE_PATH/node_modules/imagemin-cli/cli.js $WAPPALYZER_ROOT/src/icons/* --out-dir $WAPPALYZER_ROOT/src/icons
node $WAPPALYZER_NODE_PATH/node_modules/imagemin-cli/cli.js $WAPPALYZER_ROOT/src/icons/* --out-dir $WAPPALYZER_ROOT/src/icons 2>&1 > /dev/null
echo "Converting SVG icons to PNG..."

@ -80,7 +80,7 @@ for ( app in json.apps ) {
}
});
if ( /[a-z]+:\/\//i.test(json.apps[app].website) ) {
throw new Error('Do not include the protocol in the website URL\n' + app + ': ' + json.apps[app].website);
if ( !/^https?:\/\//i.test(json.apps[app].website) ) {
throw new Error('Invalid website URL\n' + app + ': ' + json.apps[app].website);
}
}

@ -1846,7 +1846,7 @@
"Server": "DECORUM(?:/([\\d.]+))?\\;version:\\1"
},
"icon": "default.svg",
"website": "http://???"
"website": "http://example.com"
},
"DedeCMS": {
"cats": [
@ -2508,7 +2508,7 @@
"Server": "FlashCom/?([\\d\\.]+)?\\;version:\\1"
},
"icon": "default.svg",
"website": "http://???"
"website": "http://example.com"
},
"Flask": {
"cats": [
@ -3207,7 +3207,7 @@
"Server": "(?:^|[^-])\bHTTP-Server(?: ?/?V?([\\d.]+))?\\;version:\\1"
},
"icon": "default.svg",
"website": "http://???"
"website": "http://example.com"
},
"HTTP/2": {
"cats": [
@ -3257,7 +3257,7 @@
},
"icon": "default.svg",
"implies": "OmniTouch 8660 My Teamwork",
"website": "http://???"
"website": "http://example.com"
},
"Haskell": {
"cats": [
@ -6253,7 +6253,7 @@
"Server": "RAID HTTPServer(?:/([\\d.]+))?\\;version:\\1"
},
"icon": "default.svg",
"website": "http://???"
"website": "http://example.com"
},
"RBS Change": {
"cats": [
@ -6363,7 +6363,7 @@
"Server": "Rapid Logic(?:/([\\d.]+))?\\;version:\\1"
},
"icon": "default.svg",
"website": "http://???"
"website": "http://example.com"
},
"React": {
"cats": [
@ -7037,7 +7037,7 @@
"Server": "SimpleHTTP(?:/([\\d.]+))?\\;version:\\1"
},
"icon": "default.svg",
"website": "http://???"
"website": "http://example.com"
},
"Site Meter": {
"cats": [
@ -8169,7 +8169,7 @@
"implies": [
"HP"
],
"website": "http://???"
"website": "http://example.com"
},
"VirtueMart": {
"cats": [
@ -9061,7 +9061,7 @@
"Server": "dwhttpd\\/?([\\d\\.a-z]+)?\\;version:\\1"
},
"icon": "default.svg",
"website": "http://???"
"website": "http://example.com"
},
"e107": {
"cats": [
@ -9095,7 +9095,7 @@
},
"icon": "default.svg",
"implies": "HP ProCurve",
"website": "http://???"
"website": "http://example.com"
},
"eSyndiCat": {
"cats": [

@ -1,7 +1,7 @@
{ "name": "Wappalyzer",
"homepage_url": "https://wappalyzer.com?pk_campaign=chrome&pk_kwd=context",
"description": "Identifies software on the web",
"version": "2.50",
"version": "2.51",
"default_locale": "en",
"manifest_version": 2,
"icons": {

@ -8,7 +8,7 @@
"description": "Identifies software on the web",
"author": "Elbert Alias",
"license": "GPLv3",
"version": "3.2.9",
"version": "3.2.10",
"main": "driver.js",
"preferences": [{
"name": "tracking",

Loading…
Cancel
Save