@nuxt/http
Advanced tools
Comparing version 0.5.12 to 0.5.13
@@ -5,2 +5,9 @@ # Changelog | ||
### [0.5.13](https://github.com/nuxt/http/compare/v0.5.12...v0.5.13) (2020-09-26) | ||
### Bug Fixes | ||
* use regex to avoid falsely replacing ports starting with 80 ([#124](https://github.com/nuxt/http/issues/124)) ([e981e62](https://github.com/nuxt/http/commit/e981e622891a347ad0ba651bf7c48db29a989f84)) | ||
### [0.5.12](https://github.com/nuxt/http/compare/v0.5.11...v0.5.12) (2020-09-01) | ||
@@ -7,0 +14,0 @@ |
@@ -118,3 +118,3 @@ const path = require('path') | ||
// Remove port 80 when http | ||
if (options.baseURL.includes('http://')) { | ||
if (/^http:\/\/.*:80(\/|$)/.test(options.baseURL)) { | ||
options.baseURL = options.baseURL.replace(':80', '') | ||
@@ -121,0 +121,0 @@ } |
{ | ||
"name": "@nuxt/http", | ||
"version": "0.5.12", | ||
"version": "0.5.13", | ||
"description": "Universal HTTP Module for Nuxt.js", | ||
@@ -27,3 +27,3 @@ "repository": "nuxt/http", | ||
"ky": "^0.23.0", | ||
"node-fetch": "^2.6.0", | ||
"node-fetch": "^2.6.1", | ||
"web-streams-polyfill": "^3.0.0" | ||
@@ -30,0 +30,0 @@ }, |
31610
Updatednode-fetch@^2.6.1