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.0.0 to 5.0.1

4

boot.js

@@ -164,6 +164,2 @@ 'use strict'

this._addPlugin(plugin, opts)
} else if (Array.isArray(plugin)) {
for (var i = 0; i < plugin.length; i++) {
this._addPlugin(plugin[i], opts)
}
} else {

@@ -170,0 +166,0 @@ throw new Error('plugin must be a function')

2

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

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

@@ -164,8 +164,2 @@ # avvio

If you need to add more than a function and you don't need to use a different options object or callback, you can pass an array of functions to `.use`.
```js
app.use([first, second, third], opts)
```
The functions will be loaded in the same order as they are inside the array.
<a name="error-handling"></a>

@@ -172,0 +166,0 @@ #### Error handling

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