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.1 to 0.0.2

lib/methods.js

4

index.js
var named = require('named-regexp').named
var collapse = require('collapse-array')
var defaults = require('./lib/defaults')
var methods = require('./lib/methods')

@@ -20,3 +20,3 @@ var live = function(route) {

defaults.call(Can.prototype)
methods.call(Can.prototype)

@@ -23,0 +23,0 @@ Can.prototype.route = function(req, res) {

{
"name": "can-route",
"version": "0.0.1",
"version": "0.0.2",
"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",

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