New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

trek-router

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trek-router - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

17

lib/router.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc