onokatio / blog.katio.net

my blog script
1 stars 1 forks source link

Update dependency marked to v4 [SECURITY] #141

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
marked (source) ^0.7.0 -> ^4.0.0 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2022-21680

Impact

What kind of vulnerability is it?

Denial of service.

The regular expression block.def may cause catastrophic backtracking against some strings. PoC is the following.

import * as marked from "marked";

marked.parse(`[x]:${' '.repeat(1500)}x ${' '.repeat(1500)} x`);

Who is impacted?

Anyone who runs untrusted markdown through marked and does not use a worker with a time limit.

Patches

Has the problem been patched?

Yes

What versions should users upgrade to?

4.0.10

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

Do not run untrusted markdown through marked or run marked on a worker thread and set a reasonable time limit to prevent draining resources.

References

Are there any links users can visit to find out more?

For more information

If you have any questions or comments about this advisory:

CVE-2022-21681

Impact

What kind of vulnerability is it?

Denial of service.

The regular expression inline.reflinkSearch may cause catastrophic backtracking against some strings. PoC is the following.

import * as marked from 'marked';

console.log(marked.parse(`[x]: x

\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](\\[\\](`));

Who is impacted?

Anyone who runs untrusted markdown through marked and does not use a worker with a time limit.

Patches

Has the problem been patched?

Yes

What versions should users upgrade to?

4.0.10

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

Do not run untrusted markdown through marked or run marked on a worker thread and set a reasonable time limit to prevent draining resources.

References

Are there any links users can visit to find out more?

For more information

If you have any questions or comments about this advisory:


Release Notes

