New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

http4js

Package Overview
Dependencies
Maintainers
4
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http4js - npm Package Compare versions

Comparing version 5.0.6 to 5.0.7

2

package.json
{
"name": "http4js",
"version": "5.0.6",
"version": "5.0.7",
"description": "A lightweight HTTP toolkit",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -62,2 +62,4 @@ # http4js

### 5.0.7 Specify void return on server.stop()
### 5.0.6 Dependency update

@@ -64,0 +66,0 @@

@@ -18,3 +18,3 @@ /// <reference types="node" />

start(): Promise<void>;
stop(): Promise<any>;
stop(): Promise<void>;
isRunning(): Boolean;

@@ -21,0 +21,0 @@ private hostnameFrom;

@@ -59,4 +59,4 @@ import * as http from "http";

async stop(): Promise<any> {
return new Promise((res, rej) => {
async stop(): Promise<void> {
return new Promise<void>((res, rej) => {
this.server.close((err?: Error) => {

@@ -63,0 +63,0 @@ if (err) {

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