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

Update dependency textlint to v14 #35

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 11, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
textlint ^12.0.0 -> ^14.0.0 age adoption passing confidence

Release Notes

textlint/textlint (textlint)

v14.4.2

Compare Source

What's Changed

Bug Fixes

This release follow up for v14.4.1:

v14.4.1 updates:

This release will reduce deprecated warning on installing textlint.

npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported

Full Changelog: textlint/textlint@v14.4.1...v14.4.2

v14.4.1

Compare Source

What's Changed

This release will reduce deprecated warning on installing textlint.

npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported
npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported
Dependency Updates

Full Changelog: textlint/textlint@v14.4.0...v14.4.1

v14.4.0

Compare Source

What's Changed

Features
Dependency Updates

Full Changelog: textlint/textlint@v14.3.0...v14.4.0

v14.3.0

Compare Source

What's Changed

Features
Dependency Updates
Other Changes

Full Changelog: textlint/textlint@v14.2.1...v14.3.0

v14.2.1

Compare Source

What's Changed

Documentation
Refactoring
Dependency Updates
Other Changes

New Contributors

Full Changelog: textlint/textlint@v14.2.0...v14.2.1

v14.2.0

Compare Source

What's Changed

Features

This release will reduce audit warning.

Full Changelog: textlint/textlint@v14.1.0...v14.2.0

v14.1.0

Compare Source

What's Changed

Features

Change Details

linter.scanFilePath API Usage

If you want to know the file path is lintable or not, please use scanFilePath API.

import { createLinter, loadTextlintrc } from "textlint";
const textlintrcDescriptor = await loadTextlintrc();
const linter = createLinter({
    descriptor: textlintrcDescriptor
});
const result = await linter.scanFilePath("README.md");
// result.status is "ok" or "ignored" or "error"
if (result.status === "ok") {
    const lintResult = await linter.lintText("README content", "README.md");
    console.log(lintResult);
}

linter.scanFilePath is for combinating with lintText API because lintText API does not ignore any file.

Dependency Updates
Other Changes

New Contributors

Full Changelog: textlint/textlint@v14.0.5...v14.1.0

v14.0.5

Compare Source

What's Changed
Documentation
Refactoring
Dependency Updates
Other Changes
New Contributors

Full Changelog: textlint/textlint@v14.0.4...v14.0.5

v14.0.4

Compare Source

What's Changed

Bug Fixes
Dependency Updates

New Contributors

Full Changelog: textlint/textlint@v14.0.3...v14.0.4

v14.0.3

Compare Source

What's Changed

Bug Fixes
Dependency Updates

Full Changelog: textlint/textlint@v14.0.2...v14.0.3

v14.0.2

Compare Source

What's Changed

Bug Fixes

New Contributors

Full Changelog: textlint/textlint@v14.0.1...v14.0.2

v14.0.1

Compare Source

What's Changed

Bug Fixes

Full Changelog: textlint/textlint@v14.0.0...v14.0.1

v14.0.0

Compare Source

What's Changed

We published a blog as a release note.
For more information, please read the following article.

Breaking Changes
Features
Refactoring
CI
Dependency Updates
Other Changes

New Contributors

Full Changelog: textlint/textlint@v13.4.1...v14.0.0

v13.4.1

Compare Source

What's Changed

Bug Fixes

This PR fixed types of textlint.
It does not change the behavior of textlint.

For plugin developer:

You may be necessary to change the type that returns preProcess as follows

-            preProcess(_text: string, _filePath: string): TxtNode {
+            preProcess(_text: string, _filePath: string): TxtDocumentNode {
Dependency Updates

Full Changelog: textlint/textlint@v13.4.0...13.4.1

v13.4.0

Compare Source

SUMMARY

textlint-scripts allow a rule to use native import().
It will help the rule to import ESM modules from CJS.

For example, alex is pure ESM package.
CJS package can not load via require("alex"), but it can load await import("alex")

What's Changed

Features
Documentation
Refactoring
Testing
Maintenance
Dependency Updates
Other Changes

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 was generated by Mend Renovate. View the repository job log.

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.

0 participants