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

appolo-agent

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appolo-agent - npm Package Compare versions

Comparing version 6.0.29 to 6.0.30

12

lib/agent.js

@@ -171,4 +171,12 @@ "use strict";

};
this._router.add(method, path, dto);
this._routes.set(`${method}#${path}`, dto);
let routeKey = `${method}#${path}`;
let routeHandler = this._routes.get(routeKey);
if (routeHandler) {
routeHandler.errors.push(...errors);
routeHandler.middlewares.push(...middlewares);
}
else {
this._router.add(method, path, dto);
this._routes.set(routeKey, dto);
}
if (this._isInitialized) {

@@ -175,0 +183,0 @@ this._initializeHandler(dto);

@@ -263,5 +263,17 @@ import {IOptions} from "./IOptions";

this._router.add(method, path, dto);
this._routes.set(`${method}#${path}`, dto);
let routeKey = `${method}#${path}`;
let routeHandler = this._routes.get(routeKey);
if(routeHandler){
routeHandler.errors.push(...errors);
routeHandler.middlewares.push(...middlewares);
} else {
this._router.add(method, path, dto);
this._routes.set(routeKey, dto);
}
if (this._isInitialized) {

@@ -268,0 +280,0 @@ this._initializeHandler(dto);

2

package.json

@@ -27,3 +27,3 @@ {

"main": "./index.js",
"version": "6.0.29",
"version": "6.0.30",
"license": "MIT",

@@ -30,0 +30,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

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