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

pa11y

Package Overview
Dependencies
Maintainers
2
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pa11y - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

9

lib/pa11y.js

@@ -1,2 +0,2 @@

/* globals document, window */
/* globals window */
'use strict';

@@ -17,2 +17,3 @@

reporter: opts.reporter,
htmlcs: opts.htmlcs,
timeout: opts.timeout,

@@ -107,7 +108,3 @@ debug: opts.debug

self.reporter.log('Loading HTML CodeSniffer...');
self.page.evaluate(function () {
var script = document.createElement('script');
script.src = 'http://squizlabs.github.com/HTML_CodeSniffer/build/HTMLCS.js';
document.head.appendChild(script);
}, function () {
self.page.includeJs(self.htmlcs, function () {
wait(self.page, function () {

@@ -114,0 +111,0 @@ return (typeof window.HTMLCS !== 'undefined');

{
"name": "pa11y",
"version": "1.0.1",
"version": "1.1.0",

@@ -5,0 +5,0 @@ "description": "pa11y is your automated accessibility testing pal",

@@ -7,3 +7,3 @@ pa11y

**Current Version:** *1.0.1*
**Current Version:** *1.1.0*
**Node Version Support:** *0.10*

@@ -50,3 +50,5 @@

-s, --standard <name> specify a standard to use, one of: Section508, WCAG2A, WCAG2AA (default), WCAG2AAA
-c, --htmlcs <url> specify a URL to source HTML_CodeSniffer from. Default: squizlabs.github.io
-t, --timeout <ms> specify the number of milliseconds before a timeout error occurs. Default: 30000
-d, --debug output debug messages

@@ -53,0 +55,0 @@ ```

@@ -19,3 +19,3 @@ 'use strict';

app.get('/invalid', function (req, res) {
res.redirect('http://thishadbetternotbearealhost/');
res.redirect('http://localhost:12345678/thishadbetternotbearealurl');
});

@@ -22,0 +22,0 @@

Sorry, the diff of this file is not supported yet

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