Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function validate (cl) {
// warn about invalid configs at every level.
cl.list.forEach(function (conf) {
nopt.clean(conf, configDefs.types)
})
nopt.clean(cl.root, configDefs.types)
}
function validate (cl) {
// warn about invalid configs at every level.
cl.list.forEach(function (conf) {
nopt.clean(conf, configDefs.types)
})
nopt.clean(cl.root, configDefs.types)
}
function validate (cl) {
// warn about invalid configs at every level.
cl.list.forEach(function (conf) {
nopt.clean(conf, configDefs.types)
})
nopt.clean(cl.root, configDefs.types)
}
function cleanOptions(data, types) {
nopt.clean(data, types);
return data;
}
function cleanOptions(data, types) {
nopt.clean(data, types);
return data;
}
function cleanOptions(data, types) {
nopt.clean(data, types);
return data;
}
cl.list.forEach(function (conf) {
nopt.clean(conf, configDefs.types)
})
function cleanOptions(data, types) {
nopt.clean(data, types);
return data;
}
function cleanOptions(data, types) {
nopt.clean(data, types);
return data;
}