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

registry-url

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

registry-url - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

2

index.js
'use strict';
module.exports = function (scope) {
var rc = require('rc')('npm', {registry: 'https://registry.npmjs.org/'});
return rc[scope + ':registry'] || rc.registry;
return rc[scope + ':registry'] || (rc.registry.slice(-1) !== '/' ? rc.registry + '/' : rc.registry);
};
{
"name": "registry-url",
"version": "3.0.1",
"version": "3.0.2",
"description": "Get the set npm registry URL",

@@ -5,0 +5,0 @@ "license": "MIT",

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