Skip to content

Releases: szmarczak/http-timer

v5.0.1

20 Aug 23:26
Compare
Choose a tag to compare
TypeScript is having issues with the node: protocol

v5.0.0

20 Aug 23:17
Compare
Choose a tag to compare

b8dabf9

This package is now pure ESM

See https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c

Bug fixes

  • abort listener should be removed after receiving end #27
  • Use EventEmitter.errorMonitor instead of overwritting emitter.emit #21

Required Node.js >=14.16

v4.0.6

12 Jul 21:41
Compare
Choose a tag to compare

014099a

  • Multiple calls timer(request) will now give the same object
  • Does not measure socket events if the socket is being handled by Proxy
  • Handles aborted response event

v4.0.5

03 Feb 19:38
Compare
Choose a tag to compare
  • Fix request abort check on Node.js 13 cfa1f9b

v4.0.4

03 Feb 19:27
Compare
Choose a tag to compare
  • Fix total phase when aborting after response was emitted d27f8da

v4.0.3

03 Feb 17:00
Compare
Choose a tag to compare
  • Better Node.js 10 support 65de996

v4.0.2

03 Feb 16:34
Compare
Choose a tag to compare

v4.0.0

27 Dec 17:06
Compare
Choose a tag to compare
  • Add abort time 908e27d
  • Export a ClientRequest and IncomingMessage interface with timings 2aaa944

v3.1.0

15 Nov 20:27
Compare
Choose a tag to compare

Enhancements

  • Set request.timings and response.timings (89f1a9b)

v3.0.0

02 Nov 16:46
Compare
Choose a tag to compare

Breaking

  • Requires Node 10

Enhancements

  • Supports CommonJS default export
  • Added secureConnect property
  • Added tls phase: timings.secureConnect - timings.connect