You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@lifeomic/attempt

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lifeomic/attempt - npm Package Compare versions

Comparing version

to
3.0.3

5

dist/es6/src/index.js

@@ -129,3 +129,6 @@ function applyDefaults(options) {

clearTimeout(timer);
resolve(onError(err));
// Calling resolve with a Promise that rejects here will result
// in an unhandled rejection. Calling `reject` with errors
// does not result in an unhandled rejection
onError(err).then(resolve).catch(reject);
});

@@ -132,0 +135,0 @@ });

@@ -129,3 +129,6 @@ function applyDefaults(options) {

clearTimeout(timer);
resolve(onError(err));
// Calling resolve with a Promise that rejects here will result
// in an unhandled rejection. Calling `reject` with errors
// does not result in an unhandled rejection
onError(err).then(resolve).catch(reject);
});

@@ -132,0 +135,0 @@ });

@@ -133,3 +133,6 @@ "use strict";

clearTimeout(timer);
resolve(onError(err));
// Calling resolve with a Promise that rejects here will result
// in an unhandled rejection. Calling `reject` with errors
// does not result in an unhandled rejection
onError(err).then(resolve).catch(reject);
});

@@ -136,0 +139,0 @@ });

2

package.json
{
"name": "@lifeomic/attempt",
"version": "3.0.2",
"version": "3.0.3",
"description": "Library that can be used to retry functions that return promise",

@@ -5,0 +5,0 @@ "main": "./dist/src/",