Update checked-in dependencies
This commit is contained in:
parent
b9d85b4c34
commit
4a610e2380
3595 changed files with 129829 additions and 1065 deletions
3
node_modules/nock/lib/intercept.js
generated
vendored
3
node_modules/nock/lib/intercept.js
generated
vendored
|
|
@ -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() {
|
||||
|
|
|
|||
2
node_modules/nock/lib/interceptor.js
generated
vendored
2
node_modules/nock/lib/interceptor.js
generated
vendored
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue