/opt/canhelp/node_modules/shell-quote
NameSizeModeActions
.github/-0755rm
test/-0755rm
.eslintrc4930644editdlrm
.nycrc2290644editdlrm
index.js870644editdlrm
LICENSE11090644editdlrm
package.json18670644editdlrm
parse.js51880644editdlrm
print.py530755editdlrm
quote.js4970644editdlrm
README.md36420644editdlrm
security.md2950644editdlrm
Edit: /opt/canhelp/node_modules/shell-quote/quote.js (497B)
'use strict'; module.exports = function quote(xs) { return xs.map(function (s) { if (s === '') { return '\'\''; } if (s && typeof s === 'object') { return s.op.replace(/(.)/g, '\\$1'); } if ((/["\s\\]/).test(s) && !(/'/).test(s)) { return "'" + s.replace(/(['])/g, '\\$1') + "'"; } if ((/["'\s]/).test(s)) { return '"' + s.replace(/(["\\$`!])/g, '\\$1') + '"'; } return String(s).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g, '$1\\$2'); }).join(' '); };