Update checked-in dependencies

This commit is contained in:
github-actions[bot] 2024-02-19 17:21:06 +00:00
parent b9d85b4c34
commit 4a610e2380
3595 changed files with 129829 additions and 1065 deletions

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

@ -350,7 +350,8 @@ function interceptorScopes() {
const nestedInterceptors = Object.values(allInterceptors).map(
i => i.interceptors,
)
return [].concat(...nestedInterceptors).map(i => i.scope)
const scopes = new Set([].concat(...nestedInterceptors).map(i => i.scope))
return [...scopes]
}
function isDone() {

View file

@ -510,7 +510,7 @@ module.exports = class Interceptor {
strFormattingFn = common.percentDecode
}
if (queries instanceof URLSearchParams) {
if (queries instanceof URLSearchParams || typeof queries === 'string') {
// Normalize the data into the shape that is matched against.
// Duplicate keys are handled by combining the values into an array.
queries = querystring.parse(queries.toString())