@effect/platform-node-shared
Advanced tools
Comparing version
@@ -17,5 +17,5 @@ "use strict"; | ||
/** @internal */ | ||
const make = (shouldQuit = defaultShouldQuit) => Effect.gen(function* (_) { | ||
const input = yield* _(Effect.sync(() => globalThis.process.stdin)); | ||
const output = yield* _(Effect.sync(() => globalThis.process.stdout)); | ||
const make = (shouldQuit = defaultShouldQuit) => Effect.gen(function* () { | ||
const input = yield* Effect.sync(() => globalThis.process.stdin); | ||
const output = yield* Effect.sync(() => globalThis.process.stdout); | ||
// Acquire a readline interface | ||
@@ -22,0 +22,0 @@ const acquireReadlineInterface = Effect.sync(() => readline.createInterface({ |
@@ -9,5 +9,5 @@ import * as Error from "@effect/platform/Error"; | ||
/** @internal */ | ||
export const make = (shouldQuit = defaultShouldQuit) => Effect.gen(function* (_) { | ||
const input = yield* _(Effect.sync(() => globalThis.process.stdin)); | ||
const output = yield* _(Effect.sync(() => globalThis.process.stdout)); | ||
export const make = (shouldQuit = defaultShouldQuit) => Effect.gen(function* () { | ||
const input = yield* Effect.sync(() => globalThis.process.stdin); | ||
const output = yield* Effect.sync(() => globalThis.process.stdout); | ||
// Acquire a readline interface | ||
@@ -14,0 +14,0 @@ const acquireReadlineInterface = Effect.sync(() => readline.createInterface({ |
{ | ||
"name": "@effect/platform-node-shared", | ||
"version": "0.24.0", | ||
"version": "0.25.0", | ||
"description": "Unified interfaces for common platform-specific services", | ||
@@ -17,4 +17,4 @@ "license": "MIT", | ||
"peerDependencies": { | ||
"effect": "^3.12.5", | ||
"@effect/platform": "^0.74.0" | ||
"@effect/platform": "^0.75.0", | ||
"effect": "^3.12.6" | ||
}, | ||
@@ -21,0 +21,0 @@ "publishConfig": { |
@@ -15,5 +15,5 @@ import * as Error from "@effect/platform/Error" | ||
) => | ||
Effect.gen(function*(_) { | ||
const input = yield* _(Effect.sync(() => globalThis.process.stdin)) | ||
const output = yield* _(Effect.sync(() => globalThis.process.stdout)) | ||
Effect.gen(function*() { | ||
const input = yield* Effect.sync(() => globalThis.process.stdin) | ||
const output = yield* Effect.sync(() => globalThis.process.stdout) | ||
@@ -20,0 +20,0 @@ // Acquire a readline interface |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
370360
-0.03%