Skip to content

chore(deps): update dependency lint-staged to v16 #1096

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

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 10, 2025

This PR contains the following updates:

Package Change Age Confidence
lint-staged 15.5.2 -> 16.1.5 age confidence

Release Notes

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

v16.1.5

Compare Source

Patch Changes

v16.1.4

Compare Source

Patch Changes
  • #​1604 90b37b0 Thanks @​iiroj! - Add another types field to package.json to make even more sure NPM detects that lint-staged includes built-in TypeScript type definitions.

v16.1.3

Compare Source

Patch Changes
  • #​1602 7ea700b Thanks @​dword-design! - Add the types field to package.json to make sure NPM detects lint-staged includes built-in TypeScript type definitions.

v16.1.2

Compare Source

Patch Changes
  • #​1570 a7c0c88 Thanks @​ItsNickBarry! - When using --diff-filter with the D option to include deleted staged files, lint-staged no longer tries to stage the deleted files, unless they're no longer deleted. Previously this caused an error from git add like fatal: pathspec 'deleted-file' did not match any files.

  • 38f942e Thanks @​iiroj! - Removed an extraneous log entry that printed shouldHidePArtiallyStagedFiles to console output.

v16.1.1

Compare Source

Patch Changes
  • #​1565 3686977 Thanks @​iiroj! - Lint-staged now explicitly warns about potential data loss when using --no-stash.

  • #​1571 02299a9 Thanks @​iiroj! - Function tasks (introduced in v16.0.0) only received the staged files matching the conpmnfigured glob, instead of all staged files.

  • #​1563 bc61c74 Thanks @​iiroj! - This version fixes incorrect behavior where unstaged changes were committed when using the --no-stash option. This happened because --no-stash implied --no-hide-partially-staged, meaning unstaged changes to files which also had other staged changes were added to the commit by lint-staged; this is no longer the case.

    The previous (incorrect) behavior can still be achieved by using both options --no-stash --no-hide-partially-staged at the same time.

v16.1.0

Compare Source

Minor Changes
  • #​1536 e729daa Thanks @​iiroj! - A new flag --no-revert has been introduced for when task modifications should be applied to the index before aborting the commit in case of errors. By default, lint-staged will clear all task modifications and revert to the original state.

  • #​1550 b27fa3f Thanks @​iiroj! - Lint-staged now ignores symlinks and leaves them out from the list of staged files.

Patch Changes

v16.0.0

Compare Source

Major Changes
  • #​1546 158d15c Thanks @​iiroj! - Processes are spawned using nano-spawn instead of execa. If you are using Node.js scripts as tasks, you might need to explicitly run them with node, especially when using Windows:

    {
      "*.js": "node my-js-linter.js"
    }
  • #​1546 158d15c Thanks @​iiroj! - The --shell flag has been removed and lint-staged no longer supports evaluating commands directly via a shell. To migrate existing commands, you can create a shell script and invoke it instead. Lint-staged will pass matched staged files as a list of arguments, accessible via "$@​":


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.

Copy link

changeset-bot bot commented May 10, 2025

⚠️ No Changeset found

Latest commit: 77cd239

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

github-actions bot commented May 10, 2025

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@graphql-codegen/c-sharp 5.1.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/c-sharp-common 1.1.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/c-sharp-operations 3.1.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/flutter-freezed 4.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/flow 3.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/flow-operations 3.0.2-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/flow-resolvers 3.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/java-apollo-android 3.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/java-common 3.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/java 4.0.2-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/kotlin 3.0.2-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/java-resolvers 3.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/hasura-allow-list 3.1.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/jsdoc 3.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/urql-introspection 3.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-apollo-angular 4.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-apollo-client-helpers 3.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-enum-array 3.1.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-generic-sdk 4.0.2-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-graphql-apollo 2.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-graphql-files-modules 3.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-graphql-request 6.2.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-jit-sdk 3.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-mongodb 3.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-msw 3.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/named-operations-object 3.1.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-nest 1.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-nhost 0.0.3-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-oclif 3.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-react-apollo 4.3.3-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-react-offix 3.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-react-query 6.1.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-rtk-query 3.1.2-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-solid-query 1.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-stencil-apollo 3.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-type-graphql 3.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-urql 4.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-urql-graphcache 3.1.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/urql-svelte-operations-store 2.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-vue-apollo 4.1.2-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-vue-apollo-smart-ops 3.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/typescript-vue-urql 3.2.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/import-types-preset 3.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎
@graphql-codegen/near-operation-file-preset 3.0.1-alpha-20250526100144-68f892966407f6141a54c7569766365d6a4ed02a npm ↗︎ unpkg ↗︎

@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch from 6a1e498 to 19384c7 Compare May 12, 2025 07:48
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch 2 times, most recently from 68f8929 to 50e927e Compare May 27, 2025 22:43
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch from 50e927e to 0cef927 Compare June 15, 2025 11:45
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch from 0cef927 to 818ea54 Compare June 30, 2025 05:34
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch 2 times, most recently from 1179b54 to 7702b50 Compare July 21, 2025 14:06
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch 3 times, most recently from 54a59d4 to 28696a8 Compare August 10, 2025 14:12
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch 2 times, most recently from 63c49da to 8456b6a Compare August 13, 2025 13:38
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch from 8456b6a to 48c6095 Compare August 18, 2025 05:40
@renovate renovate bot force-pushed the renovate/lint-staged-16.x branch from 48c6095 to 77cd239 Compare August 19, 2025 12:37
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.

0 participants