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 v14 - autoclosed #555

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 7, 2024

This PR contains the following updates:

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

Release Notes

markedjs/marked (marked)

v14.1.4

Compare Source

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 becomes conflicted, 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 added the dependencies label Aug 7, 2024
Copy link

changeset-bot bot commented Aug 7, 2024

⚠️ No Changeset found

Latest commit: a0f4cff

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

github-actions bot commented Aug 7, 2024

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@theguild/eslint-config 0.13.0-alpha-20241107192821-a0f4cffc40b28723cf18d0c3a573e4d981bbc0e9 npm ↗︎ unpkg ↗︎
@theguild/prettier-config 3.0.0-alpha-20241107192821-a0f4cffc40b28723cf18d0c3a573e4d981bbc0e9 npm ↗︎ unpkg ↗︎
@theguild/tailwind-config 0.6.0-alpha-20241107192821-a0f4cffc40b28723cf18d0c3a573e4d981bbc0e9 npm ↗︎ unpkg ↗︎

@renovate renovate bot force-pushed the renovate/marked-14.x branch 2 times, most recently from 6e9fbaf to dd52215 Compare September 8, 2024 19:18
@renovate renovate bot changed the title fix(deps): update dependency marked to v14 fix(deps): update dependency marked to v14 - autoclosed Nov 9, 2024
@renovate renovate bot closed this Nov 9, 2024
@renovate renovate bot deleted the renovate/marked-14.x branch November 9, 2024 03:25
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