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

hydra-express

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hydra-express - npm Package Compare versions

Comparing version 1.4.6-experimental to 1.4.6

12

index.js

@@ -288,3 +288,3 @@ /**

this.config = config;
return Promise.series(this.registeredPlugins, plugin => plugin.setConfig(config));
return Promise.series(this.registeredPlugins, (plugin) => plugin.setConfig(config));
})

@@ -297,3 +297,3 @@ .then(() => hydra.registerService())

this.initService();
return Promise.series(this.registeredPlugins, plugin => plugin.onServiceReady());
return Promise.series(this.registeredPlugins, (plugin) => plugin.onServiceReady());
})

@@ -380,10 +380,2 @@ .then((..._results) => {

if (this.config.environment !== 'development') {
this.config.maxSockets = this.config.maxSockets || 500;
if (this.config.maxSockets) {
// increase max socket when used outside of development
http.globalAgent.maxSockets = this.config.maxSockets;
}
}
this.server = http.createServer(app);

@@ -390,0 +382,0 @@

4

package.json
{
"name": "hydra-express",
"version": "1.4.6-experimental",
"version": "1.4.6",
"description": "A module which wraps Hydra and ExpressJS to provide an out of the box microservice which can support API routes and handlers.",

@@ -45,3 +45,3 @@ "author": {

"express": "4.15.3",
"hydra": "1.4.6-experimental",
"hydra": "1.4.6",
"helmet": "3.6.0",

@@ -48,0 +48,0 @@ "moment": "2.18.1",

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