acpilot 2.0.2 → 2.0.4
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/cli.js +13 -7
- package/package.json +5 -3
package/dist/cli.js
CHANGED
|
@@ -21329,14 +21329,14 @@ var require_diagnostics = __commonJS({
|
|
|
21329
21329
|
"undici:client:beforeConnect",
|
|
21330
21330
|
(evt) => {
|
|
21331
21331
|
const {
|
|
21332
|
-
connectParams: { version, protocol, port, host }
|
|
21332
|
+
connectParams: { version: version2, protocol, port, host }
|
|
21333
21333
|
} = evt;
|
|
21334
21334
|
debugLog(
|
|
21335
21335
|
"connecting to %s%s using %s%s",
|
|
21336
21336
|
host,
|
|
21337
21337
|
port ? `:${port}` : "",
|
|
21338
21338
|
protocol,
|
|
21339
|
-
|
|
21339
|
+
version2
|
|
21340
21340
|
);
|
|
21341
21341
|
}
|
|
21342
21342
|
);
|
|
@@ -21344,14 +21344,14 @@ var require_diagnostics = __commonJS({
|
|
|
21344
21344
|
"undici:client:connected",
|
|
21345
21345
|
(evt) => {
|
|
21346
21346
|
const {
|
|
21347
|
-
connectParams: { version, protocol, port, host }
|
|
21347
|
+
connectParams: { version: version2, protocol, port, host }
|
|
21348
21348
|
} = evt;
|
|
21349
21349
|
debugLog(
|
|
21350
21350
|
"connected to %s%s using %s%s",
|
|
21351
21351
|
host,
|
|
21352
21352
|
port ? `:${port}` : "",
|
|
21353
21353
|
protocol,
|
|
21354
|
-
|
|
21354
|
+
version2
|
|
21355
21355
|
);
|
|
21356
21356
|
}
|
|
21357
21357
|
);
|
|
@@ -21359,7 +21359,7 @@ var require_diagnostics = __commonJS({
|
|
|
21359
21359
|
"undici:client:connectError",
|
|
21360
21360
|
(evt) => {
|
|
21361
21361
|
const {
|
|
21362
|
-
connectParams: { version, protocol, port, host },
|
|
21362
|
+
connectParams: { version: version2, protocol, port, host },
|
|
21363
21363
|
error
|
|
21364
21364
|
} = evt;
|
|
21365
21365
|
debugLog(
|
|
@@ -21367,7 +21367,7 @@ var require_diagnostics = __commonJS({
|
|
|
21367
21367
|
host,
|
|
21368
21368
|
port ? `:${port}` : "",
|
|
21369
21369
|
protocol,
|
|
21370
|
-
|
|
21370
|
+
version2,
|
|
21371
21371
|
error.message
|
|
21372
21372
|
);
|
|
21373
21373
|
}
|
|
@@ -60566,6 +60566,12 @@ var init_network_tester = __esm({
|
|
|
60566
60566
|
|
|
60567
60567
|
// src/cli.ts
|
|
60568
60568
|
var readline = __toESM(require("readline"));
|
|
60569
|
+
|
|
60570
|
+
// package.json
|
|
60571
|
+
var version = "2.0.4";
|
|
60572
|
+
|
|
60573
|
+
// src/cli.ts
|
|
60574
|
+
var PKG_VERSION = version;
|
|
60569
60575
|
var RESET = "\x1B[0m";
|
|
60570
60576
|
var BOLD = "\x1B[1m";
|
|
60571
60577
|
var DIM = "\x1B[2m";
|
|
@@ -60593,7 +60599,7 @@ function printLogo() {
|
|
|
60593
60599
|
console.log(`${BLUE} \u2551${RESET} ${BOLD}${CYAN} \u2588\u2588 \u2588\u2588 \u2588\u2588 ${WHITE}\u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588 \u2588\u2588${RESET} ${BLUE}\u2551${RESET}`);
|
|
60594
60600
|
console.log(`${BLUE} \u2551${RESET} ${BOLD}${CYAN} \u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588${WHITE}\u2588\u2588 \u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588\u2588 \u2588\u2588\u2588\u2588\u2588\u2588${RESET} ${BLUE}\u2551${RESET}`);
|
|
60595
60601
|
console.log(`${BLUE} \u2551${RESET} ${BLUE}\u2551${RESET}`);
|
|
60596
|
-
console.log(`${BLUE} \u2551${RESET} ${DIM}${ITALIC} Barrierefreiheit f\xFCr Entwickler${RESET} ${DIM}
|
|
60602
|
+
console.log(`${BLUE} \u2551${RESET} ${DIM}${ITALIC} Barrierefreiheit f\xFCr Entwickler${RESET} ${DIM}v${PKG_VERSION}${RESET} ${BLUE}\u2551${RESET}`);
|
|
60597
60603
|
console.log(`${BLUE} \u255A\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u255D${RESET}`);
|
|
60598
60604
|
console.log("");
|
|
60599
60605
|
}
|
package/package.json
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "acpilot",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "Full ACPilot accessibility scanner for local dev servers",
|
|
5
5
|
"bin": {
|
|
6
6
|
"acpilot": "./dist/cli.js"
|
|
7
7
|
},
|
|
8
8
|
"scripts": {
|
|
9
9
|
"build": "node build.js",
|
|
10
|
-
"dev": "node dist/cli.js"
|
|
10
|
+
"dev": "node dist/cli.js",
|
|
11
|
+
"prepublishOnly": "node build.js"
|
|
11
12
|
},
|
|
12
13
|
"files": [
|
|
13
14
|
"dist"
|
|
14
15
|
],
|
|
15
16
|
"dependencies": {
|
|
16
|
-
"cheerio": "^1.0.0"
|
|
17
|
+
"cheerio": "^1.0.0",
|
|
18
|
+
"axe-core": "^4.10.0"
|
|
17
19
|
},
|
|
18
20
|
"optionalDependencies": {
|
|
19
21
|
"puppeteer": "^24.0.0"
|