Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

api-poller

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-poller - npm Package Compare versions

Comparing version
1.5.1
to
2.0.0
+2
-2
dist/runner.js

@@ -16,3 +16,3 @@ #! /usr/bin/env node

const base = host + ":" + port;
const duration = parseInt(process.argv[3]) / 1000 || 0;
const duration = parseInt(process.argv[3]) * 1000 || 0;
const start = Date.now();

@@ -27,3 +27,3 @@ const end = start + duration;

console.log(contents);
const fileName = resultsFolder + Date.now() + "_" + path + ".json";
const fileName = resultsFolder + Date.now() + "_" + path.replace("/", "") + ".json";
fs_1.writeFile(fileName, contents, { encoding: "utf8" }, () => { });

@@ -30,0 +30,0 @@ if (Date.now() < end)

{
"name": "api-poller",
"version": "1.5.1",
"version": "2.0.0",
"description": "Longpoll the API and log responses to disk",

@@ -5,0 +5,0 @@ "main": "dist/runner",