gmsgowtham / react-native-marked

Markdown renderer for React Native powered by marked.js
https://www.npmjs.com/package/react-native-marked
MIT License
199 stars 16 forks source link

fix(deps): update dependency marked to v14 #683

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
marked (source) 5.0.5 -> 14.0.0 age adoption passing confidence

Release Notes

markedjs/marked (marked) ### [`v14.0.0`](https://togithub.com/markedjs/marked/releases/tag/v14.0.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v13.0.3...v14.0.0) ##### Bug Fixes - allow async option to dictate type returned ([#​3341](https://togithub.com/markedjs/marked/issues/3341)) ([b5a5004](https://togithub.com/markedjs/marked/commit/b5a50041ae0347a80d8d017b39b46a57f58354d0)) - Remove useNewRenderer ([#​3342](https://togithub.com/markedjs/marked/issues/3342)) ([e64f226](https://togithub.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://togithub.com/markedjs/marked/releases/tag/v13.0.3) [Compare Source](https://togithub.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://togithub.com/markedjs/marked/issues/3380)) ([89af0b8](https://togithub.com/markedjs/marked/commit/89af0b85b1db67c86641144949d0a44461974442)) ### [`v13.0.2`](https://togithub.com/markedjs/marked/releases/tag/v13.0.2) [Compare Source](https://togithub.com/markedjs/marked/compare/v13.0.1...v13.0.2) ##### Bug Fixes - fix list item with blank first line ([#​3351](https://togithub.com/markedjs/marked/issues/3351)) ([d28e4c6](https://togithub.com/markedjs/marked/commit/d28e4c65ea822a83049de5652cf3446a05d0c6b5)) ### [`v13.0.1`](https://togithub.com/markedjs/marked/releases/tag/v13.0.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v13.0.0...v13.0.1) ##### Bug Fixes - fix this type in extension methods ([#​3339](https://togithub.com/markedjs/marked/issues/3339)) ([520b9ad](https://togithub.com/markedjs/marked/commit/520b9ad355f2d098e251b5c89e973985922f5b76)) ### [`v13.0.0`](https://togithub.com/markedjs/marked/releases/tag/v13.0.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v12.0.2...v13.0.0) ##### Bug Fixes - Fix blockquote code continuation ([#​3264](https://togithub.com/markedjs/marked/issues/3264)) ([7ab8185](https://togithub.com/markedjs/marked/commit/7ab818502ed537ab8eed22dc9cf4f7602232aa53)) - Add parser as a property on the Renderer object ([#​3291](https://togithub.com/markedjs/marked/issues/3291)) - Send block text tokens to the text renderer ([#​3291](https://togithub.com/markedjs/marked/issues/3291)) ##### Features - Send token objects to renderers ([#​3291](https://togithub.com/markedjs/marked/issues/3291)) ([1ce59ea](https://togithub.com/markedjs/marked/commit/1ce59ea827272b5d067f1e06d3ee4a1d52b1d9bb)) - Add space renderer that returns empty string by default ([#​3291](https://togithub.com/markedjs/marked/issues/3291)) - Add header and align properties to TableCell token ([#​3291](https://togithub.com/markedjs/marked/issues/3291)) - Add TableRow token ([#​3291](https://togithub.com/markedjs/marked/issues/3291)) - Add Checkbox token ([#​3291](https://togithub.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 `${text}`; } } }; 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 `${text}`; } } }; marked.use(extension); ``` ### [`v12.0.2`](https://togithub.com/markedjs/marked/releases/tag/v12.0.2) [Compare Source](https://togithub.com/markedjs/marked/compare/v12.0.1...v12.0.2) ##### Bug Fixes - fix Setext continuation in blockquote ([#​3257](https://togithub.com/markedjs/marked/issues/3257)) ([e9f0eed](https://togithub.com/markedjs/marked/commit/e9f0eed707ece9e29c3bf340900d1acb42acaddd)) ### [`v12.0.1`](https://togithub.com/markedjs/marked/releases/tag/v12.0.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v12.0.0...v12.0.1) ##### Bug Fixes - fix setext heading interupts ([#​3210](https://togithub.com/markedjs/marked/issues/3210)) ([d848445](https://togithub.com/markedjs/marked/commit/d8484450722449b416508b5bde7c6ba4d9f3bfa8)) ### [`v12.0.0`](https://togithub.com/markedjs/marked/releases/tag/v12.0.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v11.2.0...v12.0.0) ##### Bug Fixes - update to commonmark spec [0.31](https://spec.commonmark.org/0.31.2) ([#​3176](https://togithub.com/markedjs/marked/issues/3176)) ([3d9017b](https://togithub.com/markedjs/marked/commit/3d9017bb8e146a2ee37cd7b4d6d84c61d60a93dc)) ##### BREAKING CHANGES - [changes to spec](https://spec.commonmark.org/0.31.2/changes.html) - 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`](https://togithub.com/markedjs/marked/releases/tag/v11.2.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v11.1.1...v11.2.0) ##### Bug Fixes - Fix ENOENT error message in CLI ([#​3165](https://togithub.com/markedjs/marked/issues/3165)) ([bf44ae8](https://togithub.com/markedjs/marked/commit/bf44ae85edac35627be9acaeebb969c4b29a6505)) ##### Features - flatten childToken arrays ([#​3172](https://togithub.com/markedjs/marked/issues/3172)) ([4826841](https://togithub.com/markedjs/marked/commit/4826841bd6c344455fee81d2445812bb3ac9005d)) ### [`v11.1.1`](https://togithub.com/markedjs/marked/releases/tag/v11.1.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v11.1.0...v11.1.1) ##### Bug Fixes - improve lexing inline elements step's performance ([#​3146](https://togithub.com/markedjs/marked/issues/3146)) ([4f87b2a](https://togithub.com/markedjs/marked/commit/4f87b2ac7b9c493a255dee5b5456449f56e2c08d)) ### [`v11.1.0`](https://togithub.com/markedjs/marked/releases/tag/v11.1.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v11.0.1...v11.1.0) ##### Features - add processAllTokens hook ([#​3114](https://togithub.com/markedjs/marked/issues/3114)) ([faae243](https://togithub.com/markedjs/marked/commit/faae24356a4cee3a19fb6faa58b7b269fd11f62e)) ### [`v11.0.1`](https://togithub.com/markedjs/marked/releases/tag/v11.0.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v11.0.0...v11.0.1) ##### Bug Fixes - allow Renderer class in marked.use ([#​3118](https://togithub.com/markedjs/marked/issues/3118)) ([a287433](https://togithub.com/markedjs/marked/commit/a28743391a589fca188f19249ad25aae24f4b305)) ### [`v11.0.0`](https://togithub.com/markedjs/marked/releases/tag/v11.0.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v10.0.0...v11.0.0) ##### Bug Fixes - clean up rules so they can be typed ([#​3087](https://togithub.com/markedjs/marked/issues/3087)) ([175fc0c](https://togithub.com/markedjs/marked/commit/175fc0c3212b4af4d5f24482595823f2567f8f1e)) - fix marked types ([#​3103](https://togithub.com/markedjs/marked/issues/3103)) ([edae309](https://togithub.com/markedjs/marked/commit/edae309505b2d25f4040e7a37f02ef560c27fb26)) ##### BREAKING CHANGES - Lexer.rules object has been changed so it can be properly types. Some intermediate rules have been removed. ### [`v10.0.0`](https://togithub.com/markedjs/marked/releases/tag/v10.0.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v9.1.6...v10.0.0) ##### Bug Fixes - run spec tests with testutils ([#​3017](https://togithub.com/markedjs/marked/issues/3017)) ([014d4e6](https://togithub.com/markedjs/marked/commit/014d4e61f662d308e434afe1fce513fda93e2d67)) ##### BREAKING CHANGES - drop support for node v16 ### [`v9.1.6`](https://togithub.com/markedjs/marked/releases/tag/v9.1.6) [Compare Source](https://togithub.com/markedjs/marked/compare/v9.1.5...v9.1.6) ##### Bug Fixes - fix instance options sent to lexer and parser ([#​3073](https://togithub.com/markedjs/marked/issues/3073)) ([f9d08cc](https://togithub.com/markedjs/marked/commit/f9d08cc1ef5294b1866705860242f78528f8d508)) ### [`v9.1.5`](https://togithub.com/markedjs/marked/releases/tag/v9.1.5) [Compare Source](https://togithub.com/markedjs/marked/compare/v9.1.4...v9.1.5) ##### Bug Fixes - fix emstrong unicode ([#​3070](https://togithub.com/markedjs/marked/issues/3070)) ([54b6d1c](https://togithub.com/markedjs/marked/commit/54b6d1c47ddbae3e9db5c0ffcd3d96b7daa0b7d1)) ### [`v9.1.4`](https://togithub.com/markedjs/marked/releases/tag/v9.1.4) [Compare Source](https://togithub.com/markedjs/marked/compare/v9.1.3...v9.1.4) ##### Bug Fixes - Fix type declaration bundle(s) ([#​3038](https://togithub.com/markedjs/marked/issues/3038)) ([a7b402c](https://togithub.com/markedjs/marked/commit/a7b402ccce7fbe5acd24c785ca678b4d34dbd3b7)) ### [`v9.1.3`](https://togithub.com/markedjs/marked/releases/tag/v9.1.3) [Compare Source](https://togithub.com/markedjs/marked/compare/v9.1.2...v9.1.3) ##### Bug Fixes - fix empty heading breaks paragraph and table ([#​3050](https://togithub.com/markedjs/marked/issues/3050)) ([a1034e6](https://togithub.com/markedjs/marked/commit/a1034e6dd1ddbc2f723627f271bba29486005c1a)) ### [`v9.1.2`](https://togithub.com/markedjs/marked/releases/tag/v9.1.2) [Compare Source](https://togithub.com/markedjs/marked/compare/v9.1.1...v9.1.2) ##### Bug Fixes - trim newline from blockquote token.text ([#​3037](https://togithub.com/markedjs/marked/issues/3037)) ([92033e5](https://togithub.com/markedjs/marked/commit/92033e57c80656df104e1d1de50de311f6526c82)) ### [`v9.1.1`](https://togithub.com/markedjs/marked/releases/tag/v9.1.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v9.1.0...v9.1.1) ##### Bug Fixes - add marked.min.js to package exports ([#​3035](https://togithub.com/markedjs/marked/issues/3035)) ([71fc094](https://togithub.com/markedjs/marked/commit/71fc09492843633055d6ba84cbe1fe7e2e94a563)) ### [`v9.1.0`](https://togithub.com/markedjs/marked/releases/tag/v9.1.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v9.0.3...v9.1.0) ##### Features - add `--no-clobber` option to CLI ([#​3025](https://togithub.com/markedjs/marked/issues/3025)) ([b8adee7](https://togithub.com/markedjs/marked/commit/b8adee7f7ca589cde2c25caeb0ee628f792b9a8f)) ### [`v9.0.3`](https://togithub.com/markedjs/marked/releases/tag/v9.0.3) [Compare Source](https://togithub.com/markedjs/marked/compare/v9.0.2...v9.0.3) ##### Bug Fixes - marked --help ([#​2991](https://togithub.com/markedjs/marked/issues/2991)) ([43643b3](https://togithub.com/markedjs/marked/commit/43643b3a0013deba352ebf4daf399daaa57915b7)) ### [`v9.0.2`](https://togithub.com/markedjs/marked/releases/tag/v9.0.2) [Compare Source](https://togithub.com/markedjs/marked/compare/v9.0.1...v9.0.2) ##### Bug Fixes - fix unicode emstrong ([#​2989](https://togithub.com/markedjs/marked/issues/2989)) ([8ebbb3c](https://togithub.com/markedjs/marked/commit/8ebbb3c3d414ebf9fad7696de55ecc1e95dd0db1)) ### [`v9.0.1`](https://togithub.com/markedjs/marked/releases/tag/v9.0.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v9.0.0...v9.0.1) ##### Bug Fixes - fix unexpected setext heading ([#​2986](https://togithub.com/markedjs/marked/issues/2986)) ([bcc3067](https://togithub.com/markedjs/marked/commit/bcc3067087b60a2913938d0bca77a71dacc06ba2)) - single column table ([#​2985](https://togithub.com/markedjs/marked/issues/2985)) ([0743d4a](https://togithub.com/markedjs/marked/commit/0743d4adb48f7ccf410912d4c211545772882479)) ### [`v9.0.0`](https://togithub.com/markedjs/marked/releases/tag/v9.0.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v8.0.1...v9.0.0) ##### Bug Fixes - Clean up files in repo ([#​2963](https://togithub.com/markedjs/marked/issues/2963)) ([7d95a91](https://togithub.com/markedjs/marked/commit/7d95a91093f8b5cbdb30b642d06b0c9dd0ab269d)) ##### 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`](https://togithub.com/markedjs/marked/releases/tag/v8.0.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v8.0.0...v8.0.1) ##### Bug Fixes - deprecated trimLeft/trimRight ([#​2973](https://togithub.com/markedjs/marked/issues/2973)) ([eda75a6](https://togithub.com/markedjs/marked/commit/eda75a662ccd5330ef0a75600e7f7617eee21db8)) - fix space removed after checkbox ([#​2971](https://togithub.com/markedjs/marked/issues/2971)) ([9a2a4ad](https://togithub.com/markedjs/marked/commit/9a2a4ad61aaadd0079f57929491dc050d3236e69)) ### [`v8.0.0`](https://togithub.com/markedjs/marked/releases/tag/v8.0.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v7.0.5...v8.0.0) ##### Bug Fixes - remove deprecated options ([#​2936](https://togithub.com/markedjs/marked/issues/2936)) ([22ebdb2](https://togithub.com/markedjs/marked/commit/22ebdb25076b2c94aba49627ab35fbf055163059)) ##### Features - add --config options to marked cli ([#​2937](https://togithub.com/markedjs/marked/issues/2937)) ([fc643a2](https://togithub.com/markedjs/marked/commit/fc643a262564df64f208e0ecbfcdfcae216e880c)) ##### 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`](https://togithub.com/markedjs/marked/releases/tag/v7.0.5) [Compare Source](https://togithub.com/markedjs/marked/compare/v7.0.4...v7.0.5) ##### Bug Fixes - remove unknown from walkTokens return types ([#​2955](https://togithub.com/markedjs/marked/issues/2955)) ([65934c1](https://togithub.com/markedjs/marked/commit/65934c13caac159027ac070207f094ea293b9426)) ### [`v7.0.4`](https://togithub.com/markedjs/marked/releases/tag/v7.0.4) [Compare Source](https://togithub.com/markedjs/marked/compare/v7.0.3...v7.0.4) ##### Bug Fixes - fix more types ([#​2893](https://togithub.com/markedjs/marked/issues/2893)) ([a990c54](https://togithub.com/markedjs/marked/commit/a990c54e0c09a10ba2d6e5a17fe2624d1d97bce3)) - ignore async: false when async: true is set by an extension ([#​2920](https://togithub.com/markedjs/marked/issues/2920)) ([b6ee877](https://togithub.com/markedjs/marked/commit/b6ee877d58efd31bf408a4f8f360554f3406bc20)) ### [`v7.0.3`](https://togithub.com/markedjs/marked/releases/tag/v7.0.3) [Compare Source](https://togithub.com/markedjs/marked/compare/v7.0.2...v7.0.3) ##### Bug Fixes - Fix unicode Regex miscounting emoji length ([#​2942](https://togithub.com/markedjs/marked/issues/2942)) ([f3af23e](https://togithub.com/markedjs/marked/commit/f3af23ec988864b486f9852590ce8cc602e491f0)) ### [`v7.0.2`](https://togithub.com/markedjs/marked/releases/tag/v7.0.2) [Compare Source](https://togithub.com/markedjs/marked/compare/v7.0.1...v7.0.2) ##### Bug Fixes - fix sourcemaps and circular dependencies ([#​2929](https://togithub.com/markedjs/marked/issues/2929)) ([eb4ce21](https://togithub.com/markedjs/marked/commit/eb4ce2112760d8ef465cfa5654d3503f021bee66)) - noImplicitAny: true ([#​2891](https://togithub.com/markedjs/marked/issues/2891)) ([ff1602c](https://togithub.com/markedjs/marked/commit/ff1602c17843ba614bc8024b905e7a3b51904d2d)) ### [`v7.0.1`](https://togithub.com/markedjs/marked/releases/tag/v7.0.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v7.0.0...v7.0.1) ##### Bug Fixes - use rollup to output js files ([#​2916](https://togithub.com/markedjs/marked/issues/2916)) ([610bc45](https://togithub.com/markedjs/marked/commit/610bc45d96f45202fed20a664911d3af48cfe17e)) ### [`v7.0.0`](https://togithub.com/markedjs/marked/releases/tag/v7.0.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v6.0.0...v7.0.0) ##### Bug Fixes - change defaults for mangle and headerIds to false ([#​2890](https://togithub.com/markedjs/marked/issues/2890)) ([63a839b](https://togithub.com/markedjs/marked/commit/63a839b8cba6caec311a0a7d608be9217b22be05)) ##### BREAKING CHANGES - change defaults for mangle and headerIds to false ### [`v6.0.0`](https://togithub.com/markedjs/marked/releases/tag/v6.0.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v5.1.2...v6.0.0) ##### Bug Fixes - Migrate to Typescript ([#​2805](https://togithub.com/markedjs/marked/issues/2805)) ([cb54906](https://togithub.com/markedjs/marked/commit/cb549065f16fbd4a01bab3292bfd2ab0b116c1b2)) ##### BREAKING CHANGES - Migrate to Typescript ### [`v5.1.2`](https://togithub.com/markedjs/marked/releases/tag/v5.1.2) [Compare Source](https://togithub.com/markedjs/marked/compare/v5.1.1...v5.1.2) ##### Bug Fixes - Add support for Node 16 ([#​2886](https://togithub.com/markedjs/marked/issues/2886)) ([e465ce4](https://togithub.com/markedjs/marked/commit/e465ce48c93c109803fc3071700a75a85d13251f)) ### [`v5.1.1`](https://togithub.com/markedjs/marked/releases/tag/v5.1.1) [Compare Source](https://togithub.com/markedjs/marked/compare/v5.1.0...v5.1.1) ##### Bug Fixes - fix typo ([#​2870](https://togithub.com/markedjs/marked/issues/2870)) ([e6a7184](https://togithub.com/markedjs/marked/commit/e6a7184cb6539dbab5bf369989588cb93ffdac38)) ### [`v5.1.0`](https://togithub.com/markedjs/marked/releases/tag/v5.1.0) [Compare Source](https://togithub.com/markedjs/marked/compare/v5.0.5...v5.1.0) ##### Bug Fixes - Simplify unicode punctuation ([#​2841](https://togithub.com/markedjs/marked/issues/2841)) ([f19fe76](https://togithub.com/markedjs/marked/commit/f19fe76db945c20d8d56808e388762cc86d4e214)) ##### Features - add Marked instance ([#​2831](https://togithub.com/markedjs/marked/issues/2831)) ([353e13b](https://togithub.com/markedjs/marked/commit/353e13b479d012bcda338dff276598b6cfff77f8))

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.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 3 months ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 14.x releases. But if you manually upgrade to 14.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.