summaryrefslogtreecommitdiff
path: root/deps/npm/lib/search/all-package-search.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/lib/search/all-package-search.js')
-rw-r--r--deps/npm/lib/search/all-package-search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/lib/search/all-package-search.js b/deps/npm/lib/search/all-package-search.js
index 7a893d517b..fef343bcbc 100644
--- a/deps/npm/lib/search/all-package-search.js
+++ b/deps/npm/lib/search/all-package-search.js
@@ -8,7 +8,7 @@ function allPackageSearch (opts) {
// Get a stream with *all* the packages. This takes care of dealing
// with the local cache as well, but that's an internal detail.
- var allEntriesStream = allPackageMetadata(opts.staleness)
+ var allEntriesStream = allPackageMetadata(opts)
// Grab a stream that filters those packages according to given params.
var filterStream = streamFilter(function (pkg) {