compressing 1.6.1 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/History.md +6 -0
- package/index.d.ts +1 -0
- package/lib/tar/file_stream.js +1 -1
- package/lib/tar/stream.js +1 -1
- package/package.json +1 -1
package/History.md
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
|
|
2
|
+
1.6.2 / 2022-07-11
|
|
3
|
+
==================
|
|
4
|
+
|
|
5
|
+
**fixes**
|
|
6
|
+
* [[`96226d3`](http://github.com/node-modules/compressing/commit/96226d363c7c8fa9ef1a8098af646de19e729ce7)] - fix: add `suppressSizeWarning` to types and typo fix (#72) (Zeeko <<zeeko@zeeko.dev>>)
|
|
7
|
+
|
|
2
8
|
1.6.1 / 2022-07-11
|
|
3
9
|
==================
|
|
4
10
|
|
package/index.d.ts
CHANGED
package/lib/tar/file_stream.js
CHANGED
|
@@ -45,7 +45,7 @@ class TarFileStream extends stream.Transform {
|
|
|
45
45
|
});
|
|
46
46
|
} else {
|
|
47
47
|
if (!opts.suppressSizeWarning) {
|
|
48
|
-
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.
|
|
48
|
+
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');
|
|
49
49
|
}
|
|
50
50
|
const buf = [];
|
|
51
51
|
this.entry = new stream.Writable({
|
package/lib/tar/stream.js
CHANGED
|
@@ -101,7 +101,7 @@ class TarStream extends BaseStream {
|
|
|
101
101
|
entry.pipe(entryStream);
|
|
102
102
|
} else {
|
|
103
103
|
if (!opts.suppressSizeWarning) {
|
|
104
|
-
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.
|
|
104
|
+
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');
|
|
105
105
|
}
|
|
106
106
|
const buf = [];
|
|
107
107
|
const collectStream = new stream.Writable({
|