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 1.1.5 to 1.1.6

2

dist/index.js

@@ -38,3 +38,3 @@ "use strict";

exports.injectAxe = (page) => __awaiter(void 0, void 0, void 0, function* () {
const axe = fs.readFileSync('node_modules/axe-core/axe.min.js', 'utf8');
const axe = fs.readFileSync(require.resolve('axe-core/axe.min.js'), 'utf8');
yield page.evaluate((axe) => window.eval(axe), axe);

@@ -41,0 +41,0 @@ });

{
"name": "axe-playwright",
"version": "1.1.5",
"version": "1.1.6",
"description": "Custom Playwright commands to inject axe-core and test for a11y",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -22,3 +22,3 @@ import { Page } from 'playwright-core'

const axe: string = fs.readFileSync(
'node_modules/axe-core/axe.min.js',
require.resolve('axe-core/axe.min.js'),
'utf8',

@@ -25,0 +25,0 @@ )

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