[Pkg-javascript-commits] [node-module-deps] 194/444: document packageFilter dir
Bastien Roucariès
rouca at moszumanska.debian.org
Fri Dec 15 09:47:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-module-deps.
commit 6fc698ba41e1c31f79898526f457380b686c3e84
Author: James Halliday <mail at substack.net>
Date: Tue Apr 15 20:42:03 2014 -0700
document packageFilter dir
---
readme.markdown | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/readme.markdown b/readme.markdown
index 20683d7..070f540 100644
--- a/readme.markdown
+++ b/readme.markdown
@@ -78,7 +78,8 @@ If defined, `opts.filter(id)` should return truthy for all the ids to include
and falsey for all the ids to skip.
* opts.packageFilter - transform the parsed package.json contents before using
-the values. `opts.packageFilter(pkg)` should return the new `pkg` object to use.
+the values. `opts.packageFilter(pkg, dir)` should return the new `pkg` object to
+use.
* opts.noParse - an array of absolute paths to not parse for dependencies. Use
this for large dependencies like jquery or threejs which take forever to parse.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-module-deps.git
More information about the Pkg-javascript-commits
mailing list