Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@loopback/http-server

Package Overview
Dependencies
Maintainers
17
Versions
146
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 0.3.2 to 0.3.3

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

<a name="0.3.3"></a>
## [0.3.3](https://github.com/strongloop/loopback-next/compare/@loopback/http-server@0.3.2...@loopback/http-server@0.3.3) (2018-08-08)
### Bug Fixes
* **http-server:** use loopback instead of 0.0.0.0/[::] in URLs ([5b83a0c](https://github.com/strongloop/loopback-next/commit/5b83a0c))
<a name="0.3.2"></a>

@@ -8,0 +19,0 @@ ## [0.3.2](https://github.com/strongloop/loopback-next/compare/@loopback/http-server@0.3.1...@loopback/http-server@0.3.2) (2018-07-21)

@@ -78,4 +78,9 @@ "use strict";

if (this._address.family === 'IPv6') {
if (host === '::')
host = '::1';
host = `[${host}]`;
}
else if (host === '0.0.0.0') {
host = '127.0.0.1';
}
return `${this._protocol}://${host}:${this.port}`;

@@ -82,0 +87,0 @@ }

@@ -78,4 +78,9 @@ "use strict";

if (this._address.family === 'IPv6') {
if (host === '::')
host = '::1';
host = `[${host}]`;
}
else if (host === '0.0.0.0') {
host = '127.0.0.1';
}
return `${this._protocol}://${host}:${this.port}`;

@@ -82,0 +87,0 @@ }

12

package.json
{
"name": "@loopback/http-server",
"version": "0.3.2",
"version": "0.3.3",
"description": "A wrapper for creating HTTP/HTTPS servers",
"engines": {
"node": ">=8"
"node": ">=8.9"
},

@@ -23,9 +23,9 @@ "scripts": {

"dependencies": {
"@loopback/dist-util": "^0.3.5",
"@loopback/dist-util": "^0.3.6",
"p-event": "^2.0.0"
},
"devDependencies": {
"@loopback/build": "^0.6.13",
"@loopback/core": "^0.11.2",
"@loopback/testlab": "^0.11.2",
"@loopback/build": "^0.6.14",
"@loopback/core": "^0.11.3",
"@loopback/testlab": "^0.11.3",
"@types/node": "^10.1.2",

@@ -32,0 +32,0 @@ "@types/p-event": "^1.3.0",

@@ -148,3 +148,6 @@ // Copyright IBM Corp. 2017,2018. All Rights Reserved.

if (this._address.family === 'IPv6') {
if (host === '::') host = '::1';
host = `[${host}]`;
} else if (host === '0.0.0.0') {
host = '127.0.0.1';
}

@@ -151,0 +154,0 @@ return `${this._protocol}://${host}:${this.port}`;

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