@kinti/a11y-toolkit 5.20.0 → 5.22.0
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/lib/runner.cjs +6 -1
- package/package.json +2 -2
package/lib/runner.cjs
CHANGED
|
@@ -6,9 +6,14 @@
|
|
|
6
6
|
const { spawn } = require('child_process');
|
|
7
7
|
|
|
8
8
|
const UVX = process.platform === 'win32' ? 'uvx.exe' : 'uvx';
|
|
9
|
+
// Pin de versión: el launcher SIEMPRE ejecuta la versión del motor con la
|
|
10
|
+
// que se publicó (la de este package.json, que versionar bumbea con cada
|
|
11
|
+
// release). Reproducible y auditable: nada de "descarga la última" en
|
|
12
|
+
// tiempo de ejecución.
|
|
13
|
+
const VERSION = require('../package.json').version;
|
|
9
14
|
|
|
10
15
|
function run(entry) {
|
|
11
|
-
const args = ['--from',
|
|
16
|
+
const args = ['--from', `a11y-toolkit==${VERSION}`, entry, ...process.argv.slice(2)];
|
|
12
17
|
const child = spawn(UVX, args, { stdio: 'inherit' });
|
|
13
18
|
child.on('error', (e) => {
|
|
14
19
|
if (e.code === 'ENOENT') {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kinti/a11y-toolkit",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.22.0",
|
|
4
4
|
"description": "Zero-dependency WCAG 2.2 accessibility engine (34 MCP tools + CLI): audits, contrast fixing, SHA-256-sealed evidence packs, SARIF, EARL/ACT, CI ratchet. Node launcher; the engine itself is Python via uv.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "git+https://github.com/kinti/a11y-toolkit.git"
|
|
9
9
|
},
|
|
10
10
|
"homepage": "https://a11y.es",
|
|
11
|
-
"author": "
|
|
11
|
+
"author": "Jes\u00fas Quintana",
|
|
12
12
|
"bin": {
|
|
13
13
|
"a11y-toolkit": "bin/a11y-toolkit.cjs",
|
|
14
14
|
"a11y-toolkit-mcp": "bin/a11y-toolkit-mcp.cjs"
|