hydra-express
Advanced tools
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", |
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
900144
733
+ Addedhydra@1.4.7(transitive)
- Removedhydra@1.4.7-experimental(transitive)
Updatedhydra@1.4.7