markedjs/marked ### [`v4.0.10`](https://togithub.com/markedjs/marked/releases/tag/v4.0.10) [Compare Source](https://togithub.com/markedjs/marked/compare/v4.0.9...v4.0.10) ##### Bug Fixes - **security:** fix redos vulnerabilities ([8f80657](https://togithub.com/markedjs/marked/commit/8f806573a3f6c6b7a39b8cdb66ab5ebb8d55a5f5)) ### [`v4.0.9`](https://togithub.com/markedjs/marked/releases/tag/v4.0.9) [Compare Source](https://togithub.com/markedjs/marked/compare/v4.0.8...v4.0.9) ##### Bug Fixes - retain line breaks in tokens properly ([#​2341](https://togithub.com/markedjs/marked/issues/2341)) ([a9696e2](https://togithub.com/markedjs/marked/commit/a9696e28989c0bea2077885bab1844525e18a031)) ### [`v4.0.8`](https://togithub.com/markedjs/marked/releases/tag/v4.0.8) [Compare Source](https://togithub.com/markedjs/marked/compare/v4.0.7...v4.0.8) ##### Bug Fixes - spaces on a newline after a table ([#​2319](https://togithub.com/markedjs/marked/issues/2319)) ([f82ea2c](https://togithub.com/markedjs/marked/commit/f82ea2cf1be0a3ad3337bcafe1c4dd3182334bb9)) ### [`v4.0.7`](https://togithub.com/markedjs/marked/releases/tag/v4.0.7) [Compare Source](https://togithub.com/markedjs/marked/compare/v4.0.6...v4.0.7) ##### Bug Fixes - Fix every third list item broken ([#​2318](https://togithub.com/markedjs/marked/issues/2318)) ([346b162](https://togithub.com/markedjs/marked/commit/346b162bb787d3b7fb1d4879c859f64155c6ca3c)), closes [#​2314](https://togithub.com/markedjs/marked/issues/2314) ### [`v4.0.6`](https://togithub.com/markedjs/marked/releases/tag/v4.0.6) [Compare Source](https://togithub.com/markedjs/marked/compare/v4.0.5...v4.0.6) ##### Bug Fixes - speed up parsing long lists ([#​2302](https://togithub.com/markedjs/marked/issues/2302)) ([e0005d8](https://togithub.com/markedjs/marked/commit/e0005d8232a08827f5e99b8b35b09728b2b07503)) ### [`v4.0.5`](https://togithub.com/markedjs/marked/releases/tag/v4.0.5) [Compare Source](https://togithub.com/markedjs/marked/compare/v4.0.4...v4.0.5) ##### Bug Fixes - table after paragraph without blank line ([#​2298](https://togithub.com/markedjs/marked/issues/2298)) ([5714212](https://togithub.com/markedjs/marked/commit/5714212afd4a9ee0864fff70bad034f7c0842a3c)) ### [`v4.0.4`](https://togithub.com/markedjs/marked/releases/tag/v4.0.4) [Compare Source](https://togithub.com/markedjs/marked/compare/v4.0.3...v4.0.4) ##### Bug Fixes - fix cli ([#​2294](https://togithub.com/markedjs/marked/issues/2294)) ([ab2977a](https://togithub.com/markedjs/marked/commit/ab2977a3363230df51ccbb2b3f8bf46389c50283)) ### [`v4.0.3`](https://togithub.com/markedjs/marked/releases/tag/v4.0.3) [Compare Source](https://togithub.com/markedjs/marked/compare/v4.0.2...v4.0.3) ##### Bug Fixes - build min from umd ([#​2283](https://togithub.com/markedjs/marked/issues/2283)) ([ea26ea9](https://togithub.com/markedjs/marked/commit/ea26ea9bdf7aad4e4c645f85e8e816e80a2be6c2)) ### [`v4.0.2`](https://togithub.com/markedjs/marked/releases/tag/v4.0.2) [Compare Source](https://togithub.com/markedjs/marked/compare/v4.0.1...v4.0.2) ##### Bug Fixes - Create separate CJS and UMD builds ([#​2281](https://togithub.com/markedjs/marked/issues/2281)) ([62faaf4](https://togithub.com/markedjs/marked/commit/62faaf4c912151dfe361d0459d5e89a439c38fd4)) ### [`v4.0.1`](https://togithub.com/markedjs/marked/releases/tag/v4.0.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v4.0.0...v4.0.1) ##### Bug Fixes - Set commonJS code as `main` in `package.json` ([#​2276](https://togithub.com/markedjs/marked/issues/2276)) ([7e636d5](https://togithub.com/markedjs/marked/commit/7e636d5a0b04b43f2b67a2abb2b8ae35a5122a42)) ### [`v4.0.0`](https://togithub.com/markedjs/marked/releases/tag/v4.0.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v3.0.8...v4.0.0) ##### Bug Fixes - Convert to ESM ([#​2227](https://togithub.com/markedjs/marked/issues/2227)) ([4afb228](https://togithub.com/markedjs/marked/commit/4afb228d956a415624c4e5554bb8f25d047676fe)) ##### BREAKING CHANGES - Default export removed. Use `import { marked } from 'marked'` or `const { 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 of `marked(...)` ### [`v3.0.8`](https://togithub.com/markedjs/marked/releases/v3.0.8) [Compare Source](https://togithub.com/markedjs/marked/compare/v3.0.7...v3.0.8) ##### Bug Fixes - walkTokens uses marked as this ([#​2251](https://togithub.com/markedjs/marked/issues/2251)) ([2da5885](https://togithub.com/markedjs/marked/commit/2da588598992065d7bf54a740d2011f8326d46cd)) ### [`v3.0.7`](https://togithub.com/markedjs/marked/releases/v3.0.7) [Compare Source](https://togithub.com/markedjs/marked/compare/v3.0.6...v3.0.7) ##### Bug Fixes - use named exports only for ESM build ([#​2226](https://togithub.com/markedjs/marked/pull/2226)) ### [`v3.0.6`](https://togithub.com/markedjs/marked/releases/v3.0.6) [Compare Source](https://togithub.com/markedjs/marked/compare/v3.0.5...v3.0.6) ##### Bug Fixes - Remove esm interop ([#​2225](https://togithub.com/markedjs/marked/issues/2225)) ([4bc9121](https://togithub.com/markedjs/marked/commit/4bc91215a07df5644c581925a70beda95703f693)) ### [`v3.0.5`](https://togithub.com/markedjs/marked/releases/v3.0.5) [Compare Source](https://togithub.com/markedjs/marked/compare/v3.0.4...v3.0.5) ##### Bug Fixes - Expose named exports for ESM build ([#​2223](https://togithub.com/markedjs/marked/issues/2223)) ([3959651](https://togithub.com/markedjs/marked/commit/39596513544112b628921efe95b8b3fb04ab38e7)) ### [`v3.0.4`](https://togithub.com/markedjs/marked/releases/v3.0.4) [Compare Source](https://togithub.com/markedjs/marked/compare/v3.0.3...v3.0.4) ##### Bug Fixes - fix detection of orphaned emStrong delimiters ([#​2203](https://togithub.com/markedjs/marked/issues/2203)) ([7792adc](https://togithub.com/markedjs/marked/commit/7792adcfe694ea442c6a4e794ac161c27d4fc89a)) ### [`v3.0.3`](https://togithub.com/markedjs/marked/releases/v3.0.3) [Compare Source](https://togithub.com/markedjs/marked/compare/v3.0.2...v3.0.3) ##### Bug Fixes - fix space at end of table line ([#​2201](https://togithub.com/markedjs/marked/issues/2201)) ([910f0f0](https://togithub.com/markedjs/marked/commit/910f0f035617f7e2dd7e4f7a08c3d01d73c7f453)) ### [`v3.0.2`](https://togithub.com/markedjs/marked/releases/v3.0.2) [Compare Source](https://togithub.com/markedjs/marked/compare/v3.0.1...v3.0.2) ##### Bug Fixes - stop table at lines with only whitespace ([#​2188](https://togithub.com/markedjs/marked/issues/2188)) ([21268ab](https://togithub.com/markedjs/marked/commit/21268abfba4359772daa83adcaac8e053cba8657)) ### [`v3.0.1`](https://togithub.com/markedjs/marked/releases/v3.0.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v3.0.0...v3.0.1) ##### Bug Fixes - fix gfm urls after link ([#​2186](https://togithub.com/markedjs/marked/issues/2186)) ([e03b5c1](https://togithub.com/markedjs/marked/commit/e03b5c1f8d87b0875ff644d15f6ac16489c7a1cf)) ### [`v3.0.0`](https://togithub.com/markedjs/marked/releases/v3.0.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v2.1.3...v3.0.0) ##### Bug Fixes - Tokenizers lex their own child tokens ([#​2124](https://togithub.com/markedjs/marked/issues/2124)) ([288f1cb](https://togithub.com/markedjs/marked/commit/288f1cbe2f55881972c0f594ddb9910888986bee)) - Add module field to package.json ([#​2143](https://togithub.com/markedjs/marked/issues/2143)) ([edc2e6d](https://togithub.com/markedjs/marked/commit/edc2e6dc129364b127c8a41dc6a83dd88daffba4)) - Drop node 10 support ([#​2157](https://togithub.com/markedjs/marked/issues/2157)) ([433b16f](https://togithub.com/markedjs/marked/commit/433b16fa3ac8ddcaead519b7f4e284137f7fac03)) - Full Commonmark compliance for Lists ([#​2112](https://togithub.com/markedjs/marked/issues/2112)) ([eb33d3b](https://togithub.com/markedjs/marked/commit/eb33d3b3a9f735ee9bee251d26bf779880dc3114)) - Refactor table tokens ([#​2166](https://togithub.com/markedjs/marked/issues/2166)) ([bc400ac](https://togithub.com/markedjs/marked/commit/bc400ac789c76e915df82b0998d3fd12c89da2e8)) ##### 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)`. The `inline` function will queue the token creation until after all block tokens are created. - Extensions tokenizer `this` object will include the `lexer` as a property. `this.inlineTokens` becomes `this.lexer.inline`. - Extensions renderer `this` object will include the `parser` as a property. `this.parseInline` becomes `this.parser.parseInline`. - `tag` and `inlineText` tokenizer function signatures have changed. *** - `nptable` tokenizer is removed and merged with `table` tokenizer. - `table` tokens `header` property changed to contain an array of objects for each header cell with `text` and `tokens` properties. - `table` tokens `cells` property changed to `rows` and is an array of rows where each row contains an array of objects for each cell with `text` and `tokens` properties. v2 `table` token: ```json { "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: ```json { "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`](https://togithub.com/markedjs/marked/releases/v2.1.3) [Compare Source](https://togithub.com/markedjs/marked/compare/v2.1.2...v2.1.3) ##### Bug Fixes - update commonmark spec to v0.30 ([#​2113](https://togithub.com/markedjs/marked/issues/2113)) ([62d6a0e](https://togithub.com/markedjs/marked/commit/62d6a0e3257f9e8a710300e71a09ab01263b4731)) ### [`v2.1.2`](https://togithub.com/markedjs/marked/releases/tag/v2.1.2) [Compare Source](https://togithub.com/markedjs/marked/compare/v2.1.1...v2.1.2) ##### Bug Fixes - add Node.js 10 to CI and loosen `engines` field ([#​2119](https://togithub.com/markedjs/marked/issues/2119)) ([8659353](https://togithub.com/markedjs/marked/commit/8659353bcb998e751a90306344acf7d69e26874c)) ### [`v2.1.1`](https://togithub.com/markedjs/marked/releases/v2.1.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v2.1.0...v2.1.1) ##### Bug Fixes - fix node v12 ([#​2109](https://togithub.com/markedjs/marked/issues/2109)) ([af14068](https://togithub.com/markedjs/marked/commit/af14068b99618242c9dee6147ea3432f7903322e)) ### [`v2.1.0`](https://togithub.com/markedjs/marked/releases/v2.1.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v2.0.7...v2.1.0) ##### Features - Custom Tokenizer/Renderer extensions ([#​2043](https://togithub.com/markedjs/marked/issues/2043)) ([5be9d6d](https://togithub.com/markedjs/marked/commit/5be9d6d70ea35be6398ee35958fb8ac955a89fbe)) ### [`v2.0.7`](https://togithub.com/markedjs/marked/releases/tag/v2.0.7) [Compare Source](https://togithub.com/markedjs/marked/compare/v2.0.6...v2.0.7) ##### Bug Fixes - em strong ([#​2075](https://togithub.com/markedjs/marked/issues/2075)) ([825a9f8](https://togithub.com/markedjs/marked/commit/825a9f82af05448d85618bbac6ade8fbf9df286b)) ### [`v2.0.6`](https://togithub.com/markedjs/marked/releases/tag/v2.0.6) [Compare Source](https://togithub.com/markedjs/marked/compare/v2.0.5...v2.0.6) ##### Bug Fixes - fix autolink email after single space ([#​2073](https://togithub.com/markedjs/marked/issues/2073)) ([6c9a899](https://togithub.com/markedjs/marked/commit/6c9a8999ddb8ca9c975120ac323cdad9a421db97)) ### [`v2.0.5`](https://togithub.com/markedjs/marked/releases/tag/v2.0.5) [Compare Source](https://togithub.com/markedjs/marked/compare/v2.0.4...v2.0.5) ##### Bug Fixes - call walkTokens when calling marked with a callback([#​2060](https://togithub.com/markedjs/marked/issues/2060)) ([1d97308](https://togithub.com/markedjs/marked/commit/1d973084abda13ee0143f2d3a1812733f0666488)) ### [`v2.0.4`](https://togithub.com/markedjs/marked/releases/tag/v2.0.4) [Compare Source](https://togithub.com/markedjs/marked/compare/v2.0.3...v2.0.4) ##### Bug Fixes - Fix indented markdown in html ([#​2052](https://togithub.com/markedjs/marked/issues/2052)) ([6435ac9](https://togithub.com/markedjs/marked/commit/6435ac98896212b4f117b024cccd4c7e186a8b21)) ### [`v2.0.3`](https://togithub.com/markedjs/marked/releases/tag/v2.0.3) [Compare Source](https://togithub.com/markedjs/marked/compare/v2.0.2...v2.0.3) ##### Bug Fixes - actually add a `type` property to the `def` token ([#​2002](https://togithub.com/markedjs/marked/issues/2002)) ([47e65cf](https://togithub.com/markedjs/marked/commit/47e65cfb63e8ea8acceb676f59d8d37d346ebcaf)) ### [`v2.0.2`](https://togithub.com/markedjs/marked/releases/tag/v2.0.2) [Compare Source](https://togithub.com/markedjs/marked/compare/v2.0.1...v2.0.2) ##### Bug Fixes - add type property on def token ([#​2001](https://togithub.com/markedjs/marked/issues/2001)) ([009427f](https://togithub.com/markedjs/marked/commit/009427f65dadd5dff9ec0189e008677aea9fbcfa)) ### [`v2.0.1`](https://togithub.com/markedjs/marked/releases/tag/v2.0.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v2.0.0...v2.0.1) ##### Bug Fixes - fix items between lists ([#​1936](https://togithub.com/markedjs/marked/issues/1936)) ([46cdfc1](https://togithub.com/markedjs/marked/commit/46cdfc1ecec44660afc9040cb76de276a0ad7d5f)) ### [`v2.0.0`](https://togithub.com/markedjs/marked/releases/tag/v2.0.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v1.2.9...v2.0.0) ##### Bug Fixes - Join adjacent inlineText tokens ([#​1926](https://togithub.com/markedjs/marked/issues/1926)) ([f848e77](https://togithub.com/markedjs/marked/commit/f848e7703956a6c37871432a7e128f51b1700aa0)) - Total rework of Emphasis/Strong ([#​1864](https://togithub.com/markedjs/marked/issues/1864)) ([7293251](https://togithub.com/markedjs/marked/commit/7293251c438e3ee968970f7609f1a27f9007bccd)) ##### BREAKING CHANGES - `em` and `strong` tokenizers have been merged into one `emStrong` tokenizer. - `code` and `text` 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`](https://togithub.com/markedjs/marked/releases/tag/v1.2.9) [Compare Source](https://togithub.com/markedjs/marked/compare/v1.2.8...v1.2.9) ##### Bug Fixes - allow sublist to be single space in pedantic ([#​1924](https://togithub.com/markedjs/marked/issues/1924)) ([1e36afd](https://togithub.com/markedjs/marked/commit/1e36afde553c5ba521ea10ad19a008c57f402715)) ### [`v1.2.8`](https://togithub.com/markedjs/marked/releases/tag/v1.2.8) [Compare Source](https://togithub.com/markedjs/marked/compare/v1.2.7...v1.2.8) ##### Bug Fixes - leave whitespace only lines alone ([#​1889](https://togithub.com/markedjs/marked/issues/1889)) ([53c79ee](https://togithub.com/markedjs/marked/commit/53c79ee9196bfd06ad15aad8904a7a4d61e0f400)) ### [`v1.2.7`](https://togithub.com/markedjs/marked/releases/tag/v1.2.7) [Compare Source](https://togithub.com/markedjs/marked/compare/v1.2.6...v1.2.7) ##### Bug Fixes - Replace use of startsWith and endsWith with regex for IE11 ([#​1877](https://togithub.com/markedjs/marked/issues/1877)) ([4fdde20](https://togithub.com/markedjs/marked/commit/4fdde20b9e9aa93fa5a38aceb3f69666cb7fec80)), closes [#​1876](https://togithub.com/markedjs/marked/issues/1876) ### [`v1.2.6`](https://togithub.com/markedjs/marked/releases/tag/v1.2.6) [Compare Source](https://togithub.com/markedjs/marked/compare/v1.2.5...v1.2.6) ##### Bug Fixes - fix atx heading and make regex safe ([#​1853](https://togithub.com/markedjs/marked/issues/1853)) ([70ee29c](https://togithub.com/markedjs/marked/commit/70ee29c02b6812ecc185b8dbe6d3ff1b06e7ff4d)) **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](https://togithub.com/markedjs/marked/issues/1851)) ([656c3e4](https://togithub.com/markedjs/marked/commit/656c3e4aba6a00eb3664ff7e829878ed9222c339)) ### [`v1.2.5`](https://togithub.com/markedjs/marked/releases/tag/v1.2.5) [Compare Source](https://togithub.com/markedjs/marked/compare/v1.2.4...v1.2.5) ##### Bug Fixes - fix em and strong starting with special char ([#​1832](https://togithub.com/markedjs/marked/issues/1832)) ([f9bc93b](https://togithub.com/markedjs/marked/commit/f9bc93b2bbcbecd15bf8a838dc47fe38b9392f69)) - task lists not rendered when GFM is disabled ([#​1825](https://togithub.com/markedjs/marked/issues/1825)) ([3942e89](https://togithub.com/markedjs/marked/commit/3942e894cf008873ffa222dacb6338aa40b5930a)), closes [#​1823](https://togithub.com/markedjs/marked/issues/1823) ### [`v1.2.4`](https://togithub.com/markedjs/marked/releases/tag/v1.2.4) [Compare Source](https://togithub.com/markedjs/marked/compare/v1.2.3...v1.2.4) ##### Bug Fixes - no strikethrough on different number of tildes ([#​1821](https://togithub.com/markedjs/marked/issues/1821)) ([d79f210](https://togithub.com/markedjs/marked/commit/d79f210aba670aab650b51f4ba0882e37949c330)) **Possible Breaking Change**: When using the inline.del rule the text is provided in capture group 2 instead of 1. ### [`v1.2.3`](https://togithub.com/markedjs/marked/releases/tag/v1.2.3) [Compare Source](https://togithub.com/markedjs/marked/compare/v1.2.2...v1.2.3) ##### Bug Fixes - list alignment ([#​1810](https://togithub.com/markedjs/marked/issues/1810)) ([5f9cafd](https://togithub.com/markedjs/marked/commit/5f9cafd49c2a2af85cc5f7720ed4be94f04ce338)) ### [`v1.2.2`](https://togithub.com/markedjs/marked/releases/tag/v1.2.2) [Compare Source](https://togithub.com/markedjs/marked/compare/v1.2.1...v1.2.2) ##### Bug Fixes - remove string.repeat for ie11 ([#​1772](https://togithub.com/markedjs/marked/issues/1772)) ([2707070](https://togithub.com/markedjs/marked/commit/27070705d3b58d3d4c78a35b89e4532d2e64c37b)) ### [`v1.2.1`](https://togithub.com/markedjs/marked/releases/tag/v1.2.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v1.2.0...v1.2.1) re-release of v 1.1.2 since semantic release picked up the wrong version ### [`v1.2.0`](https://togithub.com/markedjs/marked/releases/tag/v1.2.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v1.1.2...v1.2.0) #### Features - Add dry run capabilities to default slugger [#​1728](https://togithub.com/markedjs/marked/issues/1728) - Parse inline [#​1761](https://togithub.com/markedjs/marked/issues/1761) #### Fixes - Fix html comments [#​1739](https://togithub.com/markedjs/marked/issues/1739) - Fix line break [#​1746](https://togithub.com/markedjs/marked/issues/1746) - Fix indented tables to follow gfm spec [#​1748](https://togithub.com/markedjs/marked/issues/1748) - Fix underscore adjacent to asterisk [#​1755](https://togithub.com/markedjs/marked/issues/1755) #### Dependencies - Regenerate lock file [#​1736](https://togithub.com/markedjs/marked/issues/1736) #### Documentation - Add api dingus for babelmark [#​1742](https://togithub.com/markedjs/marked/issues/1742) - Update docs to use static build step and clean URLs via Vercel [#​1749](https://togithub.com/markedjs/marked/issues/1749) ### [`v1.1.2`](https://togithub.com/markedjs/marked/releases/tag/v1.1.2) [Compare Source](https://togithub.com/markedjs/marked/compare/v1.1.1...v1.1.2) ##### Bug Fixes - fix indented code in list item ([#​1762](https://togithub.com/markedjs/marked/issues/1762)) ([6355ac2](https://togithub.com/markedjs/marked/commit/6355ac2d6fb7b8c00697e30f93135df351cf7089)) ### [`v1.1.1`](https://togithub.com/markedjs/marked/releases/tag/v1.1.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v1.1.0...v1.1.1) ##### Fixes - Fix image links with escaped brackets [#​1683](https://togithub.com/markedjs/marked/issues/1683) - Fix async highlight not async [#​1685](https://togithub.com/markedjs/marked/issues/1685) - Fix ordered lists that use `)` delimiter [#​1704](https://togithub.com/markedjs/marked/issues/1704) - Pass many more Em and Strong tests [#​1686](https://togithub.com/markedjs/marked/issues/1686) (Thanks [@​calculuschild](https://togithub.com/calculuschild)) ##### Docs - Add favicon [#​1710](https://togithub.com/markedjs/marked/issues/1710) - Decode hash [#​1712](https://togithub.com/markedjs/marked/issues/1712) - Clarify level of support for Markdown flavors [#​1720](https://togithub.com/markedjs/marked/issues/1720) - Fix quick ref [#​1729](https://togithub.com/markedjs/marked/issues/1729) ##### Scripts - Add `npm run rules` [#​1726](https://togithub.com/markedjs/marked/issues/1726) ### [`v1.1.0`](https://togithub.com/markedjs/marked/releases/tag/v1.1.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v1.0.0...v1.1.0) ##### Features - Add `walkTokens` option [#​1664](https://togithub.com/markedjs/marked/issues/1664) ##### Fixes - Fix `renderer.code` includes space at beginning of each line of code [#​1645](https://togithub.com/markedjs/marked/issues/1645) - Fix codespan newline [#​1652](https://togithub.com/markedjs/marked/issues/1652) - Fix comma after underscore emphasis [#​1660](https://togithub.com/markedjs/marked/issues/1660) - Fix loose task list with no tokens [#​1674](https://togithub.com/markedjs/marked/issues/1674) - Add `browser` field in `package.json` pointing to es5 output [#​1661](https://togithub.com/markedjs/marked/issues/1661) - Add newline to rendered code with language [#​1670](https://togithub.com/markedjs/marked/issues/1670) - Fix async highlighter walking all tokens [#​1664](https://togithub.com/markedjs/marked/issues/1664) ##### Docs - Add `tokenizer` to option docs [#​1662](https://togithub.com/markedjs/marked/issues/1662) ### [`v1.0.0`](https://togithub.com/markedjs/marked/releases/tag/v1.0.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v0.8.2...v1.0.0) ##### Breaking changes - Add inline tokens to `marked.lexer` output [#​1627](https://togithub.com/markedjs/marked/issues/1627) - Treat escape token same way as plain text tokens [#​1642](https://togithub.com/markedjs/marked/issues/1642) - Add `Tokenizer` to allow extending token creation [#​1637](https://togithub.com/markedjs/marked/issues/1637) ##### Features - Add `marked.use()` method to extend options [#​1646](https://togithub.com/markedjs/marked/issues/1646) ##### Fixes - Fix intra-word emphasis can match the wrong asterisks [#​1636](https://togithub.com/markedjs/marked/issues/1636) - Fix italics modifier (`_`) breaks links containing underscores [#​1641](https://togithub.com/markedjs/marked/issues/1641) - Fix closing delimited \* incorrect for consecutive ocurrences [#​1644](https://togithub.com/markedjs/marked/issues/1644) ##### Docs - Fix lexer data token in demo [#​1638](https://togithub.com/markedjs/marked/issues/1638) ##### CI - Move to GitHub Actions [#​1635](https://togithub.com/markedjs/marked/issues/1635) - Update devDependencies [#​1648](https://togithub.com/markedjs/marked/issues/1648) ### [`v0.8.2`](https://togithub.com/markedjs/marked/releases/tag/v0.8.2) [Compare Source](https://togithub.com/markedjs/marked/compare/v0.8.1...v0.8.2) #### Fixes - Add html to TextRenderer for html in headings [#​1622](https://togithub.com/markedjs/marked/issues/1622) - Remove html tags in heading ids [#​1622](https://togithub.com/markedjs/marked/issues/1622) #### Docs - Update comment about GitHub breaks [#​1620](https://togithub.com/markedjs/marked/issues/1620) ### [`v0.8.1`](https://togithub.com/markedjs/marked/releases/tag/v0.8.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v0.8.0...v0.8.1) #### Fixes - Fix `marked --help` [#​1588](https://togithub.com/markedjs/marked/issues/1588) - Fix GFM Example 116 code fences [#​1600](https://togithub.com/markedjs/marked/issues/1600) - Send inline html to renderer [#​1602](https://togithub.com/markedjs/marked/issues/1602) (fixes [#​1601](https://togithub.com/markedjs/marked/issues/1601)) - Improve docs example for invoking highlight.js [#​1603](https://togithub.com/markedjs/marked/issues/1603) - Fix block-level elements breaking tables [#​1598](https://togithub.com/markedjs/marked/issues/1598) (fixes [#​1467](https://togithub.com/markedjs/marked/issues/1467)) - break nptables on block-level structures [#​1617](https://togithub.com/markedjs/marked/issues/1617) ### [`v0.8.0`](https://togithub.com/markedjs/marked/releases/tag/v0.8.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v0.7.0...v0.8.0) #### Breaking changes - Remove substitutions [#​1532](https://togithub.com/markedjs/marked/issues/1532) - Separate source into modules [#​1563](https://togithub.com/markedjs/marked/issues/1563) [#​1572](https://togithub.com/markedjs/marked/issues/1572) [#​1573](https://togithub.com/markedjs/marked/issues/1573) [#​1575](https://togithub.com/markedjs/marked/issues/1575) [#​1576](https://togithub.com/markedjs/marked/issues/1576) [#​1581](https://togithub.com/markedjs/marked/issues/1581) #### Fixes - Fix relative urls in `baseUrl` option [#​1526](https://togithub.com/markedjs/marked/issues/1526) - Loose task list [#​1535](https://togithub.com/markedjs/marked/issues/1535) - Fix image parentheses [#​1557](https://togithub.com/markedjs/marked/issues/1557) - remove module field & update devDependencies [#​1581](https://togithub.com/markedjs/marked/issues/1581) #### Docs - Update examples with es6+ [#​1521](https://togithub.com/markedjs/marked/issues/1521) - Fix link to USING_PRO.md page [#​1552](https://togithub.com/markedjs/marked/issues/1552) - Fix typo in USING_ADVANCED.md [#​1558](https://togithub.com/markedjs/marked/issues/1558) - Node worker threads are stable [#​1555](https://togithub.com/markedjs/marked/issues/1555) #### Dev Dependencies - Update deps [#​1516](https://togithub.com/markedjs/marked/issues/1516) - Update eslint [#​1542](https://togithub.com/markedjs/marked/issues/1542) - Update htmldiffer async matcher [#​1543](https://togithub.com/markedjs/marked/issues/1543)

Configuration

📅 Schedule: "" (UTC).

🚦 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 WhiteSource Renovate. View repository job log here.

netlify[bot] commented 2 years ago

Deploy Preview for blog-katio-net processing.

Name Link
Latest commit bd92c265d11ef6d9b6915b6aea001b81950f0e3c
Latest deploy log https://app.netlify.com/sites/blog-katio-net/deploys/628c9ba49f6a9c000afe5b13
renovate[bot] commented 2 years ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.