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

2
node_modules/nock/README.md generated vendored
View file

@ -1005,7 +1005,7 @@ const scope = nock('http://example.com')
.reply(200, 'Persisting all the way')
```
Note that while a persisted scope will always intercept the requests, it is considered "done" after the first interception, and they are pushed to the bottom of the stack after consumption.
Note that while a persisted scope will always intercept the requests, it is considered "done" after the first interception.
If you want to stop persisting an individual persisted mock you can call `persist(false)`:

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
})
}

2
node_modules/nock/package.json generated vendored
View file

@ -7,7 +7,7 @@
"testing",
"isolation"
],
"version": "13.3.2",
"version": "13.3.3",
"author": "Pedro Teixeira <pedro.teixeira@gmail.com>",
"repository": {
"type": "git",