amphtml-validator
Advanced tools
Comparing version 1.0.29 to 1.0.30
@@ -21,3 +21,3 @@ #!/usr/bin/env node | ||
const colors = require('colors'); | ||
const colors = require('colors/safe'); | ||
const fs = require('fs'); | ||
@@ -24,0 +24,0 @@ const http = require('http'); |
{ | ||
"name": "amphtml-validator", | ||
"version": "1.0.29", | ||
"version": "1.0.30", | ||
"description": "Official validator for AMP HTML (www.ampproject.org)", | ||
@@ -12,5 +12,2 @@ "keywords": [ | ||
], | ||
"engines": { | ||
"node": "^8 || ^10 || ^12 || ^14" | ||
}, | ||
"author": "The AMP HTML Authors", | ||
@@ -17,0 +14,0 @@ "license": "Apache-2.0", |
@@ -56,29 +56,56 @@ # amphtml-validator Node.js Package | ||
### 1.0.10 | ||
### 1.0.30 | ||
- Fixed [#4246: amphtml-validator CLI fails on Mac OS X](https://github.com/ampproject/amphtml/issues/4246). | ||
- Remove engine section from pacakge.json to allow any version of nodejs. | ||
### 1.0.11 | ||
### 1.0.29 | ||
- Added support for AMP4ADS (via --html_format command line flag) and | ||
argument for validateString function in the API. | ||
- Reintroduce node v8 support. Supports node v8, v10, v12 and v14. | ||
### 1.0.12 | ||
### 1.0.28 | ||
- Added support for --user-agent option. | ||
- Reintroduce node v10 support and introduce node v14 support. | ||
### 1.0.13 | ||
### 1.0.27 | ||
- Added newInstance method, a simple API that's not async. | ||
- Removed references to amp.validator.categorizeError. | ||
### 1.0.15 | ||
### 1.0.26 | ||
- Added support for installing on Windows. | ||
`npm install -g amphtml-validator` should now just work. | ||
- Introduce node v12 support and remove node v10 support. | ||
### 1.0.16 | ||
### 1.0.25 | ||
- `npm install amphtml-validator` (local install) should now work on Windows, | ||
for `require('amphtml-validator')`. | ||
- Broken release, removed. | ||
### 1.0.24 | ||
- Introduce node v10 support and remove node 8 support. | ||
### 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. | ||
### 1.0.22 | ||
- --html_format=AMP4EMAIL added. | ||
### 1.0.21 | ||
- --html_format=AMP4ADS is no longer experimental. | ||
### 1.0.20 | ||
- Better npm post-install for virtual machines, running debian over windows with SMB shared folder. | ||
### 1.0.19 | ||
- Set correct process exit status for old versions of Node.js (v0.10.25). | ||
### 1.0.18 | ||
- Small tweaks to this file and package.json. | ||
### 1.0.17 | ||
@@ -90,26 +117,27 @@ | ||
### 1.0.18 | ||
### 1.0.16 | ||
- Small tweaks to this file and package.json. | ||
- `npm install amphtml-validator` (local install) should now work on Windows, | ||
for `require('amphtml-validator')`. | ||
### 1.0.19 | ||
### 1.0.15 | ||
- Set correct process exit status for old versions of Node.js (v0.10.25). | ||
- Added support for installing on Windows. | ||
`npm install -g amphtml-validator` should now just work. | ||
### 1.0.20 | ||
### 1.0.13 | ||
- Better npm post-install for virtual machines, running debian over windows with SMB shared folder. | ||
- Added newInstance method, a simple API that's not async. | ||
### 1.0.21 | ||
### 1.0.12 | ||
- --html_format=AMP4ADS is no longer experimental. | ||
- Added support for --user-agent option. | ||
### 1.0.22 | ||
### 1.0.11 | ||
- --html_format=AMP4EMAIL added. | ||
- Added support for AMP4ADS (via --html_format command line flag) and | ||
argument for validateString function in the API. | ||
### 1.0.23 | ||
### 1.0.10 | ||
- 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. | ||
- Fixed [#4246: amphtml-validator CLI fails on Mac OS X](https://github.com/ampproject/amphtml/issues/4246). |
35382
5
142