@caweb/a11y-webpack-plugin 1.1.1 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -3
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
/**
|
|
4
4
|
* External dependencies
|
|
5
5
|
*/
|
|
6
|
-
import { sync as resolveBin } from 'resolve-bin';
|
|
7
6
|
import spawn from 'cross-spawn';
|
|
8
7
|
import { getAllFilesSync } from 'get-all-files'
|
|
9
8
|
import EntryDependency from "webpack/lib/dependencies/EntryDependency.js";
|
|
@@ -173,7 +172,7 @@ class A11yPlugin {
|
|
|
173
172
|
// // )
|
|
174
173
|
// }
|
|
175
174
|
|
|
176
|
-
console.log(`<i> ${boldGreen('[webpack-dev-middleware] IBM Accessibilty Report can be viewed at')} ${ boldBlue(new URL(`${auditUrl}
|
|
175
|
+
console.log(`<i> ${boldGreen('[webpack-dev-middleware] IBM Accessibilty Report can be viewed at')} ${ boldBlue(new URL(`${auditUrl}${staticDir.publicPath}/${this.config.outputFilename}.html`).toString()) }`);
|
|
177
176
|
|
|
178
177
|
});
|
|
179
178
|
})
|
|
@@ -240,7 +239,7 @@ class A11yPlugin {
|
|
|
240
239
|
let outputDir = path.resolve('.', outputFolder );
|
|
241
240
|
|
|
242
241
|
let {stderr, stdout} = spawn.sync(
|
|
243
|
-
|
|
242
|
+
path.resolve(currentPath, '..', '..', 'accessibility-checker', 'bin', 'achecker.js'),
|
|
244
243
|
acheckerArgs,
|
|
245
244
|
{
|
|
246
245
|
stdio: 'pipe'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caweb/a11y-webpack-plugin",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "CAWebPublishing Webpack Plugin to run Accessibility Scans",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"webpack"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"accessibility-checker": "^
|
|
36
|
+
"accessibility-checker": "^4.0.7",
|
|
37
37
|
"check-valid-url": "^0.1.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"webpack": "^5.
|
|
41
|
-
"webpack-cli": "^
|
|
40
|
+
"webpack": "^5.101.0",
|
|
41
|
+
"webpack-cli": "^6.0.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"@caweb/template": "^1.0.2"
|