axe-playwright
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -55,3 +55,3 @@ import { Page } from 'playwright'; | ||
*/ | ||
export declare const checkA11y: (page: Page, context?: ElementContext | undefined, axeOptions?: AxeOptions | undefined, skipFailures?: boolean, reporter?: Reporter | 'default' | 'html' | 'junit' | 'v2', options?: Options | undefined) => Promise<void>; | ||
export declare const checkA11y: (page: Page, context?: ElementContext | undefined, axeOptions?: AxeOptions | undefined, skipFailures?: boolean, reporter?: Reporter | "default" | "html" | "junit" | "v2", options?: Options | undefined) => Promise<void>; | ||
export { DefaultTerminalReporter }; |
@@ -63,3 +63,3 @@ "use strict"; | ||
*/ | ||
const configureAxe = (page, configurationOptions = {}) => __awaiter(void 0, void 0, void 0, function* () { | ||
const configureAxe = (page_1, ...args_1) => __awaiter(void 0, [page_1, ...args_1], void 0, function* (page, configurationOptions = {}) { | ||
yield page.evaluate((configOptions) => window.axe.configure(configOptions), configurationOptions); | ||
@@ -110,3 +110,3 @@ }); | ||
*/ | ||
const checkA11y = (page, context = undefined, axeOptions = undefined, skipFailures = false, reporter = 'default', options = undefined) => __awaiter(void 0, void 0, void 0, function* () { | ||
const checkA11y = (page_1, ...args_1) => __awaiter(void 0, [page_1, ...args_1], void 0, function* (page, context = undefined, axeOptions = undefined, skipFailures = false, reporter = 'default', options = undefined) { | ||
var _a, _b, _c; | ||
@@ -113,0 +113,0 @@ const violations = yield (0, exports.getViolations)(page, context, axeOptions === null || axeOptions === void 0 ? void 0 : axeOptions.axeOptions); |
@@ -49,4 +49,4 @@ "use strict"; | ||
report(violations) { | ||
var _a; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
var _a; | ||
let lineBreak = '\n'; | ||
@@ -53,0 +53,0 @@ let pageUrl = ((_a = this.page) === null || _a === void 0 ? void 0 : _a.url()) || 'Page'; |
{ | ||
"name": "axe-playwright", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Custom Playwright commands to inject axe-core and test for a11y", | ||
@@ -32,18 +32,18 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@types/jest": "^28.1.1", | ||
"@types/node": "^18.11.9", | ||
"jest": "^28.1.3", | ||
"jest-each": "^28.1.3", | ||
"jest-playwright-preset": "^2.0.0", | ||
"playwright": "^1.45.0", | ||
"prettier": "^2.7.1", | ||
"ts-jest": "^28.0.8", | ||
"typescript": "^4.8.4" | ||
"@types/jest": "^29.5.13", | ||
"@types/node": "^22.7.2", | ||
"jest": "^29.7.0", | ||
"jest-each": "^29.7.0", | ||
"jest-playwright-preset": "^4.0.0", | ||
"playwright": "^1.47.2", | ||
"prettier": "^3.3.3", | ||
"ts-jest": "^29.2.5", | ||
"typescript": "^5.6.2" | ||
}, | ||
"dependencies": { | ||
"@types/junit-report-builder": "^3.0.0", | ||
"axe-core": "^4.5.1", | ||
"axe-html-reporter": "2.2.3", | ||
"junit-report-builder": "^3.0.1", | ||
"picocolors": "^1.0.0" | ||
"@types/junit-report-builder": "^3.0.2", | ||
"axe-core": "^4.10.0", | ||
"axe-html-reporter": "2.2.11", | ||
"junit-report-builder": "^5.1.1", | ||
"picocolors": "^1.1.0" | ||
}, | ||
@@ -50,0 +50,0 @@ "repository": { |
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
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
38541
+ Addedaxe-html-reporter@2.2.11(transitive)
+ Addedjunit-report-builder@5.1.1(transitive)
- Removedaxe-html-reporter@2.2.3(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removeddate-format@4.0.3(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedjunit-report-builder@3.2.1(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedrimraf@3.0.2(transitive)
- Removedwrappy@1.0.2(transitive)
Updatedaxe-core@^4.10.0
Updatedaxe-html-reporter@2.2.11
Updatedjunit-report-builder@^5.1.1
Updatedpicocolors@^1.1.0