Socket
Socket
Sign inDemoInstall

@loopback/http-server

Package Overview
Dependencies
Maintainers
10
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loopback/http-server - npm Package Compare versions

Comparing version 3.1.2 to 4.0.0

2

dist/http-server.js

@@ -140,3 +140,3 @@ "use strict";

let host = this.host;
if (this._address.family === 'IPv6') {
if ([6, 'IPv6'].includes(this._address.family)) {
if (host === '::')

@@ -143,0 +143,0 @@ host = '::1';

{
"name": "@loopback/http-server",
"description": "A wrapper for creating HTTP/HTTPS servers",
"version": "3.1.2",
"version": "4.0.0",
"license": "MIT",

@@ -16,3 +16,3 @@ "main": "dist/index.js",

"engines": {
"node": "12 || 14 || 16 || 17"
"node": "14 || 16 || 17 || 18"
},

@@ -38,14 +38,14 @@ "scripts": {

"stoppable": "^1.1.0",
"tslib": "^2.3.1"
"tslib": "^2.4.0"
},
"devDependencies": {
"@loopback/build": "^8.1.2",
"@loopback/core": "^3.1.2",
"@loopback/eslint-config": "^12.0.4",
"@loopback/testlab": "^4.1.2",
"@loopback/build": "^9.0.0",
"@loopback/core": "^4.0.0",
"@loopback/eslint-config": "^13.0.0",
"@loopback/testlab": "^5.0.0",
"@types/debug": "^4.1.7",
"@types/node": "^12.20.47",
"@types/node": "^12.20.50",
"@types/stoppable": "^1.1.1"
},
"gitHead": "22d993c73a7b4ccdb36f2e26ea52460dc46fbd11"
"gitHead": "61453a3d7a16f9f37875a3f2c2a071568eb3e3af"
}

@@ -234,3 +234,3 @@ // Copyright IBM Corp. 2018,2020. All Rights Reserved.

let host = this.host;
if (this._address.family === 'IPv6') {
if ([6, 'IPv6'].includes(this._address.family)) {
if (host === '::') host = '::1';

@@ -237,0 +237,0 @@ host = `[${host}]`;

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