From d2b099145d8f15e34faad5dd2f620d94753ff47c Mon Sep 17 00:00:00 2001 From: Romaric Pascal Date: Mon, 16 Dec 2024 13:00:44 +0000 Subject: [PATCH] Install missing axe-core dependency We're explicitely using it to import types so it should be listed as a devDependency --- package-lock.json | 11 +++++++++++ shared/helpers/package.json | 1 + 2 files changed, 12 insertions(+) diff --git a/package-lock.json b/package-lock.json index 3eedf48f69..4da23e3129 100644 --- a/package-lock.json +++ b/package-lock.json @@ -29777,6 +29777,7 @@ "@axe-core/puppeteer": "^4.10.1", "@govuk-frontend/config": "*", "@govuk-frontend/lib": "*", + "axe-core": "^4.10.2", "cheerio": "^1.0.0", "govuk-frontend": "*", "jest-axe": "^9.0.0", @@ -29807,6 +29808,16 @@ } } }, + "shared/helpers/node_modules/axe-core": { + "version": "4.10.2", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.10.2.tgz", + "integrity": "sha512-RE3mdQ7P3FRSe7eqCWoeQ/Z9QXrtniSjp1wUjt5nRC3WIpz5rSCve6o3fsZ2aCpJtrZjSZgjwXAoTO5k4tEI0w==", + "dev": true, + "license": "MPL-2.0", + "engines": { + "node": ">=4" + } + }, "shared/lib": { "name": "@govuk-frontend/lib", "license": "MIT", diff --git a/shared/helpers/package.json b/shared/helpers/package.json index 5384d7bf84..9b692f4881 100644 --- a/shared/helpers/package.json +++ b/shared/helpers/package.json @@ -17,6 +17,7 @@ "@axe-core/puppeteer": "^4.10.1", "@govuk-frontend/config": "*", "@govuk-frontend/lib": "*", + "axe-core": "^4.10.2", "cheerio": "^1.0.0", "govuk-frontend": "*", "jest-axe": "^9.0.0",