@kiwicom/express-http-proxy
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -45,6 +45,3 @@ "use strict"; | ||
userResDecorator: function (proxyRes, data) { | ||
// There's a mistake in the @types package, proxyRes should have IncomingMessage type from http(s) standard Node.js module. | ||
// @ts-expect-error | ||
var contentType = proxyRes.headers["content-type"]; | ||
// @ts-expect-error | ||
var contentEncoding = proxyRes.headers["content-encoding"]; | ||
@@ -51,0 +48,0 @@ var isBrotliEncoded = contentEncoding === "br"; |
{ | ||
"name": "@kiwicom/express-http-proxy", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "", | ||
@@ -12,3 +12,2 @@ "main": "dist/index.js", | ||
"scripts": { | ||
"test": "jest", | ||
"ts:check": "tsc", | ||
@@ -23,3 +22,3 @@ "build": "tsc --project tsconfig.build.json", | ||
"@types/express": "^4.17.13", | ||
"@types/express-http-proxy": "^1.6.2", | ||
"@types/express-http-proxy": "^1.6.3", | ||
"@types/jest": "^27.0.1", | ||
@@ -29,3 +28,2 @@ "@types/supertest": "^2.0.11", | ||
"express-http-proxy": "^1.6.2", | ||
"jest": "^27.1.0", | ||
"supertest": "^6.1.6", | ||
@@ -37,3 +35,3 @@ "typescript": "^4.4.2" | ||
}, | ||
"gitHead": "32d55c6b0676c3a0aeb2bf1a5a9472e1a6a3f723" | ||
"gitHead": "9ee5d7a0fa78ba3768e73957db2e990e617965b6" | ||
} |
8
8379
75