diff --git a/package-lock.json b/package-lock.json index 0e2481d..4f4b6aa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "escape-goat": "^4.0.0", "get-port": "^7.0.0", "js-convert-case": "^4.2.0", - "koa-responsive-image-router": "^0.2.24", + "koa-responsive-image-router": "^0.2.29", "locreq": "^3.0.0", "multiple-scripts-tmux": "^1.0.4", "nodemon": "^3.0.1", @@ -5684,8 +5684,9 @@ } }, "node_modules/koa-responsive-image-router": { - "version": "0.2.24", - "license": "ISC", + "version": "0.2.29", + "resolved": "https://registry.npmjs.org/koa-responsive-image-router/-/koa-responsive-image-router-0.2.29.tgz", + "integrity": "sha512-siYb1CtGDJLOTYBmKIcofy4nHdY49xMHhHYMk1EmW2sY2YGkjHUOu/YINfSbSffja0ECiS2ULdOs4AgvArBVUA==", "dependencies": { "@koa/router": "^10.0.0", "@sealcode/ts-predicates": "^0.5.3", diff --git a/package.json b/package.json index 540aedc..d76c524 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "postbuild": "npm run typecheck && npm run lint", "watch": "multiple-scripts-tmux -p watch", "reset-db": "docker-compose down && docker-compose up -d", - "install-test-deps": "npx playwright install firefox && cd webhint && npm install", + "install-test-deps": "npx playwright install firefox && cd webhint && npm install && ./use-fork.sh", "pretest": "npm run build && docker-compose up -d", "test": "node test.cjs", "prepare": "npm run build && npm run install-test-deps", @@ -51,7 +51,7 @@ "escape-goat": "^4.0.0", "get-port": "^7.0.0", "js-convert-case": "^4.2.0", - "koa-responsive-image-router": "^0.2.24", + "koa-responsive-image-router": "^0.2.29", "locreq": "^3.0.0", "multiple-scripts-tmux": "^1.0.4", "nodemon": "^3.0.1", diff --git a/src/back/routes/component-preview/component-input-image.tsx b/src/back/routes/component-preview/component-input-image.tsx index b76d4a7..e1cf3d3 100644 --- a/src/back/routes/component-preview/component-input-image.tsx +++ b/src/back/routes/component-preview/component-input-image.tsx @@ -35,6 +35,7 @@ export function ComponentInputImage({ container: { width: 40, height: 40, objectFit: "cover" }, crop: { width: 40, height: 40 }, style: "height: 40px; width: 40px;", + alt: "", })} =14.0.0" }, "optionalDependencies": { - "@hint/configuration-development": "^8.3.18", + "@hint/configuration-development": "^8.3.19", "@hint/configuration-web-recommended": "^8.2.23" } }, @@ -5943,9 +5943,9 @@ } }, "node_modules/typescript": { - "version": "5.3.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz", - "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==", + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", + "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", "optional": true, "peer": true, "bin": { diff --git a/webhint/package.json b/webhint/package.json index 579b52f..1f5d986 100644 --- a/webhint/package.json +++ b/webhint/package.json @@ -14,7 +14,7 @@ "@hint/formatter-codeframe": "^3.1.35", "@hint/hint-doctype": "^3.3.26", "@hint/hint-no-broken-links": "^4.2.26", - "hint": "^7.1.10", + "hint": "^7.1.11", "@hint/utils-dom": "^2.2.4" } } diff --git a/webhint/use-fork.sh b/webhint/use-fork.sh new file mode 100755 index 0000000..caa8ecc --- /dev/null +++ b/webhint/use-fork.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +# Using the fork manually until https://github.com/webhintio/hint/pull/5876 is landed + +wget https://cdn.sealco.de/file/download/lsx3pa5guz2udjaaqowg/PHID-FILE-bnqnugnra4kiielhumvr/axe.js --output-document node_modules/@hint/hint-axe/dist/src/util/axe.js