Socket
Socket
Sign inDemoInstall

@szmarczak/http-timer

Package Overview
Dependencies
1
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.3 to 4.0.4

5

dist/source/index.js

@@ -44,3 +44,6 @@ "use strict";

timings.abort = Date.now();
timings.phases.total = Date.now() - timings.start;
// Let the `end` response event be responsible for setting the total phase
if (!timings.response) {
timings.phases.total = Date.now() - timings.start;
}
});

@@ -47,0 +50,0 @@ const onSocket = (socket) => {

2

package.json
{
"name": "@szmarczak/http-timer",
"version": "4.0.3",
"version": "4.0.4",
"description": "Timings for HTTP requests",

@@ -5,0 +5,0 @@ "main": "dist/source",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc