File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
export { TextEncoder , TextDecoder , ReadableStream } from "./package.js"
2
- import { Blob as NodeBlob } from "./blob.node.js"
2
+ // import { Blob as NodeBlob } from "./blob.node.js"
3
3
import { Blob as WebBlob } from "./blob.js"
4
4
5
5
/** @type {typeof globalThis.Blob } */
6
6
// Our first choise is to use global `Blob` because it may be available e.g. in
7
7
// electron renderrer process. If not available fall back to node native
8
8
// implementation, if also not available use our implementation.
9
- export const Blob = globalThis . Blob || NodeBlob || WebBlob
9
+ export const Blob =
10
+ globalThis . Blob ||
11
+ // Disable node native blob until impractical perf issue is fixed
12
+ // @see https://github.com/nodejs/node/issues/42108
13
+ // NodeBlob ||
14
+ WebBlob
You can’t perform that action at this time.
0 commit comments