From 954583f3d56fbfb60321725f13ad092e536e3737 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 7 Nov 2018 22:10:16 +0100 Subject: Removed node_modules --- node_modules/locutus/php/exec/escapeshellarg.js | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 node_modules/locutus/php/exec/escapeshellarg.js (limited to 'node_modules/locutus/php/exec/escapeshellarg.js') diff --git a/node_modules/locutus/php/exec/escapeshellarg.js b/node_modules/locutus/php/exec/escapeshellarg.js deleted file mode 100644 index 3672042..0000000 --- a/node_modules/locutus/php/exec/escapeshellarg.js +++ /dev/null @@ -1,18 +0,0 @@ -'use strict'; - -module.exports = function escapeshellarg(arg) { - // discuss at: http://locutus.io/php/escapeshellarg/ - // original by: Felix Geisendoerfer (http://www.debuggable.com/felix) - // improved by: Brett Zamir (http://brett-zamir.me) - // example 1: escapeshellarg("kevin's birthday") - // returns 1: "'kevin\\'s birthday'" - - var ret = ''; - - ret = arg.replace(/[^\\]'/g, function (m, i, s) { - return m.slice(0, 1) + '\\\''; - }); - - return "'" + ret + "'"; -}; -//# sourceMappingURL=escapeshellarg.js.map \ No newline at end of file -- cgit v1.2.3