@effect/platform-node 0.19.8 → 0.20.0
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/Command/dist/effect-platform-node-Command.cjs.dev.js +32 -32
- package/Command/dist/effect-platform-node-Command.cjs.prod.js +32 -32
- package/CommandExecutor/dist/effect-platform-node-CommandExecutor.cjs.dev.js +184 -16
- package/CommandExecutor/dist/effect-platform-node-CommandExecutor.cjs.prod.js +184 -16
- package/CommandExecutor/dist/effect-platform-node-CommandExecutor.esm.js +158 -13
- package/Effectify/dist/effect-platform-node-Effectify.cjs.dev.js +2 -2
- package/Effectify/dist/effect-platform-node-Effectify.cjs.prod.js +2 -2
- package/Error/dist/effect-platform-node-Error.cjs.dev.js +6 -14
- package/Error/dist/effect-platform-node-Error.cjs.mjs +1 -3
- package/Error/dist/effect-platform-node-Error.cjs.prod.js +6 -14
- package/Error/dist/effect-platform-node-Error.esm.js +1 -1
- package/FileSystem/dist/effect-platform-node-FileSystem.cjs.dev.js +423 -17
- package/FileSystem/dist/effect-platform-node-FileSystem.cjs.prod.js +423 -17
- package/FileSystem/dist/effect-platform-node-FileSystem.esm.js +395 -12
- package/Http/FormData/dist/effect-platform-node-Http-FormData.cjs.dev.js +3 -3
- package/Http/FormData/dist/effect-platform-node-Http-FormData.cjs.prod.js +3 -3
- package/Http/FormData/dist/effect-platform-node-Http-FormData.esm.js +3 -3
- package/Http/NodeClient/dist/effect-platform-node-Http-NodeClient.cjs.dev.js +4 -4
- package/Http/NodeClient/dist/effect-platform-node-Http-NodeClient.cjs.prod.js +4 -4
- package/Http/NodeClient/dist/effect-platform-node-Http-NodeClient.esm.js +4 -4
- package/Http/Platform/dist/effect-platform-node-Http-Platform.cjs.dev.js +2 -2
- package/Http/Platform/dist/effect-platform-node-Http-Platform.cjs.prod.js +2 -2
- package/Http/Platform/dist/effect-platform-node-Http-Platform.esm.js +2 -2
- package/Http/Server/dist/effect-platform-node-Http-Server.cjs.dev.js +8 -7
- package/Http/Server/dist/effect-platform-node-Http-Server.cjs.prod.js +8 -7
- package/Http/Server/dist/effect-platform-node-Http-Server.esm.js +8 -7
- package/HttpClient/dist/effect-platform-node-HttpClient.cjs.dev.js +19 -19
- package/HttpClient/dist/effect-platform-node-HttpClient.cjs.prod.js +19 -19
- package/HttpClient/dist/effect-platform-node-HttpClient.esm.js +4 -4
- package/HttpServer/dist/effect-platform-node-HttpServer.cjs.dev.js +23 -23
- package/HttpServer/dist/effect-platform-node-HttpServer.cjs.prod.js +23 -23
- package/HttpServer/dist/effect-platform-node-HttpServer.esm.js +8 -8
- package/KeyValueStore/dist/effect-platform-node-KeyValueStore.cjs.dev.js +39 -9
- package/KeyValueStore/dist/effect-platform-node-KeyValueStore.cjs.prod.js +39 -9
- package/KeyValueStore/dist/effect-platform-node-KeyValueStore.esm.js +18 -4
- package/NodeContext/dist/effect-platform-node-NodeContext.cjs.dev.js +39 -7
- package/NodeContext/dist/effect-platform-node-NodeContext.cjs.prod.js +39 -7
- package/NodeContext/dist/effect-platform-node-NodeContext.esm.js +22 -6
- package/Path/dist/effect-platform-node-Path.cjs.dev.js +91 -11
- package/Path/dist/effect-platform-node-Path.cjs.prod.js +91 -11
- package/Path/dist/effect-platform-node-Path.esm.js +68 -6
- package/Runtime/dist/effect-platform-node-Runtime.cjs.dev.js +57 -6
- package/Runtime/dist/effect-platform-node-Runtime.cjs.prod.js +57 -6
- package/Runtime/dist/effect-platform-node-Runtime.esm.js +38 -3
- package/Sink/dist/effect-platform-node-Sink.cjs.dev.js +15 -3
- package/Sink/dist/effect-platform-node-Sink.cjs.prod.js +15 -3
- package/Sink/dist/effect-platform-node-Sink.esm.js +18 -2
- package/Stream/dist/effect-platform-node-Stream.cjs.dev.js +29 -5
- package/Stream/dist/effect-platform-node-Stream.cjs.prod.js +29 -5
- package/Stream/dist/effect-platform-node-Stream.esm.js +30 -2
- package/dist/{FormData-053407d4.cjs.dev.js → FormData-15af6672.cjs.dev.js} +1 -1
- package/dist/{FormData-bafc0b9a.esm.js → FormData-5ea8a8b6.esm.js} +1 -1
- package/dist/{FormData-c7339a7b.cjs.prod.js → FormData-d91e8016.cjs.prod.js} +1 -1
- package/dist/{NodeClient-ea1a9ab0.cjs.prod.js → NodeClient-3432a6a8.cjs.prod.js} +2 -2
- package/dist/{NodeClient-e349733e.esm.js → NodeClient-cd56cae8.esm.js} +2 -2
- package/dist/{NodeClient-1df9d813.cjs.dev.js → NodeClient-ebd71893.cjs.dev.js} +2 -2
- package/dist/{Server-ea100887.cjs.prod.js → Server-33a0b014.cjs.prod.js} +17 -13
- package/dist/{Server-264c702d.cjs.dev.js → Server-cf266586.cjs.dev.js} +17 -13
- package/dist/{Server-5237fa52.esm.js → Server-eb4f8a51.esm.js} +16 -13
- package/dist/declarations/src/Error.d.ts +7 -6
- package/dist/declarations/src/Error.d.ts.map +1 -1
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/effect-platform-node.cjs.dev.js +58 -86
- package/dist/effect-platform-node.cjs.prod.js +58 -86
- package/dist/effect-platform-node.esm.js +26 -73
- package/dist/{formData-fac89256.cjs.dev.js → formData-632b1146.cjs.dev.js} +1 -1
- package/dist/{formData-4330f230.esm.js → formData-dd75bbe1.esm.js} +1 -1
- package/dist/{formData-09ad7f6d.cjs.prod.js → formData-ecf6742b.cjs.prod.js} +1 -1
- package/dist/{incomingMessage-12764c2c.esm.js → incomingMessage-11c9bea6.esm.js} +1 -1
- package/dist/{incomingMessage-8a9a29f7.cjs.prod.js → incomingMessage-86bcf94d.cjs.dev.js} +1 -1
- package/dist/{incomingMessage-d7f144e7.cjs.dev.js → incomingMessage-f56be93e.cjs.prod.js} +1 -1
- package/dist/{platform-f3d31bb1.esm.js → platform-2c00c2c5.esm.js} +1 -1
- package/dist/{platform-1c31462c.cjs.dev.js → platform-5b27475e.cjs.dev.js} +1 -1
- package/dist/{platform-d09ef04f.cjs.prod.js → platform-80b90f07.cjs.prod.js} +1 -1
- package/package.json +8 -5
- package/src/Error.ts +9 -6
- package/src/index.ts +13 -13
- package/src/internal/http/server.ts +24 -16
- package/dist/Command-15b84341.cjs.dev.js +0 -29
- package/dist/Command-2fc875e9.cjs.prod.js +0 -29
- package/dist/Command-56d67f13.esm.js +0 -27
- package/dist/CommandExecutor-b7cb55b8.cjs.dev.js +0 -195
- package/dist/CommandExecutor-bccc7563.cjs.prod.js +0 -195
- package/dist/CommandExecutor-cfc0af4b.esm.js +0 -165
- package/dist/Effectify-1676f59e.cjs.prod.js +0 -14
- package/dist/Effectify-24bba5b0.esm.js +0 -12
- package/dist/Effectify-c94620ca.cjs.dev.js +0 -14
- package/dist/Error-004c8162.cjs.prod.js +0 -18
- package/dist/Error-6b032e84.esm.js +0 -16
- package/dist/Error-6db0ba89.cjs.dev.js +0 -18
- package/dist/FileSystem-a207377d.cjs.prod.js +0 -433
- package/dist/FileSystem-d4a3521c.esm.js +0 -403
- package/dist/FileSystem-d7b8eeac.cjs.dev.js +0 -433
- package/dist/HttpClient-11e2237f.esm.js +0 -26
- package/dist/HttpClient-19998c5e.cjs.dev.js +0 -54
- package/dist/HttpClient-1ad217ea.cjs.prod.js +0 -54
- package/dist/HttpServer-08393436.esm.js +0 -34
- package/dist/HttpServer-6652ce27.cjs.dev.js +0 -64
- package/dist/HttpServer-d510f888.cjs.prod.js +0 -64
- package/dist/KeyValueStore-35cb6494.cjs.prod.js +0 -62
- package/dist/KeyValueStore-66bca5fd.esm.js +0 -38
- package/dist/KeyValueStore-af7495b6.cjs.dev.js +0 -62
- package/dist/NodeContext-3c96e955.cjs.dev.js +0 -50
- package/dist/NodeContext-4bca6ed4.esm.js +0 -27
- package/dist/NodeContext-dff7bc0b.cjs.prod.js +0 -50
- package/dist/Path-7a81561f.esm.js +0 -76
- package/dist/Path-bf4c3b07.cjs.prod.js +0 -104
- package/dist/Path-feae3dcf.cjs.dev.js +0 -104
- package/dist/Runtime-3bc7ee1e.esm.js +0 -44
- package/dist/Runtime-6aeac6f0.cjs.dev.js +0 -68
- package/dist/Runtime-e746c66d.cjs.prod.js +0 -68
- package/dist/Sink-536c2b16.cjs.dev.js +0 -26
- package/dist/Sink-554d2819.esm.js +0 -23
- package/dist/Sink-735101fa.cjs.prod.js +0 -26
- package/dist/Stream-2d5b1ece.esm.js +0 -37
- package/dist/Stream-53f57af5.cjs.dev.js +0 -42
- package/dist/Stream-7424efca.cjs.prod.js +0 -42
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var Runtime$1 = require('@effect/platform/Runtime');
|
|
4
|
-
var Effect = require('effect/Effect');
|
|
5
|
-
var Fiber = require('effect/Fiber');
|
|
6
|
-
|
|
7
|
-
function _interopNamespace(e) {
|
|
8
|
-
if (e && e.__esModule) return e;
|
|
9
|
-
var n = Object.create(null);
|
|
10
|
-
if (e) {
|
|
11
|
-
Object.keys(e).forEach(function (k) {
|
|
12
|
-
if (k !== 'default') {
|
|
13
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () { return e[k]; }
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
n["default"] = e;
|
|
22
|
-
return Object.freeze(n);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
var Effect__namespace = /*#__PURE__*/_interopNamespace(Effect);
|
|
26
|
-
var Fiber__namespace = /*#__PURE__*/_interopNamespace(Fiber);
|
|
27
|
-
|
|
28
|
-
/** @internal */
|
|
29
|
-
const runMain$1 = (effect, teardown = Runtime$1.defaultTeardown) => {
|
|
30
|
-
const fiber = Effect__namespace.runFork(effect);
|
|
31
|
-
fiber.addObserver(exit => teardown(exit, code => {
|
|
32
|
-
Effect__namespace.runCallback(interruptAll(fiber.id()), () => {
|
|
33
|
-
process.exit(code);
|
|
34
|
-
});
|
|
35
|
-
}));
|
|
36
|
-
function onSigint() {
|
|
37
|
-
process.removeListener("SIGINT", onSigint);
|
|
38
|
-
process.removeListener("SIGTERM", onSigint);
|
|
39
|
-
Effect__namespace.runFork(fiber.interruptAsFork(fiber.id()));
|
|
40
|
-
}
|
|
41
|
-
process.once("SIGINT", onSigint);
|
|
42
|
-
process.once("SIGTERM", onSigint);
|
|
43
|
-
};
|
|
44
|
-
const interruptAll = id => Effect__namespace.flatMap(Fiber__namespace.roots, roots => {
|
|
45
|
-
if (roots.length === 0) {
|
|
46
|
-
return Effect__namespace.unit;
|
|
47
|
-
}
|
|
48
|
-
return Fiber__namespace.interruptAllAs(roots, id);
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @since 1.0.0
|
|
53
|
-
*/
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @since 1.0.0
|
|
57
|
-
* @category runtime
|
|
58
|
-
*/
|
|
59
|
-
const runMain = runMain$1;
|
|
60
|
-
|
|
61
|
-
var Runtime = /*#__PURE__*/Object.freeze({
|
|
62
|
-
__proto__: null,
|
|
63
|
-
runMain: runMain,
|
|
64
|
-
defaultTeardown: Runtime$1.defaultTeardown
|
|
65
|
-
});
|
|
66
|
-
|
|
67
|
-
exports.Runtime = Runtime;
|
|
68
|
-
exports.runMain = runMain;
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var Runtime$1 = require('@effect/platform/Runtime');
|
|
4
|
-
var Effect = require('effect/Effect');
|
|
5
|
-
var Fiber = require('effect/Fiber');
|
|
6
|
-
|
|
7
|
-
function _interopNamespace(e) {
|
|
8
|
-
if (e && e.__esModule) return e;
|
|
9
|
-
var n = Object.create(null);
|
|
10
|
-
if (e) {
|
|
11
|
-
Object.keys(e).forEach(function (k) {
|
|
12
|
-
if (k !== 'default') {
|
|
13
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () { return e[k]; }
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
n["default"] = e;
|
|
22
|
-
return Object.freeze(n);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
var Effect__namespace = /*#__PURE__*/_interopNamespace(Effect);
|
|
26
|
-
var Fiber__namespace = /*#__PURE__*/_interopNamespace(Fiber);
|
|
27
|
-
|
|
28
|
-
/** @internal */
|
|
29
|
-
const runMain$1 = (effect, teardown = Runtime$1.defaultTeardown) => {
|
|
30
|
-
const fiber = Effect__namespace.runFork(effect);
|
|
31
|
-
fiber.addObserver(exit => teardown(exit, code => {
|
|
32
|
-
Effect__namespace.runCallback(interruptAll(fiber.id()), () => {
|
|
33
|
-
process.exit(code);
|
|
34
|
-
});
|
|
35
|
-
}));
|
|
36
|
-
function onSigint() {
|
|
37
|
-
process.removeListener("SIGINT", onSigint);
|
|
38
|
-
process.removeListener("SIGTERM", onSigint);
|
|
39
|
-
Effect__namespace.runFork(fiber.interruptAsFork(fiber.id()));
|
|
40
|
-
}
|
|
41
|
-
process.once("SIGINT", onSigint);
|
|
42
|
-
process.once("SIGTERM", onSigint);
|
|
43
|
-
};
|
|
44
|
-
const interruptAll = id => Effect__namespace.flatMap(Fiber__namespace.roots, roots => {
|
|
45
|
-
if (roots.length === 0) {
|
|
46
|
-
return Effect__namespace.unit;
|
|
47
|
-
}
|
|
48
|
-
return Fiber__namespace.interruptAllAs(roots, id);
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* @since 1.0.0
|
|
53
|
-
*/
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @since 1.0.0
|
|
57
|
-
* @category runtime
|
|
58
|
-
*/
|
|
59
|
-
const runMain = runMain$1;
|
|
60
|
-
|
|
61
|
-
var Runtime = /*#__PURE__*/Object.freeze({
|
|
62
|
-
__proto__: null,
|
|
63
|
-
runMain: runMain,
|
|
64
|
-
defaultTeardown: Runtime$1.defaultTeardown
|
|
65
|
-
});
|
|
66
|
-
|
|
67
|
-
exports.Runtime = Runtime;
|
|
68
|
-
exports.runMain = runMain;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var sink = require('./sink-daf9e0e5.cjs.dev.js');
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @since 1.0.0
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @category model
|
|
11
|
-
* @since 1.0.0
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* @category constructor
|
|
16
|
-
* @since 1.0.0
|
|
17
|
-
*/
|
|
18
|
-
const fromWritable = sink.fromWritable;
|
|
19
|
-
|
|
20
|
-
var Sink = /*#__PURE__*/Object.freeze({
|
|
21
|
-
__proto__: null,
|
|
22
|
-
fromWritable: fromWritable
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
exports.Sink = Sink;
|
|
26
|
-
exports.fromWritable = fromWritable;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { f as fromWritable$1 } from './sink-bd7ef408.esm.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @since 1.0.0
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @category model
|
|
9
|
-
* @since 1.0.0
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @category constructor
|
|
14
|
-
* @since 1.0.0
|
|
15
|
-
*/
|
|
16
|
-
const fromWritable = fromWritable$1;
|
|
17
|
-
|
|
18
|
-
var Sink = /*#__PURE__*/Object.freeze({
|
|
19
|
-
__proto__: null,
|
|
20
|
-
fromWritable: fromWritable
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
export { Sink as S, fromWritable as f };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var sink = require('./sink-da49e187.cjs.prod.js');
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @since 1.0.0
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @category model
|
|
11
|
-
* @since 1.0.0
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* @category constructor
|
|
16
|
-
* @since 1.0.0
|
|
17
|
-
*/
|
|
18
|
-
const fromWritable = sink.fromWritable;
|
|
19
|
-
|
|
20
|
-
var Sink = /*#__PURE__*/Object.freeze({
|
|
21
|
-
__proto__: null,
|
|
22
|
-
fromWritable: fromWritable
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
exports.Sink = Sink;
|
|
26
|
-
exports.fromWritable = fromWritable;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { f as fromReadable$1, t as toString$1, a as toUint8Array$1 } from './stream-860139d3.esm.js';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @since 1.0.0
|
|
5
|
-
*/
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* @category models
|
|
9
|
-
* @since 1.0.0
|
|
10
|
-
*/
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @category constructors
|
|
14
|
-
* @since 1.0.0
|
|
15
|
-
*/
|
|
16
|
-
const fromReadable = fromReadable$1;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* @since 1.0.0
|
|
20
|
-
* @category conversions
|
|
21
|
-
*/
|
|
22
|
-
const toString = toString$1;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @since 1.0.0
|
|
26
|
-
* @category conversions
|
|
27
|
-
*/
|
|
28
|
-
const toUint8Array = toUint8Array$1;
|
|
29
|
-
|
|
30
|
-
var Stream = /*#__PURE__*/Object.freeze({
|
|
31
|
-
__proto__: null,
|
|
32
|
-
fromReadable: fromReadable,
|
|
33
|
-
toString: toString,
|
|
34
|
-
toUint8Array: toUint8Array
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
export { Stream as S, toUint8Array as a, fromReadable as f, toString as t };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var stream = require('./stream-1456ece0.cjs.dev.js');
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @since 1.0.0
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @category models
|
|
11
|
-
* @since 1.0.0
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* @category constructors
|
|
16
|
-
* @since 1.0.0
|
|
17
|
-
*/
|
|
18
|
-
const fromReadable = stream.fromReadable;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* @since 1.0.0
|
|
22
|
-
* @category conversions
|
|
23
|
-
*/
|
|
24
|
-
const toString = stream.toString;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @since 1.0.0
|
|
28
|
-
* @category conversions
|
|
29
|
-
*/
|
|
30
|
-
const toUint8Array = stream.toUint8Array;
|
|
31
|
-
|
|
32
|
-
var Stream = /*#__PURE__*/Object.freeze({
|
|
33
|
-
__proto__: null,
|
|
34
|
-
fromReadable: fromReadable,
|
|
35
|
-
toString: toString,
|
|
36
|
-
toUint8Array: toUint8Array
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
exports.Stream = Stream;
|
|
40
|
-
exports.fromReadable = fromReadable;
|
|
41
|
-
exports.toString = toString;
|
|
42
|
-
exports.toUint8Array = toUint8Array;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var stream = require('./stream-ef8b6a66.cjs.prod.js');
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @since 1.0.0
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* @category models
|
|
11
|
-
* @since 1.0.0
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* @category constructors
|
|
16
|
-
* @since 1.0.0
|
|
17
|
-
*/
|
|
18
|
-
const fromReadable = stream.fromReadable;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* @since 1.0.0
|
|
22
|
-
* @category conversions
|
|
23
|
-
*/
|
|
24
|
-
const toString = stream.toString;
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* @since 1.0.0
|
|
28
|
-
* @category conversions
|
|
29
|
-
*/
|
|
30
|
-
const toUint8Array = stream.toUint8Array;
|
|
31
|
-
|
|
32
|
-
var Stream = /*#__PURE__*/Object.freeze({
|
|
33
|
-
__proto__: null,
|
|
34
|
-
fromReadable: fromReadable,
|
|
35
|
-
toString: toString,
|
|
36
|
-
toUint8Array: toUint8Array
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
exports.Stream = Stream;
|
|
40
|
-
exports.fromReadable = fromReadable;
|
|
41
|
-
exports.toString = toString;
|
|
42
|
-
exports.toUint8Array = toUint8Array;
|