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
433
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.27.5 to 0.27.6

4

package.json
{
"name": "@effect/platform-node",
"version": "0.27.5",
"version": "0.27.6",
"description": "Unified interfaces for common platform-specific services",

@@ -49,3 +49,3 @@ "main": "dist/effect-platform-node.cjs.js",

"mime": "^3.0.0",
"@effect/platform": "^0.26.3"
"@effect/platform": "^0.26.4"
},

@@ -52,0 +52,0 @@ "files": [

@@ -24,3 +24,2 @@ import * as Worker from "@effect/platform/Worker"

))
const fiberId = yield* _(Effect.fiberId)
const queue = yield* _(Queue.unbounded<Worker.BackingWorker.Message<O>>())

@@ -43,5 +42,4 @@ yield* _(Effect.addFinalizer(() => Queue.shutdown(queue)))

}),
Effect.forkDaemon
Effect.forkScoped
)
yield* _(Effect.addFinalizer(() => fiber.interruptAsFork(fiberId)))
const join = Fiber.join(fiber)

@@ -48,0 +46,0 @@ const send = (message: I, transfers?: ReadonlyArray<unknown>) =>

@@ -53,2 +53,2 @@ import { WorkerError } from "@effect/platform/WorkerError"

options?: Runner.Runner.Options<O>
): Effect.Effect<Scope.Scope | R, WorkerError, void> => Effect.provide(Runner.make(process, options), layer)
): Effect.Effect<Scope.Scope | R, WorkerError, never> => Effect.provide(Runner.make(process, options), layer)

@@ -49,3 +49,2 @@ 'use strict';

})));
const fiberId = yield* _(Effect__namespace.fiberId);
const queue = yield* _(Queue__namespace.unbounded());

@@ -66,4 +65,3 @@ yield* _(Effect__namespace.addFinalizer(() => Queue__namespace.shutdown(queue)));

});
}), Effect__namespace.forkDaemon);
yield* _(Effect__namespace.addFinalizer(() => fiber.interruptAsFork(fiberId)));
}), Effect__namespace.forkScoped);
const join = Fiber__namespace.join(fiber);

@@ -70,0 +68,0 @@ const send = (message, transfers) => Effect__namespace.sync(() => worker.postMessage([0, message], transfers));

@@ -49,3 +49,2 @@ 'use strict';

})));
const fiberId = yield* _(Effect__namespace.fiberId);
const queue = yield* _(Queue__namespace.unbounded());

@@ -66,4 +65,3 @@ yield* _(Effect__namespace.addFinalizer(() => Queue__namespace.shutdown(queue)));

});
}), Effect__namespace.forkDaemon);
yield* _(Effect__namespace.addFinalizer(() => fiber.interruptAsFork(fiberId)));
}), Effect__namespace.forkScoped);
const join = Fiber__namespace.join(fiber);

@@ -70,0 +68,0 @@ const send = (message, transfers) => Effect__namespace.sync(() => worker.postMessage([0, message], transfers));

@@ -22,3 +22,2 @@ import * as Worker from '@effect/platform/Worker';

})));
const fiberId = yield* _(Effect.fiberId);
const queue = yield* _(Queue.unbounded());

@@ -39,4 +38,3 @@ yield* _(Effect.addFinalizer(() => Queue.shutdown(queue)));

});
}), Effect.forkDaemon);
yield* _(Effect.addFinalizer(() => fiber.interruptAsFork(fiberId)));
}), Effect.forkScoped);
const join = Fiber.join(fiber);

@@ -43,0 +41,0 @@ const send = (message, transfers) => Effect.sync(() => worker.postMessage([0, message], transfers));

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