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

routr

Package Overview
Dependencies
Maintainers
5
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

routr - npm Package Compare versions

Comparing version 2.1.2 to 2.1.4

3

lib/router.js

@@ -8,3 +8,2 @@ /**

var debug = require('debug')('Routr:router');
var pathToRegexp = require('path-to-regexp');

@@ -170,3 +169,2 @@ var queryString = require('query-string');

debug('Route.makePath failed, e = ', err);
return null;

@@ -232,3 +230,2 @@ };

self._options = options || {};
debug('new Router, routes = ', routes);

@@ -235,0 +232,0 @@ if (!Array.isArray(routes)) {

13

package.json
{
"name": "routr",
"version": "2.1.2",
"version": "2.1.4",
"description": "A router for both server and client",

@@ -13,3 +13,3 @@ "main": "index.js",

"lint": "eslint .",
"test": "mocha tests/unit/ --recursive --compilers js:babel-register --require babel-polyfill --reporter spec"
"test": "mocha tests/unit/ --recursive --require babel-register --require babel-polyfill --reporter spec"
},

@@ -24,3 +24,2 @@ "author": "Lingyan Zhu <lingyan@yahoo-inc.com",

"dependencies": {
"debug": "^2.0.0",
"path-to-regexp": "^1.1.1",

@@ -30,3 +29,3 @@ "query-string": "^5.0.0"

"devDependencies": {
"babel-eslint": "^9.0.0",
"babel-eslint": "^10.0.2",
"babel-polyfill": "^6.13.0",

@@ -37,8 +36,8 @@ "babel-preset-es2015": "^6.14.0",

"coveralls": "^3.0.0",
"eslint": "^5.0.0",
"eslint": "^7.29.0",
"eslint-plugin-babel": "^5.0.0",
"istanbul": "^0.4.5",
"mocha": "^5.0.0",
"mocha": "^9.0.1",
"pre-commit": "^1.0.7",
"sinon": "^7.2.4"
"sinon": "^8.0.0"
},

@@ -45,0 +44,0 @@ "pre-commit": [

Sorry, the diff of this file is not supported yet

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