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

async-retry.ts

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-retry.ts - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

lib/retryAsync.js

@@ -16,3 +16,3 @@ "use strict";

logger.debug(`handling "${ex.message} by ${expectedMessage} with retry: ${!!retry}...`);
handler();
await handler();
if (retry) {

@@ -71,2 +71,2 @@ retryResult.result = await retry();

exports.default = RetryAsyncAction;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmV0cnlBc3luYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXRyeUFzeW5jLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsU0FBUyxZQUFZLENBQUMsRUFBRSxFQUFFLE1BQU07SUFDOUIsTUFBTSxDQUFDLEtBQUssQ0FBQyxXQUFXLEVBQUUsRUFBRSxFQUFFLEVBQUUsQ0FBQyxDQUFBO0FBQ25DLENBQUM7QUFFRCxLQUFLLFVBQVUsY0FBYyxDQUFDLGVBQWUsRUFBRSxFQUFFLEVBQUUsT0FBTyxFQUFFLEtBQUssRUFBRSxXQUFXLEVBQUUsTUFBTSxHQUFHLE9BQU87SUFDOUYsSUFBSSxPQUFPLGVBQWUsS0FBSyxRQUFRLEVBQUU7UUFDdkMsZUFBZSxHQUFHLElBQUksTUFBTSxDQUFDLEdBQUcsR0FBRyxlQUFlLEdBQUcsR0FBRyxDQUFDLENBQUE7S0FDMUQ7SUFFRCxNQUFNLENBQUMsS0FBSyxDQUFDLFlBQVksRUFBRSxDQUFDLE9BQU8sU0FBUyxlQUFlLE1BQU0sQ0FBQyxDQUFBO0lBQ2xFLElBQUksQ0FBQyxlQUFlLENBQUMsSUFBSSxDQUFDLEVBQUUsQ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UFLLElBQUksRUFBRTtvQkFDVCxPQUFPLE1BQU0sZ0JBQWdCLENBQUMsS0FBSyxDQUFDLE1BQU0sRUFBRSxhQUFhLEdBQUcsQ0FBQyxFQUFFLFFBQVEsRUFBRSxNQUFNLENBQUMsQ0FBQTtnQkFDbEYsQ0FBQyxFQUNELFdBQVcsRUFDWCxNQUFNLENBQ1AsQ0FBQTthQUNGO1lBQUMsT0FBTyxnQkFBZ0IsRUFBRTtnQkFDekIsTUFBTSxlQUFlLENBQ25CLGdCQUFnQixFQUNoQixRQUFRLEVBQ1IsS0FBSyxJQUFJLEVBQUU7b0JBQ1QsT0FBTyxNQUFNLGdCQUFnQixDQUFDLEtBQUssQ0FBQyxNQUFNLEVBQUUsYUFBYSxHQUFHLENBQUMsRUFBRSxRQUFRLEVBQUUsTUFBTSxDQUFDLENBQUE7Z0JBQ2xGLENBQUMsRUFDRCxXQUFXLENBQ1osQ0FBQTthQUNGO1lBRUQsT0FBTyxXQUFXLENBQUMsTUFBTSxDQUFBO1NBQzFCO0lBQ0gsQ0FBQztDQUNGO0FBdENELG1DQXNDQyJ9
{
"name": "async-retry.ts",
"version": "1.1.0",
"version": "1.1.1",
"description": "async await version of co-retry.js(https://www.npmjs.com/package/co-retry.js), which can be used in both TypeScript and JavaScript.",

@@ -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