Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

empty output w/ npm 5.3.0 #26

Closed
szerintedmi opened this issue Jul 28, 2017 · 3 comments
Closed

empty output w/ npm 5.3.0 #26

szerintedmi opened this issue Jul 28, 2017 · 3 comments
Labels

Comments

@szerintedmi
Copy link

on MacOS Sierra version 10.12.6

$ npm install -g available-versions
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
/usr/local/bin/releases -> /usr/local/lib/node_modules/available-versions/bin/available.js
/usr/local/bin/versions -> /usr/local/lib/node_modules/available-versions/bin/available.js
/usr/local/bin/available -> /usr/local/lib/node_modules/available-versions/bin/available.js
/usr/local/bin/vers -> /usr/local/lib/node_modules/available-versions/bin/available.js
+ available-versions@0.12.4
added 145 packages in 6.865s

$ vers
available-versions@0.12.4
 > Returns a promise with new versions higher than given for a 
 > npm module
USE: vers <module name> [start version]
    "vers chalk"
    "vers chalk 0.3.0"

$npm view lazy-ass@* version
lazy-ass@0.1.0 '0.1.0'
lazy-ass@0.1.1 '0.1.1'
lazy-ass@0.1.2 '0.1.2'
lazy-ass@0.2.0 '0.2.0'
lazy-ass@0.4.0 '0.4.0'
lazy-ass@0.4.1 '0.4.1'
lazy-ass@0.5.0 '0.5.0'
lazy-ass@0.5.1 '0.5.1'
lazy-ass@0.5.2 '0.5.2'
lazy-ass@0.5.3 '0.5.3'
lazy-ass@0.5.4 '0.5.4'
lazy-ass@0.5.5 '0.5.5'
lazy-ass@0.5.6 '0.5.6'
lazy-ass@0.5.8 '0.5.8'
lazy-ass@0.6.0 '0.6.0'
lazy-ass@1.0.0 '1.0.0'
lazy-ass@1.1.0 '1.1.0'
lazy-ass@1.2.0 '1.2.0'
lazy-ass@1.3.0 '1.3.0'
lazy-ass@1.4.0 '1.4.0'
lazy-ass@1.5.0 '1.5.0'
lazy-ass@1.5.1 '1.5.1'
lazy-ass@1.6.0 '1.6.0'

$ vers lazy-ass
$ 
@bahmutov
Copy link
Owner

What happens when you run it with DEBUG=vers ... environment flag?

@bahmutov bahmutov added the bug label Jul 28, 2017
@szerintedmi
Copy link
Author

$ export DEBUG=vers; vers lazy-ass
  vers fetching versions for scope +0ms undefined
  vers query npm registry +20ms http://registry.npmjs.org/lazy-ass
  vers npm repo info +116ms
  vers { type: 'git', url: 'git+https://github.com/bahmutov/lazy-ass.git' } +0ms
  vers parsed repo info +3ms
  vers { user: 'bahmutov', repo: 'lazy-ass', server: 'github', url: 'git+https://github.com/bahmutov/lazy-ass.git' } +0ms
  vers available +2ms { repo: 'git+https://github.com/bahmutov/lazy-ass.git',
  repoParsed: 
   { user: 'bahmutov',
     repo: 'lazy-ass',
     server: 'github',
     url: 'git+https://github.com/bahmutov/lazy-ass.git' },
  name: 'lazy-ass',
  versions: 
   [ '0.1.0',
     '0.1.1',
     '0.1.2',
     '0.2.0',
     '0.4.0',
     '0.4.1',
     '0.5.0',
     '0.5.1',
     '0.5.2',
     '0.5.3',
     '0.5.4',
     '0.5.5',
     '0.5.6',
     '0.5.8',
     '0.6.0',
     '1.0.0',
     '1.1.0',
     '1.2.0',
     '1.3.0',
     '1.4.0',
     '1.5.0',
     '1.5.1',
     '1.6.0' ],
  timestamps: 
   [ '2014-05-22T02:10:49.982Z',
     '2014-05-22T02:40:02.926Z',
     '2014-05-22T02:49:39.732Z',
     '2014-05-23T02:17:22.976Z',
     '2014-06-26T03:25:06.985Z',
     '2014-07-17T02:33:56.478Z',
     '2014-08-13T17:17:37.640Z',
     '2014-08-13T17:27:36.392Z',
     '2014-09-13T17:41:50.295Z',
     '2014-10-28T13:22:37.746Z',
     '2015-04-24T22:01:25.986Z',
     '2015-05-04T14:32:50.468Z',
     '2015-05-04T14:50:46.953Z',
     '2015-05-07T12:55:35.214Z',
     '2015-08-31T19:42:07.152Z',
     '2015-11-10T03:57:39.034Z',
     '2015-11-20T17:35:51.562Z',
     '2015-12-04T19:16:34.993Z',
     '2015-12-04T20:17:09.070Z',
     '2016-02-19T21:18:57.297Z',
     '2016-08-03T21:50:30.301Z',
     '2017-03-15T13:58:06.497Z',
     '2017-03-15T14:45:45.915Z' ],
  'dist-tags': { latest: '1.6.0' } }
  vers fetching releases from github https://api.github.com/repos/bahmutov/lazy-ass/releases +1ms
  vers got 6 releases +538ms

@bahmutov
Copy link
Owner

Could be empty console.table output due to Node 8 adding dummy console.table method bahmutov/console.table#15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants