@axe-core/watcher 3.16.0-next.ffc99c11 → 3.16.0-rc.ceaeb8da

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. package/dist/cypress.d.ts +0 -2
  2. package/dist/cypress.js +5 -9
  3. package/dist/cypress.js.map +1 -1
  4. package/dist/cypressCommands.js +40 -62
  5. package/dist/cypressCommands.js.map +1 -1
  6. package/dist/playwright.js +0 -2
  7. package/dist/playwright.js.map +1 -1
  8. package/dist/playwrightWrapping.d.ts +0 -1
  9. package/dist/playwrightWrapping.js +7 -15
  10. package/dist/playwrightWrapping.js.map +1 -1
  11. package/dist/puppeteer.js +0 -2
  12. package/dist/puppeteer.js.map +1 -1
  13. package/dist/utils/headlessNotSupportedError.test.d.ts +1 -0
  14. package/dist/utils/headlessNotSupportedError.test.js +21 -0
  15. package/dist/utils/headlessNotSupportedError.test.js.map +1 -0
  16. package/dist/utils/initializeSession.test.d.ts +1 -0
  17. package/dist/utils/initializeSession.test.js +177 -0
  18. package/dist/utils/initializeSession.test.js.map +1 -0
  19. package/dist/utils/isValidExcludePattern.test.d.ts +1 -0
  20. package/dist/utils/isValidExcludePattern.test.js +17 -0
  21. package/dist/utils/isValidExcludePattern.test.js.map +1 -0
  22. package/dist/utils/mergeChromeArgs.test.d.ts +1 -0
  23. package/dist/utils/mergeChromeArgs.test.js +257 -0
  24. package/dist/utils/mergeChromeArgs.test.js.map +1 -0
  25. package/dist/utils/proxyHandlers.d.ts +0 -2
  26. package/dist/utils/proxyHandlers.js +1 -14
  27. package/dist/utils/proxyHandlers.js.map +1 -1
  28. package/dist/utils/proxyHandlers.test.d.ts +1 -0
  29. package/dist/utils/proxyHandlers.test.js +27 -0
  30. package/dist/utils/proxyHandlers.test.js.map +1 -0
  31. package/dist/utils/validateAxeRunContext.test.d.ts +1 -0
  32. package/dist/utils/validateAxeRunContext.test.js +97 -0
  33. package/dist/utils/validateAxeRunContext.test.js.map +1 -0
  34. package/dist/utils/validateAxeRunOptions.test.d.ts +1 -0
  35. package/dist/utils/validateAxeRunOptions.test.js +215 -0
  36. package/dist/utils/validateAxeRunOptions.test.js.map +1 -0
  37. package/dist/utils/writeVariables.test.d.ts +1 -0
  38. package/dist/utils/writeVariables.test.js +200 -0
  39. package/dist/utils/writeVariables.test.js.map +1 -0
  40. package/dist/wdio.js +0 -2
  41. package/dist/wdio.js.map +1 -1
  42. package/dist/webdriver.js +0 -2
  43. package/dist/webdriver.js.map +1 -1
  44. package/extension/background.js +1 -1
  45. package/extension/content.js +1 -1
  46. package/package.json +4 -4
  47. package/dist/utils/assertVariablesWereWritten.d.ts +0 -1
  48. package/dist/utils/assertVariablesWereWritten.js +0 -15
  49. package/dist/utils/assertVariablesWereWritten.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axe-core/watcher",
3
- "version": "3.16.0-next.ffc99c11",
3
+ "version": "3.16.0-rc.ceaeb8da",
4
4
  "description": "",
5
5
  "license": "UNLICENSED",
6
6
  "main": "dist/index.js",
@@ -25,7 +25,7 @@
25
25
  "uuid": "^10.0.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@deque/advanced-rule-recorder": "^1.24.0-next.3be02ec6",
28
+ "@deque/advanced-rule-recorder": "^1.23.0-next.c02eede3",
29
29
  "@playwright/test": "^1.45.0",
30
30
  "@types/body-parser": "^1.19.2",
31
31
  "@types/chai": "^4.3.3",
@@ -49,7 +49,7 @@
49
49
  "cypress": "^13.6.6",
50
50
  "execa": "5",
51
51
  "express": "^4.18.2",
52
- "jsdom": "^25.0.1",
52
+ "jsdom": "^24.0.0",
53
53
  "mocha": "^10.4.0",
54
54
  "morgan": "^1.10.0",
55
55
  "nock": "^13.3.2",
@@ -59,7 +59,7 @@
59
59
  "puppeteer": "^22.1.0",
60
60
  "rimraf": "^5.0.5",
61
61
  "selenium-webdriver": "^4.11.1",
62
- "sinon": "^19.0.2",
62
+ "sinon": "^18.0.0",
63
63
  "tempy": "1",
64
64
  "ts-node": "^10.9.1",
65
65
  "typescript": "^5.1.6",
@@ -1 +0,0 @@
1
- export declare const assertVariablesWereWritten: (integration: string, method: string) => void;
@@ -1,15 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.assertVariablesWereWritten = void 0;
7
- const assert_1 = __importDefault(require("assert"));
8
- const fs_1 = __importDefault(require("fs"));
9
- const constants_1 = require("./constants");
10
- const assertVariablesWereWritten = (integration, method) => {
11
- const exists = fs_1.default.existsSync(constants_1.PATH_TO_EXTENSION_VARIABLES);
12
- (0, assert_1.default)(exists, `${integration} is not configured for @axe-core/watcher. Please ensure that @axe-core/watcher's ${method} is invoked. All tests will fail with this error.`);
13
- };
14
- exports.assertVariablesWereWritten = assertVariablesWereWritten;
15
- //# sourceMappingURL=assertVariablesWereWritten.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"assertVariablesWereWritten.js","sourceRoot":"","sources":["../../src/utils/assertVariablesWereWritten.ts"],"names":[],"mappings":";;;;;;AAAA,oDAA2B;AAC3B,4CAAmB;AACnB,2CAAyD;AAElD,MAAM,0BAA0B,GAAG,CACxC,WAAmB,EACnB,MAAc,EACR,EAAE;IACR,MAAM,MAAM,GAAG,YAAE,CAAC,UAAU,CAAC,uCAA2B,CAAC,CAAA;IACzD,IAAA,gBAAM,EACJ,MAAM,EACN,GAAG,WAAW,oFAAoF,MAAM,mDAAmD,CAC5J,CAAA;AACH,CAAC,CAAA;AATY,QAAA,0BAA0B,8BAStC"}