-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix(deps): update dependency next-themes to v0.4.6 #9
base: main
Are you sure you want to change the base?
Conversation
## Sourcery 审查者指南
此 pull request 将 next-themes 依赖从 0.4.4 版本更新到 0.4.6 版本。此更新包括修复潜在的运行时错误和闪烁问题,通过预设 resolvedTheme 减少渲染次数,并在注入的脚本中使用 ValueObject 将主题映射到类。
_由于更改看起来很简单,不需要可视化表示,因此未生成图表。_
### 文件级别更改
| 变更 | 详情 read more at the top. | ------ | ------- | ----- |
| Updated the next-themes dependency from version 0.4.4 to 0.4.6. | <ul><li>Updated next-themes to version 0.4.6 in yarn.lock.</li></ul> | `yarn.lock` |
| Fixed a potential runtime error and flashing issue by adding a null check in the updateDOM function. | <ul><li>Added a null check for value in updateDOM function.</li></ul> | `yarn.lock` |
| Reduced the number of renders by pre-setting resolvedTheme. | <ul><li>Pre-set resolvedTheme to reduce renders.</li></ul> | `yarn.lock` |
| Mapped theme to class using ValueObject in injected script. | <ul><li>Mapped theme to class using ValueObject.</li></ul> | `yarn.lock` |
---
<details>
<summary>提示和命令</summary>
#### 与 Sourcery 交互
- **触发新的审查:** 在 pull request 上评论 `@sourcery-ai review`。
- **继续讨论:** 直接回复 Sourcery 的审查评论。
- **从审查评论生成 GitHub issue:** 通过回复审查评论,要求 Sourcery 从审查评论创建一个 issue。您也可以回复带有 `@sourcery-ai issue` 的审查评论以从中创建一个 issue。
- **生成 pull request 标题:** 在 pull request 标题中的任何位置写入 `@sourcery-ai` 以随时生成标题。您也可以在 pull request 上评论 `@sourcery-ai title` 以随时(重新)生成标题。
- **生成 pull request 摘要:** 在 pull request 正文中的任何位置写入 `@sourcery-ai summary` 以随时在您想要的位置生成 PR 摘要。您也可以在 pull request 上评论 `@sourcery-ai summary` 以随时(重新)生成摘要。
- **生成审查者指南:** 在 pull request 上评论 `@sourcery-ai guide` 以随时(重新)生成审查者指南。
- **解决所有 Sourcery 评论:** 在 pull request 上评论 `@sourcery-ai resolve` 以解决所有 Sourcery 评论。如果您已经解决了所有评论并且不想再看到它们,这将非常有用。
- **忽略所有 Sourcery 审查:** 在 pull request 上评论 `@sourcery-ai dismiss` 以忽略所有现有的 Sourcery 审查。如果您想从新的审查开始,这将特别有用 - 不要忘记评论 `@sourcery-ai review` 以触发新的审查!
- **为 issue 生成行动计划:** 在 issue 上评论 `@sourcery-ai plan` 以为其生成行动计划。
#### 自定义您的体验
访问您的 [仪表板](https://app.sourcery.ai) 以:
- 启用或禁用审查功能,例如 Sourcery 生成的 pull request 摘要、审查者指南等。
- 更改审查语言。
- 添加、删除或编辑自定义审查说明。
- 调整其他审查设置。
#### 获取帮助
- [联系我们的支持团队](mailto:[email protected]) 提出问题或反馈。
- 访问我们的 [文档](https://docs.sourcery.ai) 以获取详细的指南和信息。
- 通过在 [X/Twitter](https://x.com/SourceryAI)、[LinkedIn](https://www.linkedin.com/company/sourcery-ai/) 或 [GitHub](https://github.com/sourcery-ai) 上关注我们,与 Sourcery 团队保持联系。
</details> Original review guide in EnglishReviewer's Guide by SourceryThis pull request updates the next-themes dependency from version 0.4.4 to 0.4.6. This update includes a fix for a potential runtime error and flashing issue, reduces the number of renders by pre-setting resolvedTheme and maps theme to class using ValueObject in injected script. No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我们跳过了对此拉取请求的审查。它似乎是由一个机器人创建的(嘿,renovate[bot]!)。我们假设它知道自己在做什么!
Original comment in English
We have skipped reviewing this pull request. It seems to have been created by a bot (hey, renovate[bot]!). We assume it knows what it's doing!
7785466
to
ab894bf
Compare
Deploy preview for blog ready! ✅ Preview Built with commit ab894bf. |
🚦 Running Lighthouse audit... |
⏱ Running budget checks... |
This PR contains the following updates:
0.4.4
->0.4.6
Release Notes
pacocoursey/next-themes (next-themes)
v0.4.6
Compare Source
What's Changed
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: 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.
This PR was generated by Mend Renovate. View the repository job log.