Skip to content

chore(deps)(deps-dev): bump lint-staged from 16.2.7 to 17.2.0 - #166

Merged
ericyangpan merged 1 commit into
mainfrom
dependabot/npm_and_yarn/lint-staged-17.2.0
Jul 29, 2026
Merged

chore(deps)(deps-dev): bump lint-staged from 16.2.7 to 17.2.0#166
ericyangpan merged 1 commit into
mainfrom
dependabot/npm_and_yarn/lint-staged-17.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor

Bumps lint-staged from 16.2.7 to 17.2.0.

Release notes

Sourced from lint-staged's releases.

v17.2.0

Minor Changes

  • #1823 ee156cc - The chunking of tasks based on maximum command line argument length has been re-implemented to be more precise. Now the chunking happens based on the final generated command string, instead of just the list of staged files like previously. This benefits mainly Windows platforms and function commands like:

    /** @type {import('lint-staged').Configuration} */
    export default {
      "*.ts": () => "tsc", // Run "tsc" when any TS file is changed (for entire project)
    };

    Where the spawned command is literally "tsc" without any extra arguments. Previously, this was still chunked when a lot of files were staged. Now, it probably won't be chunked because the length of the command is just three letters.

    Also, native JavaScript/Node.js function tasks won't be chunked at all, when previously they were run multiple times when chunked:

    /** @type {import('lint-staged').Configuration} */
    export default {
      "*.js": {
        title: "Log staged JS files to console",
        task: async (files) => {
          console.log("Staged JS files:", files);
        },
      },
    };

v17.1.1

Patch Changes

  • #1820 a626a9f - It's now possible to set --max-arg-length=Infinity to effectively disable chunking of tasks based on the number of staged files. The parsing and validation of the numeric CLI options --max-arg-length and --concurrency has been improved.

v17.1.0

Minor Changes

  • #1816 7568d4f - The console output of lint-staged has been simplified so that there's less interactive spinners and more explicit messages like "Started…" -> "Done!". The primary purpose of this was to remove Listr2, a very large dependency.

    Before:

    Size of node_modules/ after installing: 1561.7 kB with 29 packages.

    Fancy interactive spinners, but output dynamically changes:

    ✔ Backed up original state in git stash (0b191303)
    ✔ Running tasks for staged files...
    ✔ Staging changes from tasks...
    ✔ Cleaning up temporary files...

... (truncated)

Changelog

Sourced from lint-staged's changelog.

17.2.0

Minor Changes

  • #1823 ee156cc - The chunking of tasks based on maximum command line argument length has been re-implemented to be more precise. Now the chunking happens based on the final generated command string, instead of just the list of staged files like previously. This benefits mainly Windows platforms and function commands like:

    /** @type {import('lint-staged').Configuration} */
    export default {
      "*.ts": () => "tsc", // Run "tsc" when any TS file is changed (for entire project)
    };

    Where the spawned command is literally "tsc" without any extra arguments. Previously, this was still chunked when a lot of files were staged. Now, it probably won't be chunked because the length of the command is just three letters.

    Also, native JavaScript/Node.js function tasks won't be chunked at all, when previously they were run multiple times when chunked:

    /** @type {import('lint-staged').Configuration} */
    export default {
      "*.js": {
        title: "Log staged JS files to console",
        task: async (files) => {
          console.log("Staged JS files:", files);
        },
      },
    };

17.1.1

Patch Changes

  • #1820 a626a9f - It's now possible to set --max-arg-length=Infinity to effectively disable chunking of tasks based on the number of staged files. The parsing and validation of the numeric CLI options --max-arg-length and --concurrency has been improved.

17.1.0

Minor Changes

  • #1816 7568d4f - The console output of lint-staged has been simplified so that there's less interactive spinners and more explicit messages like "Started…" -> "Done!". The primary purpose of this was to remove Listr2, a very large dependency.

    Before:

    Size of node_modules/ after installing: 1561.7 kB with 29 packages.

    Fancy interactive spinners, but output dynamically changes:

    ✔ Backed up original state in git stash (0b191303)
    ✔ Running tasks for staged files...

