eoc
eoc copied to clipboard
fix(deps): update dependency marked to v16
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| marked (source) | ^4.3.0 -> ^16.0.0 |
Release Notes
markedjs/marked (marked)
v16.4.1
Bug Fixes
v16.4.0
Bug Fixes
- Fix backtick and code rendering in links (#3783) (302ee59)
- fix links with square brackets in inline code break wrapping italics (#3785) (e3c0d3e)
- Make
wwwcase-sensitive when detecting link starts (#3770) (626d961)
Features
v16.3.0
Features
v16.2.1
Bug Fixes
v16.2.0
Features
v16.1.2
Bug Fixes
v16.1.1
Bug Fixes
v16.1.0
Features
v16.0.0
Bug Fixes
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 -
This seems to break Jest since it doesn't work with esm by default.
You need to transform marked with:
transformIgnorePatterns: ['/node_modules/(?!(marked)/)'],see Jest docs for more info
v15.0.12
Bug Fixes
v15.0.11
Bug Fixes
v15.0.10
Bug Fixes
v15.0.9
Bug Fixes
v15.0.8
Bug Fixes
v15.0.7
Bug Fixes
v15.0.6
Bug Fixes
v15.0.5
Bug Fixes
v15.0.4
Bug Fixes
v15.0.3
Bug Fixes
v15.0.2
Bug Fixes
v15.0.1
Bug Fixes
v15.0.0
Bug Fixes
BREAKING CHANGES
- escape html in renderers instead of tokenizers for all tokens.
v14.1.4
Bug Fixes
v14.1.3
Bug Fixes
- include single nested parens in emStrong link mask (#3475) (2b7efa8)
- kill SIGINT signal at man for marked --help (#3483) (b1fd3ea)
v14.1.2
Bug Fixes
v14.1.1
Bug Fixes
v14.1.0
Bug Fixes
Features
v14.0.0
Bug Fixes
- allow async option to dictate type returned (#3341) (b5a5004)
- Remove useNewRenderer (#3342) (e64f226)
BREAKING CHANGES
- Remove old renderer
- throw an error if
async: falseis set when an extension setsasync: true
v13.0.3
Bug Fixes
v13.0.2
Bug Fixes
v13.0.1
Bug Fixes
v13.0.0
Bug Fixes
- Fix blockquote code continuation (#3264) (7ab8185)
- Add parser as a property on the Renderer object (#3291)
- Send block text tokens to the text renderer (#3291)
Features
- Send token objects to renderers (#3291) (1ce59ea)
- Add space renderer that returns empty string by default (#3291)
- Add header and align properties to TableCell token (#3291)
- Add TableRow token (#3291)
- Add Checkbox token (#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
useNewRendererand accept a token object instead of multiple parameters. See updated Renderer docs// v12 renderer extension const extension = { renderer: { heading(text, level) { // increase level by 1 return `<h${level + 1}>${text}</h${level + 1}>`; } } }; marked.use(extension);// 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);
-
v12.0.2
Bug Fixes
v12.0.1
Bug Fixes
v12.0.0
Bug Fixes
BREAKING CHANGES
- changes to spec
- Update HTML block tags: add search, remove source
- Update punctuation to include unicode punctuation and symbol categories
- Update HTML comment to include
<!-->and<!--->
v11.2.0
Bug Fixes
Features
v11.1.1
Bug Fixes
v11.1.0
Features
v11.0.1
Bug Fixes
v11.0.0
Bug Fixes
BREAKING CHANGES
- Lexer.rules object has been changed so it can be properly types. Some intermediate rules have been removed.
v10.0.0
Bug Fixes
BREAKING CHANGES
- drop support for node v16
v9.1.6
Bug Fixes
v9.1.5
Bug Fixes
v9.1.4
Bug Fixes
v9.1.3
Bug Fixes
v9.1.2
Bug Fixes
v9.1.1
Bug Fixes
v9.1.0
Features
v9.0.3
Bug Fixes
v9.0.2
Bug Fixes
v9.0.1
Bug Fixes
v9.0.0
Bug Fixes
BREAKING CHANGES
- remove built files from git repo.
- If you need to use the latest version of marked on the web you can use a cdn to get marked.min.js from npm:
https://cdn.jsdelivr.net/npm/marked/marked.min.js
v8.0.1
Bug Fixes
- deprecated trimLeft/trimRight (#2973) (eda75a6)
- fix space removed after checkbox (#2971) (9a2a4ad)
v8.0.0
Bug Fixes
Features
BREAKING CHANGES
- deprecated options removed. See https://marked.js.org/using_advanced#options to see how to enable the removed options with extensions.
v7.0.5
Bug Fixes
v7.0.4
Bug Fixes
- fix more types (#2893) (a990c54)
- ignore async: false when async: true is set by an extension (#2920) (b6ee877)
v7.0.3
Bug Fixes
v7.0.2
Bug Fixes
v7.0.1
Bug Fixes
v7.0.0
Bug Fixes
BREAKING CHANGES
- change defaults for mangle and headerIds to false
v6.0.0
Bug Fixes
BREAKING CHANGES
- Migrate to Typescript
v5.1.2
Bug Fixes
v5.1.1
Bug Fixes
v5.1.0
Bug Fixes
Features
v5.0.5
Bug Fixes
v5.0.4
Bug Fixes
- Add Unicode punctuations (#2811) (b213f02)
- fix hr after list (#2809) (efc40df)
- Replace custom
repeatStringfunction withrepeat()(#2820) (72ee2d6)
v5.0.3
Bug Fixes
v5.0.2
Bug Fixes
v5.0.1
Bug Fixes
-
only warn if langPrefix is changed (#2796) (d193694) The deprecated options warnings can be turned off by default by using:
marked.use({ mangle: false, headerIds: false, });For the cli you can use:
marked --no-mangle --no-header-ids ...
v5.0.0
Bug Fixes
Features
BREAKING CHANGES
- Warnings will be logged to the console if these options are used including
headerIds,mangle, andlangPrefixwhich are on by default. These warnings can be turned off by default by using:
If you need these options you can use the extensions listed below.marked.use({ mangle: false, headerIds: false, }); - deprecate options
Option Replacement highlight,langPrefix, andcallbackmarked-highlight manglemarked-mangle baseUrlmarked-base-url smartypantsmarked-smartypants xhtmlmarked-xhtml headerIdsandheaderPrefixmarked-gfm-heading-id - minimum supported node version v18
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 was generated by Mend Renovate. View the repository job log.