Remove debug messages and bump version for release
This commit is contained in:
parent
8367213725
commit
a157685fcc
2 changed files with 1 additions and 3 deletions
|
@ -379,11 +379,9 @@ class BrowserBuffer {
|
||||||
|
|
||||||
export function getBufferClass() : BufferConstructor {
|
export function getBufferClass() : BufferConstructor {
|
||||||
if (typeof(Buffer) === "undefined") {
|
if (typeof(Buffer) === "undefined") {
|
||||||
console.log("Using BrowserBuffer implementation.");
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
return BrowserBuffer;
|
return BrowserBuffer;
|
||||||
} else {
|
} else {
|
||||||
console.log("Using native Buffer implementation.");
|
|
||||||
return Buffer;
|
return Buffer;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "bufferstuff",
|
"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",
|
"description": "A set of utility classes for reading and writing binary data in NodeJS and the browser",
|
||||||
"main": "./lib/index.js",
|
"main": "./lib/index.js",
|
||||||
"types": "./lib/index.d.ts",
|
"types": "./lib/index.d.ts",
|
||||||
|
|
Loading…
Reference in a new issue