aws-log-replay
Advanced tools
Comparing version 2.3.0 to 2.3.1-0
@@ -74,3 +74,3 @@ var request = require('requestretry'); | ||
if (this._closed) return setImmediate(callback); | ||
if (typeof pathname !== 'string') pathname = pathname.toString('utf8'); | ||
@@ -85,7 +85,8 @@ if (!pathname || pathname.indexOf('/') !== 0) return callback(); | ||
encoding: null, | ||
uri: requrl | ||
uri: requrl, | ||
time: true | ||
}, (err, res, body) => { | ||
if (err) return callback(err); | ||
if (res.statusCode !== 200) return callback(); | ||
this.push({ url: requrl, body: body }); | ||
this.push({ url: requrl, elapsedTime: res.elapsedTime, statusCode: res.statusCode, body: body }); | ||
callback(); | ||
@@ -92,0 +93,0 @@ }); |
{ | ||
"name": "aws-log-replay", | ||
"version": "2.3.0", | ||
"version": "2.3.1-0", | ||
"description": "Transform and replay CloudFront, ELB Classic, and ALB logs.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
11455
118
0
2