Update checked-in dependencies

This commit is contained in:
github-actions[bot] 2023-08-21 17:52:18 +00:00
parent 67f7ac2add
commit 02c45745e3
174 changed files with 2781 additions and 5722 deletions

8
node_modules/nock/lib/intercept.js generated vendored
View file

@ -110,7 +110,7 @@ function addInterceptor(key, interceptor, scope, scopeOptions, host) {
}
function remove(interceptor) {
if (--interceptor.counter > 0) {
if (interceptor.__nock_scope.shouldPersist() || --interceptor.counter > 0) {
return
}
@ -122,12 +122,6 @@ function remove(interceptor) {
// matching instance. I'm also not sure why we couldn't delete _all_
// matching instances.
interceptors.some(function (thisInterceptor, i) {
if (interceptor.__nock_scope.shouldPersist()) {
return thisInterceptor === interceptor
? interceptors.push(interceptors.splice(i, 1)[0])
: false
}
return thisInterceptor === interceptor ? interceptors.splice(i, 1) : false
})
}