diff --git a/package.json b/package.json index ffea2ae8b..b053b98b7 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "@babel/plugin-transform-runtime": "^7.25.7", "@babel/preset-env": "^7.25.7", "@hotwired/turbo-rails": "^8.0.12", - "@ministryofjustice/frontend": "^1.8.1", + "@ministryofjustice/frontend": "^3.3.1", "@rails/ujs": "^7.1.500", "babel-loader": "^9.2.1", "babel-plugin-macros": "^3.1.0", diff --git a/yarn.lock b/yarn.lock index 46fc7f9c0..f8626daa1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1161,12 +1161,12 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@ministryofjustice/frontend@^1.8.1": - version "1.8.1" - resolved "https://registry.yarnpkg.com/@ministryofjustice/frontend/-/frontend-1.8.1.tgz#6bac39524ba406533d1ce51c55d4c8ff96ad358e" - integrity sha512-HNl8XXbNje/NtQRlGM57CTLlAGBTW+ziGTBkxXHDn7VauKNz418PnErDlKRWeaHIyc6V9twI5EbOj4lFCsvasw== +"@ministryofjustice/frontend@^3.3.1": + version "3.3.1" + resolved "https://registry.yarnpkg.com/@ministryofjustice/frontend/-/frontend-3.3.1.tgz#aa743b56dd31e8e1373f20a5791afb234804eaba" + integrity sha512-4npwkub8xkhp+YFUK9MIm8armTTs7hzkvT33Ijetxi6aI4Ezzym7XPv4XjQavYAewmv+CHv6WqbBCqtJrWwtmg== dependencies: - govuk-frontend "^3.0.0 || ^4.0.0" + govuk-frontend "^5.0.0" moment "^2.27.0" "@nodelib/fs.scandir@2.1.5": @@ -3228,11 +3228,16 @@ gopd@^1.0.1: dependencies: get-intrinsic "^1.1.3" -"govuk-frontend@^3.0.0 || ^4.0.0", govuk-frontend@^4.7.0: +govuk-frontend@^4.7.0: version "4.7.0" resolved "https://registry.yarnpkg.com/govuk-frontend/-/govuk-frontend-4.7.0.tgz#69950b6c2e69f435ffe9aa60d8dee232dac977de" integrity sha512-0OsdCusF5qvLWwKziU8zqxiC0nq6WP0ZQuw51ymZ/1V0tO71oIKMlSLN2S9bm8RcEGSoidPt2A34gKxePrLjvg== +govuk-frontend@^5.0.0: + version "5.8.0" + resolved "https://registry.yarnpkg.com/govuk-frontend/-/govuk-frontend-5.8.0.tgz#da1b03cb4f2ba1f6036be0dac3c5327c3405174c" + integrity sha512-6l3f/YhDUCWjpmSW3CL95Hg8B+ZLzTf2WYo25ZtCs2Lb8UIzxxxFI8LxG7Ey/z04UuPhUunqFhTwSkQyJ69XbQ== + graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.11, graceful-fs@^4.2.4: version "4.2.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3"