@xylabs/buffer
Advanced tools
Comparing version 2.10.1 to 2.10.2
export { Buffer as BrowserBuffer, Buffer } from 'buffer/'; | ||
export { Buffer as NodeBuffer } from 'buffer'; | ||
export { Buffer as NodeBuffer } from 'node:buffer'; | ||
export { bufferPolyfill as bufferPolyfillNode } from './nodeIndex.js'; | ||
@@ -4,0 +4,0 @@ |
@@ -25,3 +25,3 @@ "use strict"; | ||
Buffer: () => import_buffer.Buffer, | ||
NodeBuffer: () => import_buffer2.Buffer, | ||
NodeBuffer: () => import_node_buffer.Buffer, | ||
bufferPolyfill: () => bufferPolyfillBrowser, | ||
@@ -51,3 +51,3 @@ bufferPolyfillBrowser: () => bufferPolyfillBrowser, | ||
// src/node/Buffer.ts | ||
var import_buffer2 = require("buffer"); | ||
var import_node_buffer = require("buffer"); | ||
@@ -54,0 +54,0 @@ // src/node/bufferPolyfill.ts |
@@ -1,2 +0,2 @@ | ||
export { Buffer, Buffer as NodeBuffer } from 'buffer'; | ||
export { Buffer, Buffer as NodeBuffer } from 'node:buffer'; | ||
@@ -3,0 +3,0 @@ declare const bufferPolyfillNode: () => void; |
@@ -23,4 +23,4 @@ "use strict"; | ||
__export(nodeIndex_exports, { | ||
Buffer: () => import_buffer.Buffer, | ||
NodeBuffer: () => import_buffer.Buffer, | ||
Buffer: () => import_node_buffer.Buffer, | ||
NodeBuffer: () => import_node_buffer.Buffer, | ||
bufferPolyfill: () => bufferPolyfillNode, | ||
@@ -32,3 +32,3 @@ bufferPolyfillNode: () => bufferPolyfillNode | ||
// src/node/Buffer.ts | ||
var import_buffer = require("buffer"); | ||
var import_node_buffer = require("buffer"); | ||
@@ -35,0 +35,0 @@ // src/node/bufferPolyfill.ts |
@@ -15,3 +15,2 @@ { | ||
"docs": "dist/docs.json", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
@@ -40,2 +39,3 @@ ".": { | ||
"./cjs": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.js" | ||
@@ -47,4 +47,13 @@ }, | ||
"./esm": { | ||
"types": "./dist/index.d.mts", | ||
"default": "./dist/index.mjs" | ||
}, | ||
"./node/cjs": { | ||
"types": "./dist/nodeIndex.d.ts", | ||
"default": "./dist/nodeIndex.js" | ||
}, | ||
"./node/esm": { | ||
"types": "./dist/nodeIndex.d.mts", | ||
"default": "./dist/nodeIndex.mjs" | ||
}, | ||
"./package.json": "./package.json" | ||
@@ -69,2 +78,3 @@ }, | ||
"devDependencies": { | ||
"@types/node": "^20.5.9", | ||
"@xylabs/ts-scripts-yarn3": "^2.19.5", | ||
@@ -85,3 +95,3 @@ "@xylabs/tsconfig": "^2.19.5", | ||
"sideEffects": false, | ||
"version": "2.10.1" | ||
"version": "2.10.2" | ||
} |
@@ -1,2 +0,2 @@ | ||
import { Buffer } from 'buffer' | ||
import { Buffer } from 'node:buffer' | ||
export { Buffer as NodeBuffer } |
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
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
24076
7