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 textlint from 12.6.1 to 14.2.1 #68

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

Conversation

ekmixon
Copy link
Owner

@ekmixon ekmixon commented Nov 1, 2024

snyk-top-banner

Snyk has created this PR to upgrade textlint from 12.6.1 to 14.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.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 28 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: textlint
  • 14.2.1 - 2024-10-05

    What's Changed

    Documentation

    • docs(textlint): improve docs for linter.lintText by @ davmillar in #1424
    • docs(image): make the border of get-started-steps images transparent by @ lumirlumir in #1425

    Refactoring

    • refactor(formatter): import formatter as static by @ azu in #1426

    Dependency Updates

    • fix(deps): update dependency @ babel/preset-env to ^7.25.4 by @ renovate in #1419
    • fix(deps): update dependency @ babel/cli to ^7.25.6 by @ renovate in #1421

    Other Changes

    • chore(deps): update peter-evans/create-pull-request action to v7 by @ renovate in #1420

    New Contributors

    Full Changelog: v14.2.0...v14.2.1

  • 14.2.0 - 2024-08-18

    What's Changed

    Features

    • feat(textlint-scripts): update to pkg-to-readme@3 and textlint-scripts init --yes by @ azu in #1417

    This release will reduce audit warning.

    Full Changelog: v14.1.0...v14.2.0

  • 14.1.0 - 2024-08-18

    What's Changed

    Features

    • feat(textlint): Add linter.scanFilePath API by @ azu in #1414

    Change Details

    • Update to glob@v10
    • Rewrite find-util - it is used in scanFilePath
      • Preserve old behavior by using old-find-util
      • We change this in next major updates
      • Ref #1412
    • Add linter.scanFilePath(filePath) API
    • Add tests

    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

    • fix(deps): update dependency @ babel/preset-env to ^7.25.3 by @ renovate in #1404
    • chore(deps): update dependency eol-converter-cli to ^1.1.0 by @ renovate in #1405

    Other Changes

    New Contributors

    Full Changelog: v14.0.5...v14.1.0

  • 14.0.5 - 2024-08-07

    What's Changed

    Documentation

    Refactoring

    • refactor(markdown-to-ast): migrate to neotraverse by @ Jayllyz in #1401

    Dependency Updates

    • chore(deps): update dependency @ types/lodash to ^4.17.0 by @ renovate in #1371
    • fix(deps): update babel monorepo to ^7.24.1 (patch) by @ renovate in #1373
    • fix(deps): update babel monorepo to ^7.24.1 (minor) by @ renovate in #1374
    • fix(deps): update babel monorepo to ^7.24.3 (patch) by @ renovate in #1375
    • chore(deps): update dependency mocha to ^10.4.0 by @ renovate in #1376
    • fix(deps): update babel monorepo to ^7.24.4 (patch) by @ renovate in #1380
    • chore(deps): update dependency textlint-rule-preset-ja-spacing to ^2.4.1 by @ renovate in #1381
    • fix(deps): update babel monorepo to ^7.24.5 (patch) by @ renovate in #1385
    • fix(deps): update babel monorepo to ^7.24.6 (patch) by @ renovate in #1386
    • fix(deps): update dependency @ babel/register to ^7.24.6 by @ renovate in #1387
    • fix(deps): update babel monorepo to ^7.24.7 (patch) by @ renovate in #1390
    • chore(deps): update dependency mocha to ^10.5.0 by @ renovate in #1391
    • chore(deps): update dependency mocha to ^10.6.0 by @ renovate in #1392
    • fix(deps): update babel monorepo to ^7.24.8 (patch) by @ renovate in #1393
    • fix(deps): update dependency @ babel/core to ^7.24.9 by @ renovate in #1394
    • chore(deps): update dependency mocha to ^10.7.0 by @ renovate in #1395
    • chore(deps): update dependency chai to ^4.5.0 by @ renovate in #1396
    • fix(deps): update dependency @ babel/preset-env to ^7.25.0 by @ renovate in #1397
    • fix(deps): update dependency @ babel/preset-env to ^7.25.2 by @ renovate in #1398
    • fix(deps): update dependency @ babel/core to ^7.25.2 by @ renovate in #1399

    Other Changes

    • chore(deps): update dependency node to v18.20.0 by @ renovate in #1359
    • chore(deps): update dependency node to v18.20.1 by @ renovate in #1377
    • chore(deps): update peaceiris/actions-gh-pages action to v4 by @ renovate in #1378

    New Contributors

    Full Changelog: v14.0.4...v14.0.5

  • 14.0.4 - 2024-03-12

    What's Changed

    Bug Fixes

    Dependency Updates

    New Contributors

    Full Changelog: v14.0.3...v14.0.4

  • 14.0.3 - 2024-02-17

    What's Changed

    Bug Fixes

    • fix(formatter): fix missing is-file dependencies by @ azu in #1362

    Dependency Updates

    Full Changelog: v14.0.2...v14.0.3

  • 14.0.2 - 2024-02-11

    What's Changed

    Bug Fixes

    • add TxtCommentNode to StaticPhrasingContent by @ pddg in #1357

    New Contributors

    Full Changelog: v14.0.1...v14.0.2

  • 14.0.1 - 2024-02-04

    What's Changed

    Bug Fixes

    • fix(legacy-textlint-core): add resetRules() by @ azu in #1353

    Full Changelog: v14.0.0...v14.0.1

  • 14.0.0 - 2024-02-03

    What's Changed

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

    Breaking Changes

    • chore!: move gulp-textlint to out of monorepo by @ azu in #1319
    • fix(config-loader): enhance config-loader results by @ azu in #1322
    • CI: drop Node.js 16 by @ azu in #1337
    • Removes CLI from @ textlint/linter-formatter by @ kapooraryan in #1272
    • fix(textlint): remove --parallel and --maxConcurrency flag by @ azu in #1338
    • BREAKING CHANGE: textlint require Node.js v18.14.0>= by @ azu in #1343
    • BREAKING CHANGE: Change textlint-scirpts output target by @ azu in #1345

    Features

    • feat(textlint): add deprecation warning to old APIs by @ azu in #1312

    Refactoring

    • fix(kernel): remove unused TextlintConfigObject by @ azu in #1308

    CI

    • CI: add canary-release workflow by @ azu in #1350

    Dependency Updates

    • chore(deps): update dependency @ types/node to ^18.18.10 by @ renovate in #1297
    • fix(deps): update dependency @ babel/cli to ^7.23.4 by @ renovate in #1298
    • chore(deps): update patch updates (patch) by @ renovate in #1299
    • chore(deps): update dependency @ types/node to ^18.18.12 by @ renovate in #1300
    • chore(deps): update dependency @ types/node to ^18.18.13 by @ renovate in #1302
    • chore(deps): update dependency textlint-rule-helper to ^2.3.1 by @ renovate in #1303
    • fix(deps): update babel monorepo to ^7.23.5 (patch) by @ renovate in #1304
    • chore(deps): update dependency ts-node to ^10.9.2 by @ renovate in #1311
    • chore(deps): update patch updates (patch) by @ renovate in #1313
    • chore(deps): update dependency @ types/node to ^18.19.4 by @ renovate in #1314
    • fix(deps): update babel monorepo to ^7.23.7 (patch) by @ renovate in #1315
    • fix(deps): update dependency @ babel/register to ^7.23.7 by @ renovate in #1316
    • chore(deps): update dependency @ types/node to ^18.18.14 by @ renovate in #1318
    • chore(deps): update patch updates (patch) by @ renovate in #1321
    • chore(deps): update dependency chai to ^4.4.0 by @ renovate in #1323
    • chore(deps): update dependency @ types/node to ^18.19.5 by @ renovate in #1324
    • fix(deps): update dependency @ babel/preset-env to ^7.23.8 by @ renovate in #1325
    • chore(deps): update dependency @ types/node to ^18.19.6 by @ renovate in #1326
    • chore(deps): update dependency chai to ^4.4.1 by @ renovate in #1329
    • chore(deps): update dependency @ types/node to ^18.19.7 by @ renovate in #1330
    • chore(deps): update dependency @ types/node to ^18.19.8 by @ renovate in #1332
    • chore(deps): replace dependency npm-run-all with npm-run-all2 ^5.0.0 by @ renovate in #1333
    • chore(deps): update dependency npm-run-all2 to ^5.0.2 by @ renovate in #1335
    • chore(deps): update dependency @ types/node to ^18.19.9 by @ renovate in #1340
    • fix(deps): update babel monorepo to ^7.23.9 (patch) by

