pa11y-reporter-html
Advanced tools
Comparing version 1.0.0 to 2.0.0
# 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. |
@@ -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 @@ }); |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
14464
6
37
1