Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import importFrom from 'import-from';
const cwd = importFrom.bind(null, process.cwd());
export default (name, require = cwd) => {
return require(`conventional-changelog-${name}`);
};
import importFrom from 'import-from';
const cwd = importFrom.bind(null, process.cwd());
export default (name, require = cwd) => {
return require(`conventional-changelog-${name}`);
};