compressing
Advanced tools
Comparing version 1.6.1 to 1.6.2
1.6.2 / 2022-07-11 | ||
================== | ||
**fixes** | ||
* [[`96226d3`](http://github.com/node-modules/compressing/commit/96226d363c7c8fa9ef1a8098af646de19e729ce7)] - fix: add `suppressSizeWarning` to types and typo fix (#72) (Zeeko <<zeeko@zeeko.dev>>) | ||
1.6.1 / 2022-07-11 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -11,2 +11,3 @@ import { ReadStream, WriteStream } from 'fs' | ||
size?: number | ||
suppressSizeWarning?: boolean | ||
} | ||
@@ -13,0 +14,0 @@ |
@@ -48,3 +48,3 @@ 'use strict'; | ||
if (!opts.suppressSizeWarning) { | ||
console.warn('You should specify the size of streamming data by opts.size to prevent all streaming data from loading into memory. If you are sure about memory cost, pass opts.supressSizeWarning: true to suppress this warning'); | ||
console.warn('You should specify the size of streamming data by opts.size to prevent all streaming data from loading into memory. If you are sure about memory cost, pass opts.suppressSizeWarning: true to suppress this warning'); | ||
} | ||
@@ -51,0 +51,0 @@ const buf = []; |
@@ -104,3 +104,3 @@ 'use strict'; | ||
if (!opts.suppressSizeWarning) { | ||
console.warn('You should specify the size of streamming data by opts.size to prevent all streaming data from loading into memory. If you are sure about memory cost, pass opts.supressSizeWarning: true to suppress this warning'); | ||
console.warn('You should specify the size of streamming data by opts.size to prevent all streaming data from loading into memory. If you are sure about memory cost, pass opts.suppressSizeWarning: true to suppress this warning'); | ||
} | ||
@@ -107,0 +107,0 @@ const buf = []; |
{ | ||
"name": "compressing", | ||
"version": "1.6.1", | ||
"version": "1.6.2", | ||
"description": "Everything you need for compressing and uncompressing", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
54049
949