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

commuter

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commuter - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "commuter",
"version": "1.0.0",
"version": "1.0.1",
"description": "A minimal, composable router that supports sub-routes.",

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

@@ -15,3 +15,3 @@ # commuter

router.get('/post/:slug', onRoute)
router.get('/post/:title', onRoute)

@@ -67,3 +67,3 @@ //later, a GET request is made with the url '/post/some-title'

are matched in the order they were added.
- `request` - An [http.IncomingMessage][request], as called by an
- `request` - An [http.IncomingMessage][request], as passed by an
[http.Server][server] or similar.

@@ -70,0 +70,0 @@ - `args` - Any number of arguments which will be passed to the matched

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