unstale

npm / nock

nock

What changed in nock 14 to 15, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

8 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

nock 151 changes

Fixes and other changes 1

  • Empty request bodies are no longer decompressed.

    15.0.2release notes

nock 147 changes

Fixes and other changes 7

  • Calling nock.removeInterceptor now removes the interceptor from scope.interceptors.

    14.0.17release notes

  • The response handler now guards against requests aborted by an AbortSignal.

    14.0.16release notes

  • Reverts the change that applied body delay before the response end.

    14.0.15release notes

  • Applies the body delay before the response ends.

    14.0.14release notes

  • Added rawHeaders to Definition to align the type with runtime behavior.

    14.0.13release notes

  • Prevents a crash when query params have conflicting dot-notation keys.

    14.0.12release notes

  • Updated @mswjs/interceptors to fix a memory leak.

    14.0.11release notes