Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 3.0.2 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/",

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