amphtml-validator
Advanced tools
Comparing version 1.0.22 to 1.0.23
@@ -407,3 +407,3 @@ #!/usr/bin/env node | ||
.option( | ||
'--html_format <AMP|AMP4ADS|EXPERIMENTAL>', | ||
'--html_format <AMP|AMP4ADS|AMP4EMAIL|EXPERIMENTAL>', | ||
'The input format to be validated.\n' + | ||
@@ -428,5 +428,7 @@ ' AMP by default.', | ||
if (program.html_format !== 'AMP' && program.html_format !== 'AMP4ADS' && | ||
program.html_format !== 'AMP4EMAIL' && | ||
program.html_format !== 'EXPERIMENTAL') { | ||
process.stderr.write( | ||
'--html_format must be set to "AMP", "AMP4ADS", or "EXPERIMENTAL.\n', | ||
'--html_format must be set to "AMP", "AMP4ADS", "AMP4EMAIL", or ' + | ||
'"EXPERIMENTAL.\n', | ||
function() { | ||
@@ -433,0 +435,0 @@ process.exit(1); |
{ | ||
"name": "amphtml-validator", | ||
"version": "1.0.22", | ||
"version": "1.0.23", | ||
"description": "Official validator for AMP HTML (www.ampproject.org)", | ||
@@ -22,3 +22,3 @@ "keywords": [ | ||
"bin": { | ||
"amphtml-validator": "index.sh" | ||
"amphtml-validator": "index.js" | ||
}, | ||
@@ -32,6 +32,3 @@ "dependencies": { | ||
"jasmine": "2.3.2" | ||
}, | ||
"scripts": { | ||
"postinstall": "/bin/sh -c \"exit 0\" 2> postinstall.DELETEME && rm postinstall.DELETEME || node postinstall-windows.js" | ||
} | ||
} |
@@ -91,1 +91,6 @@ # amphtml-validator Node.js Package | ||
* --html_format=AMP4EMAIL added. | ||
### 1.0.23 | ||
* The amphtml-validator binary now requires the Node.js binary to be called node. | ||
On systems where the Node.js binary is called nodejs, consider installing | ||
the nodejs-legacy Debian package or better yet, NVM. |
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
96
0
3
31436
4
731