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

@travetto/base

Package Overview
Dependencies
Maintainers
1
Versions
357
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/base - npm Package Compare versions

Comparing version 0.0.35 to 0.0.36

2

package.json

@@ -22,3 +22,3 @@ {

"scripts": {},
"version": "0.0.35"
"version": "0.0.36"
}
import { AppEnv } from './env';
import { initStackHandler } from './stacktrace';
import { Shutdown } from './shutdown';

@@ -20,2 +21,4 @@ export function init() {

});
Shutdown.register();
}

@@ -11,2 +11,8 @@ import { EventEmitter } from 'events';

static register() {
process.on('exit', Shutdown.shutdown.bind(Shutdown, 0));
process.on('SIGINT', Shutdown.shutdown.bind(Shutdown, 130));
process.on('uncaughtException', Shutdown.shutdown.bind(Shutdown, 1));
}
static onShutdownPromise() {

@@ -75,6 +81,2 @@ return Shutdown.shutdownPromise;

}
}
process.on('exit', Shutdown.shutdown.bind(Shutdown, 0));
process.on('SIGINT', Shutdown.shutdown.bind(Shutdown, 130));
process.on('uncaughtException', Shutdown.shutdown.bind(Shutdown, 1));
}
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