Hacked By AnonymousFox

Current Path : /opt/alt/alt-nodejs19/root/usr/lib/node_modules/npm/node_modules.bundled/pacote/lib/util/
Upload File :
Current File : //opt/alt/alt-nodejs19/root/usr/lib/node_modules/npm/node_modules.bundled/pacote/lib/util/trailing-slashes.js

const removeTrailingSlashes = (input) => {
  // in order to avoid regexp redos detection
  let output = input
  while (output.endsWith('/')) {
    output = output.slice(0, -1)
  }
  return output
}

module.exports = removeTrailingSlashes

Hacked By AnonymousFox1.0, Coded By AnonymousFox