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 9.0.0-pre.fv5.1 to 9.0.0

1

index.d.ts

@@ -27,2 +27,3 @@ import { EventEmitter } from "events";

autostart?: boolean;
timeout?: number;
}

@@ -29,0 +30,0 @@

4

package.json
{
"name": "avvio",
"version": "9.0.0-pre.fv5.1",
"version": "9.0.0",
"description": "Asynchronous bootstrapping of Node applications",

@@ -42,3 +42,3 @@ "main": "boot.js",

"@fastify/pre-commit": "^2.1.0",
"@types/node": "^20.11.29",
"@types/node": "^22.0.0",
"standard": "^17.1.0",

@@ -45,0 +45,0 @@ "tap": "^18.7.1",

'use strict'
const { test, mock } = require('tap')
const { test, mockRequire } = require('tap')
const { kThenifyDoNotWrap } = require('../../lib/symbols')

@@ -12,3 +12,3 @@

const { thenify } = mock('../../lib/thenify', {
const { thenify } = mockRequire('../../lib/thenify', {
'../../lib/debug': {

@@ -37,3 +37,3 @@ debug: (message) => { t.equal(message, 'thenify returning undefined because we are already booted') }

const { thenify } = mock('../../lib/thenify', {
const { thenify } = mockRequire('../../lib/thenify', {
'../../lib/debug': {

@@ -54,3 +54,3 @@ debug: (message) => { t.equal(message, 'thenify') }

const { thenify } = mock('../../lib/thenify', {
const { thenify } = mockRequire('../../lib/thenify', {
'../../lib/debug': {

@@ -57,0 +57,0 @@ debug: (message) => { t.equal(message, 'thenify') }

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

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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