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

lightship

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightship - npm Package Compare versions

Comparing version 4.3.8 to 4.3.9

9

dist/factories/createLightship.js

@@ -135,2 +135,4 @@ "use strict";

const check = () => {
log.debug('checking if there are live beacons');
if (beacons.length > 0) {

@@ -141,2 +143,4 @@ log.info({

} else {
log.info('there are no live beacons; proceeding to terminate the Node.js process');
eventEmitter.off('beaconStateChange', check);
resolve();

@@ -146,5 +150,3 @@ }

eventEmitter.on('beaconStateChange', () => {
check();
});
eventEmitter.on('beaconStateChange', check);
check();

@@ -154,2 +156,3 @@ });

log.debug('running %d shutdown handler(s)', shutdownHandlers.length);
var _iteratorNormalCompletion = true;

@@ -156,0 +159,0 @@ var _didIteratorError = false;

@@ -87,3 +87,3 @@ {

},
"version": "4.3.8"
"version": "4.3.9"
}

@@ -147,2 +147,4 @@ // @flow

const check = () => {
log.debug('checking if there are live beacons');
if (beacons.length > 0) {

@@ -153,2 +155,6 @@ log.info({

} else {
log.info('there are no live beacons; proceeding to terminate the Node.js process');
eventEmitter.off('beaconStateChange', check);
resolve();

@@ -158,5 +164,3 @@ }

eventEmitter.on('beaconStateChange', () => {
check();
});
eventEmitter.on('beaconStateChange', check);

@@ -167,2 +171,4 @@ check();

log.debug('running %d shutdown handler(s)', shutdownHandlers.length);
for (const shutdownHandler of shutdownHandlers) {

@@ -169,0 +175,0 @@ try {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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