[Snyk] Upgrade mdast-util-to-hast from 12.3.0 to 13.0.0 #50
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Release notes
Package name: mdast-util-to-hast
Change
@ types/hast
,@ types/mdast
, utilitiesmigrate: update too
migrate: update too
exports
migrate: don’t use private APIs
migrate: use the function form of
footnoteBackLabel
for i18n, seedefaultFootnoteBackLabel
for inspirationmigrate: expect an empty root instead of nothing
undefined
migrate: expect
undefined
everywhere, notnull
Footnote
nodesmigrate: use GFM, which does not have “inline” notes
lang
oncode
with spacesmigrate: you’re fine, this hasn’t been a thing for years
state
migrate: if you make your own handles, expect maps
State
, use plain objectmigrate: if you make your own handles, create nodes yourself, use
state.applyData
if neededall
,one
helpersmigrate: if you make your own handles, use
state.all
,state.one
H
typemigrate: use
State
complex-types.d.ts
migrate: use main module
migrate: should be fine
Types
passThrough
migrate: type your mdast/hast nodes by extending the content interfaces
Data
ofmdast
migrate: pass correct values in
node.data
Fix
hName
on textFull Changelog: 12.3.0...13.0.0
Add
wrap
helper onstate
one
,all
helpers tostate
Fix
constructor
Misc
H
toState
tsconfig.json
Full Changelog: 12.2.6...12.3.0
Commit messages
Package name: mdast-util-to-hast
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