deps(typebox): upgrade typebox from ^1.0.65 to ^1.1.0#5848
deps(typebox): upgrade typebox from ^1.0.65 to ^1.1.0#5848
Conversation
typebox 1.1.x adds EvaluateUnionFast, IsTemplateLiteralFinite and IsTemplateLiteralPattern exports. Update the ajv-decorator snapshot to reflect the new stable exports. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (1)
📝 WalkthroughWalkthroughUpdated the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request updates several core dependencies across the workspace, most notably upgrading typebox to version 1.1.9, @parcel/watcher to 2.5.6, lightningcss to 1.32.0, and postcss to 8.5.8. Additionally, it introduces @emnapi/core and @emnapi/runtime as peer dependencies for WASM-related packages including rolldown, oxc-resolver, and tsdown. Test snapshots for the ajv-decorator package have been updated to include new typebox exports such as EvaluateUnionFast and TemplateLiteralDecodeUnsafe. I have no feedback to provide.
Deploying egg with
|
| Latest commit: |
3c04597
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6e70b39e.egg-cci.pages.dev |
| Branch Preview URL: | https://chore-typebox-upgrade.egg-cci.pages.dev |
Deploying egg-v3 with
|
| Latest commit: |
3c04597
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://43d11a47.egg-v3.pages.dev |
| Branch Preview URL: | https://chore-typebox-upgrade.egg-v3.pages.dev |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## next #5848 +/- ##
==========================================
+ Coverage 85.39% 88.37% +2.97%
==========================================
Files 666 9 -657
Lines 13171 43 -13128
Branches 1522 8 -1514
==========================================
- Hits 11248 38 -11210
+ Misses 1791 5 -1786
+ Partials 132 0 -132 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Upgrades the workspace-managed typebox dependency to align local pnpm installs with CI (utoo) resolution, and updates @eggjs/ajv-decorator export snapshots to match the new TypeBox export surface.
Changes:
- Bump
typeboxcatalog version from^1.0.65to^1.1.0(resolved to1.1.9in lockfile). - Update
@eggjs/ajv-decoratorsnapshot to include new TypeBox exports. - Refresh
pnpm-lock.yamlresolution output.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| tegg/core/ajv-decorator/test/snapshots/index.test.ts.snap | Snapshot updated for TypeBox 1.1.x export changes. |
| pnpm-workspace.yaml | Catalog version bump for typebox. |
| pnpm-lock.yaml | Lockfile updated to resolve typebox@1.1.9 (and other resolution changes). |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
| dependencies: | ||
| vitepress: | ||
| specifier: 'catalog:' | ||
| version: 2.0.0-alpha.15(@types/node@24.10.2)(axios@1.13.5)(esbuild@0.27.0)(jiti@2.6.1)(less@4.4.2)(nprogress@0.2.0)(oxc-minify@0.105.0)(postcss@8.5.6)(sass@1.93.2)(terser@5.44.0)(tsx@4.20.6)(typescript@5.9.3)(yaml@2.8.2) | ||
| version: 2.0.0-alpha.15(@emnapi/core@1.7.1)(@emnapi/runtime@1.7.1)(@types/node@24.10.2)(axios@1.13.5)(esbuild@0.27.0)(jiti@2.6.1)(less@4.4.2)(nprogress@0.2.0)(oxc-minify@0.105.0)(postcss@8.5.8)(sass@1.93.2)(terser@5.44.0)(tsx@4.20.6)(typescript@5.9.3)(yaml@2.8.2) | ||
| vitepress-plugin-llms: |
There was a problem hiding this comment.
pnpm-lock.yaml contains a number of dependency/version changes beyond the stated TypeBox bump (e.g. vitepress’ resolved dependency set changes here, and elsewhere in the lockfile there are updates like @parcel/watcher/postcss/unplugin/etc). If the intent is only to upgrade typebox, consider regenerating the lockfile in a way that minimizes unrelated resolution drift (or split these extra dependency updates into a separate PR / mention them explicitly in the PR description).
Summary
^1.0.65to^1.1.0(resolved to 1.1.9)@eggjs/ajv-decoratorsnapshot to include new exports:EvaluateUnionFast,IsTemplateLiteralFinite,IsTemplateLiteralPatternWhy
ut install --from pnpmwas installing a newer typebox than the pnpm lockfile pinned version, causing the@eggjs/ajv-decoratorsnapshot test to fail in CI. Updating the catalog version and lockfile ensures consistency between local pnpm and CI utoo environments.🤖 Generated with Claude Code
Summary by CodeRabbit