gulp-amphtml-validator
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "gulp-amphtml-validator", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Gulp plugin for the official AMP HTML validator (www.ampproject.org)", | ||
@@ -20,8 +20,8 @@ "keywords": [ | ||
"dependencies": { | ||
"amphtml-validator": "1.0.23", | ||
"through2": "^2.0.1" | ||
"amphtml-validator": "1.0.30", | ||
"through2": "3.0.1" | ||
}, | ||
"devDependencies": { | ||
"gulp": "^3.9.1", | ||
"mocha": "^3.2.0" | ||
"gulp": "4.0.2", | ||
"mocha": "7.0.1" | ||
}, | ||
@@ -28,0 +28,0 @@ "scripts": { |
@@ -44,2 +44,7 @@ # Gulp AMPHTML Validator | ||
### 1.0.4 | ||
- Update amphtml-validator dependency to 1.0.30, gulp to 4.0.2 and mocha to | ||
7.0.1. | ||
### 1.0.3 | ||
@@ -46,0 +51,0 @@ |
@@ -69,3 +69,3 @@ /** | ||
validate.once('data', function(file) { | ||
assert.equal(file.ampValidationResult.status, 'N/A'); | ||
assert.equal(file.ampValidationResult.status, 'UNKNOWN'); | ||
done(); | ||
@@ -96,4 +96,4 @@ }); | ||
format.once('finish', function() { | ||
assert.equal(logger.logged, 'AMP Validation results:\n\n' + VALID_FILE + | ||
': \u001b[32mPASS\u001b[39m'); | ||
assert.ok(logger.logged.includes('AMP Validation results:\n\n' + VALID_FILE + | ||
': \u001b[32mPASS\u001b[39m')); | ||
done(); | ||
@@ -123,5 +123,5 @@ }); | ||
format.once('finish', function() { | ||
assert.equal(logger.logged, 'AMP Validation results:\n\n' + | ||
assert.ok(logger.logged.includes('AMP Validation results:\n\n' + | ||
INVALID_FILE + ': \u001b[31mFAIL\u001b[39m\n' + INVALID_FILE + | ||
':24:4 ' + '\u001b[31merrorMessage\u001b[39m (see specUrl)'); | ||
':24:4 ' + '\u001b[31merrorMessage\u001b[39m (see specUrl)')); | ||
done(); | ||
@@ -181,3 +181,3 @@ }); | ||
file.ampValidationResult = { | ||
status: 'N/A', | ||
status: 'UNKNOWN', | ||
}; | ||
@@ -184,0 +184,0 @@ return file; |
14874
65
+ Addedamphtml-validator@1.0.30(transitive)
+ Addedcolors@1.2.5(transitive)
+ Addedcommander@2.15.1(transitive)
+ Addedpromise@8.0.1(transitive)
+ Addedreadable-stream@3.6.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedstring_decoder@1.3.0(transitive)
+ Addedthrough2@3.0.1(transitive)
- Removedamphtml-validator@1.0.23(transitive)
- Removedcolors@1.1.2(transitive)
- Removedcommander@2.9.0(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedgraceful-readlink@1.0.1(transitive)
- Removedisarray@1.0.0(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedpromise@7.1.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedthrough2@2.0.5(transitive)
- Removedxtend@4.0.2(transitive)
Updatedamphtml-validator@1.0.30
Updatedthrough2@3.0.1