fix(deps): update dependency marked to v4 - autoclosed
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
marked (source) | dependencies | major | 0.8.0 -> 4.3.0 |
Release Notes
markedjs/marked
v4.3.0
Bug Fixes
- always return promise if async (#2728) (042dcc5)
- fenced code doesn't need a trailing newline (#2756) (3acbb7f)
Features
v4.2.12
Sorry for all of the quick releases. We were testing out different ways to build the files for releases. v4.2.5 - v4.2.12 have no changes to how marked works. The only addition is the version number in the comment in the build files.
Bug Fixes
- revert to build script in ci (d2ab474)
v4.2.11
Bug Fixes
- just build in version (22ac2cf)
v4.2.10
Bug Fixes
- use version (fd759b3)
v4.2.9
Bug Fixes
- fix version (96380c3)
v4.2.8
v4.2.7
Bug Fixes
- fix build file version (94fa76f)
v4.2.6
Bug Fixes
- add version to build files (79b8c0b)
v4.2.5
Bug Fixes
- fix paragraph continuation after block element (#2686) (1bbda68)
- fix tabs at beginning of list items (#2679) (e692634)
v4.2.4
Bug Fixes
- loose list items are loose (#2672) (df4eb0e)
- remove quotes at the end of gfm autolink (#2673) (697ac2a)
- use paragraph token in blockquote in list (#2671) (edc857c)
v4.2.3
Bug Fixes
- fix entity specs (#2652) (36a2b63)
- fix link reference definitions specs (#2654) (b7eea95)
- fix marked.use with multiple args (#2651) (73a7bf5)
- fix multiline setext headings (#2655) (4aee878)
v4.2.2
Bug Fixes
v4.2.1
Bug Fixes
v4.2.0
Features
v4.1.1
Bug Fixes
- remove smartLists from docs and code (#2596) (f6ba2e3), closes #2582 #2582 #2582 #2582 #2582 #2582 #2582
v4.1.0
Features
v4.0.19
Bug Fixes
v4.0.18
Bug Fixes
v4.0.17
Bug Fixes
v4.0.16
Bug Fixes
v4.0.15
Bug Fixes
v4.0.14
Bug Fixes
v4.0.13
Bug Fixes
v4.0.12
Bug Fixes
v4.0.11
Bug Fixes
v4.0.10
Bug Fixes
- security: fix redos vulnerabilities (8f80657)
v4.0.9
Bug Fixes
v4.0.8
Bug Fixes
v4.0.7
Bug Fixes
v4.0.6
Bug Fixes
v4.0.5
Bug Fixes
v4.0.4
Bug Fixes
v4.0.3
Bug Fixes
v4.0.2
Bug Fixes
v4.0.1
Bug Fixes
v4.0.0
Bug Fixes
BREAKING CHANGES
- Default export removed. Use
import { marked } from 'marked'
orconst { marked } = require('marked')
instead. -
/lib/marked.js
removed. Use/marked.min.js
in script tag instead. - When using marked in a script tag use
marked.parse(...)
instead ofmarked(...)
v3.0.8
Bug Fixes
v3.0.7
Bug Fixes
- use named exports only for ESM build (#2226)
v3.0.6
Bug Fixes
v3.0.5
Bug Fixes
v3.0.4
Bug Fixes
v3.0.3
Bug Fixes
v3.0.2
Bug Fixes
v3.0.1
Bug Fixes
v3.0.0
Bug Fixes
- Tokenizers lex their own child tokens (#2124) (288f1cb)
- Add module field to package.json (#2143) (edc2e6d)
- Drop node 10 support (#2157) (433b16f)
- Full Commonmark compliance for Lists (#2112) (eb33d3b)
- Refactor table tokens (#2166) (bc400ac)
BREAKING CHANGES
- Drop support for node 10.
- Add module field to package.json
- Tokenizers will create their own tokens with
this.lexer.inline(text, tokens)
. Theinline
function will queue the token creation until after all block tokens are created. - Extensions tokenizer
this
object will include thelexer
as a property.this.inlineTokens
becomesthis.lexer.inline
. - Extensions renderer
this
object will include theparser
as a property.this.parseInline
becomesthis.parser.parseInline
. -
tag
andinlineText
tokenizer function signatures have changed.
-
nptable
tokenizer is removed and merged withtable
tokenizer. -
table
tokensheader
property changed to contain an array of objects for each header cell withtext
andtokens
properties. -
table
tokenscells
property changed torows
and is an array of rows where each row contains an array of objects for each cell withtext
andtokens
properties.
v2 table
token:
{
"type": "table",
"align": [null, null],
"raw": "| a | b |\n|---|---|\n| 1 | 2 |\n",
"header": ["a", "b"],
"cells": [["1", "2"]],
"tokens": {
"header": [
[{ "type": "text", "raw": "a", "text": "a" }],
[{ "type": "text", "raw": "b", "text": "b" }]
],
"cells": [[
[{ "type": "text", "raw": "1", "text": "1" }],
[{ "type": "text", "raw": "2", "text": "2" }]
]]
}
}
v3 table
token:
{
"type": "table",
"align": [null, null],
"raw": "| a | b |\n|---|---|\n| 1 | 2 |\n",
"header": [
{
"text": "a",
"tokens": [{ "type": "text", "raw": "a", "text": "a" }]
},
{
"text": "b",
"tokens": [{ "type": "text", "raw": "b", "text": "b" }]
}
],
"rows": [
{
"text": "1",
"tokens": [{ "type": "text", "raw": "1", "text": "1" }]
},
{
"text": "2",
"tokens": [{ "type": "text", "raw": "2", "text": "2" }]
}
]
}
v2.1.3
Bug Fixes
v2.1.2
Bug Fixes
v2.1.1
Bug Fixes
v2.1.0
Features
v2.0.7
Bug Fixes
v2.0.6
Bug Fixes
v2.0.5
Bug Fixes
v2.0.4
Bug Fixes
v2.0.3
Bug Fixes
v2.0.2
Bug Fixes
v2.0.1
Bug Fixes
v2.0.0
Bug Fixes
- Join adjacent inlineText tokens (#1926) (f848e77)
- Total rework of Emphasis/Strong (#1864) (7293251)
BREAKING CHANGES
-
em
andstrong
tokenizers have been merged into oneemStrong
tokenizer. -
code
andtext
tokenizers do not get passed all tokens as a second parameter. - No longer supporting IE 11. IE 11 may still work but we are not committed to making sure it works with every update. We still provide an es5 version in
lib/marked.js
but some pollyfills may be needed for IE 11 in the future.
v1.2.9
Bug Fixes
v1.2.8
Bug Fixes
v1.2.7
Bug Fixes
v1.2.6
Bug Fixes
- fix atx heading and make regex safe (#1853) (70ee29c) possible breaking change: When using the block.heading rule the text provided in capture group 2 will not be trimmed of whitespace.
- fix link with angle brackets around href (#1851) (656c3e4)
v1.2.5
Bug Fixes
- fix em and strong starting with special char (#1832) (f9bc93b)
- task lists not rendered when GFM is disabled (#1825) (3942e89), closes #1823
v1.2.4
Bug Fixes
Possible Breaking Change: When using the inline.del rule the text is provided in capture group 2 instead of 1.
v1.2.3
Bug Fixes
v1.2.2
Bug Fixes
v1.2.1
re-release of v 1.1.2 since semantic release picked up the wrong version
v1.2.0
: 1.2.0
Features
Fixes
- Fix html comments #1739
- Fix line break #1746
- Fix indented tables to follow gfm spec #1748
- Fix underscore adjacent to asterisk #1755
Dependencies
- Regenerate lock file #1736
Documentation
- Add api dingus for babelmark #1742
- Update docs to use static build step and clean URLs via Vercel #1749
v1.1.2
Bug Fixes
v1.1.1
: 1.1.1
Fixes
- Fix image links with escaped brackets #1683
- Fix async highlight not async #1685
- Fix ordered lists that use
)
delimiter #1704 - Pass many more Em and Strong tests #1686 (Thanks @calculuschild)
Docs
- Add favicon #1710
- Decode hash #1712
- Clarify level of support for Markdown flavors #1720
- Fix quick ref #1729
Scripts
- Add
npm run rules
#1726
v1.1.0
: 1.1.0
Features
- Add
walkTokens
option #1664
Fixes
- Fix
renderer.code
includes space at beginning of each line of code #1645 - Fix codespan newline #1652
- Fix comma after underscore emphasis #1660
- Fix loose task list with no tokens #1674
- Add
browser
field inpackage.json
pointing to es5 output #1661 - Add newline to rendered code with language #1670
- Fix async highlighter walking all tokens #1664
Docs
- Add
tokenizer
to option docs #1662
v1.0.0
: 1.0.0
Breaking changes
- Add inline tokens to
marked.lexer
output #1627 - Treat escape token same way as plain text tokens #1642
- Add
Tokenizer
to allow extending token creation #1637
Features
- Add
marked.use()
method to extend options #1646
Fixes
- Fix intra-word emphasis can match the wrong asterisks #1636
- Fix italics modifier (
_
) breaks links containing underscores #1641 - Fix closing delimited * incorrect for consecutive ocurrences #1644
Docs
- Fix lexer data token in demo #1638
CI
v0.8.2
: 0.8.2
Fixes
Docs
- Update comment about GitHub breaks #1620
v0.8.1
: 0.8.1
Fixes
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot. The local configuration can be found in the SI Renovate Bot repository.