From 7b4bc029e9ca798ba6d50e891a81bd4d7eb8e390 Mon Sep 17 00:00:00 2001 From: George Goodall Date: Fri, 27 Sep 2024 15:26:32 +0100 Subject: [PATCH] revert x-gov filters package to upstream repo --- package-lock.json | 38 +++++++++++++++++++++++++++----------- package.json | 2 +- 2 files changed, 28 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index df84ad42..591c17d5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@sentry/node": "^8.7.0", "@sentry/profiling-node": "^8.7.0", "@x-govuk/govuk-prototype-components": "^3.0.5", - "@x-govuk/govuk-prototype-filters": "github:GeorgeGoodall/govuk-prototype-filters#fix/markdownFilterStackOverflow", + "@x-govuk/govuk-prototype-filters": "^1.4.3", "accessible-autocomplete": "^3.0.0", "aws-sdk": "^2.1581.0", "axios": "^1.6.2", @@ -3326,13 +3326,14 @@ } }, "node_modules/@x-govuk/govuk-prototype-filters": { - "version": "1.4.1", - "resolved": "git+ssh://git@github.com/GeorgeGoodall/govuk-prototype-filters.git#ffa06d6fba532ac8ead182ac6a87c375ed9404bd", + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/@x-govuk/govuk-prototype-filters/-/govuk-prototype-filters-1.4.3.tgz", + "integrity": "sha512-1T72E6bs/PpaclLK65B2GKbsjNg+upI5G7SomGgcwMviLil0ugf+Df0sI17HrT8Hga40DDsO+XwGnMidl8hmAQ==", "dependencies": { - "govuk-markdown": "^0.7.0", + "govuk-markdown": "^0.8.0", "lodash": "^4.17.21", "luxon": "^3.2.1", - "marked": "^13.0.0", + "marked": "^14.0.0", "marked-smartypants": "^1.0.0", "pluralize": "^8.0.0" }, @@ -3343,6 +3344,17 @@ "govuk-prototype-kit": "^13.0.0" } }, + "node_modules/@x-govuk/govuk-prototype-filters/node_modules/marked": { + "version": "14.1.2", + "resolved": "https://registry.npmjs.org/marked/-/marked-14.1.2.tgz", + "integrity": "sha512-f3r0yqpz31VXiDB/wj9GaOB0a2PRLQl6vJmXiFrniNwjkKdvakqJRULhjFKJpxOchlCRiG5fcacoUZY5Xa6PEQ==", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 18" + } + }, "node_modules/@xtuc/ieee754": { "version": "1.2.0", "dev": true, @@ -7394,19 +7406,21 @@ } }, "node_modules/govuk-markdown": { - "version": "0.7.0", - "license": "MIT", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/govuk-markdown/-/govuk-markdown-0.8.0.tgz", + "integrity": "sha512-svIvA9FL5APomPjDICGUNeckzSSrlxeYGVpMcnI29wND0R/WSCYaXHiDSG5qNIaQWCv2bzHoDfMgY+nEbnvVpg==", "dependencies": { "highlight.js": "^11.5.0", - "marked": "^11.0.0" + "marked": "^14.0.0" }, "engines": { "node": ">=18" } }, "node_modules/govuk-markdown/node_modules/marked": { - "version": "11.2.0", - "license": "MIT", + "version": "14.1.2", + "resolved": "https://registry.npmjs.org/marked/-/marked-14.1.2.tgz", + "integrity": "sha512-f3r0yqpz31VXiDB/wj9GaOB0a2PRLQl6vJmXiFrniNwjkKdvakqJRULhjFKJpxOchlCRiG5fcacoUZY5Xa6PEQ==", "bin": { "marked": "bin/marked.js" }, @@ -7559,7 +7573,8 @@ }, "node_modules/highlight.js": { "version": "11.10.0", - "license": "BSD-3-Clause", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.10.0.tgz", + "integrity": "sha512-SYVnVFswQER+zu1laSya563s+F8VDGt7o35d4utbamowvUNLLMovFqwCLSocpZTz3MgaSRA1IbqRWZv97dtErQ==", "engines": { "node": ">=12.0.0" } @@ -9109,6 +9124,7 @@ "version": "13.0.2", "resolved": "https://registry.npmjs.org/marked/-/marked-13.0.2.tgz", "integrity": "sha512-J6CPjP8pS5sgrRqxVRvkCIkZ6MFdRIjDkwUwgJ9nL2fbmM6qGQeB2C16hi8Cc9BOzj6xXzy0jyi0iPIfnMHYzA==", + "peer": true, "bin": { "marked": "bin/marked.js" }, diff --git a/package.json b/package.json index bb2d3adb..53ebdc99 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "@sentry/node": "^8.7.0", "@sentry/profiling-node": "^8.7.0", "@x-govuk/govuk-prototype-components": "^3.0.5", - "@x-govuk/govuk-prototype-filters": "github:GeorgeGoodall/govuk-prototype-filters#fix/markdownFilterStackOverflow", + "@x-govuk/govuk-prototype-filters": "^1.4.3", "accessible-autocomplete": "^3.0.0", "aws-sdk": "^2.1581.0", "axios": "^1.6.2",