@xylabs/buffer
Advanced tools
Comparing version 2.10.7 to 2.10.8
export { Buffer as BrowserBuffer, Buffer } from 'buffer/'; | ||
export { Buffer as NodeBuffer } from 'node:buffer'; | ||
export { bufferPolyfill as bufferPolyfillNode } from './nodeIndex.js'; | ||
@@ -5,0 +3,0 @@ declare const bufferPolyfillBrowser: () => void; |
@@ -25,6 +25,4 @@ "use strict"; | ||
Buffer: () => import_buffer.Buffer, | ||
NodeBuffer: () => import_node_buffer.Buffer, | ||
bufferPolyfill: () => bufferPolyfillBrowser, | ||
bufferPolyfillBrowser: () => bufferPolyfillBrowser, | ||
bufferPolyfillNode: () => bufferPolyfillNode | ||
bufferPolyfillBrowser: () => bufferPolyfillBrowser | ||
}); | ||
@@ -49,10 +47,2 @@ module.exports = __toCommonJS(src_exports); | ||
}; | ||
// src/node/Buffer.ts | ||
var import_node_buffer = require("buffer"); | ||
// src/node/bufferPolyfill.ts | ||
var bufferPolyfillNode = () => { | ||
return; | ||
}; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
@@ -62,7 +52,5 @@ 0 && (module.exports = { | ||
Buffer, | ||
NodeBuffer, | ||
bufferPolyfill, | ||
bufferPolyfillBrowser, | ||
bufferPolyfillNode | ||
bufferPolyfillBrowser | ||
}); | ||
//# sourceMappingURL=index.js.map |
@@ -91,3 +91,3 @@ { | ||
"sideEffects": false, | ||
"version": "2.10.7" | ||
"version": "2.10.8" | ||
} |
export * from './browser' | ||
export { BrowserBuffer as Buffer, bufferPolyfillBrowser as bufferPolyfill } from './browser' | ||
export * from './node' |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
22711
26
197