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

Bump marked to ^13.0.0 #42665

Open
wants to merge 3 commits into
base: next
Choose a base branch
from
Open

Bump marked to ^13.0.0 #42665

wants to merge 3 commits into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 16, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

markedjs/marked (marked)

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

Configuration

📅 Schedule: Branch creation - "on sunday before 6:00am" in timezone UTC, 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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Update of dependencies label Jun 16, 2024
@mui-bot
Copy link

mui-bot commented Jun 16, 2024

Netlify deploy preview

https://deploy-preview-42665--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 5015168

@alexfauquette
Copy link
Member

The v13 breaking change might require some modification

Copy link
Contributor Author

renovate bot commented Jun 20, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@ZeeshanTamboli
Copy link
Member

@alexfauquette I have applied the breaking changes. Can you review and test it thoroughly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update of dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants