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

koa-trie-router

Package Overview
Dependencies
Maintainers
10
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 2.1.1 to 2.1.2

1

lib/lang.js

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

*/
/* istanbul ignore next */
function noop() {

@@ -27,0 +28,0 @@ }

2

lib/Methods.js

@@ -10,3 +10,3 @@

add(key, middleware = []) {
let stack = this.get(key) || []
let stack = this.get(key)
stack.push(...middleware)

@@ -13,0 +13,0 @@ this.set(key, stack)

@@ -95,2 +95,3 @@

/* istanbul ignore if */
if (!stack.length) {

@@ -97,0 +98,0 @@ return

{
"name": "koa-trie-router",
"description": "Trie-routing for Koa",
"version": "2.1.1",
"version": "2.1.2",
"author": {

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

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