@effect/platform-node 0.12.1 → 0.13.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/NodeContext.d.ts CHANGED
@@ -1,13 +1,12 @@
1
1
  import * as Layer from "@effect/io/Layer";
2
2
  import * as CommandExecutor from "@effect/platform-node/CommandExecutor";
3
- import * as Console from "@effect/platform-node/Console";
4
3
  import * as FileSystem from "@effect/platform-node/FileSystem";
5
4
  import * as Path from "@effect/platform-node/Path";
6
5
  /**
7
6
  * @since 1.0.0
8
7
  * @category models
9
8
  */
10
- export type NodeContext = Console.Console | CommandExecutor.CommandExecutor | FileSystem.FileSystem | Path.Path;
9
+ export type NodeContext = CommandExecutor.CommandExecutor | FileSystem.FileSystem | Path.Path;
11
10
  /**
12
11
  * @since 1.0.0
13
12
  * @category layer
@@ -1 +1 @@
1
- {"version":3,"file":"NodeContext.d.ts","sourceRoot":"","sources":["./src/NodeContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAA;AACzC,OAAO,KAAK,eAAe,MAAM,uCAAuC,CAAA;AACxE,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAA;AACxD,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAA;AAC9D,OAAO,KAAK,IAAI,MAAM,4BAA4B,CAAA;AAElD;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC,OAAO,GAAG,eAAe,CAAC,eAAe,GAAG,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAA;AAE/G;;;GAGG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,WAAW,CAKxD,CAAA"}
1
+ {"version":3,"file":"NodeContext.d.ts","sourceRoot":"","sources":["./src/NodeContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAA;AACzC,OAAO,KAAK,eAAe,MAAM,uCAAuC,CAAA;AACxE,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAA;AAC9D,OAAO,KAAK,IAAI,MAAM,4BAA4B,CAAA;AAElD;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,eAAe,CAAC,eAAe,GAAG,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,CAAA;AAE7F;;;GAGG;AACH,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,WAAW,CAIxD,CAAA"}
package/NodeContext.js CHANGED
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.layer = void 0;
7
7
  var Layer = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/io/Layer"));
8
8
  var CommandExecutor = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-node/CommandExecutor"));
9
- var Console = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-node/Console"));
10
9
  var FileSystem = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-node/FileSystem"));
11
10
  var Path = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-node/Path"));
12
11
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -19,6 +18,6 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
19
18
  * @since 1.0.0
20
19
  * @category layer
21
20
  */
22
- const layer = /*#__PURE__*/Layer.merge(Layer.provideMerge(FileSystem.layer, CommandExecutor.layer))( /*#__PURE__*/Layer.merge(Path.layer)( /*#__PURE__*/Layer.merge(FileSystem.layer)(Console.layer)));
21
+ const layer = /*#__PURE__*/Layer.merge(Layer.provideMerge(FileSystem.layer, CommandExecutor.layer))( /*#__PURE__*/Layer.merge(Path.layer)(FileSystem.layer));
23
22
  exports.layer = layer;
24
23
  //# sourceMappingURL=NodeContext.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NodeContext.js","names":["Layer","_interopRequireWildcard","require","CommandExecutor","Console","FileSystem","Path","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","layer","merge","provideMerge","exports"],"sources":["./src/NodeContext.ts"],"sourcesContent":[null],"mappings":";;;;;;AAIA,IAAAA,KAAA,gBAAAC,uBAAA,eAAAC,OAAA;AACA,IAAAC,eAAA,gBAAAF,uBAAA,eAAAC,OAAA;AACA,IAAAE,OAAA,gBAAAH,uBAAA,eAAAC,OAAA;AACA,IAAAG,UAAA,gBAAAJ,uBAAA,eAAAC,OAAA;AACA,IAAAI,IAAA,gBAAAL,uBAAA,eAAAC,OAAA;AAAkD,SAAAK,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAP,wBAAAW,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAV,GAAA,EAAAW,GAAA,cAAAI,IAAA,KAAAA,IAAA,CAAAV,GAAA,IAAAU,IAAA,CAAAC,GAAA,KAAAR,MAAA,CAAAC,cAAA,CAAAH,MAAA,EAAAK,GAAA,EAAAI,IAAA,YAAAT,MAAA,CAAAK,GAAA,IAAAX,GAAA,CAAAW,GAAA,SAAAL,MAAA,CAAAJ,OAAA,GAAAF,GAAA,MAAAG,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAAhB,GAAA,EAAAM,MAAA,YAAAA,MAAA;AARlD;;;;AAgBA;;;;AAIO,MAAMW,KAAK,gBAIhB7B,KAAK,CAAC8B,KAAK,CAAC9B,KAAK,CAAC+B,YAAY,CAAC1B,UAAU,CAACwB,KAAK,EAAE1B,eAAe,CAAC0B,KAAK,CAAC,CAAC,eADxE7B,KAAK,CAAC8B,KAAK,CAACxB,IAAI,CAACuB,KAAK,CAAC,eADvB7B,KAAK,CAAC8B,KAAK,CAACzB,UAAU,CAACwB,KAAK,CAAC,CAD7BzB,OAAO,CAACyB,KAAK,GAId;AAAAG,OAAA,CAAAH,KAAA,GAAAA,KAAA"}
