sheet-router
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -0,5 +1,5 @@ | ||
const pathname = require('pathname-match') | ||
const wayfarer = require('wayfarer') | ||
const assert = require('assert') | ||
const sliced = require('sliced') | ||
const url = require('url') | ||
@@ -64,5 +64,5 @@ module.exports = sheetRouter | ||
const args = sliced(arguments) | ||
args[0] = url.parse(args[0]).pathname | ||
args[0] = pathname(args[0]) | ||
return router.apply(null, args) | ||
} | ||
} |
{ | ||
"name": "sheet-router", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Fast, modular client router", | ||
@@ -25,2 +25,3 @@ "main": "index.js", | ||
"global": "^4.3.0", | ||
"pathname-match": "^1.1.2", | ||
"sliced": "^1.0.1", | ||
@@ -27,0 +28,0 @@ "wayfarer": "^6.1.0" |
11246
4
+ Addedpathname-match@^1.1.2
+ Addedpathname-match@1.2.0(transitive)