Skip to content

Commit 4acf03f

Browse files
committed
1 parent bddd60e commit 4acf03f

11 files changed

+110
-30
lines changed

node_modules/libnpmsearch/.travis.yml

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/libnpmsearch/CHANGELOG.md

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/libnpmsearch/README.md

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/libnpmsearch/appveyor.yml

+22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/libnpmsearch/index.js

+7-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/libnpmsearch/package.json

+17-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/libnpmsearch/test/index.js

+34-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
"libcipm": "^3.0.3",
7676
"libnpm": "^2.0.1",
7777
"libnpmhook": "^5.0.2",
78+
"libnpmsearch": "^2.0.1",
7879
"libnpx": "^10.2.0",
7980
"lock-verify": "^2.1.0",
8081
"lockfile": "^1.0.4",

test/tap/search.all-package-search.js

+1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ searches.forEach(function (search) {
146146
const query = qs.stringify({
147147
text: search.term,
148148
size: 20,
149+
from: 0,
149150
quality: 0.65,
150151
popularity: 0.98,
151152
maintenance: 0.5

test/tap/search.js

+6
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ test('notifies when there are no results', function (t) {
3535
const query = qs.stringify({
3636
text: 'none',
3737
size: 20,
38+
from: 0,
3839
quality: 0.65,
3940
popularity: 0.98,
4041
maintenance: 0.5
@@ -60,6 +61,7 @@ test('spits out a useful error when no cache nor network', function (t) {
6061
const query = qs.stringify({
6162
text: 'foo',
6263
size: 20,
64+
from: 0,
6365
quality: 0.65,
6466
popularity: 0.98,
6567
maintenance: 0.5
@@ -91,6 +93,7 @@ test('can switch to JSON mode', function (t) {
9193
const query = qs.stringify({
9294
text: 'oo',
9395
size: 20,
96+
from: 0,
9497
quality: 0.65,
9598
popularity: 0.98,
9699
maintenance: 0.5
@@ -130,6 +133,7 @@ test('JSON mode does not notify on empty', function (t) {
130133
const query = qs.stringify({
131134
text: 'oo',
132135
size: 20,
136+
from: 0,
133137
quality: 0.65,
134138
popularity: 0.98,
135139
maintenance: 0.5
@@ -157,6 +161,7 @@ test('can switch to tab separated mode', function (t) {
157161
const query = qs.stringify({
158162
text: 'oo',
159163
size: 20,
164+
from: 0,
160165
quality: 0.65,
161166
popularity: 0.98,
162167
maintenance: 0.5
@@ -187,6 +192,7 @@ test('tab mode does not notify on empty', function (t) {
187192
const query = qs.stringify({
188193
text: 'oo',
189194
size: 20,
195+
from: 0,
190196
quality: 0.65,
191197
popularity: 0.98,
192198
maintenance: 0.5

0 commit comments

Comments
 (0)