extract-base-iterator 3.3.2 → 3.3.4
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/dist/cjs/shared/EntryStream.d.cts +4 -2
- package/dist/cjs/shared/EntryStream.d.ts +4 -2
- package/dist/cjs/shared/EntryStream.js +17 -4
- package/dist/cjs/shared/EntryStream.js.map +1 -1
- package/dist/cjs/shared/index.d.cts +8 -1
- package/dist/cjs/shared/index.d.ts +8 -1
- package/dist/cjs/shared/index.js.map +1 -1
- package/dist/esm/shared/EntryStream.d.ts +4 -2
- package/dist/esm/shared/EntryStream.js +10 -2
- package/dist/esm/shared/EntryStream.js.map +1 -1
- package/dist/esm/shared/index.d.ts +8 -1
- package/dist/esm/shared/index.js +2 -1
- package/dist/esm/shared/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -10,12 +10,13 @@
|
|
|
10
10
|
* - tar-iterator
|
|
11
11
|
* - Any other archive iterator library
|
|
12
12
|
*/
|
|
13
|
-
import
|
|
13
|
+
import Stream from 'stream';
|
|
14
|
+
declare let ReadableBase: typeof Stream.Readable;
|
|
14
15
|
/**
|
|
15
16
|
* Base stream class for archive entry content.
|
|
16
17
|
* Can be extended for special entry types like sparse files.
|
|
17
18
|
*/
|
|
18
|
-
export default class EntryStream extends
|
|
19
|
+
export default class EntryStream extends ReadableBase {
|
|
19
20
|
protected _ended: boolean;
|
|
20
21
|
/**
|
|
21
22
|
* Signal end of stream by pushing null
|
|
@@ -31,3 +32,4 @@ export default class EntryStream extends Readable {
|
|
|
31
32
|
*/
|
|
32
33
|
_read(_size: number): void;
|
|
33
34
|
}
|
|
35
|
+
export {};
|
|
@@ -10,12 +10,13 @@
|
|
|
10
10
|
* - tar-iterator
|
|
11
11
|
* - Any other archive iterator library
|
|
12
12
|
*/
|
|
13
|
-
import
|
|
13
|
+
import Stream from 'stream';
|
|
14
|
+
declare let ReadableBase: typeof Stream.Readable;
|
|
14
15
|
/**
|
|
15
16
|
* Base stream class for archive entry content.
|
|
16
17
|
* Can be extended for special entry types like sparse files.
|
|
17
18
|
*/
|
|
18
|
-
export default class EntryStream extends
|
|
19
|
+
export default class EntryStream extends ReadableBase {
|
|
19
20
|
protected _ended: boolean;
|
|
20
21
|
/**
|
|
21
22
|
* Signal end of stream by pushing null
|
|
@@ -31,3 +32,4 @@ export default class EntryStream extends Readable {
|
|
|
31
32
|
*/
|
|
32
33
|
_read(_size: number): void;
|
|
33
34
|
}
|
|
35
|
+
export {};
|
|
@@ -19,7 +19,7 @@ Object.defineProperty(exports, "default", {
|
|
|
19
19
|
return EntryStream;
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
var
|
|
22
|
+
var _stream = /*#__PURE__*/ _interop_require_default(require("stream"));
|
|
23
23
|
function _assert_this_initialized(self) {
|
|
24
24
|
if (self === void 0) {
|
|
25
25
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -68,6 +68,11 @@ function _inherits(subClass, superClass) {
|
|
|
68
68
|
});
|
|
69
69
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
70
70
|
}
|
|
71
|
+
function _interop_require_default(obj) {
|
|
72
|
+
return obj && obj.__esModule ? obj : {
|
|
73
|
+
default: obj
|
|
74
|
+
};
|
|
75
|
+
}
|
|
71
76
|
function _possible_constructor_return(self, call) {
|
|
72
77
|
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
73
78
|
return call;
|
|
@@ -93,9 +98,17 @@ function _is_native_reflect_construct() {
|
|
|
93
98
|
return !!result;
|
|
94
99
|
})();
|
|
95
100
|
}
|
|
96
|
-
|
|
101
|
+
// Use native streams when available, readable-stream only for Node 0.x
|
|
102
|
+
var major = +process.versions.node.split('.')[0];
|
|
103
|
+
var ReadableBase;
|
|
104
|
+
if (major > 0) {
|
|
105
|
+
ReadableBase = _stream.default.Readable;
|
|
106
|
+
} else {
|
|
107
|
+
ReadableBase = require('readable-stream').Readable;
|
|
108
|
+
}
|
|
109
|
+
var EntryStream = /*#__PURE__*/ function(ReadableBase) {
|
|
97
110
|
"use strict";
|
|
98
|
-
_inherits(EntryStream,
|
|
111
|
+
_inherits(EntryStream, ReadableBase);
|
|
99
112
|
function EntryStream() {
|
|
100
113
|
_class_call_check(this, EntryStream);
|
|
101
114
|
var _this;
|
|
@@ -127,5 +140,5 @@ var EntryStream = /*#__PURE__*/ function(Readable) {
|
|
|
127
140
|
}
|
|
128
141
|
]);
|
|
129
142
|
return EntryStream;
|
|
130
|
-
}(
|
|
143
|
+
}(ReadableBase);
|
|
131
144
|
/* CJS INTEROP */ if (exports.__esModule && exports.default) { try { Object.defineProperty(exports.default, '__esModule', { value: true }); for (var key in exports) { exports.default[key] = exports[key]; } } catch (_) {}; module.exports = exports.default; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/iterators/extract-base-iterator/src/shared/EntryStream.ts"],"sourcesContent":["/**\n * EntryStream - Simple readable stream for entry content\n *\n * Extends Readable to emit 'data', 'end', 'error' events.\n * Node 0.8 compatible via readable-stream polyfill.\n *\n * This base class is designed to be used by:\n * - zip-iterator\n * - 7z-iterator\n * - tar-iterator\n * - Any other archive iterator library\n */\n\nimport { Readable
|
|
1
|
+
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/iterators/extract-base-iterator/src/shared/EntryStream.ts"],"sourcesContent":["/**\n * EntryStream - Simple readable stream for entry content\n *\n * Extends Readable to emit 'data', 'end', 'error' events.\n * Node 0.8 compatible via readable-stream polyfill.\n *\n * This base class is designed to be used by:\n * - zip-iterator\n * - 7z-iterator\n * - tar-iterator\n * - Any other archive iterator library\n */\n\nimport Stream from 'stream';\n\n// Use native streams when available, readable-stream only for Node 0.x\nconst major = +process.versions.node.split('.')[0];\nlet ReadableBase: typeof Stream.Readable;\nif (major > 0) {\n ReadableBase = Stream.Readable;\n} else {\n ReadableBase = require('readable-stream').Readable;\n}\n\n/**\n * Base stream class for archive entry content.\n * Can be extended for special entry types like sparse files.\n */\nexport default class EntryStream extends ReadableBase {\n protected _ended = false;\n\n /**\n * Signal end of stream by pushing null\n */\n end(): void {\n if (this._ended) return;\n this._ended = true;\n this.push(null);\n }\n\n /**\n * Check if stream has ended\n */\n get ended(): boolean {\n return this._ended;\n }\n\n /**\n * Required by Readable - called when consumer wants data.\n * Data is pushed externally via push(), nothing to do here.\n */\n _read(_size: number): void {\n // Data is pushed externally, nothing to do here\n }\n}\n"],"names":["EntryStream","major","process","versions","node","split","ReadableBase","Stream","Readable","require","_ended","end","push","_read","_size","ended"],"mappings":"AAAA;;;;;;;;;;;CAWC;;;;;;;eAiBoBA;;;6DAfF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEnB,uEAAuE;AACvE,IAAMC,QAAQ,CAACC,QAAQC,QAAQ,CAACC,IAAI,CAACC,KAAK,CAAC,IAAI,CAAC,EAAE;AAClD,IAAIC;AACJ,IAAIL,QAAQ,GAAG;IACbK,eAAeC,eAAM,CAACC,QAAQ;AAChC,OAAO;IACLF,eAAeG,QAAQ,mBAAmBD,QAAQ;AACpD;AAMe,IAAA,AAAMR,4BAAN;;cAAMA;aAAAA;gCAAAA;;gBAAN,kBAAMA,+BACTU,SAAS;;;iBADAV;IAGnB;;GAEC,GACDW,OAAAA,GAIC,GAJDA,SAAAA;QACE,IAAI,IAAI,CAACD,MAAM,EAAE;QACjB,IAAI,CAACA,MAAM,GAAG;QACd,IAAI,CAACE,IAAI,CAAC;IACZ;IASA;;;GAGC,GACDC,OAAAA,KAEC,GAFDA,SAAAA,MAAMC,KAAa;IACjB,gDAAgD;IAClD;kBAzBmBd;;YAefe,KAAAA;iBAAJ,AAHA;;GAEC,GACD;gBACE,OAAO,IAAI,CAACL,MAAM;YACpB;;;WAjBmBV;EAAoBM"}
|
|
@@ -9,7 +9,14 @@
|
|
|
9
9
|
*
|
|
10
10
|
* All utilities support Node.js 0.8+
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
import BufferList from './BufferList.js';
|
|
13
|
+
export { BufferList };
|
|
14
|
+
/**
|
|
15
|
+
* Type alias for Buffer or BufferList - both can be read byte-by-byte.
|
|
16
|
+
* Use this when an API should accept either contiguous data (Buffer)
|
|
17
|
+
* or chunked streaming data (BufferList).
|
|
18
|
+
*/
|
|
19
|
+
export type BufferLike = Buffer | BufferList;
|
|
13
20
|
export { allocBuffer, allocBufferUnsafe, bufferCompare, bufferConcat, bufferEquals, bufferFrom, bufferSliceCopy, createInflateRawStream, inflateRaw, isNaN, objectAssign, PassThrough, Readable, readUInt64LE, Transform, Writable, writeUInt64LE, } from './compat.js';
|
|
14
21
|
export { crc32, crc32Region, verifyCrc32, verifyCrc32Region } from './crc32.js';
|
|
15
22
|
export { default as EntryStream } from './EntryStream.js';
|
|
@@ -9,7 +9,14 @@
|
|
|
9
9
|
*
|
|
10
10
|
* All utilities support Node.js 0.8+
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
import BufferList from './BufferList.js';
|
|
13
|
+
export { BufferList };
|
|
14
|
+
/**
|
|
15
|
+
* Type alias for Buffer or BufferList - both can be read byte-by-byte.
|
|
16
|
+
* Use this when an API should accept either contiguous data (Buffer)
|
|
17
|
+
* or chunked streaming data (BufferList).
|
|
18
|
+
*/
|
|
19
|
+
export type BufferLike = Buffer | BufferList;
|
|
13
20
|
export { allocBuffer, allocBufferUnsafe, bufferCompare, bufferConcat, bufferEquals, bufferFrom, bufferSliceCopy, createInflateRawStream, inflateRaw, isNaN, objectAssign, PassThrough, Readable, readUInt64LE, Transform, Writable, writeUInt64LE, } from './compat.js';
|
|
14
21
|
export { crc32, crc32Region, verifyCrc32, verifyCrc32Region } from './crc32.js';
|
|
15
22
|
export { default as EntryStream } from './EntryStream.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/iterators/extract-base-iterator/src/shared/index.ts"],"sourcesContent":["/**\n * Shared utilities for iterator libraries\n *\n * These utilities are designed to be used by:\n * - zip-iterator\n * - 7z-iterator\n * - tar-iterator\n * - Any other archive iterator library\n *\n * All utilities support Node.js 0.8+\n */\n\
|
|
1
|
+
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/iterators/extract-base-iterator/src/shared/index.ts"],"sourcesContent":["/**\n * Shared utilities for iterator libraries\n *\n * These utilities are designed to be used by:\n * - zip-iterator\n * - 7z-iterator\n * - tar-iterator\n * - Any other archive iterator library\n *\n * All utilities support Node.js 0.8+\n */\n\nimport BufferList from './BufferList.ts';\n\nexport { BufferList };\n\n/**\n * Type alias for Buffer or BufferList - both can be read byte-by-byte.\n * Use this when an API should accept either contiguous data (Buffer)\n * or chunked streaming data (BufferList).\n */\nexport type BufferLike = Buffer | BufferList;\nexport {\n allocBuffer,\n allocBufferUnsafe,\n bufferCompare,\n bufferConcat,\n bufferEquals,\n bufferFrom,\n bufferSliceCopy,\n createInflateRawStream,\n inflateRaw,\n isNaN,\n objectAssign,\n PassThrough,\n Readable,\n readUInt64LE,\n Transform,\n Writable,\n writeUInt64LE,\n} from './compat.ts';\nexport { crc32, crc32Region, verifyCrc32, verifyCrc32Region } from './crc32.ts';\nexport { default as EntryStream } from './EntryStream.ts';\nexport { type CleanupFn, default as Lock } from './Lock.ts';\nexport { default as normalizePath } from './normalizePath.ts';\nexport { default as streamToString, type StreamToStringCallback } from './streamToString.ts';\nexport { default as stripPath } from './stripPath.ts';\n"],"names":["BufferList","EntryStream","Lock","PassThrough","Readable","Transform","Writable","allocBuffer","allocBufferUnsafe","bufferCompare","bufferConcat","bufferEquals","bufferFrom","bufferSliceCopy","crc32","crc32Region","createInflateRawStream","inflateRaw","isNaN","normalizePath","objectAssign","readUInt64LE","streamToString","stripPath","verifyCrc32","verifyCrc32Region","writeUInt64LE"],"mappings":"AAAA;;;;;;;;;;CAUC;;;;;;;;;;;QAIQA;eAAAA,qBAAU;;QA4BCC;eAAAA,sBAAW;;QACKC;eAAAA,eAAI;;QATtCC;eAAAA,qBAAW;;QACXC;eAAAA,kBAAQ;;QAERC;eAAAA,mBAAS;;QACTC;eAAAA,kBAAQ;;QAfRC;eAAAA,qBAAW;;QACXC;eAAAA,2BAAiB;;QACjBC;eAAAA,uBAAa;;QACbC;eAAAA,sBAAY;;QACZC;eAAAA,sBAAY;;QACZC;eAAAA,oBAAU;;QACVC;eAAAA,yBAAe;;QAYRC;eAAAA,cAAK;;QAAEC;eAAAA,oBAAW;;QAXzBC;eAAAA,gCAAsB;;QACtBC;eAAAA,oBAAU;;QACVC;eAAAA,eAAK;;QAYaC;eAAAA,wBAAa;;QAX/BC;eAAAA,sBAAY;;QAGZC;eAAAA,sBAAY;;QASMC;eAAAA,yBAAc;;QACdC;eAAAA,oBAAS;;QALAC;eAAAA,oBAAW;;QAAEC;eAAAA,0BAAiB;;QAFzDC;eAAAA,uBAAa;;;mEA3BQ;wBA4BhB;uBAC4D;oEAC5B;6DACS;sEACP;uEAC8B;kEAClC"}
|
|
@@ -10,12 +10,13 @@
|
|
|
10
10
|
* - tar-iterator
|
|
11
11
|
* - Any other archive iterator library
|
|
12
12
|
*/
|
|
13
|
-
import
|
|
13
|
+
import Stream from 'stream';
|
|
14
|
+
declare let ReadableBase: typeof Stream.Readable;
|
|
14
15
|
/**
|
|
15
16
|
* Base stream class for archive entry content.
|
|
16
17
|
* Can be extended for special entry types like sparse files.
|
|
17
18
|
*/
|
|
18
|
-
export default class EntryStream extends
|
|
19
|
+
export default class EntryStream extends ReadableBase {
|
|
19
20
|
protected _ended: boolean;
|
|
20
21
|
/**
|
|
21
22
|
* Signal end of stream by pushing null
|
|
@@ -31,3 +32,4 @@ export default class EntryStream extends Readable {
|
|
|
31
32
|
*/
|
|
32
33
|
_read(_size: number): void;
|
|
33
34
|
}
|
|
35
|
+
export {};
|
|
@@ -9,8 +9,16 @@
|
|
|
9
9
|
* - 7z-iterator
|
|
10
10
|
* - tar-iterator
|
|
11
11
|
* - Any other archive iterator library
|
|
12
|
-
*/ import
|
|
13
|
-
|
|
12
|
+
*/ import Stream from 'stream';
|
|
13
|
+
// Use native streams when available, readable-stream only for Node 0.x
|
|
14
|
+
const major = +process.versions.node.split('.')[0];
|
|
15
|
+
let ReadableBase;
|
|
16
|
+
if (major > 0) {
|
|
17
|
+
ReadableBase = Stream.Readable;
|
|
18
|
+
} else {
|
|
19
|
+
ReadableBase = require('readable-stream').Readable;
|
|
20
|
+
}
|
|
21
|
+
let EntryStream = class EntryStream extends ReadableBase {
|
|
14
22
|
/**
|
|
15
23
|
* Signal end of stream by pushing null
|
|
16
24
|
*/ end() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/iterators/extract-base-iterator/src/shared/EntryStream.ts"],"sourcesContent":["/**\n * EntryStream - Simple readable stream for entry content\n *\n * Extends Readable to emit 'data', 'end', 'error' events.\n * Node 0.8 compatible via readable-stream polyfill.\n *\n * This base class is designed to be used by:\n * - zip-iterator\n * - 7z-iterator\n * - tar-iterator\n * - Any other archive iterator library\n */\n\nimport { Readable
|
|
1
|
+
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/iterators/extract-base-iterator/src/shared/EntryStream.ts"],"sourcesContent":["/**\n * EntryStream - Simple readable stream for entry content\n *\n * Extends Readable to emit 'data', 'end', 'error' events.\n * Node 0.8 compatible via readable-stream polyfill.\n *\n * This base class is designed to be used by:\n * - zip-iterator\n * - 7z-iterator\n * - tar-iterator\n * - Any other archive iterator library\n */\n\nimport Stream from 'stream';\n\n// Use native streams when available, readable-stream only for Node 0.x\nconst major = +process.versions.node.split('.')[0];\nlet ReadableBase: typeof Stream.Readable;\nif (major > 0) {\n ReadableBase = Stream.Readable;\n} else {\n ReadableBase = require('readable-stream').Readable;\n}\n\n/**\n * Base stream class for archive entry content.\n * Can be extended for special entry types like sparse files.\n */\nexport default class EntryStream extends ReadableBase {\n protected _ended = false;\n\n /**\n * Signal end of stream by pushing null\n */\n end(): void {\n if (this._ended) return;\n this._ended = true;\n this.push(null);\n }\n\n /**\n * Check if stream has ended\n */\n get ended(): boolean {\n return this._ended;\n }\n\n /**\n * Required by Readable - called when consumer wants data.\n * Data is pushed externally via push(), nothing to do here.\n */\n _read(_size: number): void {\n // Data is pushed externally, nothing to do here\n }\n}\n"],"names":["Stream","major","process","versions","node","split","ReadableBase","Readable","require","EntryStream","end","_ended","push","ended","_read","_size"],"mappings":"AAAA;;;;;;;;;;;CAWC,GAED,OAAOA,YAAY,SAAS;AAE5B,uEAAuE;AACvE,MAAMC,QAAQ,CAACC,QAAQC,QAAQ,CAACC,IAAI,CAACC,KAAK,CAAC,IAAI,CAAC,EAAE;AAClD,IAAIC;AACJ,IAAIL,QAAQ,GAAG;IACbK,eAAeN,OAAOO,QAAQ;AAChC,OAAO;IACLD,eAAeE,QAAQ,mBAAmBD,QAAQ;AACpD;AAMe,IAAA,AAAME,cAAN,MAAMA,oBAAoBH;IAGvC;;GAEC,GACDI,MAAY;QACV,IAAI,IAAI,CAACC,MAAM,EAAE;QACjB,IAAI,CAACA,MAAM,GAAG;QACd,IAAI,CAACC,IAAI,CAAC;IACZ;IAEA;;GAEC,GACD,IAAIC,QAAiB;QACnB,OAAO,IAAI,CAACF,MAAM;IACpB;IAEA;;;GAGC,GACDG,MAAMC,KAAa,EAAQ;IACzB,gDAAgD;IAClD;;QAzBa,qBACHJ,SAAS;;AAyBrB;AA9BA;;;CAGC,GACD,SAAqBF,yBA0BpB"}
|
|
@@ -9,7 +9,14 @@
|
|
|
9
9
|
*
|
|
10
10
|
* All utilities support Node.js 0.8+
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
import BufferList from './BufferList.js';
|
|
13
|
+
export { BufferList };
|
|
14
|
+
/**
|
|
15
|
+
* Type alias for Buffer or BufferList - both can be read byte-by-byte.
|
|
16
|
+
* Use this when an API should accept either contiguous data (Buffer)
|
|
17
|
+
* or chunked streaming data (BufferList).
|
|
18
|
+
*/
|
|
19
|
+
export type BufferLike = Buffer | BufferList;
|
|
13
20
|
export { allocBuffer, allocBufferUnsafe, bufferCompare, bufferConcat, bufferEquals, bufferFrom, bufferSliceCopy, createInflateRawStream, inflateRaw, isNaN, objectAssign, PassThrough, Readable, readUInt64LE, Transform, Writable, writeUInt64LE, } from './compat.js';
|
|
14
21
|
export { crc32, crc32Region, verifyCrc32, verifyCrc32Region } from './crc32.js';
|
|
15
22
|
export { default as EntryStream } from './EntryStream.js';
|
package/dist/esm/shared/index.js
CHANGED
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
* - Any other archive iterator library
|
|
9
9
|
*
|
|
10
10
|
* All utilities support Node.js 0.8+
|
|
11
|
-
*/
|
|
11
|
+
*/ import BufferList from './BufferList.js';
|
|
12
|
+
export { BufferList };
|
|
12
13
|
export { allocBuffer, allocBufferUnsafe, bufferCompare, bufferConcat, bufferEquals, bufferFrom, bufferSliceCopy, createInflateRawStream, inflateRaw, isNaN, objectAssign, PassThrough, Readable, readUInt64LE, Transform, Writable, writeUInt64LE } from './compat.js';
|
|
13
14
|
export { crc32, crc32Region, verifyCrc32, verifyCrc32Region } from './crc32.js';
|
|
14
15
|
export { default as EntryStream } from './EntryStream.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/iterators/extract-base-iterator/src/shared/index.ts"],"sourcesContent":["/**\n * Shared utilities for iterator libraries\n *\n * These utilities are designed to be used by:\n * - zip-iterator\n * - 7z-iterator\n * - tar-iterator\n * - Any other archive iterator library\n *\n * All utilities support Node.js 0.8+\n */\n\
|
|
1
|
+
{"version":3,"sources":["/Users/kevin/Dev/OpenSource/iterators/extract-base-iterator/src/shared/index.ts"],"sourcesContent":["/**\n * Shared utilities for iterator libraries\n *\n * These utilities are designed to be used by:\n * - zip-iterator\n * - 7z-iterator\n * - tar-iterator\n * - Any other archive iterator library\n *\n * All utilities support Node.js 0.8+\n */\n\nimport BufferList from './BufferList.ts';\n\nexport { BufferList };\n\n/**\n * Type alias for Buffer or BufferList - both can be read byte-by-byte.\n * Use this when an API should accept either contiguous data (Buffer)\n * or chunked streaming data (BufferList).\n */\nexport type BufferLike = Buffer | BufferList;\nexport {\n allocBuffer,\n allocBufferUnsafe,\n bufferCompare,\n bufferConcat,\n bufferEquals,\n bufferFrom,\n bufferSliceCopy,\n createInflateRawStream,\n inflateRaw,\n isNaN,\n objectAssign,\n PassThrough,\n Readable,\n readUInt64LE,\n Transform,\n Writable,\n writeUInt64LE,\n} from './compat.ts';\nexport { crc32, crc32Region, verifyCrc32, verifyCrc32Region } from './crc32.ts';\nexport { default as EntryStream } from './EntryStream.ts';\nexport { type CleanupFn, default as Lock } from './Lock.ts';\nexport { default as normalizePath } from './normalizePath.ts';\nexport { default as streamToString, type StreamToStringCallback } from './streamToString.ts';\nexport { default as stripPath } from './stripPath.ts';\n"],"names":["BufferList","allocBuffer","allocBufferUnsafe","bufferCompare","bufferConcat","bufferEquals","bufferFrom","bufferSliceCopy","createInflateRawStream","inflateRaw","isNaN","objectAssign","PassThrough","Readable","readUInt64LE","Transform","Writable","writeUInt64LE","crc32","crc32Region","verifyCrc32","verifyCrc32Region","default","EntryStream","Lock","normalizePath","streamToString","stripPath"],"mappings":"AAAA;;;;;;;;;;CAUC,GAED,OAAOA,gBAAgB,kBAAkB;AAEzC,SAASA,UAAU,GAAG;AAQtB,SACEC,WAAW,EACXC,iBAAiB,EACjBC,aAAa,EACbC,YAAY,EACZC,YAAY,EACZC,UAAU,EACVC,eAAe,EACfC,sBAAsB,EACtBC,UAAU,EACVC,KAAK,EACLC,YAAY,EACZC,WAAW,EACXC,QAAQ,EACRC,YAAY,EACZC,SAAS,EACTC,QAAQ,EACRC,aAAa,QACR,cAAc;AACrB,SAASC,KAAK,EAAEC,WAAW,EAAEC,WAAW,EAAEC,iBAAiB,QAAQ,aAAa;AAChF,SAASC,WAAWC,WAAW,QAAQ,mBAAmB;AAC1D,SAAyBD,WAAWE,IAAI,QAAQ,YAAY;AAC5D,SAASF,WAAWG,aAAa,QAAQ,qBAAqB;AAC9D,SAASH,WAAWI,cAAc,QAAqC,sBAAsB;AAC7F,SAASJ,WAAWK,SAAS,QAAQ,iBAAiB"}
|