From bff09c70e5e22fe58a567a406d0e9833ab6c53c9 Mon Sep 17 00:00:00 2001 From: Thomas Roch Date: Mon, 9 Apr 2018 10:50:26 +0100 Subject: [PATCH] chore: v4.0.4 --- CHANGELOG.md | 10 ++++++++++ dist/cjs/path-parser.js | 2 +- dist/es/path-parser.js | 2 +- package.json | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 91e6e89..1a18b44 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ + +## [4.0.4](https://github.com/troch/path-parser/compare/v4.0.3...v4.0.4) (2018-04-09) + + +### Bug Fixes + +* match pipe characters in parameters (Firefox) ([d6e6d27](https://github.com/troch/path-parser/commit/d6e6d27)) + + + ## [4.0.3](https://github.com/troch/path-parser/compare/v4.0.2...v4.0.3) (2018-04-03) diff --git a/dist/cjs/path-parser.js b/dist/cjs/path-parser.js index 95b219b..190064a 100644 --- a/dist/cjs/path-parser.js +++ b/dist/cjs/path-parser.js @@ -28,7 +28,7 @@ var __assign = Object.assign || function __assign(t) { }; var defaultOrConstrained = function (match) { - return '(' + (match ? match.replace(/(^<|>$)/g, '') : "[a-zA-Z0-9-_.~%':]+") + ')'; + return '(' + (match ? match.replace(/(^<|>$)/g, '') : "[a-zA-Z0-9-_.~%':|]+") + ')'; }; var rules = [ { diff --git a/dist/es/path-parser.js b/dist/es/path-parser.js index c693abc..9e65996 100644 --- a/dist/es/path-parser.js +++ b/dist/es/path-parser.js @@ -24,7 +24,7 @@ var __assign = Object.assign || function __assign(t) { }; var defaultOrConstrained = function (match) { - return '(' + (match ? match.replace(/(^<|>$)/g, '') : "[a-zA-Z0-9-_.~%':]+") + ')'; + return '(' + (match ? match.replace(/(^<|>$)/g, '') : "[a-zA-Z0-9-_.~%':|]+") + ')'; }; var rules = [ { diff --git a/package.json b/package.json index 30c6b02..70124d3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "path-parser", - "version": "4.0.3", + "version": "4.0.4", "description": "A small utility to parse, match and generate paths", "main": "dist/cjs/path-parser.js", "jsnext:main": "dist/es/path-parser.js",