... (truncated)

Commits
  • fb540fb Merge pull request #1824 from lint-staged/changeset-release/main
  • dc0a738 chore(changeset): release
  • 60cbb88 Merge pull request #1823 from lint-staged/reimplement-chunk-files
  • 2354dc4 build(deps): update dependencies
  • 0516e7f docs: adjust debug logs
  • e22f6ed style: run oxfmt on README.md
  • 37e8e1a fix: restore chunking of git add command after running tasks
  • 2c75f1d chore: remove unused file
  • ee156cc feat: add improved lazy-chunking of command strings
  • baa7c98 feat: remove current chunkFiles implementation
  • Additional commits viewable in compare view

@dependabot @github

dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

Assignees

The following users could not be added as assignees: aicodingstack/maintainers. Either the username does not exist or it does not have the correct permissions to be added as an assignee.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot
dependabot Bot requested a review from a team as a code owner July 27, 2026 06:09
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Major version update detected

This PR updates lint-staged with a major version change.

Please review the changelog and test thoroughly before merging:

  • Check for breaking changes
  • Review migration guide
  • Test locally
  • Verify all CI checks pass

This PR will not be auto-merged and requires manual review.

@ericyangpan

Copy link
Copy Markdown
Contributor

@dependabot recreate

Please recreate this update from the current main using pnpm-lock.yaml; the existing branch predates the pnpm migration and still modifies the removed package-lock.json.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/lint-staged-17.2.0 branch from 1b4eb68 to 5e7d53e Compare July 29, 2026 17:38
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Major version update detected

This PR updates lint-staged with a major version change.

Please review the changelog and test thoroughly before merging:

  • Check for breaking changes
  • Review migration guide
  • Test locally
  • Verify all CI checks pass

This PR will not be auto-merged and requires manual review.

@github-actions

github-actions Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Preview deployment

Status URL
Ready https://pr-166-aicodingstack.pr-preview.workers.dev

Commit: 7154893
Updated: 2026-07-29T18:20:58.067Z

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/lint-staged-17.2.0 branch from 5e7d53e to a2abc7c Compare July 29, 2026 17:44
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Major version update detected

This PR updates lint-staged with a major version change.

Please review the changelog and test thoroughly before merging:

  • Check for breaking changes
  • Review migration guide
  • Test locally
  • Verify all CI checks pass

This PR will not be auto-merged and requires manual review.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/lint-staged-17.2.0 branch from a2abc7c to 39f1b8f Compare July 29, 2026 17:49
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Major version update detected

This PR updates lint-staged with a major version change.

Please review the changelog and test thoroughly before merging:

  • Check for breaking changes
  • Review migration guide
  • Test locally
  • Verify all CI checks pass

This PR will not be auto-merged and requires manual review.

@ericyangpan
ericyangpan force-pushed the dependabot/npm_and_yarn/lint-staged-17.2.0 branch from 39f1b8f to 9ed126c Compare July 29, 2026 18:02
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 16.2.7 to 17.2.0.
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](lint-staged/lint-staged@v16.2.7...v17.2.0)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-version: 17.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@ericyangpan
ericyangpan force-pushed the dependabot/npm_and_yarn/lint-staged-17.2.0 branch from 9ed126c to b12d30f Compare July 29, 2026 18:19
@ericyangpan
ericyangpan merged commit 14ff853 into main Jul 29, 2026
12 checks passed
@ericyangpan
ericyangpan deleted the dependabot/npm_and_yarn/lint-staged-17.2.0 branch July 29, 2026 18:21
@github-actions

Copy link
Copy Markdown
Contributor

Preview deployment cleaned up

The preview deployment for PR #166 has been removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant