Skip to content

chore(deps): update dependency lint-staged to ^17.5.1 - #645

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/lint-staged-17.x
Open

chore(deps): update dependency lint-staged to ^17.5.1#645
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/lint-staged-17.x

Conversation

@renovate

@renovate renovate Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
lint-staged ^17.3.0^17.5.1 age confidence

Release Notes

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

v17.5.1

Compare Source

Patch Changes
  • #​1852 bfcca94 - Fix TypeScript issue TS1254 from defineConfig() by changing the signature from const to a function:

    A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.

v17.5.0

Compare Source

Minor Changes
  • #​1847 f9063b7 - Lint-staged now refuses to run when files were staged with --intent-to-add, because Git stash doesn't support them. Previously this was an unhandled error.
Patch Changes
  • #​1848 d718ccc - Lint-staged now handles color support better in non-TTY streams, and honors the FORCE_COLOR environment variable.

  • #​1845 7e5ece8 - Update tinyexec@1.3.1 so that local binaries from node_modules/.bin are resolved starting from the directory of each lint-staged configuration file (in monorepo setups). This behavior was broken in lint-staged@16.3.0 where they were only resolved from the current working directory and up.

  • #​1845 eb8a4e3 - Do not try to restore untracked files when using --hide-all and there is no initial commit yet.

v17.4.1

Compare Source

Patch Changes
  • #​1840 efe5b63 - This is a version-bump-only release because the previous version 17.4.0 was not published to npmjs.com due to problems with GitHub Actions and Changesets.

Configuration

📅 Schedule: (UTC)

  • 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.

@renovate
renovate Bot force-pushed the renovate/lint-staged-17.x branch from d3414a2 to 84d3092 Compare August 28, 2026 14:39

@pikachuren pikachuren left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

结论:可以合并

lint-staged 17.3.0 → 17.4.1,patch 级升级,Build Check 通过。

改动范围核对如下:package.json 中 devDependencies 版本号变更,lockfile 中传递依赖 picomatch 从 4.0.5 提升到 4.0.7,string-argvtinyexec 均未变动。engines 仍为 node: '>=22.22.1',与仓库 CI 使用的 Node 24.20.0 兼容,没有抬高环境门槛。

lint-staged 属于纯开发期工具,只在 husky 的 pre-commit 钩子中生效,不进入任何构建产物,因此对线上运行时零影响。风险可以接受。

@renovate
renovate Bot force-pushed the renovate/lint-staged-17.x branch 2 times, most recently from b5a4cc8 to 7f6801b Compare September 5, 2026 08:49
@renovate renovate Bot changed the title chore(deps): update dependency lint-staged to ^17.4.1 chore(deps): update dependency lint-staged to ^17.5.0 Sep 5, 2026
@renovate
renovate Bot force-pushed the renovate/lint-staged-17.x branch 2 times, most recently from 0f69062 to ac51e86 Compare September 7, 2026 22:32
@renovate renovate Bot changed the title chore(deps): update dependency lint-staged to ^17.5.0 chore(deps): update dependency lint-staged to ^17.5.1 Sep 10, 2026
@renovate
renovate Bot force-pushed the renovate/lint-staged-17.x branch from ac51e86 to 68cddd3 Compare September 10, 2026 21:04
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