Skip to content

deps(typebox): upgrade typebox from ^1.0.65 to ^1.1.0#5848

Open
elrrrrrrr wants to merge 1 commit intonextfrom
chore-typebox-upgrade
Open

deps(typebox): upgrade typebox from ^1.0.65 to ^1.1.0#5848
elrrrrrrr wants to merge 1 commit intonextfrom
chore-typebox-upgrade

Conversation

@elrrrrrrr
Copy link
Copy Markdown

@elrrrrrrr elrrrrrrr commented Mar 30, 2026

Summary

  • Upgrade typebox from ^1.0.65 to ^1.1.0 (resolved to 1.1.9)
  • Update @eggjs/ajv-decorator snapshot to include new exports: EvaluateUnionFast, IsTemplateLiteralFinite, IsTemplateLiteralPattern

Why

ut install --from pnpm was installing a newer typebox than the pnpm lockfile pinned version, causing the @eggjs/ajv-decorator snapshot 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

  • Chores
    • Updated internal dependencies to improve stability and compatibility.

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>
Copilot AI review requested due to automatic review settings March 30, 2026 09:43
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 30, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 12ec2f24-a463-4712-ab26-f455c8e9139b

📥 Commits

Reviewing files that changed from the base of the PR and between aa1c3b2 and 3c04597.

⛔ Files ignored due to path filters (2)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
  • tegg/core/ajv-decorator/test/__snapshots__/index.test.ts.snap is excluded by !**/*.snap
📒 Files selected for processing (1)
  • pnpm-workspace.yaml

📝 Walkthrough

Walkthrough

Updated the typebox dependency version in the pnpm workspace catalog from ^1.0.65 to ^1.1.0, modifying the pinned version constraint that applies across the workspace for consistent dependency resolution.

Changes

Cohort / File(s) Summary
Dependency Version Update
pnpm-workspace.yaml
Bumped typebox catalog entry from ^1.0.65 to ^1.1.0 for workspace-wide dependency consistency.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Poem

🐰 A little hop from one point six-five,
To one point one, now typebox will thrive,
In versions we trust, in catalogs we're keen,
The workspace bumps up—a patch in between! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: upgrading typebox from ^1.0.65 to ^1.1.0, which is the primary objective of the pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore-typebox-upgrade

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

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.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying egg with  Cloudflare Pages  Cloudflare Pages

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

View logs

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying egg-v3 with  Cloudflare Pages  Cloudflare Pages

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

View logs

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.37%. Comparing base (aa1c3b2) to head (3c04597).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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 typebox catalog version from ^1.0.65 to ^1.1.0 (resolved to 1.1.9 in lockfile).
  • Update @eggjs/ajv-decorator snapshot to include new TypeBox exports.
  • Refresh pnpm-lock.yaml resolution 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

Comment on lines 2052 to 2056
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:
Copy link

Copilot AI Mar 30, 2026

Choose a reason for hiding this comment

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

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).

Copilot uses AI. Check for mistakes.
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.

2 participants