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 e8fb281 commit 20ef0efCopy full SHA for 20ef0ef
index.js
@@ -116,6 +116,10 @@ function unflatten (target, opts) {
116
let recipient = result
117
118
while (key2 !== undefined) {
119
+ if (key1 === '__proto__') {
120
+ return
121
+ }
122
+
123
const type = Object.prototype.toString.call(recipient[key1])
124
const isobject = (
125
type === '[object Object]' ||
0 commit comments