@web-std/blob
Version:
Web API compatible Blob implementation
1 lines • 881 B
Source Map (JSON)
{"version":3,"file":"lib.node.cjs","sources":["../../src/lib.node.js"],"sourcesContent":["export { TextEncoder, TextDecoder, ReadableStream } from \"./package.js\"\n// import { Blob as NodeBlob } from \"./blob.node.js\"\nimport { Blob as WebBlob } from \"./blob.js\"\n\n/** @type {typeof globalThis.Blob} */\n// Our first choise is to use global `Blob` because it may be available e.g. in\n// electron renderrer process. If not available fall back to node native\n// implementation, if also not available use our implementation.\nexport const Blob =\n globalThis.Blob || \n // Disable node native blob until impractical perf issue is fixed\n // @see https://github.com/nodejs/node/issues/42108\n // NodeBlob ||\n WebBlob\n"],"names":["WebBlob"],"mappings":";;;;;;;;AAIA;AACA;AACA;AACA;AACY,MAAC,IAAI;AACjB,EAAE,UAAU,CAAC,IAAI;AACjB;AACA;AACA;AACA,EAAEA;;;;;;;;;;;;;;;;;;;;;;"}