npm / registry-issue-archive

An archive of the old npm registry issue tracker
https://npm.community
249 stars 47 forks source link

Empty repo list from replicate.npmjs.com since Jun 22 fix #357

Open fredck opened 6 years ago

fredck commented 6 years ago

Since the recent incident fix from Jun 22, replicate.npmjs.com is not returning the list of repos of a user.

We use npm-stats to retrieve statistics for our repos for analytics purpose. As most of our repos, under the user ckeditor, are scoped, we point to the replicate.npmjs.com registry because, until the incident, it was the only returning scoped repos.

Now, after the incident fix, no repos are returned anymore.

The code we use for it is similar to the following:

const registry = require('npm-stats')( 'https://replicate.npmjs.com/' );

registry.user( 'ckeditor' ).list( function ( err, packages ) {
    console.log( packages );
} );