Socket
Socket
Sign inDemoInstall

avvio

Package Overview
Dependencies
Maintainers
2
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

avvio - npm Package Compare versions

Comparing version 5.3.0 to 5.4.0

test/catch-override-exception.test.js

1

boot.js

@@ -154,2 +154,3 @@ 'use strict'

process.nextTick(this._doStart)
return this
}

@@ -156,0 +157,0 @@

2

package.json
{
"name": "avvio",
"version": "5.3.0",
"version": "5.4.0",
"description": "Asynchronous bootstrapping of Node applications",

@@ -5,0 +5,0 @@ "main": "boot.js",

@@ -36,3 +36,8 @@ 'use strict'

this.server = this.parent.override(server, func, this.opts)
try {
this.server = this.parent.override(server, func, this.opts)
} catch (err) {
debug('override errored', name)
return cb(err)
}

@@ -39,0 +44,0 @@ debug('exec', name)

@@ -313,2 +313,3 @@ # avvio

Start the boot sequence, if it was not started yet.
Returns the `app` instance.

@@ -318,3 +319,3 @@ -------------------------------------------------------

### avioo.express(app)
### avvio.express(app)

@@ -321,0 +322,0 @@ Same as:

@@ -15,2 +15,12 @@ 'use strict'

test('start returns app', (t) => {
t.plan(1)
const app = boot({}, {autostart: false})
app
.start()
.ready((err) => {
t.error(err)
})
})
test('boot an app with a plugin', (t) => {

@@ -17,0 +27,0 @@ t.plan(4)

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