Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.map(function (file) {
if (file.slice(-3) === ".js" && file[0] !== "_") {
return convert.call(file.slice(0, -3));
}
return null;
})
.filter(Boolean)
const resolveIndexToken = indexName =>
indexName ? capitalize.call(hyphenToCamel.call(indexName).replace(/[^a-zA-Z0-9]/g, "")) : "";
const resolveIndexToken = indexName =>
indexName ? capitalize.call(hyphenToCamel.call(indexName).replace(/[^a-zA-Z0-9]/gu, "")) : "";