formacao
This commit is contained in:
+3
-1
@@ -1,4 +1,3 @@
|
||||
"use strict";
|
||||
var __defProp = Object.defineProperty;
|
||||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
||||
var __getOwnPropNames = Object.getOwnPropertyNames;
|
||||
@@ -76,6 +75,9 @@ const handleParsingAllValues = (form, key, value) => {
|
||||
}
|
||||
};
|
||||
const handleParsingNestedValues = (form, key, value) => {
|
||||
if (/(?:^|\.)__proto__\./.test(key)) {
|
||||
return;
|
||||
}
|
||||
let nestedForm = form;
|
||||
const keys = key.split(".");
|
||||
keys.forEach((key2, index) => {
|
||||
|
||||
Reference in New Issue
Block a user