Snyk has created this PR to upgrade textlint from 12.1.1 to 12.2.1.
:information_source: 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.
The recommended version is 2 versions ahead of your current version.
The recommended version was released 22 days ago, on 2022-06-25.
Snyk has created this PR to upgrade textlint from 12.1.1 to 12.2.1.
:information_source: 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
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