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 from 12.0.2 to 13.0.0 #771

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 24, 2024

Bumps marked from 12.0.2 to 13.0.0.

Release notes

Sourced from marked's releases.

v13.0.0

13.0.0 (2024-06-12)

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

... (truncated)

Commits
  • f56ba32 chore(release): 13.0.0 [skip ci]
  • a317d96 chore(deps-dev): Bump braces from 3.0.2 to 3.0.3 (#3322)
  • 1ce59ea feat: Send token objects to renderers (#3291)
  • 7ab8185 fix: blockquote code continuation (#3264)
  • 0e40783 chore(deps-dev): Bump @​typescript-eslint/parser from 7.10.0 to 7.12.0 (#3319)
  • 359a680 chore(deps-dev): Bump @​semantic-release/github from 10.0.5 to 10.0.6 (#3321)
  • 47a492b chore(deps-dev): Bump @​typescript-eslint/eslint-plugin from 7.11.0 to 7.12.0 ...
  • 481ac3b Update Lexer section in USING_PRO.md (#3317)
  • 9056c47 chore(deps-dev): Bump @​semantic-release/release-notes-generator from 13.0.0 t...
  • 975f259 chore(deps-dev): Bump semantic-release from 23.1.1 to 24.0.0 (#3313)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [marked](https://github.com/markedjs/marked) from 12.0.2 to 13.0.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](markedjs/marked@v12.0.2...v13.0.0)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 24, 2024
@jairhenrique jairhenrique merged commit a76756b into main Jun 24, 2024
3 checks passed
@jairhenrique jairhenrique deleted the dependabot/npm_and_yarn/marked-13.0.0 branch June 24, 2024 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Development

Successfully merging this pull request may close these issues.

1 participant