Skip to content

Commit 8f39485

Browse files
committed
fix sec. vulnerability
1 parent fe929a5 commit 8f39485

6 files changed

Lines changed: 5634 additions & 8959 deletions

File tree

examples/defaults.example.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const USE_GLOBAL_DEFAULTS = (value, field, options) => {
1414
if (value === null || value === undefined) {
1515
return options.types && options.GLOBAL_DEFAULTS[field.type]
1616
}
17+
1718
return value
1819
}
1920

examples/recursive.example.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const useArrayMapper = (array, mapping) => {
66
if (mapping.type === 'array') {
77
return array.map(v => mapper.map(mapping.mappings, v))
88
}
9+
910
return array
1011
}
1112

0 commit comments

Comments
 (0)