Skip to content

Tags: nock/nock

Tags

v15.0.1

Toggle v15.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: trigger release after merge v15 (#3021)

v15.0.0

Toggle v15.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat!: v15.0.0 (#3017)

BREAKING CHANGE: Please see the v15 migration guide (https://github.com/nock/nock/tree/main/migration_guides)

v15.0.0-beta.16

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

Verified

This commit was signed with the committer’s verified signature.
mikicho Michael Solomon
Merge remote-tracking branch 'origin/main' into beta

v15.0.0-beta.15

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

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: reset stateful regexps when matching request data (#3011)

v14.0.17

Toggle v14.0.17's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: remove interceptor from scope.interceptors on nock.removeInterce…

…ptor (#2997)

When calling nock.removeInterceptor(interceptor) with an Interceptor
instance, it removed the interceptor from the global interceptors list
and from keyedInterceptors, but not from scope.interceptors. This meant
scope.interceptors.length stayed the same after removal.

Add a splice to also remove the interceptor from scope.interceptors.

v15.0.0-beta.14

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

Verified

This commit was signed with the committer’s verified signature.
mikicho Michael Solomon
chore: merge main

v15.0.0-beta.13

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

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: TCP/TLS wrap-based interception (#2992)

v14.0.16

Toggle v14.0.16's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: guard against AbortSignal-aborted requests in response handler (#…

…2977)

When a request's AbortSignal fires, @mswjs/interceptors immediately
transitions the request to an error state. If nock's response callback
runs after that transition (e.g. because a reply delay was configured),
calling controller.respondWith() throws an InterceptorError
("the request has already been handled").

Add a signal.aborted check before respondWith() so that a late-firing
response callback exits early rather than throwing.

Fixes #2949

v15.0.0-beta.12

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

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: remove interceptor from scope.interceptors (#2975)

v15.0.0-beta.11

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

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Convert nock to TypeScript + ESM (#2968)