Socket
Socket
Sign inDemoInstall

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 8.0.2 to 9.0.0

19

dist/factories/createLightship.js

@@ -197,15 +197,10 @@ /* eslint-disable promise/prefer-await-to-then */

};
if (modeIsLocal) {
log.warn('shutdown handlers are not used in the local mode');
for (const signal of configuration.signals) {
process.on(signal, () => {
log.debug({
signal,
}, 'received a shutdown signal');
void shutdown(false);
});
}
else {
for (const signal of configuration.signals) {
process.on(signal, () => {
log.debug({
signal,
}, 'received a shutdown signal');
void shutdown(false);
});
}
}
const createBeacon = (context) => {

@@ -212,0 +207,0 @@ const beacon = {

@@ -72,3 +72,3 @@ {

"types": "./dist/index.d.ts",
"version": "8.0.2"
"version": "9.0.0"
}

@@ -304,17 +304,13 @@ /* eslint-disable promise/prefer-await-to-then */

if (modeIsLocal) {
log.warn('shutdown handlers are not used in the local mode');
} else {
for (const signal of configuration.signals) {
process.on(signal, () => {
log.debug(
{
signal,
},
'received a shutdown signal',
);
for (const signal of configuration.signals) {
process.on(signal, () => {
log.debug(
{
signal,
},
'received a shutdown signal',
);
void shutdown(false);
});
}
void shutdown(false);
});
}

@@ -321,0 +317,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