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 d13d5d5 commit 31c3180Copy full SHA for 31c3180
src/util.js
@@ -176,6 +176,9 @@ util.decorateEnum = function decorateEnum(object) {
176
util.setProperty = function setProperty(dst, path, value) {
177
function setProp(dst, path, value) {
178
var part = path.shift();
179
+ if (part === "__proto__") {
180
+ return;
181
+ }
182
if (path.length > 0) {
183
dst[part] = setProp(dst[part] || {}, path, value);
184
} else {
0 commit comments