Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

can-route

Package Overview
Dependencies
Maintainers
1
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-route - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "can-route",
"version": "0.0.2",
"version": "0.0.3",
"description": "A simple router that runs inside a `http.createServer` handler and returns false when it can’t route a request.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -25,3 +25,3 @@ # can-route

// Item
can.patch(get/^\/(:<id>[a-f0-9]{16})\/?$/i,
can.patch(/^\/(:<id>[a-f0-9]{16})\/?$/i,
function(req, res, params) {

@@ -28,0 +28,0 @@ res.end(params.id + '\n')

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