Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency marked to v15 #361

Open
wants to merge 1 commit into
base: dependency-update
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Nov 16, 2024

This PR contains the following updates:

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

Release Notes

markedjs/marked (marked)

v15.0.6

Compare Source

Bug Fixes
  • fix strikethrough inside strong and em to follow gfm (#​3577) (7712a53)

v15.0.5

Compare Source

Bug Fixes
  • allow strikethrough inside strong and em to follow gfm (#​3569) (8a01658)

v15.0.4

Compare Source

Bug Fixes

v15.0.3

Compare Source

Bug Fixes
  • update punctuation regex syntax to fix babel mistaken transpile (#​3547) (9b988c4)

v15.0.2

Compare Source

Bug Fixes

v15.0.1

Compare Source

Bug Fixes

v15.0.0

Compare Source

Bug Fixes
BREAKING CHANGES
  • escape html in renderers instead of tokenizers for all tokens.

v14.1.4

Compare Source

Bug Fixes

v14.1.3

Compare Source

Bug Fixes

v14.1.2

Compare Source

Bug Fixes

v14.1.1

Compare Source

Bug Fixes

v14.1.0

Compare Source

Bug Fixes
Features

v14.0.0

Compare Source

Bug Fixes
BREAKING CHANGES
  • Remove old renderer
  • throw an error if async: false is set when an extension sets async: true

v13.0.3

Compare Source

Bug Fixes
  • fix recursion-like stack overflow error caused by the old render… (#​3380) (89af0b8)

v13.0.2

Compare Source

Bug Fixes

v13.0.1

Compare Source

Bug Fixes

v13.0.0

Compare Source

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 useNewRenderer and 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

Compare Source

Bug Fixes

v12.0.1

Compare Source

Bug Fixes

v12.0.0

Compare Source

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

Compare Source

Bug Fixes
Features

v11.1.1

Compare Source

Bug Fixes

v11.1.0

Compare Source

Features

v11.0.1

Compare Source

Bug Fixes

v11.0.0

Compare Source

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

Compare Source

Bug Fixes
BREAKING CHANGES
  • drop support for node v16

v9.1.6

Compare Source

Bug Fixes

v9.1.5

Compare Source

Bug Fixes

v9.1.4

Compare Source

Bug Fixes

v9.1.3

Compare Source

Bug Fixes

v9.1.2

Compare Source

Bug Fixes

v9.1.1

Compare Source

Bug Fixes

v9.1.0

Compare Source

Features

v9.0.3

Compare Source

Bug Fixes

v9.0.2

Compare Source

Bug Fixes

v9.0.1

Compare Source

Bug Fixes

v9.0.0

Compare Source

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

Compare Source

Bug Fixes

v8.0.0

Compare Source

Bug Fixes
Features
BREAKING CHANGES

v7.0.5

Compare Source

Bug Fixes

v7.0.4

Compare Source

Bug Fixes

v7.0.3

Compare Source

Bug Fixes

v7.0.2

Compare Source

Bug Fixes

v7.0.1

Compare Source

Bug Fixes

v7.0.0

Compare Source

Bug Fixes
BREAKING CHANGES
  • change defaults for mangle and headerIds to false

v6.0.0

Compare Source

Bug Fixes
BREAKING CHANGES
  • Migrate to Typescript

v5.1.2

Compare Source

Bug Fixes

v5.1.1

Compare Source

Bug Fixes

v5.1.0

Compare Source

Bug Fixes
Features

v5.0.5

Compare Source

Bug Fixes

v5.0.4

Compare Source

Bug Fixes

v5.0.3

Compare Source

Bug Fixes

v5.0.2

Compare Source

Bug Fixes

v5.0.1

Compare Source

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

Compare Source

Bug Fixes
Features
BREAKING CHANGES
  • Warnings will be logged to the console if these options are used including headerIds, mangle, and langPrefix which are on by default.
    These warnings can be turned off by default by using:
    marked.use({
      mangle: false,
      headerIds: false,
    });
    If you need these options you can use the extensions listed below.
  • deprecate options
    Option Replacement
    highlight, langPrefix, and callback marked-highlight
    mangle marked-mangle
    baseUrl marked-base-url
    smartypants marked-smartypants
    xhtml marked-xhtml
    headerIds and headerPrefix marked-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 is behind base branch, 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.

@renovate renovate bot force-pushed the renovate/marked-15.x branch 2 times, most recently from 3dedd44 to 86c896d Compare November 18, 2024 03:12
@renovate renovate bot force-pushed the renovate/marked-15.x branch 3 times, most recently from 973ea24 to 69f7c9f Compare November 28, 2024 00:29
@renovate renovate bot force-pushed the renovate/marked-15.x branch 10 times, most recently from 2c45537 to d1c99bd Compare December 9, 2024 16:51
@renovate renovate bot force-pushed the renovate/marked-15.x branch 3 times, most recently from ee40798 to a3dcc35 Compare December 16, 2024 04:15
@renovate renovate bot force-pushed the renovate/marked-15.x branch 7 times, most recently from 2913ac2 to 8d53e8b Compare December 24, 2024 00:23
@renovate renovate bot force-pushed the renovate/marked-15.x branch 3 times, most recently from 9182ad0 to b0bfd65 Compare December 30, 2024 05:00
@renovate renovate bot force-pushed the renovate/marked-15.x branch 9 times, most recently from c993ad6 to 3b6f109 Compare January 14, 2025 16:31
@renovate renovate bot force-pushed the renovate/marked-15.x branch 4 times, most recently from 3e9604b to 43f40ac Compare January 21, 2025 01:18
@renovate renovate bot force-pushed the renovate/marked-15.x branch 7 times, most recently from 63dc305 to 4034386 Compare January 26, 2025 12:22
@renovate renovate bot force-pushed the renovate/marked-15.x branch 5 times, most recently from eedf986 to c9d4c56 Compare February 2, 2025 20:35
@renovate renovate bot force-pushed the renovate/marked-15.x branch from c9d4c56 to 5dbd89d Compare February 4, 2025 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants