Skip to content

chore(deps): update dependency lint-staged to v16.4.0#122

Closed
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/lint-staged-16.x
Closed

chore(deps): update dependency lint-staged to v16.4.0#122
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/lint-staged-16.x

Conversation

@renovate

@renovate renovate Bot commented Sep 25, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
lint-staged 16.2.016.4.0 age confidence

Release Notes

lint-staged/lint-staged (lint-staged)

v16.4.0

Compare Source

Minor Changes

v16.3.4

Compare Source

Patch Changes

v16.3.3

Compare Source

Patch Changes
  • #​1740 0109e8d Thanks @​iiroj! - Make sure Git's warning about CRLF line-endings doesn't interfere with creating initial backup stash.

v16.3.2

Compare Source

Patch Changes
  • #​1735 2adaf6c Thanks @​iiroj! - Hide the extra cmd window on Windows by spawning tasks without the detached option.

v16.3.1

Compare Source

Patch Changes
  • #​1729 cd5d762 Thanks @​iiroj! - Remove nano-spawn as a dependency from package.json as it was replaced with tinyexec and is no longer used.

v16.3.0

Compare Source

Minor Changes
  • #​1698 feda37a Thanks @​iiroj! - Run external processes with tinyexec instead of nano-spawn. nano-spawn replaced execa in lint-staged version 16 to limit the amount of npm dependencies required, but caused some unknown issues related to spawning tasks. Let's hope tinyexec improves the situation.

  • #​1699 1346d16 Thanks @​iiroj! - Remove pidtree as a dependency. When a task fails, its sub-processes are killed more efficiently via the process group on Unix systems, and the taskkill command on Windows.

Patch Changes
  • #​1726 87467aa Thanks @​iiroj! - Incorrect brace expansions like *.{js} (nothing to expand) are detected exhaustively, instead of just a single pass.

v16.2.7

Compare Source

Patch Changes
  • #​1711 ef74c8d Thanks @​iiroj! - Do not display a "failed to spawn" error message when a task fails normally. This message is reserved for when the task didn't run because spawning it failed.

v16.2.6

Compare Source

Patch Changes

v16.2.5

Compare Source

Patch Changes
  • #​1687 9e02d9d Thanks @​iiroj! - Fix unhandled promise rejection when spawning tasks (instead of the tasks themselves failing). Previously when a task failed to spawn, lint-staged also failed and the backup stash might not have been automatically restored.

v16.2.4

Compare Source

Patch Changes

v16.2.3

Compare Source

Patch Changes
  • #​1669 27cd541 Thanks @​iiroj! - When using --fail-on-changes, automatically hidden (partially) unstaged changes are no longer counted to make lint-staged fail.

v16.2.2

Compare Source

Patch Changes
  • #​1667 699f95d Thanks @​iiroj! - The backup stash will not be dropped when using --fail-on-changes and there are errors. When reverting to original state is disabled (via --no-revert or --fail-on-changes), hidden (partially) unstaged changes are still restored automatically so that it's easier to resolve the situation manually.

    Additionally, the example for using the backup stash manually now uses the correct backup hash, if available:

    % npx lint-staged --fail-on-changes
    ✔ Backed up original state in git stash (c18d55a3)
    ✔ Running tasks for staged files...
    ✖ Tasks modified files and --fail-on-changes was used!
    ↓ Cleaning up temporary files...
    
    ✖ lint-staged failed because `--fail-on-changes` was used.
    
    Any lost modifications can be restored from a git stash:
    
      > git stash list --format="%h %s"
      c18d55a3 On main: lint-staged automatic backup
      > git apply --index c18d55a3

v16.2.1

Compare Source

Patch Changes
  • #​1664 8277b3b Thanks @​iiroj! - The built-in TypeScript types have been updated to more closely match the implementation. Notably, the list of staged files supplied to task functions is readonly string[] and can't be mutated. Thanks @​outslept!

    export default {
    ---  "*": (files: string[]) => void console.log('staged files', files)
    +++  "*": (files: readonly string[]) => void console.log('staged files', files)
    }
  • #​1654 70b9af3 Thanks @​iiroj! - This version has been published from GitHub Actions using Trusted Publishing for npm packages.

  • #​1659 4996817 Thanks @​iiroj! - Fix searching configuration files when the working directory is a subdirectory of a git repository, and there are package.json files in the working directory. This situation might happen when running lint-staged for a single package in a monorepo.

  • #​1654 7021f0a Thanks @​iiroj! - Return the caret semver range (^) to direct dependencies so that future patch and minor versions are allowed. This enables projects to better maintain and deduplicate their own transitive dependencies while not requiring direct updates to lint-staged. This was changed in 16.2.0 after the vulnerability issues with chalk and debug, which were also removed in the same version.

    Given the recent vulnerabilities in the npm ecosystem, it's best to be very careful when updating dependencies.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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.

@renovate renovate Bot enabled auto-merge (squash) September 25, 2025 18:49
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch from 5db6399 to 83d89a2 Compare September 28, 2025 09:51
@renovate renovate Bot changed the title chore(deps): update dependency lint-staged to v16.2.1 chore(deps): update dependency lint-staged to v16.2.2 Sep 28, 2025
@renovate renovate Bot changed the title chore(deps): update dependency lint-staged to v16.2.2 chore(deps): update dependency lint-staged to v16.2.3 Sep 28, 2025
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch from 83d89a2 to a3935bb Compare September 28, 2025 14:01
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch from a3935bb to 2ef1066 Compare October 11, 2025 08:28
@renovate renovate Bot changed the title chore(deps): update dependency lint-staged to v16.2.3 chore(deps): update dependency lint-staged to v16.2.4 Oct 11, 2025
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch from 2ef1066 to 2ea9fb4 Compare October 20, 2025 17:56
@renovate renovate Bot changed the title chore(deps): update dependency lint-staged to v16.2.4 chore(deps): update dependency lint-staged to v16.2.5 Oct 20, 2025
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch from 2ea9fb4 to a71141d Compare October 22, 2025 19:40
@renovate renovate Bot changed the title chore(deps): update dependency lint-staged to v16.2.5 chore(deps): update dependency lint-staged to v16.2.6 Oct 22, 2025
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch from a71141d to 3a39af6 Compare October 28, 2025 19:53
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch 2 times, most recently from 2d1e65f to 293c6cc Compare November 19, 2025 17:51
@renovate renovate Bot changed the title chore(deps): update dependency lint-staged to v16.2.6 chore(deps): update dependency lint-staged to v16.2.7 Nov 19, 2025
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch from 293c6cc to 96b36d9 Compare December 31, 2025 15:30
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch 2 times, most recently from 2f4d0dd to c5ca509 Compare January 13, 2026 18:23
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch from c5ca509 to 37434bb Compare February 2, 2026 19:27
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch from 37434bb to fed0d87 Compare February 28, 2026 13:13
@renovate renovate Bot changed the title chore(deps): update dependency lint-staged to v16.2.7 chore(deps): update dependency lint-staged to v16.3.0 Feb 28, 2026
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch from fed0d87 to 7cbae7e Compare March 1, 2026 20:45
@renovate renovate Bot changed the title chore(deps): update dependency lint-staged to v16.3.0 chore(deps): update dependency lint-staged to v16.3.1 Mar 1, 2026
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch from 7cbae7e to 223b4ed Compare March 3, 2026 20:39
@renovate renovate Bot changed the title chore(deps): update dependency lint-staged to v16.3.1 chore(deps): update dependency lint-staged to v16.3.2 Mar 3, 2026
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch from 223b4ed to 10b10ea Compare March 10, 2026 09:23
@renovate renovate Bot changed the title chore(deps): update dependency lint-staged to v16.3.2 chore(deps): update dependency lint-staged to v16.3.3 Mar 10, 2026
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch from 10b10ea to 32b6233 Compare March 14, 2026 23:10
@renovate renovate Bot changed the title chore(deps): update dependency lint-staged to v16.3.3 chore(deps): update dependency lint-staged to v16.4.0 Mar 14, 2026
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch from 32b6233 to 4a6a1b7 Compare March 27, 2026 12:33
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch from 4a6a1b7 to 44d5c7d Compare April 8, 2026 20:42
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch from 44d5c7d to 51c5b6f Compare April 29, 2026 15:11
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch from 51c5b6f to 77f4415 Compare May 12, 2026 10:32
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch from 77f4415 to b504dba Compare May 28, 2026 13:51
@renovate renovate Bot force-pushed the renovate/lint-staged-16.x branch from b504dba to 1d18267 Compare June 1, 2026 22:49
auto-merge was automatically disabled July 9, 2026 19:08

Pull request was closed

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.

1 participant