hydra-express
Advanced tools
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 @@ |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
900417
733
+ Addedhydra@1.4.6(transitive)
- Removedhydra@1.4.6-experimental(transitive)
Updatedhydra@1.4.6