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.0.7 to 0.0.8

6

lib/router.js

@@ -47,3 +47,3 @@ 'use strict';

e = this.edges[i];
if (e.label === c) {
if (e.label.charCodeAt() === c.charCodeAt()) {
return e;

@@ -140,3 +140,3 @@ }

} else {
var n = new Node(search, has, handler, null, null);
var n = new Node(search, has, handler, []);
cn.edges.push(n);

@@ -160,3 +160,3 @@ break;

var n = 0; // Param count
var result = [];
var result = [null];
var params = [];

@@ -163,0 +163,0 @@

{
"name": "trek-router",
"version": "0.0.7",
"version": "0.0.8",
"description": "A fast HTTP router router",

@@ -5,0 +5,0 @@ "repository": "trekjs/router",

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