Socket
Socket
Sign inDemoInstall

gulp-amphtml-validator

Package Overview
Dependencies
11
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

10

package.json
{
"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;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc