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.9 to 4.3.10

21

dist/factories/createLightship.js

@@ -119,9 +119,8 @@ "use strict";

if (configuration.timeout !== Infinity) {
const timeoutId = setTimeout(() => {
setTimeout(() => {
log.warn('timeout occurred before all the shutdown handlers could run to completion; forcing termination'); // eslint-disable-next-line no-process-exit
process.exit(1);
}, configuration.timeout); // $FlowFixMe
timeoutId.unref();
}, configuration.timeout) // $FlowFixMe
.unref();
} // @see https://github.com/gajus/lightship/issues/12

@@ -193,11 +192,9 @@

}
});
setTimeout(() => {
log.warn('process did not exit on its own; investigate what is keeping the event loop active'); // eslint-disable-next-line no-process-exit
const timeoutId = setTimeout(() => {
log.warn('process did not exit on its own; investigate what is keeping the event loop active'); // eslint-disable-next-line no-process-exit
process.exit(1);
}, 1000); // $FlowFixMe
timeoutId.unref();
});
process.exit(1);
}, 1000) // $FlowFixMe
.unref();
});

@@ -204,0 +201,0 @@

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

},
"version": "4.3.9"
"version": "4.3.10"
}

@@ -129,3 +129,3 @@ // @flow

if (configuration.timeout !== Infinity) {
const timeoutId = setTimeout(() => {
setTimeout(() => {
log.warn('timeout occurred before all the shutdown handlers could run to completion; forcing termination');

@@ -135,6 +135,6 @@

process.exit(1);
}, configuration.timeout);
}, configuration.timeout)
// $FlowFixMe
timeoutId.unref();
// $FlowFixMe
.unref();
}

@@ -190,13 +190,13 @@

}
});
const timeoutId = setTimeout(() => {
log.warn('process did not exit on its own; investigate what is keeping the event loop active');
setTimeout(() => {
log.warn('process did not exit on its own; investigate what is keeping the event loop active');
// eslint-disable-next-line no-process-exit
process.exit(1);
}, 1000);
// eslint-disable-next-line no-process-exit
process.exit(1);
}, 1000)
// $FlowFixMe
timeoutId.unref();
});
.unref();
};

@@ -203,0 +203,0 @@

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