Skip to content

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

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

Merged
merged 1 commit into from
May 16, 2025
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 10, 2024

This PR contains the following updates:

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

Release Notes

markedjs/marked (marked)

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);

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 7 times, most recently from 0e2a54e to 0e05911 Compare November 18, 2024 03:19
@renovate renovate bot force-pushed the renovate/marked-15.x branch 10 times, most recently from eaf4bd4 to f14470b Compare November 25, 2024 04:13
@renovate renovate bot force-pushed the renovate/marked-15.x branch 3 times, most recently from 90abe1c to 7704c04 Compare December 2, 2024 04:22
@renovate renovate bot force-pushed the renovate/marked-15.x branch 4 times, most recently from 250eea3 to 2c1105f Compare December 9, 2024 05:27
@renovate renovate bot force-pushed the renovate/marked-15.x branch 6 times, most recently from 10c0ed0 to 74468bd Compare December 16, 2024 06:20
@renovate renovate bot force-pushed the renovate/marked-15.x branch 6 times, most recently from 67b39df to 51b9eaf Compare April 28, 2025 19:54
@renovate renovate bot force-pushed the renovate/marked-15.x branch 12 times, most recently from f6e296e to d459575 Compare May 8, 2025 19:16
@renovate renovate bot force-pushed the renovate/marked-15.x branch 3 times, most recently from 2ad5ee1 to a260abd Compare May 16, 2025 18:45
@renovate renovate bot force-pushed the renovate/marked-15.x branch from a260abd to d3502c9 Compare May 16, 2025 20:19
@travi travi enabled auto-merge (squash) May 16, 2025 20:19
@travi travi merged commit e45040e into master May 16, 2025
14 checks passed
@travi travi deleted the renovate/marked-15.x branch May 16, 2025 20:22
Copy link

🎉 This PR is included in version 24.2.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants