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

get-proxy

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-proxy - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

8

index.js
'use strict';
const conf = require('rc')('npm');
const npmConf = require('npm-conf')();

@@ -9,6 +9,6 @@ module.exports = () => {

process.env.http_proxy ||
conf['https-proxy'] ||
conf['http-proxy'] ||
conf.proxy ||
npmConf.get('https-proxy') ||
npmConf.get('http-proxy') ||
npmConf.get('proxy') ||
null;
};
{
"name": "get-proxy",
"version": "2.0.0",
"version": "2.1.0",
"description": "Get configured proxy",

@@ -27,3 +27,3 @@ "license": "MIT",

"dependencies": {
"rc": "^1.1.2"
"npm-conf": "^1.1.0"
},

@@ -30,0 +30,0 @@ "devDependencies": {

@@ -9,3 +9,3 @@ # get-proxy [![Build Status](https://travis-ci.org/kevva/get-proxy.svg?branch=master)](http://travis-ci.org/kevva/get-proxy)

```
$ npm install --save get-proxy
$ npm install get-proxy
```

@@ -12,0 +12,0 @@

Sorry, the diff of this file is not supported yet

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