Skip to content

Tags: nock/nock

Tags

v15.0.0-beta.7

Toggle v15.0.0-beta.7's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
fix: repair content-length headers for reconstituted JSON payloads (#…

…2925)

When recording JSON responses with nockback, we don't preserve the formatting,
but we do keep the content-length. This means the content-length header may not
match the reconstituted JSON payload.

With this change, we recalculate the content-length and update the response
header to match.

---------

Co-authored-by: Michael Solomon <[email protected]>

v15.0.0

Toggle v15.0.0's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Merge branch 'beta' into main

v15.0.0-beta.6

Toggle v15.0.0-beta.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add no match reasons (#2903)

Experimental: The structure and format of the detailed mismatch information may change in future versions as we gather user feedback and refine the API. The feature itself is stable and ready for use and we're seeking community input on the API design before marking it stable.

v14.0.10

Toggle v14.0.10's commit message

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
fix: Use Error objects instead of plain objects with replyWithError() (

…#2900)

* docs: replyWithError(): Use Error objects instead of plain objects when mimicking Node.js errors

* types, test: Use Error objects instead of plain objects with replyWithError()

* Fix style

* Enable test for .replyWithError with an Error object, rephrase test descriptions

---------

Co-authored-by: Michael Solomon <[email protected]>

v14.0.9

Toggle v14.0.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: address timeout issue with mocked timers (Revert #2880) (#2902)

This reverts commit fb112f3.

v14.0.8

Toggle v14.0.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(ClientRequest): support http.Agent instances as agents for https …

…requests (#2896)

v14.0.7

Toggle v14.0.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: address timeout issue with mocked timers (#2880)

v15.0.0-beta.5

Toggle v15.0.0-beta.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(ClientRequest): requests with 'Expect: 100-continue' pass through (

…#2877)

v14.0.6

Toggle v14.0.6's commit message

Verified

This commit was signed with the committer’s verified signature.
mikicho Michael Solomon
fix

v15.0.0-beta.4

Toggle v15.0.0-beta.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: Undici duplex support for POST requests using fetch (#2885)