Comparing version 0.18.2 to 0.18.3
@@ -26,5 +26,2 @@ const request = require('request'); | ||
// Don't record the `transfer-encoding` header since `chunked` value can cause `ParseError`s with `request`. | ||
delete headers['transfer-encoding']; | ||
const reqUrl = makeRequestUrl(req); | ||
@@ -81,6 +78,11 @@ | ||
const { statusCode: status, _headers: headers } = res; | ||
const { statusCode: status, _headers: __headers } = res; | ||
const latency = now() - startTime; | ||
const headers = Object.assign({}, __headers); | ||
// Don't record the `transfer-encoding` header since `chunked` value can cause `ParseError`s with `request`. | ||
delete headers['transfer-encoding']; | ||
app.locals.recordMeta.set.push([ | ||
@@ -87,0 +89,0 @@ { |
{ | ||
"name": "mockyeah", | ||
"version": "0.18.2", | ||
"version": "0.18.3", | ||
"description": "A powerful service mocking, recording, and playback utility.", | ||
@@ -85,3 +85,3 @@ "main": "index.js", | ||
"private": false, | ||
"gitHead": "f4549e1b21449ce6ef48400d7ff412262c553173" | ||
"gitHead": "53c87c0be18bd4a26e3f4526f9ecd46846a4cbb1" | ||
} |
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
490242
4349