@d-zero/a11y-check-scenarios 0.3.0 → 0.3.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/dist/scenario.js +2 -1
- package/dist/scenario2.js +2 -1
- package/package.json +8 -5
package/dist/scenario.js
CHANGED
|
@@ -133,6 +133,7 @@ export default createScenario((options) => {
|
|
|
133
133
|
},
|
|
134
134
|
];
|
|
135
135
|
return {
|
|
136
|
+
modulePath: import.meta.url,
|
|
136
137
|
id: scenarioId,
|
|
137
138
|
async exec(page, sizeName, logger) {
|
|
138
139
|
// Wait Scroll End
|
|
@@ -184,7 +185,7 @@ export default createScenario((options) => {
|
|
|
184
185
|
scenarioId,
|
|
185
186
|
subKey: test.name,
|
|
186
187
|
id: '',
|
|
187
|
-
url:
|
|
188
|
+
url: page.url(),
|
|
188
189
|
tool: `a11y-check-scenario01: ${test.name}`,
|
|
189
190
|
timestamp: new Date(),
|
|
190
191
|
component: null,
|
package/dist/scenario2.js
CHANGED
|
@@ -5,6 +5,7 @@ const scenarioId = 'a11y-check/scenario02';
|
|
|
5
5
|
export default createScenario((options) => {
|
|
6
6
|
const cache = new Cache(scenarioId, options?.cacheDir);
|
|
7
7
|
return {
|
|
8
|
+
modulePath: import.meta.url,
|
|
8
9
|
id: scenarioId,
|
|
9
10
|
async exec(page, sizeName, logger) {
|
|
10
11
|
if (options?.cache === false) {
|
|
@@ -52,7 +53,7 @@ export default createScenario((options) => {
|
|
|
52
53
|
needAnalysis.push({
|
|
53
54
|
scenarioId,
|
|
54
55
|
id: '',
|
|
55
|
-
url:
|
|
56
|
+
url: page.url(),
|
|
56
57
|
tool: 'a11y-check-scenario02',
|
|
57
58
|
timestamp: new Date(),
|
|
58
59
|
component: selector,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d-zero/a11y-check-scenarios",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Accessibility Checker Scenario Collection",
|
|
5
5
|
"author": "D-ZERO",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,12 +24,15 @@
|
|
|
24
24
|
"clean": "tsc --build --clean"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@d-zero/a11y-check-core": "0.
|
|
28
|
-
"@d-zero/shared": "0.
|
|
27
|
+
"@d-zero/a11y-check-core": "0.4.0",
|
|
28
|
+
"@d-zero/shared": "0.8.0",
|
|
29
29
|
"ansi-colors": "4.1.3"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"
|
|
32
|
+
"puppeteer": "24.9.0"
|
|
33
33
|
},
|
|
34
|
-
"
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"puppeteer": "24.8.2"
|
|
36
|
+
},
|
|
37
|
+
"gitHead": "4e9cc7b87e0fef91b6f2d4edfb66ca9134b2491b"
|
|
35
38
|
}
|