trek-router
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -44,2 +44,9 @@ /*! | ||
/** | ||
* Router | ||
* | ||
* @class Router | ||
* @constructor | ||
*/ | ||
/** | ||
* Find child node by charCode | ||
@@ -67,9 +74,2 @@ * | ||
/** | ||
* Router | ||
* | ||
* @class Router | ||
* @constructor | ||
*/ | ||
var Router = (function () { | ||
@@ -88,2 +88,4 @@ function Router() { | ||
// Length of longest common prefix | ||
/** | ||
@@ -308,3 +310,2 @@ * Add new route | ||
// Length of longest common prefix | ||
function lcp(a, b) { | ||
@@ -311,0 +312,0 @@ var i = 0; |
{ | ||
"name": "trek-router", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "A fast HTTP router", | ||
@@ -10,7 +10,7 @@ "repository": "trekjs/router", | ||
"keywords": [ | ||
"route", | ||
"router", | ||
"route", | ||
"routing", | ||
"trek-router", | ||
"trek" | ||
"trek", | ||
"trek-router" | ||
], | ||
@@ -20,3 +20,2 @@ "scripts": { | ||
"compile": "babel src --out-dir lib --copy-files", | ||
"prepublish": "npm run compile", | ||
"test": "mocha --require babel/register --reporter spec --bail --check-leaks test/**/*.test.js", | ||
@@ -27,22 +26,22 @@ "test-ci": "babel-node node_modules/.bin/isparta cover node_modules/.bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/**/*.test.js", | ||
"devDependencies": { | ||
"babel": "^5.4.7", | ||
"babel": "^5.8.23", | ||
"benchmark": "^1.0.0", | ||
"isparta": "^3.x", | ||
"istanbul": "~0.3.14", | ||
"lodash": "^3.9.2", | ||
"istanbul": "^0.3.18", | ||
"lodash": "^3.10.1", | ||
"mocha": "~2.2.5", | ||
"path-to-regexp": "^1.2.0", | ||
"route-recognizer": "^0.1.5", | ||
"route-trie": "^1.0.0", | ||
"path-to-regexp": "^1.2.1", | ||
"route-recognizer": "^0.1.7", | ||
"route-trie": "^1.0.1", | ||
"routington": "^1.0.3" | ||
}, | ||
"files": [ | ||
"HISTORY.md", | ||
"LICENSE", | ||
"HISTORY.md", | ||
"lib" | ||
], | ||
"engines": { | ||
"node": ">= 0.8.0", | ||
"iojs": "*" | ||
"iojs": "*", | ||
"node": ">= 0.8.0" | ||
} | ||
} |
13145