Commit ea07f14
chore(deps): update dependency marked to v16 (#128)
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| [marked](https://marked.js.org)
([source](https://redirect.github.com/markedjs/marked)) | [`^12.0.1` ->
`^16.0.0`](https://renovatebot.com/diffs/npm/marked/12.0.2/16.3.0) |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
<details>
<summary>markedjs/marked (marked)</summary>
###
[`v16.3.0`](https://redirect.github.com/markedjs/marked/releases/tag/v16.3.0)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v16.2.1...v16.3.0)
##### Features
- add emStrongMask hook
([#​3749](https://redirect.github.com/markedjs/marked/issues/3749))
([cd2b5f4](https://redirect.github.com/markedjs/marked/commit/cd2b5f479768bae1082a10d7558177c92f1e0189))
###
[`v16.2.1`](https://redirect.github.com/markedjs/marked/releases/tag/v16.2.1)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v16.2.0...v16.2.1)
##### Bug Fixes
- allow escaped newline in link text
([#​3752](https://redirect.github.com/markedjs/marked/issues/3752))
([30c6630](https://redirect.github.com/markedjs/marked/commit/30c66301f926e4f80bae2d4c08635eb60228ee74))
###
[`v16.2.0`](https://redirect.github.com/markedjs/marked/releases/tag/v16.2.0)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v16.1.2...v16.2.0)
##### Features
- add def token in tokens and renderer
([#​3745](https://redirect.github.com/markedjs/marked/issues/3745))
([0769124](https://redirect.github.com/markedjs/marked/commit/07691248df5e23ce101e9e43a58393fa7d6fb9fa))
###
[`v16.1.2`](https://redirect.github.com/markedjs/marked/releases/tag/v16.1.2)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v16.1.1...v16.1.2)
##### Bug Fixes
- fix multiline list item adds extra newline to raw
([#​3735](https://redirect.github.com/markedjs/marked/issues/3735))
([e76453e](https://redirect.github.com/markedjs/marked/commit/e76453e64e52cd264911994a81778fa1e486054f))
###
[`v16.1.1`](https://redirect.github.com/markedjs/marked/releases/tag/v16.1.1)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v16.1.0...v16.1.1)
##### Bug Fixes
- fix stong and em tokens in angle brackets
([#​3731](https://redirect.github.com/markedjs/marked/issues/3731))
([ad8535c](https://redirect.github.com/markedjs/marked/commit/ad8535c3ada13602929f54527d158a37fa16e4ee))
###
[`v16.1.0`](https://redirect.github.com/markedjs/marked/releases/tag/v16.1.0)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v16.0.0...v16.1.0)
##### Features
- add generic types for parser and renderer output
([#​3722](https://redirect.github.com/markedjs/marked/issues/3722))
([39a0ee3](https://redirect.github.com/markedjs/marked/commit/39a0ee326d8f549d2b14922ce1f3da3d4aeb8f4a))
###
[`v16.0.0`](https://redirect.github.com/markedjs/marked/releases/tag/v16.0.0)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v15.0.12...v16.0.0)
##### Bug Fixes
- remove cjs build & update min node to 20
([#​3687](https://redirect.github.com/markedjs/marked/issues/3687))
([0a35d8f](https://redirect.github.com/markedjs/marked/commit/0a35d8f28b264b801dc01f256d578f4edf46d002))
##### BREAKING CHANGES
- minify ./lib/marked.esm.js and ./lib/marked.umd.js
- remove ./marked.min.js use ./lib/marked.umd.js instead
- remove ./lib/marked.cjs
- update minimum supported node version to 20 to support
`require('marked.esm.js')`. see
<https://nodejs.org/docs/latest-v20.x/api/modules.html#loading-ecmascript-modules-using-require>
###
[`v15.0.12`](https://redirect.github.com/markedjs/marked/releases/tag/v15.0.12)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v15.0.11...v15.0.12)
##### Bug Fixes
- use esbuild for accurate sourcemaps
([#​3670](https://redirect.github.com/markedjs/marked/issues/3670))
([7a6b2d7](https://redirect.github.com/markedjs/marked/commit/7a6b2d719141e8c30b3b02c383d111b6db11fb63))
###
[`v15.0.11`](https://redirect.github.com/markedjs/marked/releases/tag/v15.0.11)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v15.0.10...v15.0.11)
##### Bug Fixes
- fix image alt text rendered to match common mark
([#​3668](https://redirect.github.com/markedjs/marked/issues/3668))
([2c0e47a](https://redirect.github.com/markedjs/marked/commit/2c0e47a4ce04bd83fbb98d1d5a11304c6e8cb2ba))
###
[`v15.0.10`](https://redirect.github.com/markedjs/marked/releases/tag/v15.0.10)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v15.0.9...v15.0.10)
##### Bug Fixes
- fix non-breaking space in link url
([#​3667](https://redirect.github.com/markedjs/marked/issues/3667))
([e071e25](https://redirect.github.com/markedjs/marked/commit/e071e25d13cdca4472ad9b239a0668ae7d7a51e1))
###
[`v15.0.9`](https://redirect.github.com/markedjs/marked/releases/tag/v15.0.9)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v15.0.8...v15.0.9)
##### Bug Fixes
- fix link url with no closing parenthesis
([#​3664](https://redirect.github.com/markedjs/marked/issues/3664))
([72b6373](https://redirect.github.com/markedjs/marked/commit/72b63739f478bb5c0c503400fc31dc1133e2b4ce))
###
[`v15.0.8`](https://redirect.github.com/markedjs/marked/releases/tag/v15.0.8)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v15.0.7...v15.0.8)
##### Bug Fixes
- fix emstrong inside escaped backticks
([#​3652](https://redirect.github.com/markedjs/marked/issues/3652))
([721dc58](https://redirect.github.com/markedjs/marked/commit/721dc58ceb68fa38afadc3d6fb41804513d9be6c))
###
[`v15.0.7`](https://redirect.github.com/markedjs/marked/releases/tag/v15.0.7)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v15.0.6...v15.0.7)
##### Bug Fixes
- fix table rendered as heading
([#​3612](https://redirect.github.com/markedjs/marked/issues/3612))
([9ae87de](https://redirect.github.com/markedjs/marked/commit/9ae87de7cbaa49c53b046072c8b2423ea14e3527))
###
[`v15.0.6`](https://redirect.github.com/markedjs/marked/releases/tag/v15.0.6)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v15.0.5...v15.0.6)
##### Bug Fixes
- fix strikethrough inside strong and em to follow gfm
([#​3577](https://redirect.github.com/markedjs/marked/issues/3577))
([7712a53](https://redirect.github.com/markedjs/marked/commit/7712a5324f255c76509de81870c01b4c411979c7))
###
[`v15.0.5`](https://redirect.github.com/markedjs/marked/releases/tag/v15.0.5)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v15.0.4...v15.0.5)
##### Bug Fixes
- allow strikethrough inside strong and em to follow gfm
([#​3569](https://redirect.github.com/markedjs/marked/issues/3569))
([8a01658](https://redirect.github.com/markedjs/marked/commit/8a01658cac1211a6bf102c465812402358a6fe3f))
###
[`v15.0.4`](https://redirect.github.com/markedjs/marked/releases/tag/v15.0.4)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v15.0.3...v15.0.4)
##### Bug Fixes
- fix list with no items looping forever
([#​3560](https://redirect.github.com/markedjs/marked/issues/3560))
([e4198ed](https://redirect.github.com/markedjs/marked/commit/e4198ed70dce5a361901c009299b566541fc628e))
###
[`v15.0.3`](https://redirect.github.com/markedjs/marked/releases/tag/v15.0.3)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v15.0.2...v15.0.3)
##### Bug Fixes
- update punctuation regex syntax to fix babel mistaken transpile
([#​3547](https://redirect.github.com/markedjs/marked/issues/3547))
([9b988c4](https://redirect.github.com/markedjs/marked/commit/9b988c47bd01869914ae891b6dd62932b05a6418))
###
[`v15.0.2`](https://redirect.github.com/markedjs/marked/releases/tag/v15.0.2)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v15.0.1...v15.0.2)
##### Bug Fixes
- update punctuation regex syntax for compatibility
([#​3540](https://redirect.github.com/markedjs/marked/issues/3540))
([fd015f1](https://redirect.github.com/markedjs/marked/commit/fd015f147da064c40940491495cd06fc4476d178))
###
[`v15.0.1`](https://redirect.github.com/markedjs/marked/releases/tag/v15.0.1)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v15.0.0...v15.0.1)
##### Bug Fixes
- Remove unused plus typescript tightening
([#​3527](https://redirect.github.com/markedjs/marked/issues/3527))
([1f579f7](https://redirect.github.com/markedjs/marked/commit/1f579f76289f2c4a350d0954d343bef08f8e4658))
###
[`v15.0.0`](https://redirect.github.com/markedjs/marked/releases/tag/v15.0.0)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v14.1.4...v15.0.0)
##### Bug Fixes
- escape html in renderer
([#​3495](https://redirect.github.com/markedjs/marked/issues/3495))
([58d66e5](https://redirect.github.com/markedjs/marked/commit/58d66e59d1ad1a149bed2da6553d49642f75aa86))
- Move all regexps to rules
([#​3519](https://redirect.github.com/markedjs/marked/issues/3519))
([1f88deb](https://redirect.github.com/markedjs/marked/commit/1f88deb58a0c593745a4201c42fa6aa6e5f8a99c))
##### BREAKING CHANGES
- escape html in renderers instead of tokenizers for all tokens.
###
[`v14.1.4`](https://redirect.github.com/markedjs/marked/releases/tag/v14.1.4)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v14.1.3...v14.1.4)
##### Bug Fixes
- fix del with escaped tilde
([#​3517](https://redirect.github.com/markedjs/marked/issues/3517))
([0afe87d](https://redirect.github.com/markedjs/marked/commit/0afe87d7fb72063a04b3a010aece6efed283a062))
- fix html comment after list
([#​3518](https://redirect.github.com/markedjs/marked/issues/3518))
([a612576](https://redirect.github.com/markedjs/marked/commit/a612576ff647b4124e8fa80f608cc23c908a1861))
###
[`v14.1.3`](https://redirect.github.com/markedjs/marked/releases/tag/v14.1.3)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v14.1.2...v14.1.3)
##### Bug Fixes
- include single nested parens in emStrong link mask
([#​3475](https://redirect.github.com/markedjs/marked/issues/3475))
([2b7efa8](https://redirect.github.com/markedjs/marked/commit/2b7efa8dda034181932c9c3810fef7d73a81eb9b))
- kill SIGINT signal at man for marked --help
([#​3483](https://redirect.github.com/markedjs/marked/issues/3483))
([b1fd3ea](https://redirect.github.com/markedjs/marked/commit/b1fd3eafd8c4e2236b30cab42efc8981e204f063))
###
[`v14.1.2`](https://redirect.github.com/markedjs/marked/releases/tag/v14.1.2)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v14.1.1...v14.1.2)
##### Bug Fixes
- fix html following list
([#​3444](https://redirect.github.com/markedjs/marked/issues/3444))
([9d7b728](https://redirect.github.com/markedjs/marked/commit/9d7b7287495d719e0a9c5d4def403a6d0284a20d))
###
[`v14.1.1`](https://redirect.github.com/markedjs/marked/releases/tag/v14.1.1)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v14.1.0...v14.1.1)
##### Bug Fixes
- Don't replace tabs with spaces
([#​3438](https://redirect.github.com/markedjs/marked/issues/3438))
([9ed6456](https://redirect.github.com/markedjs/marked/commit/9ed6456a37648d6944e549e04e7e441686dd6c6f))
###
[`v14.1.0`](https://redirect.github.com/markedjs/marked/releases/tag/v14.1.0)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v14.0.0...v14.1.0)
##### Bug Fixes
- don't export block or inline
([#​3427](https://redirect.github.com/markedjs/marked/issues/3427))
([3f0430a](https://redirect.github.com/markedjs/marked/commit/3f0430a45e14808bcf894323c8b680135e68f139))
##### Features
- add provideLexer and provideParser hooks
([#​3424](https://redirect.github.com/markedjs/marked/issues/3424))
([447f5af](https://redirect.github.com/markedjs/marked/commit/447f5af7e46665de28da711fc7887b56bc38715e))
###
[`v14.0.0`](https://redirect.github.com/markedjs/marked/releases/tag/v14.0.0)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v13.0.3...v14.0.0)
##### Bug Fixes
- allow async option to dictate type returned
([#​3341](https://redirect.github.com/markedjs/marked/issues/3341))
([b5a5004](https://redirect.github.com/markedjs/marked/commit/b5a50041ae0347a80d8d017b39b46a57f58354d0))
- Remove useNewRenderer
([#​3342](https://redirect.github.com/markedjs/marked/issues/3342))
([e64f226](https://redirect.github.com/markedjs/marked/commit/e64f226539baafee2935e173281157c70fb402db))
##### BREAKING CHANGES
- Remove old renderer
- throw an error if `async: false` is set when an extension sets `async:
true`
###
[`v13.0.3`](https://redirect.github.com/markedjs/marked/releases/tag/v13.0.3)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v13.0.2...v13.0.3)
##### Bug Fixes
- fix recursion-like stack overflow error caused by the old render…
([#​3380](https://redirect.github.com/markedjs/marked/issues/3380))
([89af0b8](https://redirect.github.com/markedjs/marked/commit/89af0b85b1db67c86641144949d0a44461974442))
###
[`v13.0.2`](https://redirect.github.com/markedjs/marked/releases/tag/v13.0.2)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v13.0.1...v13.0.2)
##### Bug Fixes
- fix list item with blank first line
([#​3351](https://redirect.github.com/markedjs/marked/issues/3351))
([d28e4c6](https://redirect.github.com/markedjs/marked/commit/d28e4c65ea822a83049de5652cf3446a05d0c6b5))
###
[`v13.0.1`](https://redirect.github.com/markedjs/marked/releases/tag/v13.0.1)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v13.0.0...v13.0.1)
##### Bug Fixes
- fix this type in extension methods
([#​3339](https://redirect.github.com/markedjs/marked/issues/3339))
([520b9ad](https://redirect.github.com/markedjs/marked/commit/520b9ad355f2d098e251b5c89e973985922f5b76))
###
[`v13.0.0`](https://redirect.github.com/markedjs/marked/releases/tag/v13.0.0)
[Compare
Source](https://redirect.github.com/markedjs/marked/compare/v12.0.2...v13.0.0)
##### Bug Fixes
- Fix blockquote code continuation
([#​3264](https://redirect.github.com/markedjs/marked/issues/3264))
([7ab8185](https://redirect.github.com/markedjs/marked/commit/7ab818502ed537ab8eed22dc9cf4f7602232aa53))
- Add parser as a property on the Renderer object
([#​3291](https://redirect.github.com/markedjs/marked/issues/3291))
- Send block text tokens to the text renderer
([#​3291](https://redirect.github.com/markedjs/marked/issues/3291))
##### Features
- Send token objects to renderers
([#​3291](https://redirect.github.com/markedjs/marked/issues/3291))
([1ce59ea](https://redirect.github.com/markedjs/marked/commit/1ce59ea827272b5d067f1e06d3ee4a1d52b1d9bb))
- Add space renderer that returns empty string by default
([#​3291](https://redirect.github.com/markedjs/marked/issues/3291))
- Add header and align properties to TableCell token
([#​3291](https://redirect.github.com/markedjs/marked/issues/3291))
- Add TableRow token
([#​3291](https://redirect.github.com/markedjs/marked/issues/3291))
- Add Checkbox token
([#​3291](https://redirect.github.com/markedjs/marked/issues/3291))
##### BREAKING CHANGES
- Add space token after blockquote and hr if there are multiple newlines
- Send token objects to renderers and move logic to parse tokens from
the parser to the renderers.
- Most extensions that update marked renderers should still work with
this version but will break in a future major version.
- Extensions that change marked renderers will need to be updated and
use new option `useNewRenderer` and accept a token object instead of
multiple parameters. See updated [Renderer
docs](https://marked.js.org/using_pro#renderer)
```js
// v12 renderer extension
const extension = {
renderer: {
heading(text, level) {
// increase level by 1
return `<h${level + 1}>${text}</h${level + 1}>`;
}
}
};
marked.use(extension);
```
```js
// v13 renderer extension
const extension = {
useNewRenderer: true,
renderer: {
heading(token) {
// increase depth by 1
const text = this.parser.parseInline(token.tokens);
const level = token.depth;
return `<h${level + 1}>${text}</h${level + 1}>`;
}
}
};
marked.use(extension);
```
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am" in timezone 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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDQuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE0NC4xIiwidGFyZ2V0QnJhbmNoIjoiZGVwcy1tYWluIiwibGFiZWxzIjpbIm1ham9yLXVwZGF0ZSIsIm5vZGVqcyJdfQ==-->
Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com>1 parent c974437 commit ea07f14
2 files changed
+6
-6
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
0 commit comments