Snyk has created this PR to upgrade textlint from 12.6.1 to 14.2.1.

See this package in npm:
textlint

See this project in Snyk:
https://app.snyk.io/org/ekmixon/project/c598cc85-edfc-4f87-b32d-cc8bcf2f1afa?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

sourcery-ai bot commented Nov 1, 2024

Reviewer's Guide by Sourcery

This PR upgrades the textlint dependency from version 12.6.1 to 14.2.1. This is a major version upgrade that includes breaking changes, new features, bug fixes, and dependency updates across multiple releases.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Major version upgrade of textlint with breaking changes
  • Removed gulp-textlint from monorepo
  • Enhanced config-loader results
  • Dropped support for Node.js 16
  • Removed CLI from @textlint/linter-formatter
  • Removed --parallel and --maxConcurrency flags
  • Now requires Node.js v18.14.0 or higher
  • Changed textlint-scripts output target
package.json
Added new features and improvements
  • Added deprecation warnings to old APIs
  • Added linter.scanFilePath API
  • Updated to pkg-to-readme@3
  • Added support for textlint-scripts init --yes
package.json
Documentation and bug fixes
  • Fixed severity type
  • Improved documentation for linter.lintText
  • Made get-started-steps images transparent
  • Fixed missing is-file dependencies
  • Added TxtCommentNode to StaticPhrasingContent
package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

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