From 1d8bc7090b333dbb9b6e79fbdce373f5c8032784 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 23 Sep 2023 13:52:48 +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 517e72dfe6e7..e475fd74d35d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -39,7 +39,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": "^8.0.0", "helmet": "^7.0.0", "highlight.js": "11.7.0", @@ -7262,16 +7262,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.1", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.1.tgz", + "integrity": "sha512-hs/iBJx2aydugBQx5ETV3ZgeSS0oIreQrFJ4bjBl0XvM4wAmDjFEALY7p0rTSLt2eL+ibjRAAs9dTPiCLtmbqQ==", + "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", @@ -13143,18 +13152,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 975a32c58514..4c760e22f8ba 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,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": "^8.0.0", "helmet": "^7.0.0", "highlight.js": "11.7.0",