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

yog2-kernel

Package Overview
Dependencies
Maintainers
2
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.2.2 to 0.2.3

2

package.json
{
"name": "yog2-kernel",
"version": "0.2.2",
"version": "0.2.3",
"description": "yog2 kernel",

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

@@ -22,3 +22,2 @@ 'use strict';

}
req.__dispatcher_start_time__ = +new Date();
var routerName = null;

@@ -189,2 +188,4 @@ if (req.params.router) {

var rootRouterInjector = null;
// lazy inject root router to prevent load router.js too early
var isInjected = false;

@@ -194,4 +195,8 @@ function createBaseRouter(injector) {

rootRouterInjector = injector;
rootRouterInjector(rootRouter);
baseRouter.use(function (req, res, next) {
req.__dispatcher_start_time__ = +new Date();
if (!isInjected) {
rootRouterInjector(rootRouter);
isInjected = true;
}
rootRouter(req, res, next);

@@ -211,3 +216,3 @@ });

rootRouter = new express.Router();
rootRouterInjector(rootRouter);
isInjected = false;
},

@@ -214,0 +219,0 @@ middleware: createBaseRouter,

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