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

chore(deps): update dependency rehype-highlight to v7 #990

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 15, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rehype-highlight ^4.1.0 -> ^7.0.0 age adoption passing confidence

Release Notes

rehypejs/rehype-highlight (rehype-highlight)

v7.0.0

Compare Source

Change
  • d72c765 Update lowlight
    migrate: if you pass languages, make sure the spread in common from lowlight:
    .use(rehypeHighlight, {...common, ...otherLanguages})
  • b057174 Update @types/hast, unified, utilities, etc
    migrate: update too
  • 72fe488 Change to require Node.js 16
    migrate: update too
  • d2fc56d Change to use exports
    migrate: don’t use private APIs
  • dc3823d Remove ignoreMissing option, make it default
    migrate: remove ignoreMissing, expect warnings on the file instead
Misc

Full Changelog: rehypejs/rehype-highlight@6.0.0...7.0.0

v6.0.0

Compare Source

  • 2c5a4ec Remove detection by default
    breaking: see commit message for migration
  • 9c42989 Fix to throw error on file

v5.0.2

Compare Source

Full Changelog: rehypejs/rehype-highlight@5.0.1...5.0.2

v5.0.1

Compare Source

Full Changelog: rehypejs/rehype-highlight@5.0.0...5.0.1

v5.0.0

Compare Source

  • dfa5a4b Use ESM
    • Change:

      // From CommonJS
      var rehypeHighlight = require('rehype-highlight')
      
      // To ESM
      import rehypeHighlight from 'rehype-highlight'

      Learn more about ESM in this guide

  • c87da55 Update lowlight
    • This changes from having all languages registered by default (191) to only having common languages on (35). See https://github.com/wooorm/lowlight#syntaxes for which languages are on by default and which can be added.
      This makes rehype-highlight much faster and viable for use in browsers
    • This removes the light version of the plugin, because the default is now light
    • Updating lowlight also updates highlight.js to v11, which improves results
  • fa5fcf4 Add JSDoc based types
  • 84b5ce2 Fix code being dropped

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/rehype-highlight-7.x branch from a968eb4 to 83b0e42 Compare September 15, 2023 21:53
@gilest
Copy link
Collaborator

gilest commented Sep 15, 2023

Ignoring due to josemarluedke/docfy/issues/93

@gilest gilest closed this Sep 15, 2023
@gilest gilest deleted the renovate/rehype-highlight-7.x branch September 15, 2023 23:18
@renovate
Copy link
Contributor Author

renovate bot commented Sep 15, 2023

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 7.x releases. But if you manually upgrade to 7.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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

Successfully merging this pull request may close these issues.

1 participant