Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46a319d commit 233ec90Copy full SHA for 233ec90
src/utils.js
@@ -62,6 +62,7 @@ const mkdirP = function (object, path) {
62
}
63
const parts = path.split('.')
64
parts.forEach(function (key) {
65
+ if (isPrototypePolluted(key)) return
66
if (!object[key]) {
67
object[key] = {}
68
@@ -419,6 +420,7 @@ const utils = {
419
420
deepFillIn (dest, source) {
421
if (source) {
422
utils.forOwn(source, function (value, key) {
423
424
const existing = dest[key]
425
if (isPlainObject(value) && isPlainObject(existing)) {
426
utils.deepFillIn(existing, value)
0 commit comments