Skip to content

Commit

Permalink
Temporarily add node 18 globals
Browse files Browse the repository at this point in the history
  • Loading branch information
devinivy committed Apr 23, 2022
1 parent db5562b commit 7f5588a
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion lib/modules/leaks.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,27 @@ const internals = {

// External symbols

'Symbol(graceful-fs.queue)'
'Symbol(graceful-fs.queue)',

// For node v18: remove these once #1044 lands in v25 branch

'ReadableStream',
'ReadableStreamDefaultReader',
'ReadableStreamBYOBReader',
'ReadableStreamBYOBRequest',
'ReadableByteStreamController',
'ReadableStreamDefaultController',
'TransformStream',
'TransformStreamDefaultController',
'WritableStream',
'WritableStreamDefaultWriter',
'WritableStreamDefaultController',
'ByteLengthQueuingStrategy',
'CountQueuingStrategy',
'TextEncoderStream',
'TextDecoderStream',
'CompressionStream',
'DecompressionStream'
],

symbols: [
Expand Down

0 comments on commit 7f5588a

Please sign in to comment.