plugin icon indicating copy to clipboard operation
plugin copied to clipboard

[Snyk] Upgrade @homebridge/plugin-ui-utils from 2.0.2 to 2.1.0

Open lenoxys opened this issue 4 months ago • 1 comments

snyk-top-banner

Snyk has created this PR to upgrade @homebridge/plugin-ui-utils from 2.0.2 to 2.1.0.

:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.

  • The recommended version was released a month ago.

Release notes
Package name: @homebridge/plugin-ui-utils
  • 2.1.0 - 2025-06-02

    Changes

    • add method userCurrentLightingMode to get the current lighting mode
      • requires homebridge ui ^4.75.1-beta.2 || ^5.0.0-beta.76
  • 2.0.2 - 2025-03-31

    Homebridge UI Bootstrap Version

    Please note that the Boostrap version in the UI was recently updated from v4 to v5.
    This may cause some style changes to your custom UIs.

    For more information about the changes, please refer to the Bootstrap v5 migration guide.

    Changes

    • update README to document updated UI bootstrap version
    • updated dependencies
    • improve typings
from @homebridge/plugin-ui-utils GitHub release notes

[!IMPORTANT]

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Summary by Sourcery

Upgrade the @homebridge/plugin-ui-utils package to v2.1.0 to include the new userCurrentLightingMode API

New Features:

  • Support fetching the current lighting mode with the new userCurrentLightingMode method from plugin-ui-utils v2.1.0

Build:

  • Upgrade @homebridge/plugin-ui-utils dependency from ^2.0.2 to ^2.1.0

lenoxys avatar Jul 14 '25 23:07 lenoxys

Reviewer's Guide

This PR upgrades the @homebridge/plugin-ui-utils dependency from 2.0.2 to 2.1.0 by updating package.json and regenerating the lockfile; the new version adds the userCurrentLightingMode helper (requiring Homebridge UI ^4.75.1-beta.2 or ^5.0.0-beta.76).

Class diagram for @homebridge/plugin-ui-utils v2.1.0 update

classDiagram
    class PluginUIUtils {
      +userCurrentLightingMode()  // Added in v2.1.0
      ... // other existing methods
    }

File-Level Changes

Change Details Files
Upgrade plugin-ui-utils dependency to 2.1.0
  • Bump @homebridge/plugin-ui-utils version in package.json
  • Regenerate package-lock.json to lock new version
package.json
package-lock.json

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!

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

  • Contact our support team for questions or feedback.
  • Visit our documentation for detailed guides and information.
  • Keep in touch with the Sourcery team by following us on X/Twitter, LinkedIn or GitHub.

sourcery-ai[bot] avatar Jul 14 '25 23:07 sourcery-ai[bot]