Skip to content

fix: Support null-prototype plain objects in converters#2300

Merged
dcodeIO merged 1 commit into
masterfrom
patch/convert-nullproto
Jun 3, 2026
Merged

fix: Support null-prototype plain objects in converters#2300
dcodeIO merged 1 commit into
masterfrom
patch/convert-nullproto

Conversation

@dcodeIO

@dcodeIO dcodeIO commented Jun 3, 2026

Copy link
Copy Markdown
Member

Uses prototype-independent own-property checks in generated verifiers and converters, so null-prototype objects no longer make verify or toObject throw unexpectedly.

Also updates util.isSet to support null-prototype objects.

@dcodeIO dcodeIO requested a review from alexander-fenster June 3, 2026 14:37
@dcodeIO dcodeIO merged commit bf20d84 into master Jun 3, 2026
5 checks passed
@github-actions github-actions Bot mentioned this pull request Jun 3, 2026
@dcodeIO dcodeIO deleted the patch/convert-nullproto branch June 5, 2026 00:06
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