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

[Snyk] Upgrade mdast-util-to-hast from 12.3.0 to 13.0.0 #50

Closed

Conversation

thetutlage
Copy link
Member

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade mdast-util-to-hast from 12.3.0 to 13.0.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 1 version ahead of your current version.
  • The recommended version was released 21 days ago, on 2023-07-17.
Release notes
Package name: mdast-util-to-hast
  • 13.0.0 - 2023-07-17

    Change

    • 67ef76c Update @ types/hast, @ types/mdast, utilities
      migrate: update too
    • b815f5e Change to require Node.js 16
      migrate: update too
    • 33442cc Change to use exports
      migrate: don’t use private APIs
    • 56c88e4 Fix to match GH for HTML generated for backreferences
      migrate: use the function form of footnoteBackLabel for i18n, see defaultFootnoteBackLabel for inspiration
    • ffe7e47 Change to always return a node
      migrate: expect an empty root instead of nothing
    • ffbb8a8 Change to expect, yield undefined
      migrate: expect undefined everywhere, not null
    • c13fe7f Change to remove support for Footnote nodes
      migrate: use GFM, which does not have “inline” notes
    • 6fc783a Change to remove support for ancient lang on code with spaces
      migrate: you’re fine, this hasn’t been a thing for years
    • 72b8a68 Change to use maps for definitions on state
      migrate: if you make your own handles, expect maps
    • b328aa9 Change to remove function form of State, use plain object
      migrate: if you make your own handles, create nodes yourself, use state.applyData if needed
    • 40e1d29 Change to remove all, one helpers
      migrate: if you make your own handles, use state.all, state.one
    • 1894044 Change to remove H type
      migrate: use State
    • e804231 Change to remove complex-types.d.ts
      migrate: use main module
    • 4df5d41 Change to deep clone passed through nodes
      migrate: should be fine

    Types

    • 52905eb Add smarter types for passThrough
      migrate: type your mdast/hast nodes by extending the content interfaces
    • 6f555a0 Add supported data fields to Data of mdast
      migrate: pass correct values in node.data

    Fix

    • 3e300ea Fix to keep content around for hName on text

    Full Changelog: 12.3.0...13.0.0

  • 12.3.0 - 2023-02-03

    Add

    • ed45ec4 Add wrap helper on state
    • e701470 Add one, all helpers to state

    Fix

    • 0c67e83 Fix footnote keys such as constructor
    • 1c2cb7b Fix support for passing just a table row, cell

    Misc

    Full Changelog: 12.2.6...12.3.0

from mdast-util-to-hast GitHub release notes
Commit messages
Package name: mdast-util-to-hast
  • 6e72085 13.0.0
  • d5c41d7 Fix tests
  • b815f5e Change to require Node.js 16
  • 33442cc Change to use `exports`
  • 52905eb Add smarter types for `passThrough`
  • cfa4c80 Refactor code-style
  • 56c88e4 Fix to match GH for HTML generated for backreferences
  • 3e300ea Fix to keep content around for `hName` on text
  • 6093b77 Refactor tests to use improved types
  • 4df5d41 Change to deep clone passed through nodes
  • ffe7e47 Change to always return a node
  • 6f555a0 Add supported data fields to `Data` of `mdast`
  • 64004ba Refactor some more code
  • ffbb8a8 Change to expect, yield `undefined`
  • 9fd2dfa Refactor some code
  • c13fe7f Change to remove support for `Footnote` nodes
  • 6fc783a Change to remove support for ancient `lang` on `code` with spaces
  • 72b8a68 Change to use maps for definitions on `state`
  • b328aa9 Change to remove function form of `State`, use plain object
  • 127a488 Refactor to use `structuredClone` polyfill
  • 40e1d29 Change to remove `all`, `one` helpers
  • 1894044 Change to remove `H` type
  • e804231 Change to remove `complex-types.d.ts`
  • 0af1dcb Refactor docs

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@thetutlage thetutlage closed this Aug 24, 2023
@thetutlage thetutlage deleted the snyk-upgrade-ce912b92612afc344f991a0b89c0aec2 branch December 27, 2023 08:12
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.

2 participants