Skip to content

Update dependency next-themes to v0.4.6 - #12

Open
renovate-bot wants to merge 1 commit into
Pure-Computers:mainfrom
renovate-bot:renovate/next-themes-0.x-lockfile
Open

Update dependency next-themes to v0.4.6#12
renovate-bot wants to merge 1 commit into
Pure-Computers:mainfrom
renovate-bot:renovate/next-themes-0.x-lockfile

Conversation

@renovate-bot

@renovate-bot renovate-bot commented Mar 16, 2025

Copy link
Copy Markdown

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
next-themes 0.4.40.4.6 age adoption passing confidence

Release Notes

pacocoursey/next-themes (next-themes)

v0.4.6

Compare Source

What's Changed

  • fix: add null check for value in updateDOM function to prevent runtime errors and flashing by @​groveom in #​344

New Contributors

Full Changelog: pacocoursey/next-themes@v0.4.5...v0.4.6

v0.4.5

Compare Source

What's Changed

New Contributors

Full Changelog: pacocoursey/next-themes@v0.4.4...v0.4.5


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.

@vercel

vercel Bot commented Mar 16, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
arcjet-example Error Error Sep 26, 2025 4:06pm

@sourcery-ai

sourcery-ai Bot commented Mar 16, 2025

Copy link
Copy Markdown

Reviewer's Guide by Sourcery

This PR updates the next-themes dependency from version 0.4.4 to 0.4.6. This update includes a fix for a potential runtime error that could cause flashing, improvements to theme mapping in injected scripts, and a reduction in the number of renders by pre-setting the resolvedTheme.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Updated the next-themes dependency to version 0.4.6.
  • Updated next-themes from version 0.4.4 to 0.4.6 in package-lock.json.
package-lock.json
Fixed a potential runtime error and flashing issue by adding a null check in the updateDOM function.
  • Implemented a null check for the value in the updateDOM function.
Improved theme mapping in injected script.
  • Mapped theme to class using ValueObject in injected script.
Reduced the number of renders by pre-setting resolvedTheme.
  • Pre-set resolvedTheme to reduce renders.

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

@netlify

netlify Bot commented Mar 16, 2025

Copy link
Copy Markdown

Deploy Preview for fancy-shortbread-0c3b32 ready!

Name Link
🔨 Latest commit fa87294
🔍 Latest deploy log https://app.netlify.com/projects/fancy-shortbread-0c3b32/deploys/68d6b9536ac0d4000911d0fc
😎 Deploy Preview https://deploy-preview-12--fancy-shortbread-0c3b32.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@renovate-bot
renovate-bot force-pushed the renovate/next-themes-0.x-lockfile branch from fa87294 to e14acc3 Compare February 13, 2026 11:57
@vercel

vercel Bot commented Feb 13, 2026

Copy link
Copy Markdown

@renovate-bot is attempting to deploy a commit to the p-c Team on Vercel.

A member of the Team first needs to authorize it.

@netlify

netlify Bot commented Feb 13, 2026

Copy link
Copy Markdown

Deploy Preview for fancy-shortbread-0c3b32 failed. Why did it fail? →

Name Link
🔨 Latest commit e14acc3
🔍 Latest deploy log https://app.netlify.com/projects/fancy-shortbread-0c3b32/deploys/698f11bd5c357b0008a83583

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