Skip to content

fix: use Type.equals() for bundler-safe type comparisons#141

Merged
rvagg merged 1 commit into
masterfrom
rvagg/bundlesafe
Jan 19, 2026
Merged

fix: use Type.equals() for bundler-safe type comparisons#141
rvagg merged 1 commit into
masterfrom
rvagg/bundlesafe

Conversation

@rvagg

@rvagg rvagg commented Jan 19, 2026

Copy link
Copy Markdown
Member

Updates cborg to ^4.4.0 and replaces direct === comparisons on Type instances with Type.equals() to handle cases where bundlers create duplicate copies of the cborg module.

Ref: rvagg/cborg#159
Ref: rvagg/cborg#136
Closes: #134

@rvagg rvagg requested a review from vmx January 19, 2026 04:46
Updates cborg to ^4.4.0 and replaces direct === comparisons on Type
instances with Type.equals() to handle cases where bundlers create
duplicate copies of the cborg module.

Ref: rvagg/cborg#159
Ref: rvagg/cborg#136
Closes: #134
@rvagg rvagg merged commit e66a8ea into master Jan 19, 2026
19 checks passed
@rvagg rvagg deleted the rvagg/bundlesafe branch January 19, 2026 11:52
github-actions Bot pushed a commit that referenced this pull request Jan 19, 2026
## [10.2.6](v10.2.5...v10.2.6) (2026-01-19)

### Bug Fixes

* use Type.equals() for bundler-safe type comparisons ([#141](#141)) ([e66a8ea](e66a8ea))
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 10.2.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants