File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ class RemoteExecutor implements QueryExecutor {
178178 while ( true ) {
179179 const { done, value } = await reader . read ( ) ;
180180 if ( done ) break ;
181- pending = pending . length > 0 ? concat ( pending , value ) : value ;
181+ pending = pending . length > 0 ? concat ( pending , new Uint8Array ( value ) ) : new Uint8Array ( value ) ;
182182
183183 // Process complete frames
184184 while ( pending . length >= 4 ) {
Original file line number Diff line number Diff line change 33 * DurableObject is a base class provided by the Workers runtime —
44 * tests run in Node and need a minimal stand-in.
55 */
6- if ( typeof globalThis . DurableObject === "undefined" ) {
6+ if ( typeof ( globalThis as Record < string , unknown > ) . DurableObject === "undefined" ) {
77 ( globalThis as Record < string , unknown > ) . DurableObject = class DurableObject {
88 protected ctx : unknown ;
99 protected env : unknown ;
You can’t perform that action at this time.
0 commit comments