Commit 45aa98ba by Michael Mifsud

Merge pull request #1413 from delitescere/bump-deps

Bump almost all deps and remove npmconf
parents 11c96eee 5e21f475
...@@ -52,24 +52,23 @@ ...@@ -52,24 +52,23 @@
"dependencies": { "dependencies": {
"async-foreach": "^0.1.3", "async-foreach": "^0.1.3",
"chalk": "^1.1.1", "chalk": "^1.1.1",
"cross-spawn": "^2.0.0", "cross-spawn-async": "^2.1.9",
"gaze": "^0.5.1", "gaze": "^1.0.0",
"get-stdin": "^4.0.1", "get-stdin": "^4.0.1",
"glob": "^6.0.2", "glob": "^7.0.3",
"got": "^5.4.1", "got": "^5.5.0",
"meow": "^3.3.0", "meow": "^3.7.0",
"mkdirp": "^0.5.1", "mkdirp": "^0.5.1",
"nan": "^2.0.8", "nan": "^2.2.0",
"node-gyp": "^3.3.0", "node-gyp": "^3.3.1",
"npmconf": "^2.1.2", "sass-graph": "^2.1.1"
"sass-graph": "^2.0.1"
}, },
"devDependencies": { "devDependencies": {
"coveralls": "^2.11.4", "coveralls": "^2.11.8",
"istanbul": "^0.4.1", "istanbul": "^0.4.2",
"jshint": "^2.8.0", "jshint": "^2.9.1",
"mocha": "^2.3.4", "mocha": "^2.4.5",
"mocha-lcov-reporter": "^1.0.0", "mocha-lcov-reporter": "^1.2.0",
"rimraf": "^2.4.2" "rimraf": "^2.5.2"
} }
} }
...@@ -7,7 +7,7 @@ var eol = require('os').EOL, ...@@ -7,7 +7,7 @@ var eol = require('os').EOL,
fs = require('fs'), fs = require('fs'),
mkdir = require('mkdirp'), mkdir = require('mkdirp'),
path = require('path'), path = require('path'),
spawn = require('cross-spawn'); spawn = require('cross-spawn-async');
require('../lib/extensions'); require('../lib/extensions');
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
var fs = require('fs'), var fs = require('fs'),
eol = require('os').EOL, eol = require('os').EOL,
mkdir = require('mkdirp'), mkdir = require('mkdirp'),
npmconf = require('npmconf'),
path = require('path'), path = require('path'),
got = require('got'), got = require('got'),
pkg = require('../package.json'); pkg = require('../package.json');
...@@ -63,25 +62,17 @@ function download(url, dest, cb) { ...@@ -63,25 +62,17 @@ function download(url, dest, cb) {
*/ */
function applyProxy(options, cb) { function applyProxy(options, cb) {
npmconf.load({}, function (er, conf) { var env = process.env;
var proxyUrl;
if (!er) { options.proxy = env.npm_config_https_proxy ||
proxyUrl = conf.get('https-proxy') || env.npm_config_proxy ||
conf.get('proxy') || env.npm_config_http_proxy ||
conf.get('http-proxy'); env.HTTPS_PROXY ||
} env.https_proxy ||
env.HTTP_PROXY ||
var env = process.env; env.http_proxy;
options.proxy = proxyUrl || cb(options);
env.HTTPS_PROXY ||
env.https_proxy ||
env.HTTP_PROXY ||
env.http_proxy;
cb(options);
});
} }
/** /**
...@@ -123,7 +114,7 @@ if (process.env.SKIP_SASS_BINARY_DOWNLOAD_FOR_CI) { ...@@ -123,7 +114,7 @@ if (process.env.SKIP_SASS_BINARY_DOWNLOAD_FOR_CI) {
} }
/** /**
* If binary does not exsit, download it * If binary does not exist, download it
*/ */
checkAndDownloadBinary(); checkAndDownloadBinary();
...@@ -5,7 +5,7 @@ var assert = require('assert'), ...@@ -5,7 +5,7 @@ var assert = require('assert'),
glob = require('glob'), glob = require('glob'),
rimraf = require('rimraf'), rimraf = require('rimraf'),
stream = require('stream'), stream = require('stream'),
spawn = require('cross-spawn'), spawn = require('cross-spawn-async'),
cli = path.join(__dirname, '..', 'bin', 'node-sass'), cli = path.join(__dirname, '..', 'bin', 'node-sass'),
fixture = path.join.bind(null, __dirname, 'fixtures'), fixture = path.join.bind(null, __dirname, 'fixtures'),
LIBSASS_VERSION = null; LIBSASS_VERSION = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment