From 798d908b0cc81d44a1edd607274240f49afafc38 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 15 Oct 2023 23:08:49 +0000 Subject: [PATCH] Update dependency remark-rehype to v11 (#408) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [remark-rehype](https://togithub.com/remarkjs/remark-rehype) | [`5.0.0` -> `11.0.0`](https://renovatebot.com/diffs/npm/remark-rehype/5.0.0/11.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/remark-rehype/11.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/remark-rehype/11.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/remark-rehype/5.0.0/11.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/remark-rehype/5.0.0/11.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
remarkjs/remark-rehype (remark-rehype) ### [`v11.0.0`](https://togithub.com/remarkjs/remark-rehype/releases/tag/11.0.0) [Compare Source](https://togithub.com/remarkjs/remark-rehype/compare/10.1.0...11.0.0) ##### Change - [`30091c7`](https://togithub.com/remarkjs/remark-rehype/commit/30091c7) Change to require Node.js 16 **migrate**: update too - [`cafeacc`](https://togithub.com/remarkjs/remark-rehype/commit/cafeacc) Change to use `exports` **migrate**: don’t use private APIs - [`acb292a`](https://togithub.com/remarkjs/remark-rehype/commit/acb292a) Update `mdast-util-to-hast`, `@types/{hast,mdast}`, unified, etc **migrate**: update too if you don’t use handlers, this should be fine; if you do, see [`mdast-util-to-hast@13.0.0`](https://togithub.com/syntax-tree/mdast-util-to-hast/releases/tag/13.0.0) - [`ba50965`](https://togithub.com/remarkjs/remark-rehype/commit/ba50965) Remove `Processor` type **migrate**: get it from `unified` ##### Add - [`b990986`](https://togithub.com/remarkjs/remark-rehype/commit/b990986) Add exports of `defaultFootnoteBackContent`, `defaultFootnoteBackLabel` **Full Changelog**: https://github.com/remarkjs/remark-rehype/compare/10.1.0...11.0.0 ### [`v10.1.0`](https://togithub.com/remarkjs/remark-rehype/releases/tag/10.1.0) [Compare Source](https://togithub.com/remarkjs/remark-rehype/compare/10.0.1...10.1.0) - [`f22d7af`](https://togithub.com/remarkjs/remark-rehype/commit/f22d7af) Add exports of `defaultHandlers`, `all`, `one` by [@​JounQin](https://togithub.com/JounQin) in [https://github.com/remarkjs/remark-rehype/pull/23](https://togithub.com/remarkjs/remark-rehype/pull/23) **Full Changelog**: https://github.com/remarkjs/remark-rehype/compare/10.0.1...10.1.0 ### [`v10.0.1`](https://togithub.com/remarkjs/remark-rehype/releases/tag/10.0.1) [Compare Source](https://togithub.com/remarkjs/remark-rehype/compare/10.0.0...10.0.1) - [`1e0c67d`](https://togithub.com/remarkjs/remark-rehype/commit/1e0c67d) Add improved docs by [@​wooorm](https://togithub.com/wooorm) in [https://github.com/remarkjs/remark-rehype/pull/22](https://togithub.com/remarkjs/remark-rehype/pull/22) **Full Changelog**: https://github.com/remarkjs/remark-rehype/compare/10.0.0...10.0.1 ### [`v10.0.0`](https://togithub.com/remarkjs/remark-rehype/releases/tag/10.0.0) [Compare Source](https://togithub.com/remarkjs/remark-rehype/compare/9.1.0...10.0.0) - [`2e2401a`](https://togithub.com/remarkjs/remark-rehype/commit/2e2401a) Update `mdast-util-to-hast` This changes footnotes to match [how GitHub renders them](https://github.blog/changelog/2021-09-30-footnotes-now-supported-in-markdown-fields/) - use the new `clobberPrefix`, `footnoteLabel`, and `footnoteLabelBack` options to configure it - [`b718673`](https://togithub.com/remarkjs/remark-rehype/commit/b718673) Fix support for explicit nullish `processor` **Full Changelog**: https://github.com/remarkjs/remark-rehype/compare/9.1.0...10.0.0 ### [`v9.1.0`](https://togithub.com/remarkjs/remark-rehype/releases/tag/9.1.0) [Compare Source](https://togithub.com/remarkjs/remark-rehype/compare/9.0.0...9.1.0) - [`aab88a5`](https://togithub.com/remarkjs/remark-rehype/commit/aab88a5) Add `raw` to hast type registry ### [`v9.0.0`](https://togithub.com/remarkjs/remark-rehype/releases/tag/9.0.0) [Compare Source](https://togithub.com/remarkjs/remark-rehype/compare/8.1.0...9.0.0) - [`ab51cd4`](https://togithub.com/remarkjs/remark-rehype/commit/ab51cd4) Use ESM ```js // From CommonJS var remarkRehype = require('remark-rehype') // To ESM import remarkRehype from 'remark-rehype' ``` Learn [more about ESM in this guide](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) - [`c6a4c64`](https://togithub.com/remarkjs/remark-rehype/commit/c6a4c64) Add JSDoc based types - [`0cea259`](https://togithub.com/remarkjs/remark-rehype/commit/0cea259) Update dependencies See [`mdast-util-to-hast@11.0.0`](https://togithub.com/syntax-tree/mdast-util-to-hast/releases/tag/11.0.0) ### [`v8.1.0`](https://togithub.com/remarkjs/remark-rehype/releases/tag/8.1.0) [Compare Source](https://togithub.com/remarkjs/remark-rehype/compare/8.0.0...8.1.0) - [`63a851a`](https://togithub.com/remarkjs/remark-rehype/commit/63a851a) Update `mdast-util-to-hast` ### [`v8.0.0`](https://togithub.com/remarkjs/remark-rehype/releases/tag/8.0.0) [Compare Source](https://togithub.com/remarkjs/remark-rehype/compare/7.0.0...8.0.0) - [`fc18fe8`](https://togithub.com/remarkjs/remark-rehype/commit/fc18fe8) Change to comply to CommonMark ### [`v7.0.0`](https://togithub.com/remarkjs/remark-rehype/releases/tag/7.0.0) [Compare Source](https://togithub.com/remarkjs/remark-rehype/compare/6.0.0...7.0.0) - [`c5a4eae`](https://togithub.com/remarkjs/remark-rehype/commit/c5a4eae) Add types ### [`v6.0.0`](https://togithub.com/remarkjs/remark-rehype/releases/tag/6.0.0) [Compare Source](https://togithub.com/remarkjs/remark-rehype/compare/5.0.0...6.0.0) - [`f18c8ec`](https://togithub.com/remarkjs/remark-rehype/commit/f18c8ec) Update [`mdast-util-to-hast`](https://togithub.com/syntax-tree/mdast-util-to-hast/releases/tag/8.0.0) (**breaking**, potentially, if you or your dependents use typescript) - [`bfe0e7f`](https://togithub.com/remarkjs/remark-rehype/commit/bfe0e7f) Refactor prose - [`47e547d`](https://togithub.com/remarkjs/remark-rehype/commit/47e547d) Add notes on security
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/X-oss-byte/Nextjs). --- .../actions/validate-docs-links/package.json | 2 +- .github/pnpm-lock.yaml | 106 ++---------------- 2 files changed, 11 insertions(+), 97 deletions(-) diff --git a/.github/actions/validate-docs-links/package.json b/.github/actions/validate-docs-links/package.json index c7bb5d02ed..c6a8889b2f 100644 --- a/.github/actions/validate-docs-links/package.json +++ b/.github/actions/validate-docs-links/package.json @@ -21,7 +21,7 @@ "gray-matter": "4.0.3", "rehype-raw": "7.0.0", "remark-parse": "11.0.0", - "remark-rehype": "5.0.0", + "remark-rehype": "11.0.0", "unified": "8.4.2", "unist-util-visit": "2.0.3" } diff --git a/.github/pnpm-lock.yaml b/.github/pnpm-lock.yaml index 5ccedc4fc4..9787801611 100644 --- a/.github/pnpm-lock.yaml +++ b/.github/pnpm-lock.yaml @@ -156,8 +156,8 @@ importers: specifier: 11.0.0 version: 11.0.0 remark-rehype: - specifier: 5.0.0 - version: 5.0.0 + specifier: 11.0.0 + version: 11.0.0 unified: specifier: 8.4.2 version: 8.4.2 @@ -377,7 +377,7 @@ packages: /@types/hast@3.0.1: resolution: {integrity: sha512-hs/iBJx2aydugBQx5ETV3ZgeSS0oIreQrFJ4bjBl0XvM4wAmDjFEALY7p0rTSLt2eL+ibjRAAs9dTPiCLtmbqQ==} dependencies: - '@types/unist': 2.0.7 + '@types/unist': 3.0.0 dev: false /@types/is-stream@1.1.0: @@ -491,10 +491,6 @@ packages: resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==} dev: false - /collapse-white-space@1.0.6: - resolution: {integrity: sha512-jEovNnrhMuqyCcjfEJA56v0Xq8SkIoPKDyaHahwo3POf4qcSXqMYuwNcOTzp74vTsR9Tn08z4MxWqAhcekogkQ==} - dev: false - /color-convert@2.0.1: resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} engines: {node: '>=7.0.0'} @@ -563,12 +559,6 @@ packages: engines: {node: '>=6'} dev: false - /detab@2.0.4: - resolution: {integrity: sha512-8zdsQA5bIkoRECvCrNKPla84lyoR7DSAyf7p0YgXzBO9PDJx8KntPUay7NS6yp+KdxdVtiE5SpHKtbp2ZQyA9g==} - dependencies: - repeat-string: 1.6.1 - dev: false - /devlop@1.1.0: resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==} dependencies: @@ -901,12 +891,6 @@ packages: yallist: 4.0.0 dev: false - /mdast-util-definitions@1.2.5: - resolution: {integrity: sha512-CJXEdoLfiISCDc2JB6QLb79pYfI6+GcIH+W2ox9nMc7od0Pz+bovcHsiq29xAQY6ayqe/9CsK2VzkSJdg1pFYA==} - dependencies: - unist-util-visit: 1.4.1 - dev: false - /mdast-util-from-markdown@2.0.0: resolution: {integrity: sha512-n7MTOr/z+8NAX/wmhhDji8O3bRvPTV/U0oTCaZJkjhPSKTPhS3xufVhKGF8s1pJ7Ox4QgoIU7KHseh09S+9rTA==} dependencies: @@ -939,32 +923,12 @@ packages: unist-util-visit: 5.0.0 dev: false - /mdast-util-to-hast@6.0.2: - resolution: {integrity: sha512-GjcOimC9qHI0yNFAQdBesrZXzUkRdFleQlcoU8+TVNfDW6oLUazUx8MgUoTaUyCJzBOnE5AOgqhpURrSlf0QwQ==} - dependencies: - collapse-white-space: 1.0.6 - detab: 2.0.4 - mdast-util-definitions: 1.2.5 - mdurl: 1.0.1 - trim: 0.0.1 - trim-lines: 1.1.3 - unist-builder: 1.0.4 - unist-util-generated: 1.1.6 - unist-util-position: 3.1.0 - unist-util-visit: 1.4.1 - xtend: 4.0.2 - dev: false - /mdast-util-to-string@4.0.0: resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==} dependencies: '@types/mdast': 4.0.1 dev: false - /mdurl@1.0.1: - resolution: {integrity: sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==} - dev: false - /merge-stream@2.0.0: resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} dev: false @@ -1198,11 +1162,6 @@ packages: path-key: 4.0.0 dev: false - /object-assign@4.1.1: - resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} - engines: {node: '>=0.10.0'} - dev: false - /once@1.4.0: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} dependencies: @@ -1314,15 +1273,14 @@ packages: - supports-color dev: false - /remark-rehype@5.0.0: - resolution: {integrity: sha512-tgo+AeOotuh9FnGMkEPbE6C3OfdARqqSxT0H/KNGAiTwJLiDoRSm6x/ytqPZTyYSiQ/exbi/kx7k6uUvqYL1wQ==} + /remark-rehype@11.0.0: + resolution: {integrity: sha512-vx8x2MDMcxuE4lBmQ46zYUDfcFMmvg80WYX+UNLeG6ixjdCCLcw1lrgAukwBTuOFsS78eoAedHGn9sNM0w7TPw==} dependencies: - mdast-util-to-hast: 6.0.2 - dev: false - - /repeat-string@1.6.1: - resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==} - engines: {node: '>=0.10'} + '@types/hast': 3.0.1 + '@types/mdast': 4.0.1 + mdast-util-to-hast: 13.0.2 + unified: 11.0.3 + vfile: 6.0.1 dev: false /retry@0.13.1: @@ -1413,19 +1371,10 @@ packages: engines: {node: '>=12'} dev: false - /trim-lines@1.1.3: - resolution: {integrity: sha512-E0ZosSWYK2mkSu+KEtQ9/KqarVjA9HztOSX+9FDdNacRAq29RRV6ZQNgob3iuW8Htar9vAfEa6yyt5qBAHZDBA==} - dev: false - /trim-lines@3.0.1: resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==} dev: false - /trim@0.0.1: - resolution: {integrity: sha512-YzQV+TZg4AxpKxaTHK3c3D+kRDCGVEE7LemdlQZoQXn0iennk10RsIoY6ikzAqJTc9Xjl9C1/waHom/J86ziAQ==} - deprecated: Use String.prototype.trim() instead - dev: false - /trough@1.0.5: resolution: {integrity: sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==} dev: false @@ -1475,20 +1424,6 @@ packages: vfile: 4.2.1 dev: false - /unist-builder@1.0.4: - resolution: {integrity: sha512-v6xbUPP7ILrT15fHGrNyHc1Xda8H3xVhP7/HAIotHOhVPjH5dCXA097C3Rry1Q2O+HbOLCao4hfPB+EYEjHgVg==} - dependencies: - object-assign: 4.1.1 - dev: false - - /unist-util-generated@1.1.6: - resolution: {integrity: sha512-cln2Mm1/CZzN5ttGK7vkoGw+RZ8VcUH6BtGbq98DDtRGquAAOXig1mrBQYelOwMXYS8rK+vZDyyojSjp7JX+Lg==} - dev: false - - /unist-util-is@3.0.0: - resolution: {integrity: sha512-sVZZX3+kspVNmLWBPAB6r+7D9ZgAFPNWm66f7YNb420RlQSbn+n8rG8dGZSkrER7ZIXGQYNm5pqC3v3HopH24A==} - dev: false - /unist-util-is@4.1.0: resolution: {integrity: sha512-ZOQSsnce92GrxSqlnEEseX0gi7GH9zTJZ0p9dtu87WRb/37mMPO2Ilx1s/t9vBHrFhbgweUwb+t7cIn5dxPhZg==} dev: false @@ -1499,10 +1434,6 @@ packages: '@types/unist': 3.0.0 dev: false - /unist-util-position@3.1.0: - resolution: {integrity: sha512-w+PkwCbYSFw8vpgWD0v7zRCl1FpY3fjDSQ3/N/wNd9Ffa4gPi8+4keqt99N3XW6F99t/mUzp2xAhNmfKWp95QA==} - dev: false - /unist-util-position@5.0.0: resolution: {integrity: sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==} dependencies: @@ -1521,12 +1452,6 @@ packages: '@types/unist': 3.0.0 dev: false - /unist-util-visit-parents@2.1.2: - resolution: {integrity: sha512-DyN5vD4NE3aSeB+PXYNKxzGsfocxp6asDc2XXE3b0ekO2BaRUpBicbbUygfSvYfUz1IkmjFR1YF7dPklraMZ2g==} - dependencies: - unist-util-is: 3.0.0 - dev: false - /unist-util-visit-parents@3.1.1: resolution: {integrity: sha512-1KROIZWo6bcMrZEwiH2UrXDyalAa0uqzWCxCJj6lPOvTve2WkfgCytoDTPaMnodXh1WrXOq0haVYHj99ynJlsg==} dependencies: @@ -1541,12 +1466,6 @@ packages: unist-util-is: 6.0.0 dev: false - /unist-util-visit@1.4.1: - resolution: {integrity: sha512-AvGNk7Bb//EmJZyhtRUnNMEpId/AZ5Ph/KUpTI09WHQuDZHKovQ1oEv3mfmKpWKtoMzyMC4GLBm1Zy5k12fjIw==} - dependencies: - unist-util-visit-parents: 2.1.2 - dev: false - /unist-util-visit@2.0.3: resolution: {integrity: sha512-iJ4/RczbJMkD0712mGktuGpm/U4By4FfDonL7N/9tATGIF4imikjOuagyMY53tnZq3NP6BcmlrHhEKAfGWjh7Q==} dependencies: @@ -1654,11 +1573,6 @@ packages: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} dev: false - /xtend@4.0.2: - resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} - engines: {node: '>=0.4'} - dev: false - /yallist@4.0.0: resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} dev: false