remarkjs/remark-html (remark-html)
### [`v16.0.1`](https://togithub.com/remarkjs/remark-html/releases/tag/16.0.1)
[Compare Source](https://togithub.com/remarkjs/remark-html/compare/16.0.0...16.0.1)
- [`e507e9d`](https://togithub.com/remarkjs/remark-html/commit/e507e9d) Fix to add misclassified dependency
**Full Changelog**: https://github.com/remarkjs/remark-html/compare/16.0.0...16.0.1
### [`v16.0.0`](https://togithub.com/remarkjs/remark-html/releases/tag/16.0.0)
[Compare Source](https://togithub.com/remarkjs/remark-html/compare/15.0.2...16.0.0)
##### Change
- [`c726e74`](https://togithub.com/remarkjs/remark-html/commit/c726e74) Change to require Node.js 16
**migrate**: update too
- [`80482a5`](https://togithub.com/remarkjs/remark-html/commit/80482a5) Change to use `exports`
**migrate**: don’t use private APIs
- [`1946cf3`](https://togithub.com/remarkjs/remark-html/commit/1946cf3) Update `@types/mdast`, utilities, etc
**migrate**: update too
[`hast-util-sanitize@5`](https://togithub.com/syntax-tree/hast-util-sanitize/releases/tag/5.0.0): everything’s safe, GH is safe, but make sure to check if you’re super worried
[`hast-util-to-html@9`](https://togithub.com/syntax-tree/hast-util-to-html/releases/tag/9.0.0): `options.entities` -> `options.characterReferences`
[`mdast-util-to-hast@13`](https://togithub.com/syntax-tree/mdast-util-to-hast/releases/tag/13.0.0): handlers are different, if you pass those, see the changelog
**Full Changelog**: https://github.com/remarkjs/remark-html/compare/15.0.2...16.0.0
### [`v15.0.2`](https://togithub.com/remarkjs/remark-html/releases/tag/15.0.2)
[Compare Source](https://togithub.com/remarkjs/remark-html/compare/15.0.1...15.0.2)
##### Fix
- [`e24b8bd`](https://togithub.com/remarkjs/remark-html/commit/e24b8bd) Fix types for TS 4.9, regenerate them
**Full Changelog**: https://github.com/remarkjs/remark-html/compare/15.0.1...15.0.2
### [`v15.0.1`](https://togithub.com/remarkjs/remark-html/releases/tag/15.0.1)
[Compare Source](https://togithub.com/remarkjs/remark-html/compare/15.0.0...15.0.1)
- [`ab28821`](https://togithub.com/remarkjs/remark-html/commit/ab28821) Add improved docs
by [@wooorm](https://togithub.com/wooorm) in [https://github.com/remarkjs/remark-html/pull/38](https://togithub.com/remarkjs/remark-html/pull/38)
**Full Changelog**: https://github.com/remarkjs/remark-html/compare/15.0.0...15.0.1
### [`v15.0.0`](https://togithub.com/remarkjs/remark-html/releases/tag/15.0.0)
[Compare Source](https://togithub.com/remarkjs/remark-html/compare/14.0.1...15.0.0)
- [`995b427`](https://togithub.com/remarkjs/remark-html/commit/995b427) Change footnotes to match [how GitHub renders them](https://github.blog/changelog/2021-09-30-footnotes-now-supported-in-markdown-fields/)
- remove `remark-footnotes` if you were using that, and instead use `remark-gfm`
- more options available if you switch to `remark-rehype` instead of this plugin `remark-html`
**Full Changelog**: https://github.com/remarkjs/remark-html/compare/14.0.1...15.0.0
### [`v14.0.1`](https://togithub.com/remarkjs/remark-html/releases/tag/14.0.1)
[Compare Source](https://togithub.com/remarkjs/remark-html/compare/14.0.0...14.0.1)
- [`b75c9dd`](https://togithub.com/remarkjs/remark-html/commit/b75c9dd) **Security**: Fix to sanitize by default
The docs have always said `remark-html` is safe by default. It wasn’t and this patches that.
If you do want to be unsafe, use `remark-html` with `sanitize: false`:
```diff
- .use(remarkHtml)
+ .use(remarkHtml, {sanitize: false})
```
**Full Changelog**: https://github.com/remarkjs/remark-html/compare/14.0.0...14.0.1
### [`v14.0.0`](https://togithub.com/remarkjs/remark-html/releases/tag/14.0.0)
[Compare Source](https://togithub.com/remarkjs/remark-html/compare/13.0.2...14.0.0)
- [`7ae15b5`](https://togithub.com/remarkjs/remark-html/commit/7ae15b5) Use ESM
```js
// From CommonJS
var remarkHtml = require('remark-html')
// To ESM
import remarkHtml from 'remark-html'
```
Learn [more about ESM in this guide](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c)
- [`7dbad66`](https://togithub.com/remarkjs/remark-html/commit/7dbad66) Add JSDoc based types
Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), 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. View repository job log here.
This PR contains the following updates:
^13.0.1
->^16.0.0
Release Notes
remarkjs/remark-html (remark-html)
### [`v16.0.1`](https://togithub.com/remarkjs/remark-html/releases/tag/16.0.1) [Compare Source](https://togithub.com/remarkjs/remark-html/compare/16.0.0...16.0.1) - [`e507e9d`](https://togithub.com/remarkjs/remark-html/commit/e507e9d) Fix to add misclassified dependency **Full Changelog**: https://github.com/remarkjs/remark-html/compare/16.0.0...16.0.1 ### [`v16.0.0`](https://togithub.com/remarkjs/remark-html/releases/tag/16.0.0) [Compare Source](https://togithub.com/remarkjs/remark-html/compare/15.0.2...16.0.0) ##### Change - [`c726e74`](https://togithub.com/remarkjs/remark-html/commit/c726e74) Change to require Node.js 16 **migrate**: update too - [`80482a5`](https://togithub.com/remarkjs/remark-html/commit/80482a5) Change to use `exports` **migrate**: don’t use private APIs - [`1946cf3`](https://togithub.com/remarkjs/remark-html/commit/1946cf3) Update `@types/mdast`, utilities, etc **migrate**: update too [`hast-util-sanitize@5`](https://togithub.com/syntax-tree/hast-util-sanitize/releases/tag/5.0.0): everything’s safe, GH is safe, but make sure to check if you’re super worried [`hast-util-to-html@9`](https://togithub.com/syntax-tree/hast-util-to-html/releases/tag/9.0.0): `options.entities` -> `options.characterReferences` [`mdast-util-to-hast@13`](https://togithub.com/syntax-tree/mdast-util-to-hast/releases/tag/13.0.0): handlers are different, if you pass those, see the changelog **Full Changelog**: https://github.com/remarkjs/remark-html/compare/15.0.2...16.0.0 ### [`v15.0.2`](https://togithub.com/remarkjs/remark-html/releases/tag/15.0.2) [Compare Source](https://togithub.com/remarkjs/remark-html/compare/15.0.1...15.0.2) ##### Fix - [`e24b8bd`](https://togithub.com/remarkjs/remark-html/commit/e24b8bd) Fix types for TS 4.9, regenerate them **Full Changelog**: https://github.com/remarkjs/remark-html/compare/15.0.1...15.0.2 ### [`v15.0.1`](https://togithub.com/remarkjs/remark-html/releases/tag/15.0.1) [Compare Source](https://togithub.com/remarkjs/remark-html/compare/15.0.0...15.0.1) - [`ab28821`](https://togithub.com/remarkjs/remark-html/commit/ab28821) Add improved docs by [@wooorm](https://togithub.com/wooorm) in [https://github.com/remarkjs/remark-html/pull/38](https://togithub.com/remarkjs/remark-html/pull/38) **Full Changelog**: https://github.com/remarkjs/remark-html/compare/15.0.0...15.0.1 ### [`v15.0.0`](https://togithub.com/remarkjs/remark-html/releases/tag/15.0.0) [Compare Source](https://togithub.com/remarkjs/remark-html/compare/14.0.1...15.0.0) - [`995b427`](https://togithub.com/remarkjs/remark-html/commit/995b427) Change footnotes to match [how GitHub renders them](https://github.blog/changelog/2021-09-30-footnotes-now-supported-in-markdown-fields/) - remove `remark-footnotes` if you were using that, and instead use `remark-gfm` - more options available if you switch to `remark-rehype` instead of this plugin `remark-html` **Full Changelog**: https://github.com/remarkjs/remark-html/compare/14.0.1...15.0.0 ### [`v14.0.1`](https://togithub.com/remarkjs/remark-html/releases/tag/14.0.1) [Compare Source](https://togithub.com/remarkjs/remark-html/compare/14.0.0...14.0.1) - [`b75c9dd`](https://togithub.com/remarkjs/remark-html/commit/b75c9dd) **Security**: Fix to sanitize by default The docs have always said `remark-html` is safe by default. It wasn’t and this patches that. If you do want to be unsafe, use `remark-html` with `sanitize: false`: ```diff - .use(remarkHtml) + .use(remarkHtml, {sanitize: false}) ``` **Full Changelog**: https://github.com/remarkjs/remark-html/compare/14.0.0...14.0.1 ### [`v14.0.0`](https://togithub.com/remarkjs/remark-html/releases/tag/14.0.0) [Compare Source](https://togithub.com/remarkjs/remark-html/compare/13.0.2...14.0.0) - [`7ae15b5`](https://togithub.com/remarkjs/remark-html/commit/7ae15b5) Use ESM ```js // From CommonJS var remarkHtml = require('remark-html') // To ESM import remarkHtml from 'remark-html' ``` Learn [more about ESM in this guide](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c) - [`7dbad66`](https://togithub.com/remarkjs/remark-html/commit/7dbad66) Add JSDoc based typesConfiguration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), 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.
This PR has been generated by Mend Renovate. View repository job log here.