@caweb/a11y-webpack-plugin 2.0.4 → 2.1.0
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 +5 -5
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -13,8 +13,6 @@ import chalk from 'chalk';
|
|
|
13
13
|
import { fileURLToPath, URL, pathToFileURL } from 'url';
|
|
14
14
|
import { createRequire } from 'module';
|
|
15
15
|
|
|
16
|
-
const require = createRequire(import.meta.url);
|
|
17
|
-
|
|
18
16
|
/**
|
|
19
17
|
* Internal dependencies
|
|
20
18
|
*/
|
|
@@ -23,10 +21,12 @@ import { landingPage } from './reporter.js';
|
|
|
23
21
|
// default configuration
|
|
24
22
|
import {default as DefaultConfig} from './aceconfig.js';
|
|
25
23
|
|
|
26
|
-
const
|
|
24
|
+
const require = createRequire(import.meta.url);
|
|
25
|
+
|
|
26
|
+
const pluginName = 'CAWebA11yPlugin';
|
|
27
27
|
|
|
28
28
|
// IBM Accessibility Checker Plugin
|
|
29
|
-
class
|
|
29
|
+
class CAWebA11yPlugin {
|
|
30
30
|
config = {}
|
|
31
31
|
|
|
32
32
|
constructor(opts = {}) {
|
|
@@ -286,4 +286,4 @@ class CAWebA11yWebpackPlugin {
|
|
|
286
286
|
} // end of class
|
|
287
287
|
|
|
288
288
|
|
|
289
|
-
export default
|
|
289
|
+
export default CAWebA11yPlugin;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caweb/a11y-webpack-plugin",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "CAWebPublishing Webpack Plugin to run Accessibility Scans",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"check-valid-url": "^0.1.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@caweb/html-webpack-plugin": "^2.0
|
|
43
|
+
"@caweb/html-webpack-plugin": "^2.1.0",
|
|
44
44
|
"webpack": "^5.104.1",
|
|
45
45
|
"webpack-cli": "^6.0.1"
|
|
46
46
|
}
|