Socket
Socket
Sign inDemoInstall

@axe-core/playwright

Package Overview
Dependencies
Maintainers
4
Versions
373
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axe-core/playwright - npm Package Compare versions

Comparing version 4.3.2-alpha.209 to 4.3.2-alpha.210

18

dist/AxePartialRunner.js

@@ -38,6 +38,10 @@ "use strict";

};
var __spreadArray = (this && this.__spreadArray) || function (to, from) {
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
to[j] = from[i];
return to;
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
if (ar || !(i in from)) {
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
ar[i] = from[i];
}
}
return to.concat(ar || Array.prototype.slice.call(from));
};

@@ -51,3 +55,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

this.childRunners = [];
this.partialPromise = exports.caught(partialPromise);
this.partialPromise = (0, exports.caught)(partialPromise);
}

@@ -68,3 +72,3 @@ AxePartialRunner.prototype.addChildResults = function (childResultRunner) {

childPromises = this.childRunners.map(function (childRunner) {
return childRunner ? exports.caught(childRunner.getPartials()) : [null];
return childRunner ? (0, exports.caught)(childRunner.getPartials()) : [null];
});

@@ -74,3 +78,3 @@ return [4 /*yield*/, Promise.all(childPromises)];

childPartials = (_a.sent()).flat(1);
return [2 /*return*/, __spreadArray([parentPartial], childPartials)];
return [2 /*return*/, __spreadArray([parentPartial], childPartials, true)];
case 3:

@@ -77,0 +81,0 @@ e_1 = _a.sent();

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

case 0:
context = utils_1.normalizeContext(this.includes, this.excludes);
context = (0, utils_1.normalizeContext)(this.includes, this.excludes);
_a = this, page = _a.page, options = _a.option;

@@ -160,0 +160,0 @@ page.evaluate(this.script());

{
"name": "@axe-core/playwright",
"version": "4.3.2-alpha.209+9bb0286",
"version": "4.3.2-alpha.210+a436e52",
"description": "Provides a method to inject and analyze web pages using axe",

@@ -39,10 +39,10 @@ "contributors": [

"dependencies": {
"axe-core": "^4.3.3",
"playwright": "^1.13.1"
"axe-core": "^4.3.5",
"playwright": "^1.16.2"
},
"devDependencies": {
"@types/chai": "^4.2.21",
"@types/chai": "^4.2.22",
"@types/express": "^4.17.13",
"@types/mocha": "^8.2.3",
"@types/node": "^14.17.9",
"@types/node": "^14.17.32",
"@types/test-listen": "^1.1.0",

@@ -57,3 +57,3 @@ "axe-test-fixtures": "github:dequelabs/axe-test-fixtures#v1",

"ts-node": "^9.1.1",
"typescript": "^4.3.5"
"typescript": "^4.4.4"
},

@@ -82,3 +82,3 @@ "peerDependencies": {

},
"gitHead": "9bb0286815a58006dcdaca30f417919b09c7091c"
"gitHead": "a436e52aea1a6c37a6c423616dc3b7f56c920f11"
}

@@ -172,3 +172,5 @@ import * as fs from 'fs';

throw new Error(
`${error.message}\n Please check out https://github.com/dequelabs/axe-core-npm/blob/develop/packages/playwright/error-handling.md`
`${
(error as Error).message
}\n Please check out https://github.com/dequelabs/axe-core-npm/blob/develop/packages/playwright/error-handling.md`
);

@@ -175,0 +177,0 @@ }

@@ -131,3 +131,3 @@ import 'mocha';

} catch (e) {
error = e;
error = e as Error;
}

@@ -147,3 +147,3 @@ assert.isNotNull(error);

} catch (e) {
error = e;
error = e as Error;
}

@@ -531,3 +531,3 @@

assert.match(
err.message,
(err as Error).message,
/Please make sure that you have popup blockers disabled./

@@ -548,3 +548,3 @@ );

} catch (err) {
assert.match(err.message, /Please check out/);
assert.match((err as Error).message, /Please check out/);
}

@@ -623,3 +623,3 @@ });

} catch (e) {
error = e;
error = e as Error;
}

@@ -626,0 +626,0 @@ assert.isNotNull(error);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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