Socket
Socket
Sign inDemoInstall

effection

Package Overview
Dependencies
Maintainers
1
Versions
299
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

effection - npm Package Compare versions

Comparing version 0.4.0-02cddd7 to 0.4.0-7c552ca

10

dist-node/index.js

@@ -33,5 +33,11 @@ 'use strict';

let noop = x => x;
let noop = x => x; // return values of succeed and fail are deliberately ignored.
// see https://github.com/thefrontside/effection.js/pull/44
promise.then(value => succeed(value), error => fail(error)); // this execution has passed out of scope, so we don't care
promise.then(value => {
succeed(value);
}, error => {
fail(error);
}); // this execution has passed out of scope, so we don't care
// what happened to the promise, so make the callbacks noops.

@@ -38,0 +44,0 @@ // this effectively "unsubscribes" to the promise.

@@ -11,5 +11,11 @@ /**

let noop = x => x;
let noop = x => x; // return values of succeed and fail are deliberately ignored.
// see https://github.com/thefrontside/effection.js/pull/44
promise.then(value => succeed(value), error => fail(error)); // this execution has passed out of scope, so we don't care
promise.then(value => {
succeed(value);
}, error => {
fail(error);
}); // this execution has passed out of scope, so we don't care
// what happened to the promise, so make the callbacks noops.

@@ -16,0 +22,0 @@ // this effectively "unsubscribes" to the promise.

@@ -30,5 +30,11 @@ /**

let noop = x => x;
let noop = x => x; // return values of succeed and fail are deliberately ignored.
// see https://github.com/thefrontside/effection.js/pull/44
promise.then(value => succeed(value), error => fail(error)); // this execution has passed out of scope, so we don't care
promise.then(value => {
succeed(value);
}, error => {
fail(error);
}); // this execution has passed out of scope, so we don't care
// what happened to the promise, so make the callbacks noops.

@@ -35,0 +41,0 @@ // this effectively "unsubscribes" to the promise.

2

package.json
{
"name": "effection",
"description": "Effortlessly composable structured concurrency primitive for JavaScript",
"version": "0.4.0-02cddd7",
"version": "0.4.0-7c552ca",
"license": "MIT",

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

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