Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

axe-playwright

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axe-playwright - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

2

dist/index.d.ts

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc