Socket
Socket
Sign inDemoInstall

avvio

Package Overview
Dependencies
Maintainers
10
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 8.3.2 to 8.4.0

test/on-ready-timeout-await.test.js

6

boot.js

@@ -482,3 +482,3 @@ 'use strict'

function timeoutCall (func, rootErr, context, cb) {
const name = func.name
const name = func.unwrappedName ?? func.name
debug('setting up ready timeout', name, this._opts.timeout)

@@ -575,3 +575,5 @@ let timer = setTimeout(() => {

function encapsulateThreeParam (func, that) {
return _encapsulateThreeParam.bind(that)
const wrapped = _encapsulateThreeParam.bind(that)
wrapped.unwrappedName = func.name
return wrapped
function _encapsulateThreeParam (err, cb) {

@@ -578,0 +580,0 @@ let res

@@ -23,4 +23,7 @@ import { EventEmitter } from "events";

ready?: string;
close?: string;
onClose?: string;
};
autostart?: boolean;
timeout?: number;
}

@@ -27,0 +30,0 @@

{
"name": "avvio",
"version": "8.3.2",
"version": "8.4.0",
"description": "Asynchronous bootstrapping of Node applications",

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

@@ -389,3 +389,4 @@ import * as avvio from "../../";

autostart: false,
expose: { after: "after", ready: "ready", use: "use" }
expose: { after: "after", ready: "ready", use: "use", close: "close", onClose : "onClose" },
timeout: 50000
};

@@ -392,0 +393,0 @@ // avvio with server and options

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