Skip to content

Comments

Bump lefthook from 1.11.4 to 1.11.11#245

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/lefthook-1.11.11
Closed

Bump lefthook from 1.11.4 to 1.11.11#245
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/lefthook-1.11.11

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 21, 2025

Bumps lefthook from 1.11.4 to 1.11.11.

Release notes

Sourced from lefthook's releases.

v1.11.11

Changelog

  • 4c3cf3d7910fd6c7866c03563d7232642cd2faa4 deps: koanf and jsonschema (#1013)
  • 31460096c65f658fdcb069ef3ed9eb90b24fd203 feat: add support for mise (#1007)

v1.11.10

Changelog

  • 91937c8a099af0c19bd0c2303e9a8b42123b1473 deps: bump github.com/pelletier/go-toml/v2 from 2.2.3 to 2.2.4 (#1005) (#1006)
  • b063f9a1284f4a98580d412748df2b612cff5b52 feat: add support for uv (#1004)

v1.11.9

Changelog

  • 573fd6f7341fbdabeaddfbf88edbb31ac5441448 deps: April 2025
  • c85a064be9a4373dbd0cf1ef3f0eecd6f87c35e2 feat(npm): allow installing hooks in CI (#1001)
  • 3e9e205ce678e9e7c6cdc5f44786cf414fa723d2 fix: better logging (#1003)

v1.11.8

Changelog

  • eb38a8a73ab17ae08f0e2135116181a38c8fa6a7 fix: fix command execution error on Windows #989 (#992)
  • d7cf41dc6d5a16a3d6c7791a9e5bd322b8ad326a fix: sh lookup on Windows (#997)

v1.11.7

Changelog

  • eecda2266fbfadfca06c8006f978089913114e79 fix: avoid error logging when determining pre push files (#995)
  • 227c3b3c7e71235d37bd26cdba34e6ad8e136a1d fix: unquote paths to valid UTF-8 (#987)
  • 7baf7a19a9e91aede0b65be5f972389e162479fb packaging: aur fixes (#985)

v1.11.6

Changelog

  • 27ff65390bb79de916f0f38a90569cab2325e932 chore: fancier logging (#983)
  • 6bb2c1c8909befb372ac3e57c3a357c9d43d6990 fix: print git errors (#984)
  • 21770a21e4677de2a01cc9ed54c92a43d6ae307d packaging: maintain lefthook-bin AUR package (#982)

v1.11.5

Changelog

  • 7d14313efc02c79b031a53746298f92fe8e3c973 fix: windows scripts issues (#979)
Changelog

Sourced from lefthook's changelog.

1.11.11 (2025-04-21)

1.11.10 (2025-04-14)

1.11.9 (2025-04-11)

1.11.8 (2025-04-08)

1.11.7 (2025-04-07)

1.11.6 (2025-03-31)

1.11.5 (2025-03-25)

Commits

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)

Summary by Sourcery

Upgrade lefthook from version 1.11.4 to 1.11.11

New Features:

  • Add support for mise tool
  • Add support for uv tool

Bug Fixes:

  • Fix Windows script and command execution issues
  • Improve path handling

Enhancements:

  • Update various dependencies
  • Improve logging

Bumps [lefthook](https://github.com/evilmartians/lefthook) from 1.11.4 to 1.11.11.
- [Release notes](https://github.com/evilmartians/lefthook/releases)
- [Changelog](https://github.com/evilmartians/lefthook/blob/master/CHANGELOG.md)
- [Commits](evilmartians/lefthook@v1.11.4...v1.11.11)

---
updated-dependencies:
- dependency-name: lefthook
  dependency-version: 1.11.11
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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 Apr 21, 2025
@sourcery-ai
Copy link

sourcery-ai bot commented Apr 21, 2025

Reviewer's Guide by Sourcery

This pull request bumps the version of the lefthook dependency from 1.11.4 to 1.11.11. It also updates the versions of vite, @modyfi/vite-plugin-yaml, vite-plugin-dts, and rollup to their latest versions.

Sequence diagram for lefthook execution

sequenceDiagram
  participant Developer
  participant Git
  participant Lefthook
  participant Hook1
  participant Hook2

  Developer->>Git: git commit
  Git->>Lefthook: Triggers pre-commit hook
  Lefthook->>Hook1: Execute Hook1
  activate Hook1
  Hook1->>Git: Runs command (e.g., linting)
  Git-->>Hook1: Returns result
  deactivate Hook1
  Lefthook->>Hook2: Execute Hook2
  activate Hook2
  Hook2->>Git: Runs command (e.g., formatting)
  Git-->>Hook2: Returns result
  deactivate Hook2
  Lefthook-->>Git: Returns success/failure
  Git-->>Developer: Commit successful/failed
Loading

Updated class diagram for lefthook

classDiagram
  class Lefthook {
    -version: string
    +Lefthook(version: string)
    +run()
    +addHook(hook: Hook)
  }

  class Hook {
    -name: string
    -command: string
    +Hook(name: string, command: string)
    +execute()
  }

  Lefthook -- Hook: has many
Loading

File-Level Changes

Change Details Files
Bumped the version of the lefthook dependency.
  • Updated lefthook from version 1.11.4 to 1.11.11.
pnpm-lock.yaml
package.json
Updated the version of the vite dependency.
  • Updated vite from version 6.2.5 to 5.4.18.
pnpm-lock.yaml
Updated the version of the @modyfi/vite-plugin-yaml dependency.
  • Updated @modyfi/vite-plugin-yaml from version 1.1.1(rollup@4.39.0)(vite@6.2.5(@types/node@22.13.14)(yaml@2.7.1)) to 1.1.1(rollup@4.40.0)(vite@5.4.18(@types/node@22.13.14)).
pnpm-lock.yaml
Updated the version of the vite-plugin-dts dependency.
  • Updated vite-plugin-dts from version 4.5.3(@types/node@22.13.14)(rollup@4.39.0)(typescript@5.8.2)(vite@6.2.5(@types/node@22.13.14)(yaml@2.7.1)) to 4.5.3(@types/node@22.13.14)(rollup@4.40.0)(typescript@5.8.2)(vite@5.4.18(@types/node@22.13.14)).
pnpm-lock.yaml
Updated the version of the rollup dependency.
  • Updated rollup from version 4.39.0 to 4.40.0.
pnpm-lock.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai
Copy link

coderabbitai bot commented Apr 21, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 28, 2025

Superseded by #248.

@dependabot dependabot bot closed this Apr 28, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/lefthook-1.11.11 branch April 28, 2025 11:20
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants