Comparing version 1.1.0 to 2.0.0
'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(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2300