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

wait-on

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wait-on - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

11

lib/wait-on.js

@@ -65,6 +65,8 @@ 'use strict';

var lastWaitForOutput; // the resources last known to be waiting for
var timeoutTimer = null;
if (opts.timeout !== Infinity) {
timeoutTimer = setTimeout(function () {
log('wait-on timed out, exiting with error');
log('wait-on(%s) timed out waiting for: %s; exiting with error', process.pid, lastWaitForOutput);
cb(new Error('Timeout'))

@@ -116,3 +118,2 @@ }, opts.timeout);

var lastWaitForOutput;
function lastValuesAllAvailable() {

@@ -129,3 +130,3 @@ if (!lastValues) { return false; }

if (notReadyString && notReadyString !== lastWaitForOutput) {
log('wait-on waiting for: ', notReadyString);
log('wait-on(%s) waiting for: %s', process.pid, notReadyString);
lastWaitForOutput = notReadyString;

@@ -144,3 +145,3 @@ }

output('stabilized');
log('wait-on exiting successfully');
log('wait-on(%s) exiting successfully found all: %s', process.pid, opts.resources.join(', '));
childSub.dispose();

@@ -161,3 +162,3 @@ subsc.dispose();

output('err: ', err);
log('wait-on exiting with error', err);
log('wait-on(%s) exiting with error', process.pid, err);
cleanup(err);

@@ -164,0 +165,0 @@ },

{
"name": "wait-on",
"version": "1.3.0",
"version": "1.3.1",
"dependencies": {

@@ -5,0 +5,0 @@ "core-js": {

{
"name": "wait-on",
"description": "wait-on is a cross platform command line utility and Node.js API which will wait for files, ports, sockets, and http(s) resources to become available",
"version": "1.3.0",
"version": "1.3.1",
"main": "lib/wait-on",

@@ -6,0 +6,0 @@ "bin": {

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