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

nats-hemera

Package Overview
Dependencies
Maintainers
1
Versions
279
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nats-hemera - npm Package Compare versions

Comparing version 0.1.29 to 0.1.30

33

lib/index.js

@@ -53,10 +53,10 @@ /*!

var
HemeraError = SuperError.subclass('HemeraError'),
ParseError = HemeraError.subclass('HemeraParseError'),
TimeoutError = HemeraError.subclass('TimeoutError'),
ImplementationError = HemeraError.subclass('ImplementationError'),
BusinessError = HemeraError.subclass('BusinessError'),
FatalError = HemeraError.subclass('FatalError'),
PatternNotFound = HemeraError.subclass('PatternNotFound'),
PayloadValidationError = SuperError.subclass('PayloadValidationError')
HemeraError = SuperError.subclass('HemeraError'),
ParseError = HemeraError.subclass('HemeraParseError'),
TimeoutError = HemeraError.subclass('TimeoutError'),
ImplementationError = HemeraError.subclass('ImplementationError'),
BusinessError = HemeraError.subclass('BusinessError'),
FatalError = HemeraError.subclass('FatalError'),
PatternNotFound = HemeraError.subclass('PatternNotFound'),
PayloadValidationError = SuperError.subclass('PayloadValidationError')

@@ -512,3 +512,18 @@

if (typeof cb === 'function') {
cb(error)
try {
cb(error)
} catch (err) {
let error = new FatalError().causedBy(err)
this.log().fatal(error)
//Let it crash
if (this.config.crashOnFatal) {
this.fatal()
}
}
}

@@ -515,0 +530,0 @@

{
"name": "nats-hemera",
"author": "Dustin Deus (https://github.com/StarpTech)",
"version": "0.1.29",
"version": "0.1.30",
"main": "index.js",

@@ -65,3 +65,3 @@ "homepage": "https://starptech.github.io/hemera/",

"memwatch-next": "^0.3.0",
"mocha": "3.1.x",
"mocha": "~3.2.0",
"mocha-lcov-reporter": "1.2.x",

@@ -68,0 +68,0 @@ "nats": "0.6.x",

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