@axe-core/watcher 2.0.0-next.12481f06 → 2.0.0-next.17d21bd3
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/cypress.d.ts +1 -1
- package/dist/playwright.d.ts +1 -1
- package/dist/puppeteer.d.ts +1 -1
- package/dist/puppeteer.js +6 -1
- package/dist/puppeteer.js.map +1 -1
- package/dist/wdio.d.ts +1 -1
- package/dist/webdriver.d.ts +1 -1
- package/extension/background.js +1 -1
- package/extension/content.js +1 -1
- package/extension/manifest.json +1 -2
- package/package.json +1 -1
package/dist/cypress.d.ts
CHANGED
package/dist/playwright.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LaunchOptions, Page } from 'playwright-core';
|
|
2
|
-
import { Configuration } from './util';
|
|
2
|
+
import { type Configuration } from './util';
|
|
3
3
|
import Controller from './Controller';
|
|
4
4
|
import { wrapBrowserContext } from './playwrightWrapping';
|
|
5
5
|
/** Options for configuring Playwright and @axe-core/watcher. */
|
package/dist/puppeteer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { LaunchOptions, BrowserLaunchArgumentOptions, BrowserConnectOptions, Page } from 'puppeteer';
|
|
2
|
-
import { Configuration } from './util';
|
|
2
|
+
import { type Configuration } from './util';
|
|
3
3
|
import Controller from './Controller';
|
|
4
4
|
export { wrapBrowserContext as wrapPuppeteer } from './puppeteerWrapping';
|
|
5
5
|
declare type Options = LaunchOptions & BrowserLaunchArgumentOptions & BrowserConnectOptions;
|
package/dist/puppeteer.js
CHANGED
|
@@ -24,6 +24,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
26
|
exports.PuppeteerController = exports.puppeteerConfig = exports.wrapPuppeteer = void 0;
|
|
27
|
+
const uuid_1 = require("uuid");
|
|
27
28
|
const util_1 = require("./util");
|
|
28
29
|
const Controller_1 = __importDefault(require("./Controller"));
|
|
29
30
|
var puppeteerWrapping_1 = require("./puppeteerWrapping");
|
|
@@ -36,7 +37,11 @@ Object.defineProperty(exports, "wrapPuppeteer", { enumerable: true, get: functio
|
|
|
36
37
|
function puppeteerConfig(opts) {
|
|
37
38
|
const { axe } = opts, config = __rest(opts, ["axe"]);
|
|
38
39
|
let { args = [] } = config;
|
|
39
|
-
(0, util_1.writeVariables)(axe)
|
|
40
|
+
(0, util_1.writeVariables)(Object.assign(Object.assign({}, axe), {
|
|
41
|
+
/** Ensure the session ID persists between tabs.
|
|
42
|
+
* We cannot allow the extension to generate an ID,
|
|
43
|
+
* as each tab would get its own */
|
|
44
|
+
sessionId: axe.sessionId || (0, uuid_1.v4)() }));
|
|
40
45
|
if (config.headless) {
|
|
41
46
|
throw new util_1.HeadlessNotSupportedError();
|
|
42
47
|
}
|
package/dist/puppeteer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"puppeteer.js","sourceRoot":"","sources":["../src/puppeteer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,iCAKe;AACf,8DAAqC;AAErC,yDAAyE;AAAhE,kHAAA,kBAAkB,OAAiB;AAM5C;;;;GAIG;AAEH,SAAgB,eAAe,CAAC,IAA6B;IAC3D,MAAM,EAAE,GAAG,KAAgB,IAAI,EAAf,MAAM,UAAK,IAAI,EAAzB,OAAkB,CAAO,CAAA;IAC/B,IAAI,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"puppeteer.js","sourceRoot":"","sources":["../src/puppeteer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,+BAAiC;AACjC,iCAKe;AACf,8DAAqC;AAErC,yDAAyE;AAAhE,kHAAA,kBAAkB,OAAiB;AAM5C;;;;GAIG;AAEH,SAAgB,eAAe,CAAC,IAA6B;IAC3D,MAAM,EAAE,GAAG,KAAgB,IAAI,EAAf,MAAM,UAAK,IAAI,EAAzB,OAAkB,CAAO,CAAA;IAC/B,IAAI,EAAE,IAAI,GAAG,EAAE,EAAE,GAAG,MAAM,CAAA;IAE1B,IAAA,qBAAc,kCACT,GAAG;QACN;;2CAEmC;QACnC,SAAS,EAAE,GAAG,CAAC,SAAS,IAAI,IAAA,SAAI,GAAE,IAClC,CAAA;IAEF,IAAI,MAAM,CAAC,QAAQ,EAAE;QACnB,MAAM,IAAI,gCAAyB,EAAE,CAAA;KACtC;IAED,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,oBAAa,CAAC,CAAA;IAEjC,uCACK,MAAM,KACT,QAAQ,EAAE,KAAK,EACf,IAAI,IACL;AACH,CAAC;AAvBD,0CAuBC;AAED,MAAa,mBAAoB,SAAQ,oBAAU;IAGjD,YAAY,MAAY;QACtB,KAAK,EAAE,CAAA;QACP,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAEe,aAAa,CAC3B,EAAkC,EAClC,GAAG,IAAe;;YAElB,MAAM,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,EAAE,GAAG,IAAI,CAAC,CAAA;QACzC,CAAC;KAAA;CACF;AAdD,kDAcC"}
|
package/dist/wdio.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Options } from '@wdio/types';
|
|
2
2
|
import type { Browser, BrowserCommandsType, ElementCommandsType, RemoteOptions } from 'webdriverio';
|
|
3
|
-
import { Configuration } from './util';
|
|
3
|
+
import { type Configuration } from './util';
|
|
4
4
|
import Controller from './Controller';
|
|
5
5
|
declare type Options = RemoteOptions & Configuration;
|
|
6
6
|
/**
|
package/dist/webdriver.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { WebDriver } from 'selenium-webdriver';
|
|
2
2
|
import type { Options } from 'selenium-webdriver/chrome';
|
|
3
|
-
import { Configuration } from './util';
|
|
3
|
+
import { type Configuration } from './util';
|
|
4
4
|
import Controller from './Controller';
|
|
5
5
|
interface WebDriverArgs extends Configuration {
|
|
6
6
|
options?: Options;
|