Skip to content

Commit

Permalink
chore: v1.8.5
Browse files Browse the repository at this point in the history
  • Loading branch information
troch committed Aug 10, 2017
1 parent af201c4 commit 99f9e71
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 1 deletion.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="1.8.5"></a>
## [1.8.5](https://github.com/troch/route-node/compare/v1.8.4...v1.8.5) (2017-08-10)


### Bug Fixes

* prevent empty arrays to be serialised in search part ([af201c4](https://github.com/troch/route-node/commit/af201c4))



<a name="1.8.4"></a>
## [1.8.4](https://github.com/troch/route-node/compare/v1.8.3...v1.8.4) (2017-08-07)

Expand Down
4 changes: 4 additions & 0 deletions dist/amd/route-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,10 @@ var RouteNode = function () {

var val = params[withoutBrackets(p)];

if (Array.isArray(val)) {
return val.length > 0;
}

return val !== undefined && val !== null;
}).map(function (p) {
var val = params[withoutBrackets(p)];
Expand Down
4 changes: 4 additions & 0 deletions dist/commonjs/route-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,10 @@ var RouteNode = function () {

var val = params[(0, _searchParams.withoutBrackets)(p)];

if (Array.isArray(val)) {
return val.length > 0;
}

return val !== undefined && val !== null;
}).map(function (p) {
var val = params[(0, _searchParams.withoutBrackets)(p)];
Expand Down
4 changes: 4 additions & 0 deletions dist/umd/route-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -908,6 +908,10 @@ var RouteNode = function () {

var val = params[withoutBrackets(p)];

if (Array.isArray(val)) {
return val.length > 0;
}

return val !== undefined && val !== null;
}).map(function (p) {
var val = params[withoutBrackets(p)];
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": "route-node",
"version": "1.8.4",
"version": "1.8.5",
"description": "A package to create a tree of named routes",
"main": "dist/commonjs/route-node.js",
"jsnext:main": "modules/RouteNode.js",
Expand Down

0 comments on commit 99f9e71

Please sign in to comment.