[Pkg-javascript-commits] [node-shell-quote] 12/137: fixed unescaped metachars and bump
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Aug 25 19:19:35 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-shell-quote.
commit 5ce339feeaf971a5172fe58faa3ac5f90bdfe8b5
Author: James Halliday <mail at substack.net>
Date: Fri May 18 11:25:19 2012 -0700
fixed unescaped metachars and bump
---
index.js | 2 +-
package.json | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/index.js b/index.js
index 9494c31..d18d614 100644
--- a/index.js
+++ b/index.js
@@ -27,7 +27,7 @@ exports.parse = function (s) {
.replace(/\\(["'\\$`(){}!#&*|])/g, '$1');
;
}
- else return s.replace(/\\ /g, ' ');
+ else return s.replace(/\\([ "'\\$`(){}!#&*|])/g, '$1');
})
;
};
diff --git a/package.json b/package.json
index 57c9154..4173bd9 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name" : "shell-quote",
- "version" : "0.0.0",
+ "version" : "0.0.1",
"description" : "quote and parse shell commands",
"main" : "index.js",
"directories" : {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-shell-quote.git
More information about the Pkg-javascript-commits
mailing list