Update checked-in dependencies
This commit is contained in:
parent
35f1961385
commit
17223bdff7
20 changed files with 1756 additions and 646 deletions
5
node_modules/nock/lib/match_body.js
generated
vendored
5
node_modules/nock/lib/match_body.js
generated
vendored
|
|
@ -1,6 +1,5 @@
|
|||
'use strict'
|
||||
|
||||
const _ = require('lodash')
|
||||
const querystring = require('querystring')
|
||||
|
||||
const common = require('./common')
|
||||
|
|
@ -70,8 +69,8 @@ function mapValuesDeep(obj, cb) {
|
|||
if (Array.isArray(obj)) {
|
||||
return obj.map(v => mapValuesDeep(v, cb))
|
||||
}
|
||||
if (_.isPlainObject(obj)) {
|
||||
return _.mapValues(obj, v => mapValuesDeep(v, cb))
|
||||
if (common.isPlainObject(obj)) {
|
||||
return common.mapValue(obj, v => mapValuesDeep(v, cb))
|
||||
}
|
||||
return cb(obj)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue