@axe-core/watcher 3.1.0 → 3.1.1-next.12c08d9f

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.
@@ -18,6 +18,6 @@ declare global {
18
18
  }
19
19
  }
20
20
  }
21
- declare type CypressMethod = keyof Cypress.Chainable;
21
+ type CypressMethod = keyof Cypress.Chainable;
22
22
  /** Commands we wrap to help us identify new page states. */
23
23
  export declare const WRAPPED_COMMANDS: ReadonlyArray<CypressMethod>;
@@ -2,7 +2,7 @@ import type { LaunchOptions, Page, BrowserContext } from 'playwright-core';
2
2
  import { type Configuration } from './util';
3
3
  import Controller from './Controller';
4
4
  /** Options for configuring Playwright and @axe-core/watcher. */
5
- export declare type Options = Configuration & LaunchOptions;
5
+ export type Options = Configuration & LaunchOptions;
6
6
  /**
7
7
  * Creates a Playwright config that uses axe extension
8
8
  *
@@ -1,6 +1,6 @@
1
1
  import type { TestType, PlaywrightTestArgs, PlaywrightTestOptions, PlaywrightWorkerArgs, PlaywrightWorkerOptions, Expect } from '@playwright/test';
2
2
  import { type Options } from './playwright';
3
- declare type Test = TestType<PlaywrightTestArgs & PlaywrightTestOptions, PlaywrightWorkerArgs & PlaywrightWorkerOptions>;
3
+ type Test = TestType<PlaywrightTestArgs & PlaywrightTestOptions, PlaywrightWorkerArgs & PlaywrightWorkerOptions>;
4
4
  interface ReturnValue {
5
5
  test: Test;
6
6
  expect: Expect;
@@ -1,7 +1,7 @@
1
1
  import type { LaunchOptions, BrowserLaunchArgumentOptions, BrowserConnectOptions, Page, BrowserContext } from 'puppeteer';
2
2
  import { type Configuration } from './util';
3
3
  import Controller from './Controller';
4
- declare type Options = LaunchOptions & BrowserLaunchArgumentOptions & BrowserConnectOptions;
4
+ type Options = LaunchOptions & BrowserLaunchArgumentOptions & BrowserConnectOptions;
5
5
  /**
6
6
  * Creates a Puppeteer config that uses axe extension.
7
7
  *
package/dist/util.d.ts CHANGED
@@ -55,7 +55,7 @@ export declare function writeManifest({ all_frames, exclude_globs }: WriteManife
55
55
  export declare const readVariables: () => Variables;
56
56
  export declare const updateAutoAnalyze: (val: boolean) => void;
57
57
  declare const kWrapped: unique symbol;
58
- export declare type PossiblyWrapped<T> = T & {
58
+ export type PossiblyWrapped<T> = T & {
59
59
  [kWrapped]?: boolean;
60
60
  };
61
61
  /** Is the given object wrapped? */
package/dist/wdio.d.ts CHANGED
@@ -2,7 +2,7 @@ import type { Options } from '@wdio/types';
2
2
  import type { Browser, BrowserCommandsType, ElementCommandsType, RemoteOptions } from 'webdriverio';
3
3
  import { type Configuration } from './util';
4
4
  import Controller from './Controller';
5
- declare type Options = RemoteOptions & Configuration;
5
+ type Options = RemoteOptions & Configuration;
6
6
  /**
7
7
  * Creates a WebDriverIO config that uses axe extension
8
8
  *
@@ -1 +1 @@
1
- {"version":3,"file":"webdriver.js","sourceRoot":"","sources":["../src/webdriver.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAEA,iCAKe;AACf,8DAAqC;AAErC,yDAAiE;AAAxD,kHAAA,UAAU,OAAiB;AAMpC;;;;GAIG;AAEH,SAAgB,eAAe,CAAC,GAAkB;IAChD,gHAAgH;IAChH,8DAA8D;IAC9D,MAAM,MAAM,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAAA;IAEnD,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,GAAG,CAAA;IAC5B,IAAA,qBAAc,EAAC,GAAG,CAAC,CAAA;IAEnB,MAAM,IAAI,GAAY,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,MAAM,CAAC,OAAO,EAAE,CAAA;IAC9D,IAAI,CAAC,YAAY,CAAC,GAAG,oBAAa,CAAC,CAAA;IAEnC,wEAAwE;IACxE,IACE,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE;IACrC,8DAA8D;IAC9D,OAAA,MAAA,MAAC,IAAY,aAAZ,IAAI,uBAAJ,IAA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