We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a519901 commit 5cf8265Copy full SHA for 5cf8265
2 files changed
package.json
@@ -54,7 +54,7 @@
54
"yargs": "~4.8.1"
55
},
56
"dependencies": {
57
- "path-parser": "2.0.0",
+ "path-parser": "2.0.1",
58
"search-params": "~1.3.0"
59
}
60
test/main.js
@@ -324,6 +324,7 @@ describe('RouteNode', function () {
324
withoutMeta(rootNode.matchPath('/users/list/')).should.eql({name: 'users.list', params: {}});
325
withoutMeta(rootNode.matchPath('/')).should.eql({name: 'default', params: {}});
326
withoutMeta(rootNode.matchPath('', { trailingSlash: true })).should.eql({name: 'default', params: {}});
327
+ should.not.exists(rootNode.matchPath('', { trailingSlash: false }));
328
should.not.exists(rootNode.matchPath('/users/list//', { trailingSlash: true }));
329
});
330
0 commit comments