@podium/proxy
Advanced tools
Comparing version 4.1.5 to 4.2.0
@@ -40,3 +40,3 @@ 'use strict'; | ||
this.registry.on('error', error => { | ||
this.registry.on('error', (error) => { | ||
this.log.error( | ||
@@ -75,3 +75,3 @@ 'Error emitted by the registry in @podium/proxy module', | ||
this.metrics.on('error', error => { | ||
this.metrics.on('error', (error) => { | ||
this.log.error( | ||
@@ -83,3 +83,3 @@ 'Error emitted by metric stream in @podium/proxy module', | ||
this.proxy.on('error', error => { | ||
this.proxy.on('error', (error) => { | ||
this.log.error( | ||
@@ -92,3 +92,3 @@ 'Error emitted by proxy in @podium/proxy module', | ||
this.registry.on('set', (key, item) => { | ||
Object.keys(item.proxy).forEach(name => { | ||
Object.keys(item.proxy).forEach((name) => { | ||
const path = utils.pathnameBuilder( | ||
@@ -106,3 +106,3 @@ this.pathname, | ||
this.registry.on('dispose', key => { | ||
this.registry.on('dispose', (key) => { | ||
this.log.debug(`dispose proxy item on key "${key}"`); | ||
@@ -250,3 +250,3 @@ }); | ||
config, | ||
error => { | ||
(error) => { | ||
errored = true; | ||
@@ -253,0 +253,0 @@ endTimer({ |
{ | ||
"name": "@podium/proxy", | ||
"version": "4.1.5", | ||
"version": "4.2.0", | ||
"description": "Transparent http proxy. Dynamically mounts proxy targets on an existing HTTP server instance.", | ||
@@ -33,5 +33,5 @@ "license": "MIT", | ||
"@podium/schemas": "4.0.1", | ||
"@podium/utils": "4.2.4", | ||
"@podium/utils": "4.2.5", | ||
"abslog": "2.4.0", | ||
"http-proxy": "1.18.0", | ||
"http-proxy": "1.18.1", | ||
"path-to-regexp": "6.1.0", | ||
@@ -42,10 +42,10 @@ "ttl-mem-cache": "4.1.0" | ||
"@podium/test-utils": "2.1.0", | ||
"eslint": "6.8.0", | ||
"eslint-config-airbnb-base": "14.0.0", | ||
"eslint-config-prettier": "6.10.0", | ||
"eslint-plugin-import": "2.20.1", | ||
"eslint-plugin-prettier": "3.1.2", | ||
"prettier": "1.19.1", | ||
"tap": "14.10.6" | ||
"eslint": "7.1.0", | ||
"eslint-config-airbnb-base": "14.1.0", | ||
"eslint-config-prettier": "6.11.0", | ||
"eslint-plugin-import": "2.20.2", | ||
"eslint-plugin-prettier": "3.1.3", | ||
"prettier": "2.0.5", | ||
"tap": "14.10.7" | ||
} | ||
} |
22807
+ Added@podium/utils@4.2.5(transitive)
+ Addedcamelcase@6.0.0(transitive)
+ Addedhttp-proxy@1.18.1(transitive)
- Removed@podium/utils@4.2.4(transitive)
- Removedcamelcase@5.3.1(transitive)
- Removedhttp-proxy@1.18.0(transitive)
Updated@podium/utils@4.2.5
Updatedhttp-proxy@1.18.1