@almonds/http-shutdown
Advanced tools
Comparing version 1.2.1-rc.1 to 1.2.1-rc.2
@@ -7,2 +7,7 @@ // Missing type definitions | ||
declare function wrapShutdown(s: Server): Server; | ||
interface WithShutdown extends Server { | ||
shutdown(cb: (err?: Error) => any): void; | ||
forceShutdown(cb: (err?: Error) => any): void; | ||
} | ||
declare function wrapShutdown<S extends Server>(s: S): S & WithShutdown; |
{ | ||
"name": "@almonds/http-shutdown", | ||
"version": "1.2.1-rc.1", | ||
"version": "1.2.1-rc.2", | ||
"description": "Gracefully shutdown a running HTTP server.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
9327
125
4