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 1.1.0 to 2.0.0

4

index.js
'use strict';
var conf = require('rc')('npm');
const conf = require('rc')('npm');
module.exports = function () {
module.exports = () => {
return process.env.HTTPS_PROXY ||

@@ -6,0 +6,0 @@ process.env.https_proxy ||

{
"name": "get-proxy",
"version": "1.1.0",
"version": "2.0.0",
"description": "Get configured proxy",

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

"engines": {
"node": ">=0.10.0"
"node": ">=4"
},

@@ -22,3 +22,7 @@ "scripts": {

],
"keywords": [],
"keywords": [
"env",
"get",
"proxy"
],
"dependencies": {

@@ -25,0 +29,0 @@ "rc": "^1.1.2"

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

```js
var getProxy = require('get-proxy');
const getProxy = require('get-proxy');

@@ -19,0 +19,0 @@ getProxy();

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