Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pa11y-ci

Package Overview
Dependencies
Maintainers
7
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pa11y-ci - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

.github/workflows/tests.yml

5

CHANGELOG.md
# 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 @@

6

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc