[Snyk] Upgrade textlint from 12.1.1 to 12.2.1 #24
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.
Snyk has created this PR to upgrade textlint from 12.1.1 to 12.2.1.
ℹ️ 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.
Release notes
Package name: textlint
12.2.1 (2022-06-25)
What's Changed
Full Changelog: v12.1.0...v12.2.1
12.2.0 (2022-06-25)
Features
Implement Improve error location RFC #835
It will make the error location more details.
This change is for rule developer.
loc
andrange
property toTextlintMessage
(result)padding
prorperty toRuleError(message, details)
.locator
object to rule's contextlcoator.at(index)
,locator.range([startIndex, endIndex])
, andlocator.loc({ start: { line, column }, end: { line, column }})
.valid
andinvalid
supportrange
propertyindex
,line
andcolumn
property onTextlintMessage
andreport
functionfilterMessages
to use newrange
property onTextlintMessage
readonly [number, number]
as range in all packagesfilterMessages
bug c8a670fpadding
andlocator
objectpeerDependencies
notetextlint v12.2.0 will introduce
padding
andlocator
.If your will use it, please add
peerDependencies
topackage.json
on your rule package.For textlint rule creator
Before:
After:
If you want to get more correct location, please use
locator.range
orlocator.loc
For more details, see https://textlint.github.io/docs/rule.html#ruleerror
Changelogs
Bug Fixes
Features
padding
property andlocator
(#836) (f94d5f8)12.1.1 (2022-02-23)
Bug Fixes
It will resolve the following audit alert.
Thanks to @ massongit
Commits
Commit messages
Package name: textlint
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