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

lark-router

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lark-router - npm Package Compare versions

Comparing version 0.4.2 to 0.4.3

8

index.js

@@ -81,6 +81,6 @@ var rd = require('rd');

function addRoutePath (router, method, routePath, handler) {
var handler = handler || routePath || method;
var routePath = !!handler ? routePath : '/';
var method = !!routePath ? method.toLowerCase() : 'get';
function addRoutePath (router, method, oriRoutePath, oriHandler) {
var handler = oriHandler || oriRoutePath || method;
var routePath = !!oriHandler ? oriRoutePath : '/';
var method = !!oriRoutePath ? method.toLowerCase() : 'get';

@@ -87,0 +87,0 @@ if ('function' === typeof handler && 'GeneratorFunction' === handler.constructor.name) {

{
"name": "lark-router",
"version": "0.4.2",
"version": "0.4.3",
"description": "An koa route initialization and configuration module.",

@@ -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