Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@effect/platform-node

Package Overview
Dependencies
Maintainers
3
Versions
428
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@effect/platform-node - npm Package Compare versions

Comparing version 0.12.1 to 0.13.0

3

NodeContext.d.ts
import * as Layer from "@effect/io/Layer";
import * as CommandExecutor from "@effect/platform-node/CommandExecutor";
import * as Console from "@effect/platform-node/Console";
import * as FileSystem from "@effect/platform-node/FileSystem";

@@ -10,3 +9,3 @@ import * as Path from "@effect/platform-node/Path";

*/
export type NodeContext = Console.Console | CommandExecutor.CommandExecutor | FileSystem.FileSystem | Path.Path;
export type NodeContext = CommandExecutor.CommandExecutor | FileSystem.FileSystem | Path.Path;
/**

@@ -13,0 +12,0 @@ * @since 1.0.0

@@ -9,3 +9,2 @@ "use strict";

var CommandExecutor = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-node/CommandExecutor"));
var Console = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-node/Console"));
var FileSystem = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-node/FileSystem"));

@@ -23,4 +22,4 @@ var Path = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@effect/platform-node/Path"));

*/
const layer = /*#__PURE__*/Layer.merge(Layer.provideMerge(FileSystem.layer, CommandExecutor.layer))( /*#__PURE__*/Layer.merge(Path.layer)( /*#__PURE__*/Layer.merge(FileSystem.layer)(Console.layer)));
const layer = /*#__PURE__*/Layer.merge(Layer.provideMerge(FileSystem.layer, CommandExecutor.layer))( /*#__PURE__*/Layer.merge(Path.layer)(FileSystem.layer));
exports.layer = layer;
//# sourceMappingURL=NodeContext.js.map
{
"name": "@effect/platform-node",
"version": "0.12.1",
"version": "0.13.0",
"description": "Unified interfaces for common platform-specific services",

@@ -34,4 +34,4 @@ "license": "MIT",

"@effect/stream": "^0.34.0",
"@effect/platform": "^0.12.1"
"@effect/platform": "^0.13.0"
}
}

@@ -7,3 +7,2 @@ /**

import * as CommandExecutor from "@effect/platform-node/CommandExecutor"
import * as Console from "@effect/platform-node/Console"
import * as FileSystem from "@effect/platform-node/FileSystem"

@@ -16,3 +15,3 @@ import * as Path from "@effect/platform-node/Path"

*/
export type NodeContext = Console.Console | CommandExecutor.CommandExecutor | FileSystem.FileSystem | Path.Path
export type NodeContext = CommandExecutor.CommandExecutor | FileSystem.FileSystem | Path.Path

@@ -24,6 +23,5 @@ /**

export const layer: Layer.Layer<never, never, NodeContext> = pipe(
Console.layer,
Layer.merge(FileSystem.layer),
FileSystem.layer,
Layer.merge(Path.layer),
Layer.merge(Layer.provideMerge(FileSystem.layer, CommandExecutor.layer))
)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc