Skip to content

chore(deps-dev): bump lint-staged from 15.5.2 to 16.0.0 #334

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

Merged
merged 1 commit into from
May 14, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 12, 2025

Bumps lint-staged from 15.5.2 to 16.0.0.

Release notes

Sourced from lint-staged's releases.

v16.0.0

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 "$@":

    # my-script.sh
    #!/bin/bash
    echo "Staged files: $@"

    and

    { "*.js": "my-script.sh" }

    If you were using the shell option to avoid passing filenames to tasks, for example bash -c 'tsc --noEmit', use the function syntax instead:

    export default { '*.ts': () => 'tsc --noEmit' }
  • #1546 158d15c Thanks @​iiroj! - Validation for deprecated advanced configuration has been removed. The advanced configuration was removed in lint-staged version 9 and until now validation has failed if advanced configuration options were detected. Going forward the entire configuration will be treated with the same logic and if these advanced options are still present, they might be treated as valid globs for staged files instead.

  • #1546 158d15c Thanks @​iiroj! - The lowest supported Node.js version is 20.18. Please upgrade your Node.js version.

Minor Changes

  • #1401 27110ef Thanks @​RohitLuthra19! - Added support for directly running functions on staged files. To configure a function task, use an object with a title and the task itself:

    export default {
      '*.js': {
        title: 'My task',
        task: async (files) => {
          console.log('Staged JS files:', files)
        },
      },
    }

... (truncated)

Changelog

Sourced from lint-staged's changelog.

16.0.0

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 "$@":

    # my-script.sh
    #!/bin/bash
    echo "Staged files: $@"

    and

    { "*.js": "my-script.sh" }

    If you were using the shell option to avoid passing filenames to tasks, for example bash -c 'tsc --noEmit', use the function syntax instead:

    export default { '*.ts': () => 'tsc --noEmit' }
  • #1546 158d15c Thanks @​iiroj! - Validation for deprecated advanced configuration has been removed. The advanced configuration was removed in lint-staged version 9 and until now validation has failed if advanced configuration options were detected. Going forward the entire configuration will be treated with the same logic and if these advanced options are still present, they might be treated as valid globs for staged files instead.

  • #1546 158d15c Thanks @​iiroj! - The lowest supported Node.js version is 20.18. Please upgrade your Node.js version.

Minor Changes

  • #1401 27110ef Thanks @​RohitLuthra19! - Added support for directly running functions on staged files. To configure a function task, use an object with a title and the task itself:

    export default {
      '*.js': {
        title: 'My task',
        task: async (files) => {
          console.log('Staged JS files:', files)
        },
      },
    }

... (truncated)

Commits
  • dad5490 chore(changeset): release
  • 1c19e82 build(deps): update dependencies and require Node.js 20.18
  • 08cf8f5 docs: update README.md and bump nano-spawn as major change
  • 276dcc8 refactor: simplify config validation
  • d4b7cac test: update tests
  • 0ee9ab8 fix: update TypeScript type definitions
  • 12525b2 refactor: rename functions
  • 541c353 refactor: separate "make cmd tasks" and "make function tasks"
  • 27110ef feat: added support for custom configuration
  • 52366f9 ci: update Node.js versions used in CI
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 15.5.2 to 16.0.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@v15.5.2...v16.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 12, 2025
@dependabot dependabot bot requested a review from lumirlumir as a code owner May 12, 2025 01:27
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 12, 2025
Copy link

vercel bot commented May 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
npm-clang-format-node-website ⬜️ Ignored (Inspect) Visit Preview May 12, 2025 1:27am

@github-actions github-actions bot added 🏷️ scope: deps-dev Auto-generated label based on Conventional Commits specification for GitHub release notes 🏷️ type: chore Auto-generated label based on Conventional Commits specification for GitHub release notes labels May 12, 2025
Copy link

Labels have been automatically applied based on the Conventional Commits specification.🏷️

Copy link

codecov bot commented May 12, 2025

Bundle Report

