[Pkg-javascript-commits] [node-shell-quote] 135/137: Does not use array-filter
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Aug 25 19:19:46 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 9ecf40ac5991857d985d65881c348973598f1f72
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date: Mon Aug 21 14:01:37 2017 +0200
Does not use array-filter
This is not needed for nodejs (>= 6)
Forwarded: no
---
index.js | 2 +-
package.json | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/index.js b/index.js
index 75c19a5..241f492 100644
--- a/index.js
+++ b/index.js
@@ -1,6 +1,6 @@
var json = typeof JSON !== undefined ? JSON : require('jsonify');
var map = function(a,f) { return a.map(f); };
-var filter = require('array-filter');
+var filter = function(a,f) { return a.filter(f) ; };
var reduce = require('array-reduce');
exports.quote = function (xs) {
diff --git a/package.json b/package.json
index 9e3526d..6b8839d 100644
--- a/package.json
+++ b/package.json
@@ -44,7 +44,6 @@
"license": "MIT",
"dependencies": {
"jsonify": "~0.0.0",
- "array-filter": "~0.0.0",
"array-reduce": "~0.0.0"
}
}
--
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