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
12
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 8.0.5 to 8.0.6

4

lib/agent.js

@@ -51,4 +51,2 @@ "use strict";

this._options = utils_1.Objects.defaults(options || {}, defaults_1.Defaults);
this._qsParse = this._options.qsParser || querystring.parse;
this._urlParse = this._options.urlParser === "fast" ? util_1.Util.parseUrlFast : url.parse;
this._middlewares = [];

@@ -71,2 +69,4 @@ this._middlewaresError = [];

}
this._qsParse = this._options.qsParser || querystring.parse;
this._urlParse = this._options.urlParser === "fast" ? util_1.Util.parseUrlFast : url.parse;
this._middlewaresError.push(middleware_1.errorMiddleware);

@@ -73,0 +73,0 @@ this._middlewaresNotFound = [...this._middlewares, middleware_1.notFoundMiddleware];

@@ -55,4 +55,2 @@ import {IOptions} from "./IOptions";

this._qsParse = this._options.qsParser || querystring.parse;
this._urlParse = this._options.urlParser === "fast" ? Util.parseUrlFast : url.parse;

@@ -83,3 +81,7 @@ this._middlewares = [];

this._qsParse = this._options.qsParser || querystring.parse;
this._urlParse = this._options.urlParser === "fast" ? Util.parseUrlFast : url.parse;
this._middlewaresError.push(errorMiddleware);

@@ -86,0 +88,0 @@

@@ -30,3 +30,3 @@ {

"main": "./index.js",
"version": "8.0.5",
"version": "8.0.6",
"license": "MIT",

@@ -33,0 +33,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