@effect/platform-node
Advanced tools
Comparing version 0.53.12 to 0.53.13
@@ -52,3 +52,3 @@ "use strict"; | ||
/** @internal */ | ||
const makeDispatcher = exports.makeDispatcher = /*#__PURE__*/Effect.acquireRelease( /*#__PURE__*/Effect.sync(() => new Undici.Dispatcher()), dispatcher => Effect.promise(() => dispatcher.close())); | ||
const makeDispatcher = exports.makeDispatcher = /*#__PURE__*/Effect.acquireRelease( /*#__PURE__*/Effect.sync(() => new Undici.Agent()), dispatcher => Effect.promise(() => dispatcher.close())); | ||
/** @internal */ | ||
@@ -55,0 +55,0 @@ const dispatcherLayer = exports.dispatcherLayer = /*#__PURE__*/Layer.scoped(Dispatcher, makeDispatcher); |
@@ -21,3 +21,3 @@ import * as Cookies from "@effect/platform/Cookies"; | ||
/** @internal */ | ||
export const makeDispatcher = /*#__PURE__*/Effect.acquireRelease( /*#__PURE__*/Effect.sync(() => new Undici.Dispatcher()), dispatcher => Effect.promise(() => dispatcher.close())); | ||
export const makeDispatcher = /*#__PURE__*/Effect.acquireRelease( /*#__PURE__*/Effect.sync(() => new Undici.Agent()), dispatcher => Effect.promise(() => dispatcher.close())); | ||
/** @internal */ | ||
@@ -24,0 +24,0 @@ export const dispatcherLayer = /*#__PURE__*/Layer.scoped(Dispatcher, makeDispatcher); |
{ | ||
"name": "@effect/platform-node", | ||
"version": "0.53.12", | ||
"version": "0.53.13", | ||
"description": "Platform specific implementations for the Node.js runtime", | ||
@@ -16,6 +16,6 @@ "license": "MIT", | ||
"ws": "^8.17.1", | ||
"@effect/platform-node-shared": "^0.8.12" | ||
"@effect/platform-node-shared": "^0.8.13" | ||
}, | ||
"peerDependencies": { | ||
"@effect/platform": "^0.58.13", | ||
"@effect/platform": "^0.58.14", | ||
"effect": "^3.4.5" | ||
@@ -22,0 +22,0 @@ }, |
@@ -31,3 +31,3 @@ import * as Cookies from "@effect/platform/Cookies" | ||
export const makeDispatcher: Effect.Effect<Undici.Dispatcher, never, Scope.Scope> = Effect.acquireRelease( | ||
Effect.sync(() => new Undici.Dispatcher()), | ||
Effect.sync(() => new Undici.Agent()), | ||
(dispatcher) => Effect.promise(() => dispatcher.close()) | ||
@@ -34,0 +34,0 @@ ) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
340594