Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix writing to websocketstream with SharedArrayBuffer/SharedArrayBuff…#4504

Merged
KhafraDev merged 1 commit intonodejs:mainfrom
KhafraDev:websocketstream-nonbuffersourcestring
Sep 2, 2025
Merged

fix writing to websocketstream with SharedArrayBuffer/SharedArrayBuff…#4504
KhafraDev merged 1 commit intonodejs:mainfrom
KhafraDev:websocketstream-nonbuffersourcestring

Conversation

@KhafraDev
Copy link
Member

…er view

This relates to...

Rationale

Changes

Features

Bug Fixes

Breaking Changes and Deprecations

Status

@KhafraDev KhafraDev marked this pull request as ready for review September 1, 2025 23:20
return webidl.converters.USVString(V)
}

return webidl.converters.BufferSource(V)
Copy link
Member

Choose a reason for hiding this comment

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

The only minor thing with this approach is that the failure message on passing an invalid type will only list ArrayBuffer and ArrayBufferView as valid types, not DOMString.

@KhafraDev KhafraDev merged commit 8c152d2 into nodejs:main Sep 2, 2025
29 of 30 checks passed
@github-actions github-actions bot mentioned this pull request Sep 9, 2025
slagiewka pushed a commit to slagiewka/undici that referenced this pull request Feb 14, 2026
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.

4 participants