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

convert-slow-api

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

convert-slow-api - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

16

dist/fetcher.js

@@ -57,2 +57,6 @@ "use strict";

_context.next = 8;
return waitTime(config.interval);
case 8:
_context.next = 10;
return axios.get(url, {

@@ -64,3 +68,3 @@ params: {

case 8:
case 10:
_yield$axios$get = _context.sent;

@@ -73,3 +77,3 @@ _yield$axios$get$data = _yield$axios$get.data;

if (!finished) {
_context.next = 17;
_context.next = 19;
break;

@@ -79,3 +83,3 @@ }

if (!error) {
_context.next = 16;
_context.next = 18;
break;

@@ -86,9 +90,5 @@ }

case 16:
case 18:
return _context.abrupt("return", result);
case 17:
_context.next = 19;
return waitTime(config.interval);
case 19:

@@ -95,0 +95,0 @@ _context.next = 5;

{
"name": "convert-slow-api",
"version": "1.0.3",
"version": "1.0.4",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/get-router.js",

@@ -12,2 +12,3 @@ import Axios from "axios"

while (true) {
await waitTime(config.interval)
let { data: { result, error, finished } } = await axios.get(url, {

@@ -20,3 +21,2 @@ params: { id },

}
await waitTime(config.interval)
}

@@ -23,0 +23,0 @@ }

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