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.2.1 to 0.2.2

10

lib/router.js
'use strict';
exports.__esModule = true;
var _classCallCheck = function (instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } };
exports.__esModule = true;
/*!

@@ -313,7 +314,6 @@ * router

function equalsLower(a, b) {
var aLen = a.length;
var bLen = b.length;
if (aLen !== bLen) return false;
var l = a.length;
if (l !== b.length) return false;
var i = 0;
for (; i < aLen && a.charCodeAt(i) !== b.charCodeAt(i); ++i) {
for (; i < l && a.charCodeAt(i) !== b.charCodeAt(i); ++i) {
return false;

@@ -320,0 +320,0 @@ }

{
"name": "trek-router",
"version": "0.2.1",
"version": "0.2.2",
"description": "A fast HTTP router",

@@ -24,7 +24,7 @@ "repository": "trekjs/router",

"devDependencies": {
"babel": "^5.1.13",
"babel": "^5.2.6",
"benchmark": "^1.0.0",
"isparta": "^3.x",
"istanbul": "^0.3.13",
"lodash": "^3.7.0",
"lodash": "^3.8.0",
"mocha": "^2.2.4",

@@ -31,0 +31,0 @@ "path-to-regexp": "^1.0.3",

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