1
+ {"version":3,"file":"NodeContext.js","names":["Layer","_interopRequireWildcard","require","CommandExecutor","FileSystem","Path","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","layer","merge","provideMerge","exports"],"sources":["./src/NodeContext.ts"],"sourcesContent":[null],"mappings":";;;;;;AAIA,IAAAA,KAAA,gBAAAC,uBAAA,eAAAC,OAAA;AACA,IAAAC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;;AAeA;;;;AAIO,MAAMW,KAAK,gBAGhB5B,KAAK,CAAC6B,KAAK,CAAC7B,KAAK,CAAC8B,YAAY,CAAC1B,UAAU,CAACwB,KAAK,EAAEzB,eAAe,CAACyB,KAAK,CAAC,CAAC,eADxE5B,KAAK,CAAC6B,KAAK,CAACxB,IAAI,CAACuB,KAAK,CAAC,CADvBxB,UAAU,CAACwB,KAAK,EAGjB;AAAAG,OAAA,CAAAH,KAAA,GAAAA,KAAA"}
@@ -4,12 +4,11 @@
4
4
 
5
5
  import * as Layer from "@effect/io/Layer";
6
6
  import * as CommandExecutor from "@effect/platform-node/CommandExecutor";
7
- import * as Console from "@effect/platform-node/Console";
8
7
  import * as FileSystem from "@effect/platform-node/FileSystem";
9
8
  import * as Path from "@effect/platform-node/Path";
10
9
  /**
11
10
  * @since 1.0.0
12
11
  * @category layer
13
12
  */
14
- export const layer = /*#__PURE__*/Layer.merge(Layer.provideMerge(FileSystem.layer, CommandExecutor.layer))( /*#__PURE__*/Layer.merge(Path.layer)( /*#__PURE__*/Layer.merge(FileSystem.layer)(Console.layer)));
13
+ export const layer = /*#__PURE__*/Layer.merge(Layer.provideMerge(FileSystem.layer, CommandExecutor.layer))( /*#__PURE__*/Layer.merge(Path.layer)(FileSystem.layer));
15
14
  //# sourceMappingURL=NodeContext.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"NodeContext.mjs","names":["Layer","CommandExecutor","Console","FileSystem","Path","layer","merge","provideMerge"],"sources":["../src/NodeContext.ts"],"sourcesContent":[null],"mappings":"AAAA;;;;AAIA,OAAO,KAAKA,KAAK,MAAM,kBAAkB;AACzC,OAAO,KAAKC,eAAe,MAAM,uCAAuC;AACxE,OAAO,KAAKC,OAAO,MAAM,+BAA+B;AACxD,OAAO,KAAKC,UAAU,MAAM,kCAAkC;AAC9D,OAAO,KAAKC,IAAI,MAAM,4BAA4B;AAQlD;;;;AAIA,OAAO,MAAMC,KAAK,gBAIhBL,KAAK,CAACM,KAAK,CAACN,KAAK,CAACO,YAAY,CAACJ,UAAU,CAACE,KAAK,EAAEJ,eAAe,CAACI,KAAK,CAAC,CAAC,eADxEL,KAAK,CAACM,KAAK,CAACF,IAAI,CAACC,KAAK,CAAC,eADvBL,KAAK,CAACM,KAAK,CAACH,UAAU,CAACE,KAAK,CAAC,CAD7BH,OAAO,CAACG,KAAK,GAId"}
