/** * # Path Traversal Check * @returns {string} */ export default function pathTraversalCheck(text: string | number): string { return text.toString().replace(/\//g, ""); }