@axe-core/watcher 4.3.0-next.c9252381 → 4.3.0-next.cf0882a7

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.
@@ -4,7 +4,11 @@
4
4
  "description": "Codeless accessibility testing",
5
5
  "manifest_version": 3,
6
6
  "homepage_url": "https://deque.com",
7
- "permissions": ["storage", "unlimitedStorage"],
7
+ "permissions": ["storage", "unlimitedStorage", "scripting"],
8
+ "host_permissions": ["<all_urls>"],
9
+ "background": {
10
+ "service_worker": "background.js"
11
+ },
8
12
  "content_scripts": [
9
13
  {
10
14
  "matches": ["<all_urls>"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axe-core/watcher",
3
- "version": "4.3.0-next.c9252381",
3
+ "version": "4.3.0-next.cf0882a7",
4
4
  "description": "",
5
5
  "license": "UNLICENSED",
6
6
  "exports": {
@@ -54,16 +54,78 @@
54
54
  "node": "^20.18.1 || ^22.11.0 || ^24.11.0"
55
55
  },
56
56
  "scripts": {
57
- "build": "tsc --removeComments && tsc --declaration --emitDeclarationOnly && cp src/utils/sync-fetch-worker.mjs dist/utils/",
58
- "test": "mocha 'src/**/*.test.ts' --exit",
59
- "pretest:e2e": "pnpm run copy-extension",
60
- "test:e2e": "mocha 'e2e/*.test.ts'",
61
- "test:proxy": "mocha proxy-tests/proxy.test.ts --timeout 30000 --exit",
62
- "serve:e2e": "ts-node e2e/Server.ts",
63
- "coverage": "nyc pnpm test",
64
- "copy-extension-license-file": "cp ../../extension/EXTENSION-LICENSES-3RD-PARTY.md .",
65
- "copy-extension": "rimraf extension; cp -r ../../extension/dist extension; pnpm run copy-extension-license-file",
66
- "dev": "tsc -w"
57
+ "build": "wireit",
58
+ "test": "wireit",
59
+ "test:e2e": "wireit",
60
+ "test:proxy": "wireit",
61
+ "serve:e2e": "wireit",
62
+ "coverage": "wireit",
63
+ "copy-extension-license-file": "wireit",
64
+ "copy-extension": "wireit",
65
+ "dev": "pnpm run build --watch"
66
+ },
67
+ "wireit": {
68
+ "build": {
69
+ "command": "tsc --removeComments && tsc --declaration --emitDeclarationOnly && cp src/utils/sync-fetch-worker.mjs dist/utils/",
70
+ "files": [
71
+ "src/**",
72
+ "tsconfig.json",
73
+ "../../tsconfig.json",
74
+ "package.json"
75
+ ],
76
+ "output": [
77
+ "dist/**"
78
+ ]
79
+ },
80
+ "test": {
81
+ "command": "mocha 'src/**/*.test.ts' --exit",
82
+ "output": []
83
+ },
84
+ "test:e2e": {
85
+ "command": "mocha 'e2e/*.test.ts'",
86
+ "dependencies": [
87
+ "copy-extension"
88
+ ],
89
+ "output": []
90
+ },
91
+ "test:proxy": {
92
+ "command": "mocha proxy-tests/proxy.test.ts --timeout 30000 --exit",
93
+ "output": []
94
+ },
95
+ "serve:e2e": {
96
+ "command": "ts-node e2e/Server.ts",
97
+ "service": true
98
+ },
99
+ "coverage": {
100
+ "command": "nyc pnpm test",
101
+ "output": [
102
+ "coverage/**",
103
+ ".nyc_output/**"
104
+ ],
105
+ "clean": true
106
+ },
107
+ "copy-extension-license-file": {
108
+ "command": "cp ../../extension/EXTENSION-LICENSES-3RD-PARTY.md .",
109
+ "dependencies": [
110
+ "../../extension:build"
111
+ ],
112
+ "files": [],
113
+ "output": [
114
+ "EXTENSION-LICENSES-3RD-PARTY.md"
115
+ ]
116
+ },
117
+ "copy-extension": {
118
+ "command": "mkdir -p extension && cp -R ../../extension/dist/. extension",
119
+ "dependencies": [
120
+ "../../extension:build",
121
+ "copy-extension-license-file"
122
+ ],
123
+ "files": [],
124
+ "output": [
125
+ "extension/**"
126
+ ],
127
+ "clean": true
128
+ }
67
129
  },
68
130
  "dependencies": {
69
131
  "debug": "^4.3.5",
@@ -76,14 +138,12 @@
76
138
  "@deque/advanced-rule-recorder": "1.31.0-next.eeeb3b7f",
77
139
  "@playwright/test": "^1.45.0",
78
140
  "@types/body-parser": "^1.19.2",
79
- "@types/chai": "^4.3.3",
80
141
  "@types/cors": "^2.8.12",
81
142
  "@types/debug": "^4.1.12",
82
143
  "@types/express": "^5.0.6",
83
144
  "@types/mocha": "^10.0.0",
84
145
  "@types/morgan": "^1.9.3",
85
- "@types/node": "22.19.18",
86
- "@types/proxyquire": "^1.3.28",
146
+ "@types/node": "22.19.19",
87
147
  "@types/react": "19",
88
148
  "@types/react-dom": "19",
89
149
  "@types/selenium-webdriver": "^4.1.15",
@@ -93,7 +153,6 @@
93
153
  "axe-core": "^4.11.4",
94
154
  "axe-test-fixtures": "github:dequelabs/axe-test-fixtures#v1",
95
155
  "body-parser": "^2.2.0",
96
- "chai": "^4.3.6",
97
156
  "cors": "^2.8.5",
98
157
  "cypress": "^15.8.1",
99
158
  "execa": "5",
@@ -103,17 +162,16 @@
103
162
  "morgan": "^1.10.0",
104
163
  "nyc": "^18.0.0",
105
164
  "playwright-core": "^1.45.0",
106
- "proxyquire": "^2.1.3",
107
165
  "puppeteer": "^24.2.0",
108
166
  "react": "^19.1.0",
109
167
  "react-dom": "^19.1.0",
110
- "rimraf": "^6.1.2",
111
168
  "selenium-webdriver": "^4.11.1",
112
169
  "sinon": "^22.0.0",
113
170
  "ts-loader": "^9.5.2",
114
171
  "ts-node": "^10.9.2",
115
172
  "typescript": "^5.1.6",
116
173
  "webdriverio": "^9.0.5",
174
+ "wireit": "^0.14.12",
117
175
  "yaml": "^2.8.1"
118
176
  },
119
177
  "peerDependencies": {