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

bedrock

Package Overview
Dependencies
Maintainers
4
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bedrock - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

5

CHANGELOG.md
# bedrock ChangeLog
## 1.2.3 - 2016-06-01
### Changed
- Use improved common uncaught exception handler.
## 1.2.2 - 2016-05-30

@@ -4,0 +9,0 @@

37

lib/bedrock.js

@@ -313,2 +313,19 @@ /*

function _setupUncaughtExceptionHandler(mode, logger) {
// log uncaught exception and exit, except in test mode
if(config.cli.command.name() !== 'test') {
process.on('uncaughtException', function(err) {
process.removeAllListeners('uncaughtException');
var msg;
if(err instanceof api.util.BedrockError) {
msg = err.toObject();
} else {
msg = err.stack ? err.stack : err.toString();
}
logger.critical(mode + ': uncaught error:', msg);
process.exit(1);
});
}
}
function _runMaster(options) {

@@ -337,11 +354,3 @@ // get starting script

// log uncaught exception and exit, except in test mode
if(config.cli.command.name() !== 'test') {
process.on('uncaughtException', function(err) {
process.removeAllListeners('uncaughtException');
logger.critical(
'uncaught error:', err.stack ? err.stack : err.toString);
process.exit(1);
});
}
_setupUncaughtExceptionHandler('master', logger);

@@ -407,11 +416,3 @@ logger.info('running bedrock master process "' +

// log uncaught exception and exit, except in test mode
if(config.cli.command.name() !== 'test') {
process.on('uncaughtException', function(err) {
process.removeAllListeners('uncaughtException');
logger.critical(
'uncaught error:', err.stack ? err.stack : err.toString);
process.exit(1);
});
}
_setupUncaughtExceptionHandler('worker', logger);

@@ -418,0 +419,0 @@ logger.info('running bedrock worker process "' +

{
"name": "bedrock",
"version": "1.2.2",
"version": "1.2.3",
"description": "A core foundation for rich Web applications.",

@@ -5,0 +5,0 @@ "scripts": {

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