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

yog2-kernel

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yog2-kernel - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

2

components/dispatcher/dispatcher.js

@@ -30,2 +30,3 @@ var express = require('express');

if (router === null){
debuglog('router [%s] is missed, continue', routerName);
next();

@@ -57,2 +58,3 @@ return;

if (action === null){
debuglog('action [%s/%s] is missed, continue', routerName, actionName);
req.__auto_router_failed__ = true;

@@ -59,0 +61,0 @@ next();

@@ -5,2 +5,3 @@ var dispatcher = require('./dispatcher.js');

module.exports.dispatcher = function(app, conf){
conf.appPath = conf.appPath || yog.ROOT_PATH + '/app';
var dispatcherIns = new dispatcher(conf);

@@ -7,0 +8,0 @@ //用户自定义rootRouter

2

package.json
{
"name": "yog2-kernel",
"version": "0.0.0",
"version": "0.0.1",
"description": "",

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