Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
};
}
// Lodash
if (queryValue.startsWith('_.')) {
var isChained = queryValue.startsWith('_.chain(');
var queryValueSuffix = isChained ? '.value()' : '';
return {
queryValue: queryValue.replace('$input', "" + input) + queryValueSuffix,
context: lodash_1.default
};
}
// fromfrom
if (queryValue.startsWith('from')) {
return {
queryValue: queryValue.replace('$input', input),
context: { from: fromfrom_1.from }
};
}
// Unsupported query.
return null;
};
/**