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.7-experimental to 1.4.7

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

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

@@ -8,19 +8,3 @@ "author": {

},
"contributors": [
{
"name": "Carlos Justiniano",
"github": "cjus",
"email": "carlos.justiniano@gmail.com"
},
{
"name": "Eric Adum",
"github": "emadum",
"email": "eric.adum@gmail.com"
},
{
"name": "Artem Kochnev",
"github": "artemkochnev",
"email": "artemkochnev@gmail.com"
}
],
"contributors": "https://github.com/flywheelsports/hydra-express/graphs/contributors",
"scripts": {

@@ -46,3 +30,3 @@ "test": "mocha specs --reporter spec"

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

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