Tags: ddzz/nock
Tags
fix(playback): consistently check for `destroyed` attribute (nock#2152) Node, as of 14.1, started migrating the Client Request terminology from `aborted` to `destroyed`. In order to supported our current Node version support, 10.x+, we need to check both flags. Nock was already doing this in the router, but not during playback.
fix(socket): add encrypted attribute for secure requests (nock#2149) https://nodejs.org/docs/latest/api/tls.html#tls_tlssocket_encrypted https://github.com/nodejs/node/blob/295e766c2782d6d83e33004f7c2204c0a8d52655/lib/_tls_wrap.js#L507-L509
PreviousNext