Updated dependencies and fixed audit

This commit is contained in:
Drew Heavner committed 2020-11-12 18:00:41 -05:00
1 parent ac7314fa18
commit ff34f681c1
2041 files changed
+15676 -190739

No files matched your search

+3
View File
@@ -16,6 +16,9 @@ module.exports = function generate_multipleOf(it, $keyword, $ruleType) {
} else {
$schemaValue = $schema;
}
if (!($isData || typeof $schema == 'number')) {
throw new Error($keyword + ' must be number');
}
out += 'var division' + ($lvl) + ';if (';
if ($isData) {
out += ' ' + ($schemaValue) + ' !== undefined && ( typeof ' + ($schemaValue) + ' != \'number\' || ';