1
+ {"version":3,"file":"NodeContext.mjs","names":["Layer","CommandExecutor","FileSystem","Path","layer","merge","provideMerge"],"sources":["../src/NodeContext.ts"],"sourcesContent":[null],"mappings":"AAAA;;;;AAIA,OAAO,KAAKA,KAAK,MAAM,kBAAkB;AACzC,OAAO,KAAKC,eAAe,MAAM,uCAAuC;AACxE,OAAO,KAAKC,UAAU,MAAM,kCAAkC;AAC9D,OAAO,KAAKC,IAAI,MAAM,4BAA4B;AAQlD;;;;AAIA,OAAO,MAAMC,KAAK,gBAGhBJ,KAAK,CAACK,KAAK,CAACL,KAAK,CAACM,YAAY,CAACJ,UAAU,CAACE,KAAK,EAAEH,eAAe,CAACG,KAAK,CAAC,CAAC,eADxEJ,KAAK,CAACK,KAAK,CAACF,IAAI,CAACC,KAAK,CAAC,CADvBF,UAAU,CAACE,KAAK,EAGjB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effect/platform-node",
3
- "version": "0.12.1",
3
+ "version": "0.13.0",
4
4
  "description": "Unified interfaces for common platform-specific services",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -31,6 +31,6 @@
31
31
  "@effect/data": "^0.17.1",
32
32
  "@effect/io": "^0.38.0",
33
33
  "@effect/stream": "^0.34.0",
34
- "@effect/platform": "^0.12.1"
34
+ "@effect/platform": "^0.13.0"
35
35
  }
36
36
  }
@@ -4,7 +4,6 @@
4
4
  import { pipe } from "@effect/data/Function"
5
5
  import * as Layer from "@effect/io/Layer"
6
6
  import * as CommandExecutor from "@effect/platform-node/CommandExecutor"
7
- import * as Console from "@effect/platform-node/Console"
8
7
  import * as FileSystem from "@effect/platform-node/FileSystem"
9
8
  import * as Path from "@effect/platform-node/Path"
10
9
 
@@ -12,15 +11,14 @@ import * as Path from "@effect/platform-node/Path"
12
11
  * @since 1.0.0
13
12
  * @category models
14
13
  */
15
- export type NodeContext = Console.Console | CommandExecutor.CommandExecutor | FileSystem.FileSystem | Path.Path
14
+ export type NodeContext = CommandExecutor.CommandExecutor | FileSystem.FileSystem | Path.Path
16
15
 
17
16
  /**
18
17
  * @since 1.0.0
19
18
  * @category layer
20
19
  */
21
20
  export const layer: Layer.Layer<never, never, NodeContext> = pipe(
22
- Console.layer,
23
- Layer.merge(FileSystem.layer),
21
+ FileSystem.layer,
24
22
  Layer.merge(Path.layer),
25
23
  Layer.merge(Layer.provideMerge(FileSystem.layer, CommandExecutor.layer))
26
24
  )
package/Console.d.ts DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- export * from "@effect/platform/Console";
5
- //# sourceMappingURL=Console.d.ts.map
package/Console.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"Console.d.ts","sourceRoot":"","sources":["./src/Console.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,0BAA0B,CAAA"}
package/Console.js DELETED
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _Console = /*#__PURE__*/require("@effect/platform/Console");
7
- Object.keys(_Console).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _Console[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function () {
13
- return _Console[key];
14
- }
15
- });
16
- });
17
- //# sourceMappingURL=Console.js.map
package/Console.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"Console.js","names":["_Console","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sources":["./src/Console.ts"],"sourcesContent":[null],"mappings":";;;;;AAGA,IAAAA,QAAA,gBAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,QAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,QAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,QAAA,CAAAK,GAAA;IAAA;EAAA;AAAA"}
package/mjs/Console.mjs DELETED
@@ -1,5 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- export * from "@effect/platform/Console";
5
- //# sourceMappingURL=Console.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Console.mjs","names":[],"sources":["../src/Console.ts"],"sourcesContent":[null],"mappings":"AAAA;;;AAGA,cAAc,0BAA0B"}
package/src/Console.ts DELETED
@@ -1,4 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- export * from "@effect/platform/Console"