Changes will decrease total bundle size by 60 bytes (-0.01%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
website-esm 603.04kB -60 bytes (-0.01%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: website-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
@localSearchIndexroot.*.js -60 bytes 93.02kB -0.06%

Copy link

codecov bot commented May 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (adc130a) to head (634bfba).
Report is 1 commits behind head on main.

@@            Coverage Diff            @@
##              main      #334   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           11        11           
  Lines          439       439           
=========================================
  Hits           439       439           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update adc130a...634bfba. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lumirlumir lumirlumir merged commit 1ac62aa into main May 14, 2025
38 checks passed
@lumirlumir lumirlumir deleted the dependabot-npm_and_yarn-lint-staged-16.0.0 branch May 14, 2025 07:08
lumirlumir added a commit that referenced this pull request Jul 12, 2025
…ch`) (#399)

## Release Information: `v1.3.4`

New release of `lumirlumir/npm-clang-format-node` has arrived! 🎉

This PR bumps the package versions from `v1.3.3` to `v1.3.4` (`patch`).

See
[Actions](https://github.com/lumirlumir/npm-clang-format-node/actions/runs/16236437387)
for more details.

| Info        | Value                      |
| ----------- | -------------------------- |
| Repository  | `lumirlumir/npm-clang-format-node` |
| SEMVER      | `patch`     |
| Pre ID      | `canary`      |
| Short SHA   | 5862509       |
| Old Version | `v1.3.3`  |
| New Version | `v1.3.4`  |

<!-- Release notes generated using configuration in .github/release.yml
at main -->

## What's Changed
### 🐛 Bug Fixes
* fix(*): update `postinstall` script to remove unnecessary build check
by @lumirlumir in
#398
### 🧰 Chores
* chore(*): update configuration files to use `.cjs` or `.mjs`
extensions by @lumirlumir in
#298
* chore(sync-server): update lint configs and bump package versions by
@lumirlumir in
#310
* chore(sync-server): update `lint-staged` and scripts by @lumirlumir in
#314
* chore(sync-server): update `dependabot.yml` and `.gitignore` by
@lumirlumir in
#326
* chore(sync-server): remove `is-interactive` dependency and update
Codecov configuration by @lumirlumir in
#336
* chore(sync-server): update `dependabot.yml` by @lumirlumir in
#351
* chore(*): run `npm dedupe` for cleanup by @lumirlumir in
#362
* chore(*): remove `bananass-utils-vitepress` dependency by @lumirlumir
in #377
* chore(*): move `FUNDING.yml` files to `.github` repository by
@lumirlumir in
#389
* chore(*): replace `shx` with native Node.js file operations in scripts
by @lumirlumir in
#397
### 🔄 Continuous Integrations
* ci(*): update actions to use docker native action by @lumirlumir in
#393
* ci(*): update `test-cross-platform.yml` by @lumirlumir in
#396
### 🎨 Styles
* style(*): clean up comments and remove unnecessary whitespace in
multiple files by @lumirlumir in
#380
### 🧪 Tests
* test(*): simplify describe blocks in test files by @lumirlumir in
#331
### ⬆️ Dependency Updates
* chore(deps-dev): bump @types/node from 22.13.17 to 22.14.0 by
@dependabot[bot] in
#299
* chore(deps-dev): bump eslint-config-bananass from 0.0.6 to 0.0.7 in
the bananass group across 1 directory by @dependabot[bot] in
#300
* chore(deps-dev): bump eslint from 9.23.0 to 9.24.0 by @dependabot[bot]
in #301
* chore(deps-dev): bump typescript from 5.8.2 to 5.8.3 by
@dependabot[bot] in
#302
* chore(deps-dev): bump vitepress-plugin-group-icons from 1.3.8 to 1.4.1
by @dependabot[bot] in
#303
* chore(deps-dev): bump lerna from 8.2.1 to 8.2.2 by @dependabot[bot] in
#305
* chore(deps-dev): bump @types/node from 22.14.0 to 22.14.1 by
@dependabot[bot] in
#306
* chore(deps-dev): bump textlint-rule-allowed-uris from 1.0.9 to 1.1.0
by @dependabot[bot] in
#308
* chore(deps-dev): bump vitepress-plugin-group-icons from 1.4.1 to 1.5.1
by @dependabot[bot] in
#307
* chore(deps-dev): bump lint-staged from 15.5.0 to 15.5.1 by
@dependabot[bot] in
#311
* chore(deps-dev): bump vitepress-plugin-group-icons from 1.5.1 to 1.5.2
by @dependabot[bot] in
#312
* chore(deps-dev): bump eslint from 9.24.0 to 9.25.0 by @dependabot[bot]
in #315
* chore(deps-dev): bump eslint from 9.25.0 to 9.25.1 by @dependabot[bot]
in #316
* chore(deps-dev): bump @types/node from 22.14.1 to 22.15.0 by
@dependabot[bot] in
#318
* chore(deps-dev): bump the bananass group across 1 directory with 2
updates by @dependabot[bot] in
#317
* chore(deps-dev): bump @types/node from 22.15.0 to 22.15.2 by
@dependabot[bot] in
#320
* chore(deps-dev): bump the bananass group across 1 directory with 2
updates by @dependabot[bot] in
#319
* chore(deps-dev): bump @types/node from 22.15.2 to 22.15.3 by
@dependabot[bot] in
#321
* chore(deps-dev): bump the babel group across 1 directory with 3
updates by @dependabot[bot] in
#322
* chore(deps-dev): bump textlint from 14.6.0 to 14.7.1 by
@dependabot[bot] in
#323
* chore(deps-dev): bump eslint from 9.25.1 to 9.26.0 by @dependabot[bot]
in #324
* chore(deps-dev): bump @types/node from 22.15.3 to 22.15.9 by
@dependabot[bot] in
#325
* chore(deps-dev): bump the babel group across 1 directory with 2
updates by @dependabot[bot] in
#327
* chore(deps-dev): bump lint-staged from 15.5.1 to 15.5.2 by
@dependabot[bot] in
#328
* chore(deps-dev): bump @types/node from 22.15.9 to 22.15.15 by
@dependabot[bot] in
#330
* chore(deps-dev): bump the bananass group across 1 directory with 2
updates by @dependabot[bot] in
#332
* chore(deps-dev): bump @types/node from 22.15.16 to 22.15.17 by
@dependabot[bot] in
#333
* chore(deps-dev): bump lint-staged from 15.5.2 to 16.0.0 by
@dependabot[bot] in
#334
* chore(deps-dev): bump the bananass group across 2 directories with 3
updates by @dependabot[bot] in
#335
* chore(deps): bump undici from 6.21.1 to 6.21.3 in the npm_and_yarn
group across 1 directory by @dependabot[bot] in
#340
* chore(deps-dev): bump vitepress-plugin-group-icons from 1.5.2 to 1.5.5
by @dependabot[bot] in
#341
* chore(deps-dev): bump @types/node from 22.15.17 to 22.15.18 by
@dependabot[bot] in
#338
* chore(deps-dev): bump eslint from 9.26.0 to 9.27.0 by @dependabot[bot]
in #345
* chore(deps-dev): bump markdownlint-cli from 0.44.0 to 0.45.0 by
@dependabot[bot] in
#344
* chore(deps-dev): bump @codecov/vite-plugin from 1.9.0 to 1.9.1 by
@dependabot[bot] in
#346
* chore(deps-dev): bump the bananass group across 2 directories with 3
updates by @dependabot[bot] in
#348
* chore(deps-dev): bump @types/node from 22.15.18 to 22.15.21 by
@dependabot[bot] in
#350
* chore(deps-dev): bump textlint from 14.7.1 to 14.7.2 by
@dependabot[bot] in
#349
* chore(deps-dev): bump @types/node from 22.15.21 to 22.15.24 by
@dependabot[bot] in
#354
* chore(deps-dev): bump @babel/core from 7.27.1 to 7.27.3 in the babel
group across 1 directory by @dependabot[bot] in
#352
* chore(deps-dev): bump @types/node from 22.15.24 to 22.15.26 by
@dependabot[bot] in
#355
* chore(deps-dev): bump lint-staged from 16.0.0 to 16.1.0 by
@dependabot[bot] in
#356
* chore(deps-dev): bump eslint from 9.27.0 to 9.28.0 by @dependabot[bot]
in #358
* chore(deps-dev): bump @babel/core from 7.27.3 to 7.27.4 in the babel
group across 1 directory by @dependabot[bot] in
#357
* chore(deps-dev): bump @types/node from 22.15.26 to 22.15.29 by
@dependabot[bot] in
#359
* chore(deps-dev): bump vitepress-plugin-group-icons from 1.5.5 to 1.6.0
by @dependabot[bot] in
#360
* chore(deps-dev): bump the bananass group across 2 directories with 3
updates by @dependabot[bot] in
#364
* chore(deps-dev): bump textlint-rule-allowed-uris from 1.1.0 to 1.1.1
by @dependabot[bot] in
#366
* chore(deps-dev): bump @types/node from 22.15.29 to 24.0.0 by
@dependabot[bot] in
#367
* chore(deps-dev): bump @types/node from 24.0.0 to 24.0.1 by
@dependabot[bot] in
#368
* chore(deps-dev): bump eslint from 9.28.0 to 9.29.0 by @dependabot[bot]
in #370
* chore(deps-dev): bump lint-staged from 16.1.0 to 16.1.2 by
@dependabot[bot] in
#369
* chore(deps-dev): bump @types/node from 24.0.1 to 24.0.3 by
@dependabot[bot] in
#371
* chore(deps-dev): bump concurrently from 9.1.2 to 9.2.0 by
@dependabot[bot] in
#372
* chore(deps-dev): bump prettier from 3.5.3 to 3.6.0 by @dependabot[bot]
in #373
* chore(deps-dev): bump @babel/core from 7.27.4 to 7.27.7 in the babel
group across 1 directory by @dependabot[bot] in
#376
* chore(deps-dev): bump prettier from 3.6.0 to 3.6.2 by @dependabot[bot]
in #378
* chore(deps-dev): bump eslint from 9.29.0 to 9.30.0 by @dependabot[bot]
in #382
* chore(deps-dev): bump lerna from 8.2.2 to 8.2.3 by @dependabot[bot] in
#381
* chore(deps-dev): bump vitepress-plugin-group-icons from 1.6.0 to 1.6.1
by @dependabot[bot] in
#383
* chore(deps-dev): bump @types/node from 24.0.3 to 24.0.8 by
@dependabot[bot] in
#385
* chore(deps-dev): bump @types/node from 24.0.8 to 24.0.10 by
@dependabot[bot] in
#387
* chore(deps-dev): bump eslint from 9.30.0 to 9.30.1 by @dependabot[bot]
in #386
* chore(deps-dev): bump the babel group across 1 directory with 3
updates by @dependabot[bot] in
#388
* chore(deps-dev): bump the bananass group across 1 directory with 2
updates by @dependabot[bot] in
#391


**Full Changelog**:
v1.3.3...v1.3.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code 🏷️ scope: deps-dev Auto-generated label based on Conventional Commits specification for GitHub release notes 🏷️ type: chore Auto-generated label based on Conventional Commits specification for GitHub release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant