From a2c4a9088814a2ca6a0ad38f3aa378a9f353f189 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 19 Jun 2024 18:23:21 +0000 Subject: [PATCH] Bump hast-util-to-string from 2.0.0 to 3.0.0 Bumps [hast-util-to-string](https://github.com/rehypejs/rehype-minify) from 2.0.0 to 3.0.0. - [Release notes](https://github.com/rehypejs/rehype-minify/releases) - [Changelog](https://github.com/rehypejs/rehype-minify/blob/main/changelog.md) - [Commits](https://github.com/rehypejs/rehype-minify/compare/2.0.0...3.0.0) --- updated-dependencies: - dependency-name: hast-util-to-string dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 29 +++++++++++++---------------- package.json | 2 +- 2 files changed, 14 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index 21d179a0df81..a40efaca0032 100644 --- a/package-lock.json +++ b/package-lock.json @@ -44,7 +44,7 @@ "got": "^13.0.0", "gray-matter": "^4.0.3", "hast-util-from-parse5": "^8.0.1", - "hast-util-to-string": "^2.0.0", + "hast-util-to-string": "^3.0.0", "hastscript": "^9.0.0", "helmet": "^7.1.0", "highlight.js": "11.9.0", @@ -7487,16 +7487,25 @@ } }, "node_modules/hast-util-to-string": { - "version": "2.0.0", - "license": "MIT", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hast-util-to-string/-/hast-util-to-string-3.0.0.tgz", + "integrity": "sha512-OGkAxX1Ua3cbcW6EJ5pT/tslVb90uViVkcJ4ZZIMW/R33DX/AkcJcRrPebPwJkHYwlDHXz4aIwvAAaAdtrACFA==", "dependencies": { - "@types/hast": "^2.0.0" + "@types/hast": "^3.0.0" }, "funding": { "type": "opencollective", "url": "https://opencollective.com/unified" } }, + "node_modules/hast-util-to-string/node_modules/@types/hast": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.4.tgz", + "integrity": "sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==", + "dependencies": { + "@types/unist": "*" + } + }, "node_modules/hast-util-to-text": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/hast-util-to-text/-/hast-util-to-text-4.0.0.tgz", @@ -12106,18 +12115,6 @@ "@types/unist": "*" } }, - "node_modules/rehype-slug/node_modules/hast-util-to-string": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/hast-util-to-string/-/hast-util-to-string-3.0.0.tgz", - "integrity": "sha512-OGkAxX1Ua3cbcW6EJ5pT/tslVb90uViVkcJ4ZZIMW/R33DX/AkcJcRrPebPwJkHYwlDHXz4aIwvAAaAdtrACFA==", - "dependencies": { - "@types/hast": "^3.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/rehype-stringify": { "version": "10.0.0", "resolved": "https://registry.npmjs.org/rehype-stringify/-/rehype-stringify-10.0.0.tgz", diff --git a/package.json b/package.json index 1448e1664df7..c48c6ab29d1b 100644 --- a/package.json +++ b/package.json @@ -258,7 +258,7 @@ "got": "^13.0.0", "gray-matter": "^4.0.3", "hast-util-from-parse5": "^8.0.1", - "hast-util-to-string": "^2.0.0", + "hast-util-to-string": "^3.0.0", "hastscript": "^9.0.0", "helmet": "^7.1.0", "highlight.js": "11.9.0",