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

promise-thunk

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promise-thunk - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "promise-thunk",
"version": "0.1.0",
"version": "0.1.1",
"description": "Promise and thunk",

@@ -5,0 +5,0 @@ "main": "promise-thunk.js",

@@ -372,4 +372,6 @@ // promise-thunk.js

res[i] = val; if (--n === 0) resolve(res); }
function error(err) {
if (n > 0) reject(err); n = 0; }
if (p instanceof PromiseThunk || isPromise(p))
return p.then(complete, reject);
return p.then(complete, error);
complete(p);

@@ -376,0 +378,0 @@ }); // promises.forEach

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