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

koa-trie-router

Package Overview
Dependencies
Maintainers
2
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-trie-router - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

5

HISTORY.md
1.0.5 / 2014-01-11
==================
* pass noop as `next` to avoid errors
1.0.4 / 2014-01-11

@@ -3,0 +8,0 @@ ==================

4

lib/dispatcher.js

@@ -35,4 +35,6 @@ var Router = require('./router')

this.params = this.request.params = match.param
yield* gen.call(this)
yield* gen.call(this, noop)
}
}
function* noop() {}
{
"name": "koa-trie-router",
"description": "Trie-routing for Koa",
"version": "1.0.4",
"version": "1.0.5",
"author": {

@@ -6,0 +6,0 @@ "name": "Jonathan Ong",

@@ -108,2 +108,8 @@ # Koa Trie Router [![Build Status](https://travis-ci.org/koajs/trie-router.png)](https://travis-ci.org/koajs/trie-router)

## Usage
In `trie-router`, routes are orthogonal and strict. Unlike regexp routing, there's no wildcard routing and you can't `next` to the next matching route.
## License

@@ -110,0 +116,0 @@

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