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

pa11y-reporter-html

Package Overview
Dependencies
Maintainers
7
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pa11y-reporter-html - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

10

CHANGELOG.md
# Changelog
## 2.0.0 (2020-05-06)
* Update devdependencies in line with the other runners.
* Bump the Node.js version supported to v10 or later.
* Update Travis test matrix accordingly.
* Update code to codify that pa11y 6.x is required for this version of the runner.
* Whitelist the files to be published on npm. This reduces the size of the package.
## 1.0.0 (2017-09-11)
* Initial release
* Initial release.

2

lib/reporter.js

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

// Pa11y version support
report.supports = '^5.0.0 || ^5.0.0-alpha || ^5.0.0-beta';
report.supports = '^6.0.0 || ^6.0.0-alpha || ^6.0.0-beta';

@@ -15,0 +15,0 @@ // Compile template and output formatted results

{
"name": "pa11y-reporter-html",
"version": "1.0.0",
"version": "2.0.0",
"description": "An HTML reporter for Pa11y",

@@ -19,3 +19,3 @@ "keywords": [

"engines": {
"node": ">=8"
"node": ">=10"
},

@@ -26,9 +26,9 @@ "dependencies": {

"devDependencies": {
"eslint": "^3.18.0",
"mocha": "^3.5.0",
"mockery": "^2.0.0",
"nyc": "^10.1.2",
"pa11y-lint-config": "^1.2.0",
"proclaim": "^3.4.4",
"sinon": "^3.2.0"
"eslint": "^6.8.0",
"mocha": "^7.1.1",
"mockery": "^2.1.0",
"nyc": "^15.0.1",
"pa11y-lint-config": "^1.2.1",
"proclaim": "^3.6.0",
"sinon": "^9.0.2"
},

@@ -38,3 +38,6 @@ "main": "./lib/reporter.js",

"test": "make ci"
}
},
"files": [
"lib"
]
}

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

pa11y('http://example.com').then(results => {
pa11y('http://example.com').then(async results => {
// Returns a string with the results formatted as HTML
const htmlResults = html.results(results);
const htmlResults = await html.results(results);
console.log(htmlResults);

@@ -55,0 +55,0 @@ });

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