@axe-core/watcher 4.3.0-next.999ccaf8 → 4.3.0-next.9b0b6024
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/EXTENSION-LICENSES-3RD-PARTY.md +1 -1
- package/dist/utils/sync-fetch-worker.mjs +65 -1
- package/dist/utils/sync-fetch.d.ts +32 -0
- package/dist/utils/sync-fetch.js +29 -11
- package/dist/utils/sync-fetch.js.map +1 -1
- package/extension/background.js +1 -0
- package/extension/background.js.LICENSE.txt +1 -0
- package/extension/content.js +1 -1
- package/extension/manifest.json +5 -1
- package/package.json +75 -15
package/extension/manifest.json
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "4.3.0-next.9b0b6024",
|
|
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": "
|
|
58
|
-
"test": "
|
|
59
|
-
"
|
|
60
|
-
"test:
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"copy-extension
|
|
65
|
-
"
|
|
66
|
-
|
|
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",
|
|
@@ -81,8 +143,7 @@
|
|
|
81
143
|
"@types/express": "^5.0.6",
|
|
82
144
|
"@types/mocha": "^10.0.0",
|
|
83
145
|
"@types/morgan": "^1.9.3",
|
|
84
|
-
"@types/node": "22.19.
|
|
85
|
-
"@types/proxyquire": "^1.3.28",
|
|
146
|
+
"@types/node": "22.19.19",
|
|
86
147
|
"@types/react": "19",
|
|
87
148
|
"@types/react-dom": "19",
|
|
88
149
|
"@types/selenium-webdriver": "^4.1.15",
|
|
@@ -101,17 +162,16 @@
|
|
|
101
162
|
"morgan": "^1.10.0",
|
|
102
163
|
"nyc": "^18.0.0",
|
|
103
164
|
"playwright-core": "^1.45.0",
|
|
104
|
-
"proxyquire": "^2.1.3",
|
|
105
165
|
"puppeteer": "^24.2.0",
|
|
106
166
|
"react": "^19.1.0",
|
|
107
167
|
"react-dom": "^19.1.0",
|
|
108
|
-
"rimraf": "^6.1.2",
|
|
109
168
|
"selenium-webdriver": "^4.11.1",
|
|
110
169
|
"sinon": "^22.0.0",
|
|
111
170
|
"ts-loader": "^9.5.2",
|
|
112
171
|
"ts-node": "^10.9.2",
|
|
113
172
|
"typescript": "^5.1.6",
|
|
114
173
|
"webdriverio": "^9.0.5",
|
|
174
|
+
"wireit": "^0.14.12",
|
|
115
175
|
"yaml": "^2.8.1"
|
|
116
176
|
},
|
|
117
177
|
"peerDependencies": {
|