From 59d487365b2676907673dc9742712e26a7233199 Mon Sep 17 00:00:00 2001 From: Aaron Mars Date: Fri, 21 Apr 2017 12:16:17 -0700 Subject: [PATCH] Prepare for release 2.1.3 --- dist/index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index c793bb8..89a11c8 100644 --- a/dist/index.js +++ b/dist/index.js @@ -20,7 +20,7 @@ Object.defineProperty(exports, '__esModule', { value: true }); * See the License for the specific language governing permissions and * limitations under the License. */ -const uriParser = /^(?:(?![^:@]+:[^:@/]*@)([^:/?#.]+:))?(?:\/\/)?(?:([^:@/]*)(?::([^:@/]*))?@)?(\[[0-9a-fA-F.]+]|[^:/?#]*)(?::(\d+|(?=:)))?((?:[^?#](?![^?#/]*\.(?:[?#]|$)))*\/?)?[^?#/]*(?:(\?[^#]*))?(?:(#.*))?/; +const uriParser = /^(?:(?![^:@]+:[^:@/]*@)([^:/?#.]+:))?(?:\/\/)?(?:([^:@/]*)(?::([^:@/]*))?@)?(\[[0-9a-fA-F.]+]|[^:/?#]*)(?::(\d+|(?=:)))?((?:[^?#])*\/?)?[^?#/]*(?:(\?[^#]*))?(?:(#.*))?/; function _parseUri(str) { var parserKeys = [ 'href', 'protocol', 'username', 'password', 'hostname', 'port', 'pathname', 'search', 'hash' ]; var m = uriParser.exec(str); diff --git a/package.json b/package.json index c56c063..2779fe6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@mindtouch/mindtouch-http.js", "main": "dist/index.js", - "version": "2.1.2", + "version": "2.1.3", "description": "A JavaScript library to construct URLs and make HTTP requests using the fetch API", "format": "esm", "registry": "npm",