Skip to content

Streams cleanups, migrate from jsg::BufferSource/jsg::Value/v8::Local to jsg::Js* types#6691

Open
jasnell wants to merge 11 commits intomainfrom
jasnell/streams-updates-jsvalues
Open

Streams cleanups, migrate from jsg::BufferSource/jsg::Value/v8::Local to jsg::Js* types#6691
jasnell wants to merge 11 commits intomainfrom
jasnell/streams-updates-jsvalues

Conversation

@jasnell
Copy link
Copy Markdown
Collaborator

@jasnell jasnell commented Apr 28, 2026

The jsg::BufferSource will be fully replaced by the the
JsArrayBuffer/JsSharedArrayBuffer/JsBufferSource/JsUint8Array
APIs.

Most of this update is mechanical, replacing jsg::BufferSource/jsg::Value/jsg::V8Ref uses with jsg::Js* types. There are a couple small fixes and improvements along the way.

It's difficult to split this up into smaller Prs so I split up commits a bit. The last commit is larger simply because of how interconnected much of this is.

@jasnell jasnell requested review from guybedford and npaun April 28, 2026 23:56
@jasnell jasnell requested review from a team as code owners April 28, 2026 23:56
ask-bonk[bot]

This comment was marked as resolved.

@ask-bonk

This comment was marked as resolved.

@jasnell jasnell changed the title Expand JsArrayBuffer/Uint8Array/BufferSource APIs Streams cleanups, migrate from jsg::BufferSource/jsg::Value/v8::Local to jsg::Js* types Apr 29, 2026
@jasnell jasnell force-pushed the jasnell/streams-updates-jsvalues branch from c6536aa to 62be869 Compare April 29, 2026 18:21
@jasnell jasnell force-pushed the jasnell/streams-updates-jsvalues branch from 62be869 to 530ed1c Compare April 29, 2026 18:44
@codspeed-hq

This comment was marked as outdated.

@codecov-commenter

This comment was marked as low quality.

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