Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
libnpmsearch@2.0.1
  • Loading branch information
isaacs committed Jul 3, 2019
1 parent bddd60e commit 4acf03f
Show file tree
Hide file tree
Showing 11 changed files with 110 additions and 30 deletions.
7 changes: 7 additions & 0 deletions node_modules/libnpmsearch/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions node_modules/libnpmsearch/CHANGELOG.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/libnpmsearch/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions node_modules/libnpmsearch/appveyor.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions node_modules/libnpmsearch/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 17 additions & 18 deletions node_modules/libnpmsearch/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 34 additions & 2 deletions node_modules/libnpmsearch/test/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -75,6 +75,7 @@
"libcipm": "^3.0.3",
"libnpm": "^2.0.1",
"libnpmhook": "^5.0.2",
"libnpmsearch": "^2.0.1",
"libnpx": "^10.2.0",
"lock-verify": "^2.1.0",
"lockfile": "^1.0.4",
Expand Down
1 change: 1 addition & 0 deletions test/tap/search.all-package-search.js
Expand Up @@ -146,6 +146,7 @@ searches.forEach(function (search) {
const query = qs.stringify({
text: search.term,
size: 20,
from: 0,
quality: 0.65,
popularity: 0.98,
maintenance: 0.5
Expand Down
6 changes: 6 additions & 0 deletions test/tap/search.js
Expand Up @@ -35,6 +35,7 @@ test('notifies when there are no results', function (t) {
const query = qs.stringify({
text: 'none',
size: 20,
from: 0,
quality: 0.65,
popularity: 0.98,
maintenance: 0.5
Expand All @@ -60,6 +61,7 @@ test('spits out a useful error when no cache nor network', function (t) {
const query = qs.stringify({
text: 'foo',
size: 20,
from: 0,
quality: 0.65,
popularity: 0.98,
maintenance: 0.5
Expand Down Expand Up @@ -91,6 +93,7 @@ test('can switch to JSON mode', function (t) {
const query = qs.stringify({
text: 'oo',
size: 20,
from: 0,
quality: 0.65,
popularity: 0.98,
maintenance: 0.5
Expand Down Expand Up @@ -130,6 +133,7 @@ test('JSON mode does not notify on empty', function (t) {
const query = qs.stringify({
text: 'oo',
size: 20,
from: 0,
quality: 0.65,
popularity: 0.98,
maintenance: 0.5
Expand Down Expand Up @@ -157,6 +161,7 @@ test('can switch to tab separated mode', function (t) {
const query = qs.stringify({
text: 'oo',
size: 20,
from: 0,
quality: 0.65,
popularity: 0.98,
maintenance: 0.5
Expand Down Expand Up @@ -187,6 +192,7 @@ test('tab mode does not notify on empty', function (t) {
const query = qs.stringify({
text: 'oo',
size: 20,
from: 0,
quality: 0.65,
popularity: 0.98,
maintenance: 0.5
Expand Down

0 comments on commit 4acf03f

Please sign in to comment.