Skip to content

Commit

Permalink
chore: v4.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
troch committed May 14, 2018
1 parent 5c98fb6 commit f1afdab
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="4.0.5"></a>
## [4.0.5](https://github.com/troch/path-parser/compare/v4.0.4...v4.0.5) (2018-05-14)


### Bug Fixes

* allow equal signs in parameters (commonly found at the end of base 64 encoded strings) ([5c98fb6](https://github.com/troch/path-parser/commit/5c98fb6))



<a name="4.0.4"></a>
## [4.0.4](https://github.com/troch/path-parser/compare/v4.0.3...v4.0.4) (2018-04-09)

Expand Down
4 changes: 3 additions & 1 deletion dist/cjs/path-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ 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 = [
{
Expand Down
4 changes: 3 additions & 1 deletion dist/es/path-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ 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 = [
{
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "path-parser",
"version": "4.0.4",
"version": "4.0.5",
"description": "A small utility to parse, match and generate paths",
"main": "dist/cjs/path-parser.js",
"jsnext:main": "dist/es/path-parser.js",
Expand Down

0 comments on commit f1afdab

Please sign in to comment.