Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

npm-registry

Package Overview
Dependencies
Maintainers
4
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-registry - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

2

endpoints/users.js

@@ -143,3 +143,3 @@ 'use strict';

return this.send(name, fn).map(normalize.users);
return this.send(username, fn).map(normalize.users);
};

@@ -146,0 +146,0 @@

@@ -105,2 +105,3 @@ 'use strict';

npmjseu: 'http://registry.npmjs.eu/',
npmjspt: 'http://registry.npmjs.pt/',
npmjs: 'http://registry.npmjs.org/',

@@ -107,0 +108,0 @@ cnpmjs: 'http://registry.cnpmjs.org/'

'use strict';
var to = require('./to');
var extract = require('extract-github')
, to = require('./to');

@@ -21,10 +22,6 @@ /**

if (data.github) {
var github = /github\.com\/([^\/]+)\/?/gi;
if ('string' !== typeof data.github) {
delete data.github;
} else if (github.test(data.github)) {
data.github = github.exec(data.github)[1];
} else {
data.github = data.github.replace(/^https?:\/\/(www\.)?github\.com\//i, '');
data.github = (extract(data.github) || {}).user;
}

@@ -31,0 +28,0 @@

{
"name": "npm-registry",
"version": "0.1.8",
"version": "0.1.9",
"description": "An high available npm registry client",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc