Skip to content

Commit

Permalink
Remove debug messages and bump version for release
Browse files Browse the repository at this point in the history
  • Loading branch information
tgpholly committed Oct 24, 2023
1 parent 8367213 commit a157685
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions base/BufferShim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -379,11 +379,9 @@ class BrowserBuffer {

export function getBufferClass() : BufferConstructor {
if (typeof(Buffer) === "undefined") {
console.log("Using BrowserBuffer implementation.");
// @ts-ignore
return BrowserBuffer;
} else {
console.log("Using native Buffer implementation.");
return Buffer;
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bufferstuff",
"version": "1.3.2",
"version": "1.3.3",
"description": "A set of utility classes for reading and writing binary data in NodeJS and the browser",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down

0 comments on commit a157685

Please sign in to comment.