@effect/platform-bun 0.10.0 → 0.10.1
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/Stream/dist/effect-platform-bun-Stream.cjs.dev.js +12 -0
- package/Stream/dist/effect-platform-bun-Stream.cjs.mjs +3 -0
- package/Stream/dist/effect-platform-bun-Stream.cjs.prod.js +12 -0
- package/Stream/dist/effect-platform-bun-Stream.esm.js +1 -1
- package/dist/declarations/src/Sink.d.ts +0 -6
- package/dist/declarations/src/Sink.d.ts.map +1 -1
- package/dist/declarations/src/Stream.d.ts +21 -1
- package/dist/declarations/src/Stream.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/Sink.ts +0 -8
- package/src/Stream.ts +21 -1
|
@@ -6,10 +6,22 @@ var Stream = require('@effect/platform-node/Stream');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
+
Object.defineProperty(exports, 'fromDuplex', {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return Stream.fromDuplex; }
|
|
12
|
+
});
|
|
9
13
|
Object.defineProperty(exports, 'fromReadable', {
|
|
10
14
|
enumerable: true,
|
|
11
15
|
get: function () { return Stream.fromReadable; }
|
|
12
16
|
});
|
|
17
|
+
Object.defineProperty(exports, 'pipeThroughDuplex', {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return Stream.pipeThroughDuplex; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, 'pipeThroughSimple', {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return Stream.pipeThroughSimple; }
|
|
24
|
+
});
|
|
13
25
|
Object.defineProperty(exports, 'toString', {
|
|
14
26
|
enumerable: true,
|
|
15
27
|
get: function () { return Stream.toString; }
|
|
@@ -6,10 +6,22 @@ var Stream = require('@effect/platform-node/Stream');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
+
Object.defineProperty(exports, 'fromDuplex', {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return Stream.fromDuplex; }
|
|
12
|
+
});
|
|
9
13
|
Object.defineProperty(exports, 'fromReadable', {
|
|
10
14
|
enumerable: true,
|
|
11
15
|
get: function () { return Stream.fromReadable; }
|
|
12
16
|
});
|
|
17
|
+
Object.defineProperty(exports, 'pipeThroughDuplex', {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return Stream.pipeThroughDuplex; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, 'pipeThroughSimple', {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return Stream.pipeThroughSimple; }
|
|
24
|
+
});
|
|
13
25
|
Object.defineProperty(exports, 'toString', {
|
|
14
26
|
enumerable: true,
|
|
15
27
|
get: function () { return Stream.toString; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { fromReadable, toString, toUint8Array } from '@effect/platform-node/Stream';
|
|
1
|
+
export { fromDuplex, fromReadable, pipeThroughDuplex, pipeThroughSimple, toString, toUint8Array } from '@effect/platform-node/Stream';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sink.d.ts","sourceRoot":"../../../src","sources":["Sink.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,
|
|
1
|
+
{"version":3,"file":"Sink.d.ts","sourceRoot":"../../../src","sources":["Sink.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO;AACL;;;GAGG;AACH,YAAY,EACb,MAAM,4BAA4B,CAAA"}
|
|
@@ -6,13 +6,33 @@ export type {
|
|
|
6
6
|
* @category models
|
|
7
7
|
* @since 1.0.0
|
|
8
8
|
*/
|
|
9
|
-
FromReadableOptions
|
|
9
|
+
FromReadableOptions,
|
|
10
|
+
/**
|
|
11
|
+
* @category models
|
|
12
|
+
* @since 1.0.0
|
|
13
|
+
*/
|
|
14
|
+
FromWritableOptions } from "@effect/platform-node/Stream";
|
|
10
15
|
export {
|
|
16
|
+
/**
|
|
17
|
+
* @category constructors
|
|
18
|
+
* @since 1.0.0
|
|
19
|
+
*/
|
|
20
|
+
fromDuplex,
|
|
11
21
|
/**
|
|
12
22
|
* @category constructors
|
|
13
23
|
* @since 1.0.0
|
|
14
24
|
*/
|
|
15
25
|
fromReadable,
|
|
26
|
+
/**
|
|
27
|
+
* @category combinators
|
|
28
|
+
* @since 1.0.0
|
|
29
|
+
*/
|
|
30
|
+
pipeThroughDuplex,
|
|
31
|
+
/**
|
|
32
|
+
* @category combinators
|
|
33
|
+
* @since 1.0.0
|
|
34
|
+
*/
|
|
35
|
+
pipeThroughSimple,
|
|
16
36
|
/**
|
|
17
37
|
* @since 1.0.0
|
|
18
38
|
* @category conversions
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stream.d.ts","sourceRoot":"../../../src","sources":["Stream.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,YAAY;AACV;;;GAGG;AACH,mBAAmB,EACpB,MAAM,8BAA8B,CAAA;AAErC,OAAO;AACL;;;GAGG;AACH,YAAY;AACZ;;;GAGG;AACH,QAAQ;AACR;;;GAGG;AACH,YAAY,EACb,MAAM,8BAA8B,CAAA"}
|
|
1
|
+
{"version":3,"file":"Stream.d.ts","sourceRoot":"../../../src","sources":["Stream.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,YAAY;AACV;;;GAGG;AACH,mBAAmB;AACnB;;;GAGG;AACH,mBAAmB,EACpB,MAAM,8BAA8B,CAAA;AAErC,OAAO;AACL;;;GAGG;AACH,UAAU;AACV;;;GAGG;AACH,YAAY;AACZ;;;GAGG;AACH,iBAAiB;AACjB;;;GAGG;AACH,iBAAiB;AACjB;;;GAGG;AACH,QAAQ;AACR;;;GAGG;AACH,YAAY,EACb,MAAM,8BAA8B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect/platform-bun",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "Unified interfaces for common platform-specific services",
|
|
5
5
|
"main": "dist/effect-platform-bun.cjs.js",
|
|
6
6
|
"module": "dist/effect-platform-bun.esm.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"sideEffects": false,
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@effect/platform": "^0.21.0",
|
|
34
|
-
"@effect/platform-node": "^0.22.
|
|
34
|
+
"@effect/platform-node": "^0.22.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@effect/schema": "^0.43.0",
|
package/src/Sink.ts
CHANGED
package/src/Stream.ts
CHANGED
|
@@ -7,15 +7,35 @@ export type {
|
|
|
7
7
|
* @category models
|
|
8
8
|
* @since 1.0.0
|
|
9
9
|
*/
|
|
10
|
-
FromReadableOptions
|
|
10
|
+
FromReadableOptions,
|
|
11
|
+
/**
|
|
12
|
+
* @category models
|
|
13
|
+
* @since 1.0.0
|
|
14
|
+
*/
|
|
15
|
+
FromWritableOptions
|
|
11
16
|
} from "@effect/platform-node/Stream"
|
|
12
17
|
|
|
13
18
|
export {
|
|
19
|
+
/**
|
|
20
|
+
* @category constructors
|
|
21
|
+
* @since 1.0.0
|
|
22
|
+
*/
|
|
23
|
+
fromDuplex,
|
|
14
24
|
/**
|
|
15
25
|
* @category constructors
|
|
16
26
|
* @since 1.0.0
|
|
17
27
|
*/
|
|
18
28
|
fromReadable,
|
|
29
|
+
/**
|
|
30
|
+
* @category combinators
|
|
31
|
+
* @since 1.0.0
|
|
32
|
+
*/
|
|
33
|
+
pipeThroughDuplex,
|
|
34
|
+
/**
|
|
35
|
+
* @category combinators
|
|
36
|
+
* @since 1.0.0
|
|
37
|
+
*/
|
|
38
|
+
pipeThroughSimple,
|
|
19
39
|
/**
|
|
20
40
|
* @since 1.0.0
|
|
21
41
|
* @category conversions
|