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

async-retry-ng

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-retry-ng - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

6

lib/index.js

@@ -1,2 +0,2 @@

const retrier = require("./retry");
const retrier = require('./retry');

@@ -20,7 +20,7 @@ function retry(fn, opts) {

function bail(err) {
reject(err || new Error("Aborted"));
reject(err || new Error('Aborted'));
}
function onError(err, num) {
if (err.bail) {
if (err === Object(err) && err.bail) {
bail(err);

@@ -27,0 +27,0 @@ return;

{
"name": "async-retry-ng",
"version": "2.0.0",
"version": "2.0.1",
"description": "Retrying made simple, easy and async",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

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