Comparing version 2.4.0 to 2.4.1
# Changelog | ||
## 2.4.1 (2021-04-25) | ||
* Upgrades pa11y to the latest 5.3.1 version | ||
* Fix a bug related to having to download puppeteer twice since pa11y 5.3.1 was release (#131). | ||
## 2.4.0 (2020-08-18) | ||
@@ -4,0 +9,0 @@ |
{ | ||
"name": "pa11y-ci", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "Pa11y CI is a CI-centric accessibility test runner, built using Pa11y", | ||
@@ -28,5 +28,5 @@ "keywords": [], | ||
"node-fetch": "~2.6.0", | ||
"pa11y": "~5.3.0", | ||
"pa11y": "~5.3.1", | ||
"protocolify": "~3.0.0", | ||
"puppeteer": "~1.20.0", | ||
"puppeteer": "~1.19.0", | ||
"wordwrap": "~1.0.0" | ||
@@ -33,0 +33,0 @@ }, |
@@ -20,8 +20,8 @@ /* eslint max-len: 'off' */ | ||
it('outputs a result notice for each URL', () => { | ||
assert.include(global.lastResult.output, 'http://notahost:8090/erroring-1 - Failed to run'); | ||
assert.include(global.lastResult.output, './foo/erroring.html - Failed to run'); | ||
}); | ||
it('outputs error information', () => { | ||
assert.include(global.lastResult.output, 'Errors in http://notahost:8090/erroring-1'); | ||
assert.include(global.lastResult.output, 'net::ERR_NAME_NOT_RESOLVED'); | ||
assert.include(global.lastResult.output, 'Errors in ./foo/erroring.html'); | ||
assert.include(global.lastResult.output, 'net::ERR_FILE_NOT_FOUND'); | ||
}); | ||
@@ -49,3 +49,3 @@ | ||
it('outputs a result notice for each URL', () => { | ||
assert.include(global.lastResult.output, 'http://notahost:8090/erroring-1 - Failed to run'); | ||
assert.include(global.lastResult.output, './foo/erroring.html - Failed to run'); | ||
assert.include(global.lastResult.output, 'http://localhost:8090/timeout - Failed to run'); | ||
@@ -55,4 +55,4 @@ }); | ||
it('outputs error information', () => { | ||
assert.include(global.lastResult.output, 'Errors in http://notahost:8090/erroring-1'); | ||
assert.include(global.lastResult.output, 'net::ERR_NAME_NOT_RESOLVED'); | ||
assert.include(global.lastResult.output, 'Errors in ./foo/erroring.html'); | ||
assert.include(global.lastResult.output, 'net::ERR_FILE_NOT_FOUND'); | ||
assert.include(global.lastResult.output, 'Errors in http://localhost:8090/timeout'); | ||
@@ -59,0 +59,0 @@ assert.include(global.lastResult.output, 'timed out'); |
@@ -23,5 +23,5 @@ /* eslint max-len: 'off' */ | ||
results: { | ||
'http://notahost:8090/erroring-1': [ | ||
'./foo/erroring.html': [ | ||
{ | ||
message: 'net::ERR_NAME_NOT_RESOLVED at http://notahost:8090/erroring-1' | ||
message: `net::ERR_FILE_NOT_FOUND at file://${__dirname}/mock/config/foo/erroring.html` | ||
} | ||
@@ -28,0 +28,0 @@ ], |
@@ -20,3 +20,3 @@ /* eslint max-len: 'off' */ | ||
it('outputs a result notice for each URL', () => { | ||
assert.include(global.lastResult.output, 'http://notahost:8090/erroring-1 - Failed to run'); | ||
assert.include(global.lastResult.output, './foo/erroring.html - Failed to run'); | ||
assert.include(global.lastResult.output, 'http://localhost:8090/failing-1 - 1 errors'); | ||
@@ -27,7 +27,7 @@ assert.include(global.lastResult.output, 'http://localhost:8090/passing-1 - 0 errors'); | ||
it('outputs error information', () => { | ||
assert.include(global.lastResult.output, 'Errors in http://notahost:8090/erroring-1'); | ||
assert.include(global.lastResult.output, 'net::ERR_NAME_NOT_RESOLVED'); | ||
assert.include(global.lastResult.output, 'Errors in ./foo/erroring.html'); | ||
assert.include(global.lastResult.output, 'net::ERR_FILE_NOT_FOUND'); | ||
assert.include(global.lastResult.output, 'Errors in http://localhost:8090/failing-1'); | ||
assert.include(global.lastResult.output, 'html element should have a lang'); | ||
assert.notInclude(global.lastResult.output, 'Errors in http://notahost:8090/passing-1'); | ||
assert.notInclude(global.lastResult.output, 'Errors in ./foo/passing-1'); | ||
}); | ||
@@ -34,0 +34,0 @@ |
@@ -30,3 +30,3 @@ /* eslint max-len: 'off' */ | ||
'--sitemap', | ||
'http://notahost:8090/sitemap.xml', | ||
'./foo/sitemap.xml', | ||
'--config', | ||
@@ -42,3 +42,3 @@ 'empty' | ||
it('outputs an error message', () => { | ||
assert.include(global.lastResult.output, 'http://notahost:8090/sitemap.xml'); | ||
assert.include(global.lastResult.output, './foo/sitemap.xml'); | ||
assert.include(global.lastResult.output, 'could not be loaded'); | ||
@@ -45,0 +45,0 @@ }); |
{ | ||
"urls": [ | ||
"http://notahost:8090/erroring-1", | ||
"./foo/erroring.html", | ||
{ | ||
@@ -5,0 +5,0 @@ "url": "http://localhost:8090/timeout", |
{ | ||
"urls": [ | ||
"http://notahost:8090/erroring-1" | ||
"./foo/erroring.html" | ||
] | ||
} |
{ | ||
"urls": [ | ||
"http://notahost:8090/erroring-1", | ||
"./foo/erroring.html", | ||
"http://localhost:8090/failing-1", | ||
@@ -5,0 +5,0 @@ "http://localhost:8090/passing-1" |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
67506
3
- Removedpuppeteer@1.20.0(transitive)
Updatedpa11y@~5.3.1
Updatedpuppeteer@~1.19.0