summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got')
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/index.js364
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/license21
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/index.js44
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/license21
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/node_modules/capture-stack-trace/index.js18
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/node_modules/capture-stack-trace/package.json64
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/node_modules/capture-stack-trace/readme.md36
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/package.json63
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/readme.md54
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexer3/LICENSE.md26
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexer3/README.md115
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexer3/index.js76
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexer3/package.json68
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/buffer-stream.js51
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/index.js51
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/license21
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/package.json84
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/readme.md117
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-redirect/index.js14
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-redirect/license21
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-redirect/package.json71
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-redirect/readme.md28
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-retry-allowed/index.js60
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-retry-allowed/license21
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-retry-allowed/package.json62
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-retry-allowed/readme.md42
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-stream/index.js21
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-stream/license21
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-stream/package.json74
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-stream/readme.md42
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/index.js11
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/package.json71
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/readme.md33
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/timed-out/index.js55
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/timed-out/license21
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/timed-out/package.json72
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/timed-out/readme.md42
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/unzip-response/index.js36
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/unzip-response/license21
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/unzip-response/package.json85
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/unzip-response/readme.md29
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/index.js14
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/license21
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/node_modules/prepend-http/index.js14
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/node_modules/prepend-http/license21
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/node_modules/prepend-http/package.json71
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/node_modules/prepend-http/readme.md31
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/package.json76
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/readme.md100
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/package.json113
-rw-r--r--deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/readme.md335
51 files changed, 0 insertions, 3043 deletions
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/index.js b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/index.js
deleted file mode 100644
index 31a64dd08b..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/index.js
+++ /dev/null
@@ -1,364 +0,0 @@
-'use strict';
-const EventEmitter = require('events');
-const http = require('http');
-const https = require('https');
-const PassThrough = require('stream').PassThrough;
-const urlLib = require('url');
-const querystring = require('querystring');
-const duplexer3 = require('duplexer3');
-const isStream = require('is-stream');
-const getStream = require('get-stream');
-const timedOut = require('timed-out');
-const urlParseLax = require('url-parse-lax');
-const lowercaseKeys = require('lowercase-keys');
-const isRedirect = require('is-redirect');
-const unzipResponse = require('unzip-response');
-const createErrorClass = require('create-error-class');
-const isRetryAllowed = require('is-retry-allowed');
-const Buffer = require('safe-buffer').Buffer;
-const pkg = require('./package');
-
-function requestAsEventEmitter(opts) {
- opts = opts || {};
-
- const ee = new EventEmitter();
- const requestUrl = opts.href || urlLib.resolve(urlLib.format(opts), opts.path);
- let redirectCount = 0;
- let retryCount = 0;
- let redirectUrl;
-
- const get = opts => {
- const fn = opts.protocol === 'https:' ? https : http;
-
- const req = fn.request(opts, res => {
- const statusCode = res.statusCode;
-
- if (isRedirect(statusCode) && opts.followRedirect && 'location' in res.headers && (opts.method === 'GET' || opts.method === 'HEAD')) {
- res.resume();
-
- if (++redirectCount > 10) {
- ee.emit('error', new got.MaxRedirectsError(statusCode, opts), null, res);
- return;
- }
-
- const bufferString = Buffer.from(res.headers.location, 'binary').toString();
-
- redirectUrl = urlLib.resolve(urlLib.format(opts), bufferString);
- const redirectOpts = Object.assign({}, opts, urlLib.parse(redirectUrl));
-
- ee.emit('redirect', res, redirectOpts);
-
- get(redirectOpts);
-
- return;
- }
-
- setImmediate(() => {
- const response = typeof unzipResponse === 'function' && req.method !== 'HEAD' ? unzipResponse(res) : res;
- response.url = redirectUrl || requestUrl;
- response.requestUrl = requestUrl;
-
- ee.emit('response', response);
- });
- });
-
- req.once('error', err => {
- const backoff = opts.retries(++retryCount, err);
-
- if (backoff) {
- setTimeout(get, backoff, opts);
- return;
- }
-
- ee.emit('error', new got.RequestError(err, opts));
- });
-
- if (opts.gotTimeout) {
- timedOut(req, opts.gotTimeout);
- }
-
- setImmediate(() => {
- ee.emit('request', req);
- });
- };
-
- get(opts);
- return ee;
-}
-
-function asPromise(opts) {
- return new Promise((resolve, reject) => {
- const ee = requestAsEventEmitter(opts);
-
- ee.on('request', req => {
- if (isStream(opts.body)) {
- opts.body.pipe(req);
- opts.body = undefined;
- return;
- }
-
- req.end(opts.body);
- });
-
- ee.on('response', res => {
- const stream = opts.encoding === null ? getStream.buffer(res) : getStream(res, opts);
-
- stream
- .catch(err => reject(new got.ReadError(err, opts)))
- .then(data => {
- const statusCode = res.statusCode;
- const limitStatusCode = opts.followRedirect ? 299 : 399;
-
- res.body = data;
-
- if (opts.json && res.body) {
- try {
- res.body = JSON.parse(res.body);
- } catch (e) {
- throw new got.ParseError(e, statusCode, opts, data);
- }
- }
-
- if (statusCode < 200 || statusCode > limitStatusCode) {
- throw new got.HTTPError(statusCode, opts);
- }
-
- resolve(res);
- })
- .catch(err => {
- Object.defineProperty(err, 'response', {value: res});
- reject(err);
- });
- });
-
- ee.on('error', reject);
- });
-}
-
-function asStream(opts) {
- const input = new PassThrough();
- const output = new PassThrough();
- const proxy = duplexer3(input, output);
-
- if (opts.json) {
- throw new Error('got can not be used as stream when options.json is used');
- }
-
- if (opts.body) {
- proxy.write = () => {
- throw new Error('got\'s stream is not writable when options.body is used');
- };
- }
-
- const ee = requestAsEventEmitter(opts);
-
- ee.on('request', req => {
- proxy.emit('request', req);
-
- if (isStream(opts.body)) {
- opts.body.pipe(req);
- return;
- }
-
- if (opts.body) {
- req.end(opts.body);
- return;
- }
-
- if (opts.method === 'POST' || opts.method === 'PUT' || opts.method === 'PATCH') {
- input.pipe(req);
- return;
- }
-
- req.end();
- });
-
- ee.on('response', res => {
- const statusCode = res.statusCode;
-
- res.pipe(output);
-
- if (statusCode < 200 || statusCode > 299) {
- proxy.emit('error', new got.HTTPError(statusCode, opts), null, res);
- return;
- }
-
- proxy.emit('response', res);
- });
-
- ee.on('redirect', proxy.emit.bind(proxy, 'redirect'));
- ee.on('error', proxy.emit.bind(proxy, 'error'));
-
- return proxy;
-}
-
-function normalizeArguments(url, opts) {
- if (typeof url !== 'string' && typeof url !== 'object') {
- throw new Error(`Parameter \`url\` must be a string or object, not ${typeof url}`);
- }
-
- if (typeof url === 'string') {
- url = url.replace(/^unix:/, 'http://$&');
- url = urlParseLax(url);
-
- if (url.auth) {
- throw new Error('Basic authentication must be done with auth option');
- }
- }
-
- opts = Object.assign(
- {
- protocol: 'http:',
- path: '',
- retries: 5
- },
- url,
- opts
- );
-
- opts.headers = Object.assign({
- 'user-agent': `${pkg.name}/${pkg.version} (https://github.com/sindresorhus/got)`,
- 'accept-encoding': 'gzip,deflate'
- }, lowercaseKeys(opts.headers));
-
- const query = opts.query;
-
- if (query) {
- if (typeof query !== 'string') {
- opts.query = querystring.stringify(query);
- }
-
- opts.path = `${opts.path.split('?')[0]}?${opts.query}`;
- delete opts.query;
- }
-
- if (opts.json && opts.headers.accept === undefined) {
- opts.headers.accept = 'application/json';
- }
-
- let body = opts.body;
-
- if (body) {
- if (typeof body !== 'string' && !(body !== null && typeof body === 'object')) {
- throw new Error('options.body must be a ReadableStream, string, Buffer or plain Object');
- }
-
- opts.method = opts.method || 'POST';
-
- if (isStream(body) && typeof body.getBoundary === 'function') {
- // Special case for https://github.com/form-data/form-data
- opts.headers['content-type'] = opts.headers['content-type'] || `multipart/form-data; boundary=${body.getBoundary()}`;
- } else if (body !== null && typeof body === 'object' && !Buffer.isBuffer(body) && !isStream(body)) {
- opts.headers['content-type'] = opts.headers['content-type'] || 'application/x-www-form-urlencoded';
- body = opts.body = querystring.stringify(body);
- }
-
- if (opts.headers['content-length'] === undefined && opts.headers['transfer-encoding'] === undefined && !isStream(body)) {
- const length = typeof body === 'string' ? Buffer.byteLength(body) : body.length;
- opts.headers['content-length'] = length;
- }
- }
-
- opts.method = (opts.method || 'GET').toUpperCase();
-
- if (opts.hostname === 'unix') {
- const matches = /(.+):(.+)/.exec(opts.path);
-
- if (matches) {
- opts.socketPath = matches[1];
- opts.path = matches[2];
- opts.host = null;
- }
- }
-
- if (typeof opts.retries !== 'function') {
- const retries = opts.retries;
-
- opts.retries = (iter, err) => {
- if (iter > retries || !isRetryAllowed(err)) {
- return 0;
- }
-
- const noise = Math.random() * 100;
-
- return ((1 << iter) * 1000) + noise;
- };
- }
-
- if (opts.followRedirect === undefined) {
- opts.followRedirect = true;
- }
-
- if (opts.timeout) {
- opts.gotTimeout = opts.timeout;
- delete opts.timeout;
- }
-
- return opts;
-}
-
-function got(url, opts) {
- try {
- return asPromise(normalizeArguments(url, opts));
- } catch (err) {
- return Promise.reject(err);
- }
-}
-
-const helpers = [
- 'get',
- 'post',
- 'put',
- 'patch',
- 'head',
- 'delete'
-];
-
-helpers.forEach(el => {
- got[el] = (url, opts) => got(url, Object.assign({}, opts, {method: el}));
-});
-
-got.stream = (url, opts) => asStream(normalizeArguments(url, opts));
-
-for (const el of helpers) {
- got.stream[el] = (url, opts) => got.stream(url, Object.assign({}, opts, {method: el}));
-}
-
-function stdError(error, opts) {
- if (error.code !== undefined) {
- this.code = error.code;
- }
-
- Object.assign(this, {
- message: error.message,
- host: opts.host,
- hostname: opts.hostname,
- method: opts.method,
- path: opts.path
- });
-}
-
-got.RequestError = createErrorClass('RequestError', stdError);
-got.ReadError = createErrorClass('ReadError', stdError);
-got.ParseError = createErrorClass('ParseError', function (e, statusCode, opts, data) {
- stdError.call(this, e, opts);
- this.statusCode = statusCode;
- this.statusMessage = http.STATUS_CODES[this.statusCode];
- this.message = `${e.message} in "${urlLib.format(opts)}": \n${data.slice(0, 77)}...`;
-});
-
-got.HTTPError = createErrorClass('HTTPError', function (statusCode, opts) {
- stdError.call(this, {}, opts);
- this.statusCode = statusCode;
- this.statusMessage = http.STATUS_CODES[this.statusCode];
- this.message = `Response code ${this.statusCode} (${this.statusMessage})`;
-});
-
-got.MaxRedirectsError = createErrorClass('MaxRedirectsError', function (statusCode, opts) {
- stdError.call(this, {}, opts);
- this.statusCode = statusCode;
- this.statusMessage = http.STATUS_CODES[this.statusCode];
- this.message = 'Redirected 10 times. Aborting.';
-});
-
-module.exports = got;
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/license b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/license
deleted file mode 100644
index 654d0bfe94..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/index.js b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/index.js
deleted file mode 100644
index e415aa7ede..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/index.js
+++ /dev/null
@@ -1,44 +0,0 @@
-'use strict';
-var captureStackTrace = require('capture-stack-trace');
-
-function inherits(ctor, superCtor) {
- ctor.super_ = superCtor;
- ctor.prototype = Object.create(superCtor.prototype, {
- constructor: {
- value: ctor,
- enumerable: false,
- writable: true,
- configurable: true
- }
- });
-}
-
-module.exports = function createErrorClass(className, setup) {
- if (typeof className !== 'string') {
- throw new TypeError('Expected className to be a string');
- }
-
- if (/[^0-9a-zA-Z_$]/.test(className)) {
- throw new Error('className contains invalid characters');
- }
-
- setup = setup || function (message) {
- this.message = message;
- };
-
- var ErrorClass = function () {
- Object.defineProperty(this, 'name', {
- configurable: true,
- value: className,
- writable: true
- });
-
- captureStackTrace(this, this.constructor);
-
- setup.apply(this, arguments);
- };
-
- inherits(ErrorClass, Error);
-
- return ErrorClass;
-};
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/license b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/license
deleted file mode 100644
index 1aeb74fd25..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Vsevolod Strukchinsky <floatdrop@gmail.com> (github.com/floatdrop)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/node_modules/capture-stack-trace/index.js b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/node_modules/capture-stack-trace/index.js
deleted file mode 100644
index 1b696c8b60..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/node_modules/capture-stack-trace/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-'use strict';
-
-module.exports = Error.captureStackTrace || function (error) {
- var container = new Error();
-
- Object.defineProperty(error, 'stack', {
- configurable: true,
- get: function getStack() {
- var stack = container.stack;
-
- Object.defineProperty(this, 'stack', {
- value: stack
- });
-
- return stack;
- }
- });
-};
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/node_modules/capture-stack-trace/package.json b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/node_modules/capture-stack-trace/package.json
deleted file mode 100644
index be2ce572be..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/node_modules/capture-stack-trace/package.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "_from": "capture-stack-trace@^1.0.0",
- "_id": "capture-stack-trace@1.0.0",
- "_integrity": "sha1-Sm+gc5nCa7pH8LJJa00PtAjFVQ0=",
- "_location": "/update-notifier/latest-version/package-json/got/create-error-class/capture-stack-trace",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "capture-stack-trace@^1.0.0",
- "name": "capture-stack-trace",
- "escapedName": "capture-stack-trace",
- "rawSpec": "^1.0.0",
- "saveSpec": null,
- "fetchSpec": "^1.0.0"
- },
- "_requiredBy": [
- "/update-notifier/latest-version/package-json/got/create-error-class"
- ],
- "_resolved": "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz",
- "_shasum": "4a6fa07399c26bba47f0b2496b4d0fb408c5550d",
- "_shrinkwrap": null,
- "_spec": "capture-stack-trace@^1.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class",
- "author": {
- "name": "Vsevolod Strukchinsky",
- "email": "floatdrop@gmail.com",
- "url": "github.com/floatdrop"
- },
- "bin": null,
- "bugs": {
- "url": "https://github.com/floatdrop/capture-stack-trace/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "Error.captureStackTrace ponyfill",
- "devDependencies": {
- "mocha": "*"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/floatdrop/capture-stack-trace#readme",
- "keywords": [
- "Error",
- "captureStackTrace"
- ],
- "license": "MIT",
- "name": "capture-stack-trace",
- "optionalDependencies": {},
- "peerDependencies": {},
- "repository": {
- "type": "git",
- "url": "git+https://github.com/floatdrop/capture-stack-trace.git"
- },
- "scripts": {
- "test": "mocha"
- },
- "version": "1.0.0"
-}
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/node_modules/capture-stack-trace/readme.md b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/node_modules/capture-stack-trace/readme.md
deleted file mode 100644
index 061c463c42..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/node_modules/capture-stack-trace/readme.md
+++ /dev/null
@@ -1,36 +0,0 @@
-# capture-stack-trace [![Build Status](https://travis-ci.org/floatdrop/capture-stack-trace.svg?branch=master)](https://travis-ci.org/floatdrop/capture-stack-trace)
-
-> Ponyfill for Error.captureStackTrace
-
-
-## Install
-
-```
-$ npm install --save capture-stack-trace
-```
-
-
-## Usage
-
-```js
-var captureStackTrace = require('capture-stack-trace');
-
-captureStackTrace({});
-// => {stack: ...}
-```
-
-
-## API
-
-### captureStackTrace(error)
-
-#### error
-
-*Required*
-Type: `Object`
-
-Target Object, that will recieve stack property.
-
-## License
-
-MIT © [Vsevolod Strukchinsky](http://github.com/floatdrop)
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/package.json b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/package.json
deleted file mode 100644
index 501e5e13df..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/package.json
+++ /dev/null
@@ -1,63 +0,0 @@
-{
- "_from": "create-error-class@^3.0.0",
- "_id": "create-error-class@3.0.2",
- "_integrity": "sha1-Br56vvlHo/FKMP1hBnHUAbyot7Y=",
- "_location": "/update-notifier/latest-version/package-json/got/create-error-class",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "create-error-class@^3.0.0",
- "name": "create-error-class",
- "escapedName": "create-error-class",
- "rawSpec": "^3.0.0",
- "saveSpec": null,
- "fetchSpec": "^3.0.0"
- },
- "_requiredBy": [
- "/update-notifier/latest-version/package-json/got"
- ],
- "_resolved": "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz",
- "_shasum": "06be7abef947a3f14a30fd610671d401bca8b7b6",
- "_shrinkwrap": null,
- "_spec": "create-error-class@^3.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got",
- "author": {
- "name": "Vsevolod Strukchinsky",
- "email": "floatdrop@gmail.com",
- "url": "github.com/floatdrop"
- },
- "bin": null,
- "bugs": {
- "url": "https://github.com/floatdrop/create-error-class/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "capture-stack-trace": "^1.0.0"
- },
- "deprecated": false,
- "description": "Create Error classes",
- "devDependencies": {
- "mocha": "*"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/floatdrop/create-error-class#readme",
- "keywords": [],
- "license": "MIT",
- "name": "create-error-class",
- "optionalDependencies": {},
- "peerDependencies": {},
- "repository": {
- "type": "git",
- "url": "git+https://github.com/floatdrop/create-error-class.git"
- },
- "scripts": {
- "test": "mocha"
- },
- "version": "3.0.2"
-}
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/readme.md b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/readme.md
deleted file mode 100644
index 1076de88eb..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/create-error-class/readme.md
+++ /dev/null
@@ -1,54 +0,0 @@
-# create-error-class [![Build Status](https://travis-ci.org/floatdrop/create-error-class.svg?branch=master)](https://travis-ci.org/floatdrop/create-error-class)
-
-> Create error class
-
-
-## Install
-
-```
-$ npm install --save create-error-class
-```
-
-
-## Usage
-
-```js
-var createErrorClass = require('create-error-class');
-
-var HTTPError = createErrorClass('HTTPError', function (props) {
- this.message = 'Status code is ' + props.statusCode;
-});
-
-throw new HTTPError({statusCode: 404});
-```
-
-
-## API
-
-### createErrorClass(className, [setup])
-
-Return constructor of Errors with `className`.
-
-#### className
-
-*Required*
-Type: `string`
-
-Class name of Error Object. Should contain characters from `[0-9a-zA-Z_$]` range.
-
-#### setup
-Type: `function`
-
-Setup function, that will be called after each Error object is created from constructor with context of Error object.
-
-By default `setup` function sets `this.message` as first argument:
-
-```js
-var MyError = createErrorClass('MyError');
-
-new MyError('Something gone wrong!').message; // => 'Something gone wrong!'
-```
-
-## License
-
-MIT © [Vsevolod Strukchinsky](http://github.com/floatdrop)
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexer3/LICENSE.md b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexer3/LICENSE.md
deleted file mode 100644
index 75a50f3014..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexer3/LICENSE.md
+++ /dev/null
@@ -1,26 +0,0 @@
-Copyright (c) 2013, Deoxxa Development
-======================================
-All rights reserved.
---------------------
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-3. Neither the name of Deoxxa Development nor the names of its contributors
- may be used to endorse or promote products derived from this software
- without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY DEOXXA DEVELOPMENT ''AS IS'' AND ANY
-EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL DEOXXA DEVELOPMENT BE LIABLE FOR ANY
-DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexer3/README.md b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexer3/README.md
deleted file mode 100644
index 9f95ddf530..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexer3/README.md
+++ /dev/null
@@ -1,115 +0,0 @@
-# duplexer3 [![Build Status](https://travis-ci.org/floatdrop/duplexer3.svg?branch=master)](https://travis-ci.org/floatdrop/duplexer3) [![Coverage Status](https://coveralls.io/repos/floatdrop/duplexer3/badge.svg?branch=master&service=github)](https://coveralls.io/github/floatdrop/duplexer3?branch=master)
-
-Like [duplexer2](https://github.com/deoxxa/duplexer2) but using Streams3 without readable-stream dependency
-
-```javascript
-var stream = require("stream");
-
-var duplexer3 = require("duplexer3");
-
-var writable = new stream.Writable({objectMode: true}),
- readable = new stream.Readable({objectMode: true});
-
-writable._write = function _write(input, encoding, done) {
- if (readable.push(input)) {
- return done();
- } else {
- readable.once("drain", done);
- }
-};
-
-readable._read = function _read(n) {
- // no-op
-};
-
-// simulate the readable thing closing after a bit
-writable.once("finish", function() {
- setTimeout(function() {
- readable.push(null);
- }, 500);
-});
-
-var duplex = duplexer3(writable, readable);
-
-duplex.on("data", function(e) {
- console.log("got data", JSON.stringify(e));
-});
-
-duplex.on("finish", function() {
- console.log("got finish event");
-});
-
-duplex.on("end", function() {
- console.log("got end event");
-});
-
-duplex.write("oh, hi there", function() {
- console.log("finished writing");
-});
-
-duplex.end(function() {
- console.log("finished ending");
-});
-```
-
-```
-got data "oh, hi there"
-finished writing
-got finish event
-finished ending
-got end event
-```
-
-## Overview
-
-This is a reimplementation of [duplexer](https://www.npmjs.com/package/duplexer) using the
-Streams3 API which is standard in Node as of v4. Everything largely
-works the same.
-
-
-
-## Installation
-
-[Available via `npm`](https://docs.npmjs.com/cli/install):
-
-```
-$ npm i duplexer3
-```
-
-## API
-
-### duplexer3
-
-Creates a new `DuplexWrapper` object, which is the actual class that implements
-most of the fun stuff. All that fun stuff is hidden. DON'T LOOK.
-
-```javascript
-duplexer3([options], writable, readable)
-```
-
-```javascript
-const duplex = duplexer3(new stream.Writable(), new stream.Readable());
-```
-
-Arguments
-
-* __options__ - an object specifying the regular `stream.Duplex` options, as
- well as the properties described below.
-* __writable__ - a writable stream
-* __readable__ - a readable stream
-
-Options
-
-* __bubbleErrors__ - a boolean value that specifies whether to bubble errors
- from the underlying readable/writable streams. Default is `true`.
-
-
-## License
-
-3-clause BSD. [A copy](./LICENSE) is included with the source.
-
-## Contact
-
-* GitHub ([deoxxa](http://github.com/deoxxa))
-* Twitter ([@deoxxa](http://twitter.com/deoxxa))
-* Email ([deoxxa@fknsrs.biz](mailto:deoxxa@fknsrs.biz))
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexer3/index.js b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexer3/index.js
deleted file mode 100644
index 1339ffc51c..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexer3/index.js
+++ /dev/null
@@ -1,76 +0,0 @@
-"use strict";
-
-var stream = require("stream");
-
-function DuplexWrapper(options, writable, readable) {
- if (typeof readable === "undefined") {
- readable = writable;
- writable = options;
- options = null;
- }
-
- stream.Duplex.call(this, options);
-
- if (typeof readable.read !== "function") {
- readable = (new stream.Readable(options)).wrap(readable);
- }
-
- this._writable = writable;
- this._readable = readable;
- this._waiting = false;
-
- var self = this;
-
- writable.once("finish", function() {
- self.end();
- });
-
- this.once("finish", function() {
- writable.end();
- });
-
- readable.on("readable", function() {
- if (self._waiting) {
- self._waiting = false;
- self._read();
- }
- });
-
- readable.once("end", function() {
- self.push(null);
- });
-
- if (!options || typeof options.bubbleErrors === "undefined" || options.bubbleErrors) {
- writable.on("error", function(err) {
- self.emit("error", err);
- });
-
- readable.on("error", function(err) {
- self.emit("error", err);
- });
- }
-}
-
-DuplexWrapper.prototype = Object.create(stream.Duplex.prototype, {constructor: {value: DuplexWrapper}});
-
-DuplexWrapper.prototype._write = function _write(input, encoding, done) {
- this._writable.write(input, encoding, done);
-};
-
-DuplexWrapper.prototype._read = function _read() {
- var buf;
- var reads = 0;
- while ((buf = this._readable.read()) !== null) {
- this.push(buf);
- reads++;
- }
- if (reads === 0) {
- this._waiting = true;
- }
-};
-
-module.exports = function duplex2(options, writable, readable) {
- return new DuplexWrapper(options, writable, readable);
-};
-
-module.exports.DuplexWrapper = DuplexWrapper;
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexer3/package.json b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexer3/package.json
deleted file mode 100644
index 8ee3d16618..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/duplexer3/package.json
+++ /dev/null
@@ -1,68 +0,0 @@
-{
- "_from": "duplexer3@^0.1.4",
- "_id": "duplexer3@0.1.4",
- "_integrity": "sha1-7gHdHKwO08vH/b6jfcCo8c4ALOI=",
- "_location": "/update-notifier/latest-version/package-json/got/duplexer3",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "duplexer3@^0.1.4",
- "name": "duplexer3",
- "escapedName": "duplexer3",
- "rawSpec": "^0.1.4",
- "saveSpec": null,
- "fetchSpec": "^0.1.4"
- },
- "_requiredBy": [
- "/update-notifier/latest-version/package-json/got"
- ],
- "_resolved": "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz",
- "_shasum": "ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2",
- "_shrinkwrap": null,
- "_spec": "duplexer3@^0.1.4",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got",
- "author": {
- "name": "Conrad Pankoff",
- "email": "deoxxa@fknsrs.biz",
- "url": "http://www.fknsrs.biz/"
- },
- "bin": null,
- "bugs": {
- "url": "https://github.com/floatdrop/duplexer3/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "Like duplexer but using streams3",
- "devDependencies": {
- "mocha": "^2.2.5"
- },
- "engine": {
- "node": ">=4"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/floatdrop/duplexer3#readme",
- "keywords": [
- "duplex",
- "duplexer",
- "stream",
- "stream3",
- "join",
- "combine"
- ],
- "license": "BSD-3-Clause",
- "name": "duplexer3",
- "optionalDependencies": {},
- "peerDependencies": {},
- "repository": {
- "type": "git",
- "url": "git+https://github.com/floatdrop/duplexer3.git"
- },
- "scripts": {
- "test": "mocha -R tap"
- },
- "version": "0.1.4"
-}
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/buffer-stream.js b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/buffer-stream.js
deleted file mode 100644
index ae45d3d9e7..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/buffer-stream.js
+++ /dev/null
@@ -1,51 +0,0 @@
-'use strict';
-const PassThrough = require('stream').PassThrough;
-
-module.exports = opts => {
- opts = Object.assign({}, opts);
-
- const array = opts.array;
- let encoding = opts.encoding;
- const buffer = encoding === 'buffer';
- let objectMode = false;
-
- if (array) {
- objectMode = !(encoding || buffer);
- } else {
- encoding = encoding || 'utf8';
- }
-
- if (buffer) {
- encoding = null;
- }
-
- let len = 0;
- const ret = [];
- const stream = new PassThrough({objectMode});
-
- if (encoding) {
- stream.setEncoding(encoding);
- }
-
- stream.on('data', chunk => {
- ret.push(chunk);
-
- if (objectMode) {
- len = ret.length;
- } else {
- len += chunk.length;
- }
- });
-
- stream.getBufferedValue = () => {
- if (array) {
- return ret;
- }
-
- return buffer ? Buffer.concat(ret, len) : ret.join('');
- };
-
- stream.getBufferedLength = () => len;
-
- return stream;
-};
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/index.js b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/index.js
deleted file mode 100644
index 2dc5ee96af..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/index.js
+++ /dev/null
@@ -1,51 +0,0 @@
-'use strict';
-const bufferStream = require('./buffer-stream');
-
-function getStream(inputStream, opts) {
- if (!inputStream) {
- return Promise.reject(new Error('Expected a stream'));
- }
-
- opts = Object.assign({maxBuffer: Infinity}, opts);
-
- const maxBuffer = opts.maxBuffer;
- let stream;
- let clean;
-
- const p = new Promise((resolve, reject) => {
- const error = err => {
- if (err) { // null check
- err.bufferedData = stream.getBufferedValue();
- }
-
- reject(err);
- };
-
- stream = bufferStream(opts);
- inputStream.once('error', error);
- inputStream.pipe(stream);
-
- stream.on('data', () => {
- if (stream.getBufferedLength() > maxBuffer) {
- reject(new Error('maxBuffer exceeded'));
- }
- });
- stream.once('error', error);
- stream.on('end', resolve);
-
- clean = () => {
- // some streams doesn't implement the `stream.Readable` interface correctly
- if (inputStream.unpipe) {
- inputStream.unpipe(stream);
- }
- };
- });
-
- p.then(clean, clean);
-
- return p.then(() => stream.getBufferedValue());
-}
-
-module.exports = getStream;
-module.exports.buffer = (stream, opts) => getStream(stream, Object.assign({}, opts, {encoding: 'buffer'}));
-module.exports.array = (stream, opts) => getStream(stream, Object.assign({}, opts, {array: true}));
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/license b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/license
deleted file mode 100644
index 654d0bfe94..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/package.json b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/package.json
deleted file mode 100644
index 1d30ce6f64..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/package.json
+++ /dev/null
@@ -1,84 +0,0 @@
-{
- "_from": "get-stream@^3.0.0",
- "_id": "get-stream@3.0.0",
- "_integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=",
- "_location": "/update-notifier/latest-version/package-json/got/get-stream",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "get-stream@^3.0.0",
- "name": "get-stream",
- "escapedName": "get-stream",
- "rawSpec": "^3.0.0",
- "saveSpec": null,
- "fetchSpec": "^3.0.0"
- },
- "_requiredBy": [
- "/update-notifier/latest-version/package-json/got"
- ],
- "_resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",
- "_shasum": "8e943d1358dc37555054ecbe2edb05aa174ede14",
- "_shrinkwrap": null,
- "_spec": "get-stream@^3.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "bin": null,
- "bugs": {
- "url": "https://github.com/sindresorhus/get-stream/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "Get a stream as a string, buffer, or array",
- "devDependencies": {
- "ava": "*",
- "into-stream": "^3.0.0",
- "xo": "*"
- },
- "engines": {
- "node": ">=4"
- },
- "files": [
- "index.js",
- "buffer-stream.js"
- ],
- "homepage": "https://github.com/sindresorhus/get-stream#readme",
- "keywords": [
- "get",
- "stream",
- "promise",
- "concat",
- "string",
- "str",
- "text",
- "buffer",
- "read",
- "data",
- "consume",
- "readable",
- "readablestream",
- "array",
- "object",
- "obj"
- ],
- "license": "MIT",
- "name": "get-stream",
- "optionalDependencies": {},
- "peerDependencies": {},
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/get-stream.git"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "version": "3.0.0",
- "xo": {
- "esnext": true
- }
-}
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/readme.md b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/readme.md
deleted file mode 100644
index 73b188fb42..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/get-stream/readme.md
+++ /dev/null
@@ -1,117 +0,0 @@
-# get-stream [![Build Status](https://travis-ci.org/sindresorhus/get-stream.svg?branch=master)](https://travis-ci.org/sindresorhus/get-stream)
-
-> Get a stream as a string, buffer, or array
-
-
-## Install
-
-```
-$ npm install --save get-stream
-```
-
-
-## Usage
-
-```js
-const fs = require('fs');
-const getStream = require('get-stream');
-const stream = fs.createReadStream('unicorn.txt');
-
-getStream(stream).then(str => {
- console.log(str);
- /*
- ,,))))))));,
- __)))))))))))))),
- \|/ -\(((((''''((((((((.
- -*-==//////(('' . `)))))),
- /|\ ))| o ;-. '((((( ,(,
- ( `| / ) ;))))' ,_))^;(~
- | | | ,))((((_ _____------~~~-. %,;(;(>';'~
- o_); ; )))(((` ~---~ `:: \ %%~~)(v;(`('~
- ; ''''```` `: `:::|\,__,%% );`'; ~
- | _ ) / `:|`----' `-'
- ______/\/~ | / /
- /~;;.____/;;' / ___--,-( `;;;/
- / // _;______;'------~~~~~ /;;/\ /
- // | | / ; \;;,\
- (<_ | ; /',/-----' _>
- \_| ||_ //~;~~~~~~~~~
- `\_| (,~~
- \~\
- ~~
- */
-});
-```
-
-
-## API
-
-The methods returns a promise that resolves when the `end` event fires on the stream, indicating that there is no more data to be read. The stream is switched to flowing mode.
-
-### getStream(stream, [options])
-
-Get the `stream` as a string.
-
-#### options
-
-##### encoding
-
-Type: `string`<br>
-Default: `utf8`
-
-[Encoding](https://nodejs.org/api/buffer.html#buffer_buffer) of the incoming stream.
-
-##### maxBuffer
-
-Type: `number`<br>
-Default: `Infinity`
-
-Maximum length of the returned string. If it exceeds this value before the stream ends, the promise will be rejected.
-
-### getStream.buffer(stream, [options])
-
-Get the `stream` as a buffer.
-
-It honors the `maxBuffer` option as above, but it refers to byte length rather than string length.
-
-### getStream.array(stream, [options])
-
-Get the `stream` as an array of values.
-
-It honors both the `maxBuffer` and `encoding` options. The behavior changes slightly based on the encoding chosen:
-
-- When `encoding` is unset, it assumes an [object mode stream](https://nodesource.com/blog/understanding-object-streams/) and collects values emitted from `stream` unmodified. In this case `maxBuffer` refers to the number of items in the array (not the sum of their sizes).
-
-- When `encoding` is set to `buffer`, it collects an array of buffers. `maxBuffer` refers to the summed byte lengths of every buffer in the array.
-
-- When `encoding` is set to anything else, it collects an array of strings. `maxBuffer` refers to the summed character lengths of every string in the array.
-
-
-## Errors
-
-If the input stream emits an `error` event, the promise will be rejected with the error. The buffered data will be attached to the `bufferedData` property of the error.
-
-```js
-getStream(streamThatErrorsAtTheEnd('unicorn'))
- .catch(err => {
- console.log(err.bufferedData);
- //=> 'unicorn'
- });
-```
-
-
-## FAQ
-
-### How is this different from [`concat-stream`](https://github.com/maxogden/concat-stream)?
-
-This module accepts a stream instead of being one and returns a promise instead of using a callback. The API is simpler and it only supports returning a string, buffer, or array. It doesn't have a fragile type inference. You explicitly choose what you want. And it doesn't depend on the huge `readable-stream` package.
-
-
-## Related
-
-- [get-stdin](https://github.com/sindresorhus/get-stdin) - Get stdin as a string or buffer
-
-
-## License
-
-MIT © [Sindre Sorhus](https://sindresorhus.com)
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-redirect/index.js b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-redirect/index.js
deleted file mode 100644
index 75ec0090ef..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-redirect/index.js
+++ /dev/null
@@ -1,14 +0,0 @@
-'use strict';
-module.exports = function (x) {
- if (typeof x !== 'number') {
- throw new TypeError('Expected a number');
- }
-
- return x === 300 ||
- x === 301 ||
- x === 302 ||
- x === 303 ||
- x === 305 ||
- x === 307 ||
- x === 308;
-};
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-redirect/license b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-redirect/license
deleted file mode 100644
index 654d0bfe94..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-redirect/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-redirect/package.json b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-redirect/package.json
deleted file mode 100644
index 2348970a01..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-redirect/package.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "_from": "is-redirect@^1.0.0",
- "_id": "is-redirect@1.0.0",
- "_integrity": "sha1-HQPd7VO9jbDzDCbk+V02/HyH3CQ=",
- "_location": "/update-notifier/latest-version/package-json/got/is-redirect",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "is-redirect@^1.0.0",
- "name": "is-redirect",
- "escapedName": "is-redirect",
- "rawSpec": "^1.0.0",
- "saveSpec": null,
- "fetchSpec": "^1.0.0"
- },
- "_requiredBy": [
- "/update-notifier/latest-version/package-json/got"
- ],
- "_resolved": "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz",
- "_shasum": "1d03dded53bd8db0f30c26e4f95d36fc7c87dc24",
- "_shrinkwrap": null,
- "_spec": "is-redirect@^1.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "bin": null,
- "bugs": {
- "url": "https://github.com/sindresorhus/is-redirect/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "Check if a number is a redirect HTTP status code",
- "devDependencies": {
- "ava": "0.0.4"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/sindresorhus/is-redirect#readme",
- "keywords": [
- "redirect",
- "http",
- "https",
- "status",
- "code",
- "codes",
- "is",
- "check",
- "detect"
- ],
- "license": "MIT",
- "name": "is-redirect",
- "optionalDependencies": {},
- "peerDependencies": {},
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/is-redirect.git"
- },
- "scripts": {
- "test": "node test.js"
- },
- "version": "1.0.0"
-}
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-redirect/readme.md b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-redirect/readme.md
deleted file mode 100644
index e9f0a393d2..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-redirect/readme.md
+++ /dev/null
@@ -1,28 +0,0 @@
-# is-redirect [![Build Status](https://travis-ci.org/sindresorhus/is-redirect.svg?branch=master)](https://travis-ci.org/sindresorhus/is-redirect)
-
-> Check if a number is a [redirect HTTP status code](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection)
-
-
-## Install
-
-```
-$ npm install --save is-redirect
-```
-
-
-## Usage
-
-```js
-var isRedirect = require('is-redirect');
-
-isRedirect(302);
-//=> true
-
-isRedirect(200);
-//=> false
-```
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-retry-allowed/index.js b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-retry-allowed/index.js
deleted file mode 100644
index 663ee338fc..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-retry-allowed/index.js
+++ /dev/null
@@ -1,60 +0,0 @@
-'use strict';
-
-var WHITELIST = [
- 'ETIMEDOUT',
- 'ECONNRESET',
- 'EADDRINUSE',
- 'ESOCKETTIMEDOUT',
- 'ECONNREFUSED',
- 'EPIPE'
-];
-
-var BLACKLIST = [
- 'ENOTFOUND',
- 'ENETUNREACH',
-
- // SSL errors from https://github.com/nodejs/node/blob/ed3d8b13ee9a705d89f9e0397d9e96519e7e47ac/src/node_crypto.cc#L1950
- 'UNABLE_TO_GET_ISSUER_CERT',
- 'UNABLE_TO_GET_CRL',
- 'UNABLE_TO_DECRYPT_CERT_SIGNATURE',
- 'UNABLE_TO_DECRYPT_CRL_SIGNATURE',
- 'UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY',
- 'CERT_SIGNATURE_FAILURE',
- 'CRL_SIGNATURE_FAILURE',
- 'CERT_NOT_YET_VALID',
- 'CERT_HAS_EXPIRED',
- 'CRL_NOT_YET_VALID',
- 'CRL_HAS_EXPIRED',
- 'ERROR_IN_CERT_NOT_BEFORE_FIELD',
- 'ERROR_IN_CERT_NOT_AFTER_FIELD',
- 'ERROR_IN_CRL_LAST_UPDATE_FIELD',
- 'ERROR_IN_CRL_NEXT_UPDATE_FIELD',
- 'OUT_OF_MEM',
- 'DEPTH_ZERO_SELF_SIGNED_CERT',
- 'SELF_SIGNED_CERT_IN_CHAIN',
- 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY',
- 'UNABLE_TO_VERIFY_LEAF_SIGNATURE',
- 'CERT_CHAIN_TOO_LONG',
- 'CERT_REVOKED',
- 'INVALID_CA',
- 'PATH_LENGTH_EXCEEDED',
- 'INVALID_PURPOSE',
- 'CERT_UNTRUSTED',
- 'CERT_REJECTED'
-];
-
-module.exports = function (err) {
- if (!err || !err.code) {
- return true;
- }
-
- if (WHITELIST.indexOf(err.code) !== -1) {
- return true;
- }
-
- if (BLACKLIST.indexOf(err.code) !== -1) {
- return false;
- }
-
- return true;
-};
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-retry-allowed/license b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-retry-allowed/license
deleted file mode 100644
index 1aeb74fd25..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-retry-allowed/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Vsevolod Strukchinsky <floatdrop@gmail.com> (github.com/floatdrop)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-retry-allowed/package.json b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-retry-allowed/package.json
deleted file mode 100644
index a7fcf47c68..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-retry-allowed/package.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
- "_from": "is-retry-allowed@^1.0.0",
- "_id": "is-retry-allowed@1.1.0",
- "_integrity": "sha1-EaBgVotnM5REAz0BJaYaINVk+zQ=",
- "_location": "/update-notifier/latest-version/package-json/got/is-retry-allowed",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "is-retry-allowed@^1.0.0",
- "name": "is-retry-allowed",
- "escapedName": "is-retry-allowed",
- "rawSpec": "^1.0.0",
- "saveSpec": null,
- "fetchSpec": "^1.0.0"
- },
- "_requiredBy": [
- "/update-notifier/latest-version/package-json/got"
- ],
- "_resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz",
- "_shasum": "11a060568b67339444033d0125a61a20d564fb34",
- "_shrinkwrap": null,
- "_spec": "is-retry-allowed@^1.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got",
- "author": {
- "name": "Vsevolod Strukchinsky",
- "email": "floatdrop@gmail.com",
- "url": "github.com/floatdrop"
- },
- "bin": null,
- "bugs": {
- "url": "https://github.com/floatdrop/is-retry-allowed/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "My prime module",
- "devDependencies": {
- "ava": "^0.8.0",
- "xo": "^0.12.1"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/floatdrop/is-retry-allowed#readme",
- "keywords": [],
- "license": "MIT",
- "name": "is-retry-allowed",
- "optionalDependencies": {},
- "peerDependencies": {},
- "repository": {
- "type": "git",
- "url": "git+https://github.com/floatdrop/is-retry-allowed.git"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "version": "1.1.0"
-}
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-retry-allowed/readme.md b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-retry-allowed/readme.md
deleted file mode 100644
index 4212d099b5..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-retry-allowed/readme.md
+++ /dev/null
@@ -1,42 +0,0 @@
-# is-retry-allowed [![Build Status](https://travis-ci.org/floatdrop/is-retry-allowed.svg?branch=master)](https://travis-ci.org/floatdrop/is-retry-allowed)
-
-Is retry allowed for Error?
-
-
-## Install
-
-```
-$ npm install --save is-retry-allowed
-```
-
-
-## Usage
-
-```js
-const isRetryAllowed = require('is-retry-allowed');
-
-isRetryAllowed({code: 'ETIMEDOUT'});
-//=> true
-
-isRetryAllowed({code: 'ENOTFOUND'});
-//=> false
-
-isRetryAllowed({});
-//=> true
-```
-
-
-## API
-
-### isRetryAllowed(error)
-
-#### error
-
-Type: `object`
-
-Object with `code` property, which will be used to determine retry.
-
-
-## License
-
-MIT © [Vsevolod Strukchinsky](http://github.com/floatdrop)
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-stream/index.js b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-stream/index.js
deleted file mode 100644
index 6f7ec91a40..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-stream/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-'use strict';
-
-var isStream = module.exports = function (stream) {
- return stream !== null && typeof stream === 'object' && typeof stream.pipe === 'function';
-};
-
-isStream.writable = function (stream) {
- return isStream(stream) && stream.writable !== false && typeof stream._write === 'function' && typeof stream._writableState === 'object';
-};
-
-isStream.readable = function (stream) {
- return isStream(stream) && stream.readable !== false && typeof stream._read === 'function' && typeof stream._readableState === 'object';
-};
-
-isStream.duplex = function (stream) {
- return isStream.writable(stream) && isStream.readable(stream);
-};
-
-isStream.transform = function (stream) {
- return isStream.duplex(stream) && typeof stream._transform === 'function' && typeof stream._transformState === 'object';
-};
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-stream/license b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-stream/license
deleted file mode 100644
index 654d0bfe94..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-stream/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-stream/package.json b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-stream/package.json
deleted file mode 100644
index 3401937b81..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-stream/package.json
+++ /dev/null
@@ -1,74 +0,0 @@
-{
- "_from": "is-stream@^1.0.0",
- "_id": "is-stream@1.1.0",
- "_integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=",
- "_location": "/update-notifier/latest-version/package-json/got/is-stream",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "is-stream@^1.0.0",
- "name": "is-stream",
- "escapedName": "is-stream",
- "rawSpec": "^1.0.0",
- "saveSpec": null,
- "fetchSpec": "^1.0.0"
- },
- "_requiredBy": [
- "/update-notifier/latest-version/package-json/got"
- ],
- "_resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
- "_shasum": "12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44",
- "_shrinkwrap": null,
- "_spec": "is-stream@^1.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "bin": null,
- "bugs": {
- "url": "https://github.com/sindresorhus/is-stream/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "Check if something is a Node.js stream",
- "devDependencies": {
- "ava": "*",
- "tempfile": "^1.1.0",
- "xo": "*"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/sindresorhus/is-stream#readme",
- "keywords": [
- "stream",
- "type",
- "streams",
- "writable",
- "readable",
- "duplex",
- "transform",
- "check",
- "detect",
- "is"
- ],
- "license": "MIT",
- "name": "is-stream",
- "optionalDependencies": {},
- "peerDependencies": {},
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/is-stream.git"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "version": "1.1.0"
-}
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-stream/readme.md b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-stream/readme.md
deleted file mode 100644
index d8afce81d2..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/is-stream/readme.md
+++ /dev/null
@@ -1,42 +0,0 @@
-# is-stream [![Build Status](https://travis-ci.org/sindresorhus/is-stream.svg?branch=master)](https://travis-ci.org/sindresorhus/is-stream)
-
-> Check if something is a [Node.js stream](https://nodejs.org/api/stream.html)
-
-
-## Install
-
-```
-$ npm install --save is-stream
-```
-
-
-## Usage
-
-```js
-const fs = require('fs');
-const isStream = require('is-stream');
-
-isStream(fs.createReadStream('unicorn.png'));
-//=> true
-
-isStream({});
-//=> false
-```
-
-
-## API
-
-### isStream(stream)
-
-#### isStream.writable(stream)
-
-#### isStream.readable(stream)
-
-#### isStream.duplex(stream)
-
-#### isStream.transform(stream)
-
-
-## License
-
-MIT © [Sindre Sorhus](https://sindresorhus.com)
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/index.js b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/index.js
deleted file mode 100644
index b8d8898365..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/index.js
+++ /dev/null
@@ -1,11 +0,0 @@
-'use strict';
-module.exports = function (obj) {
- var ret = {};
- var keys = Object.keys(Object(obj));
-
- for (var i = 0; i < keys.length; i++) {
- ret[keys[i].toLowerCase()] = obj[keys[i]];
- }
-
- return ret;
-};
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/package.json b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/package.json
deleted file mode 100644
index 19db7aa898..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/package.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "_from": "lowercase-keys@^1.0.0",
- "_id": "lowercase-keys@1.0.0",
- "_integrity": "sha1-TjNms55/VFfjXxMkvfb4jQv8cwY=",
- "_location": "/update-notifier/latest-version/package-json/got/lowercase-keys",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "lowercase-keys@^1.0.0",
- "name": "lowercase-keys",
- "escapedName": "lowercase-keys",
- "rawSpec": "^1.0.0",
- "saveSpec": null,
- "fetchSpec": "^1.0.0"
- },
- "_requiredBy": [
- "/update-notifier/latest-version/package-json/got"
- ],
- "_resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.0.tgz",
- "_shasum": "4e3366b39e7f5457e35f1324bdf6f88d0bfc7306",
- "_shrinkwrap": null,
- "_spec": "lowercase-keys@^1.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "bin": null,
- "bugs": {
- "url": "https://github.com/sindresorhus/lowercase-keys/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "Lowercase the keys of an object",
- "devDependencies": {
- "ava": "0.0.4"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/sindresorhus/lowercase-keys#readme",
- "keywords": [
- "object",
- "assign",
- "extend",
- "properties",
- "lowercase",
- "lower-case",
- "case",
- "keys",
- "key"
- ],
- "license": "MIT",
- "name": "lowercase-keys",
- "optionalDependencies": {},
- "peerDependencies": {},
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/lowercase-keys.git"
- },
- "scripts": {
- "test": "node test.js"
- },
- "version": "1.0.0"
-}
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/readme.md b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/readme.md
deleted file mode 100644
index dc65770a38..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/readme.md
+++ /dev/null
@@ -1,33 +0,0 @@
-# lowercase-keys [![Build Status](https://travis-ci.org/sindresorhus/lowercase-keys.svg?branch=master)](https://travis-ci.org/sindresorhus/lowercase-keys)
-
-> Lowercase the keys of an object
-
-
-## Install
-
-```
-$ npm install --save lowercase-keys
-```
-
-
-## Usage
-
-```js
-var lowercaseKeys = require('lowercase-keys');
-
-lowercaseKeys({FOO: true, bAr: false});
-//=> {foo: true, bar: false}
-```
-
-
-## API
-
-### lowercaseKeys(object)
-
-Lowercases the keys and returns a new object.
-
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/timed-out/index.js b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/timed-out/index.js
deleted file mode 100644
index 94007a4aea..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/timed-out/index.js
+++ /dev/null
@@ -1,55 +0,0 @@
-'use strict';
-
-module.exports = function (req, time) {
- if (req.timeoutTimer) {
- return req;
- }
-
- var delays = isNaN(time) ? time : {socket: time, connect: time};
- var host = req._headers ? (' to ' + req._headers.host) : '';
-
- if (delays.connect !== undefined) {
- req.timeoutTimer = setTimeout(function timeoutHandler() {
- req.abort();
- var e = new Error('Connection timed out on request' + host);
- e.code = 'ETIMEDOUT';
- req.emit('error', e);
- }, delays.connect);
- }
-
- // Clear the connection timeout timer once a socket is assigned to the
- // request and is connected.
- req.on('socket', function assign(socket) {
- // Socket may come from Agent pool and may be already connected.
- if (!(socket.connecting || socket._connecting)) {
- connect();
- return;
- }
-
- socket.once('connect', connect);
- });
-
- function clear() {
- if (req.timeoutTimer) {
- clearTimeout(req.timeoutTimer);
- req.timeoutTimer = null;
- }
- }
-
- function connect() {
- clear();
-
- if (delays.socket !== undefined) {
- // Abort the request if there is no activity on the socket for more
- // than `delays.socket` milliseconds.
- req.setTimeout(delays.socket, function socketTimeoutHandler() {
- req.abort();
- var e = new Error('Socket timed out on request' + host);
- e.code = 'ESOCKETTIMEDOUT';
- req.emit('error', e);
- });
- }
- }
-
- return req.on('error', clear);
-};
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/timed-out/license b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/timed-out/license
deleted file mode 100644
index faadd52875..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/timed-out/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Vsevolod Strukchinsky <floatdrop@gmail.com>
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/timed-out/package.json b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/timed-out/package.json
deleted file mode 100644
index e784347a43..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/timed-out/package.json
+++ /dev/null
@@ -1,72 +0,0 @@
-{
- "_from": "timed-out@^4.0.0",
- "_id": "timed-out@4.0.1",
- "_integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8=",
- "_location": "/update-notifier/latest-version/package-json/got/timed-out",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "timed-out@^4.0.0",
- "name": "timed-out",
- "escapedName": "timed-out",
- "rawSpec": "^4.0.0",
- "saveSpec": null,
- "fetchSpec": "^4.0.0"
- },
- "_requiredBy": [
- "/update-notifier/latest-version/package-json/got"
- ],
- "_resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz",
- "_shasum": "f32eacac5a175bea25d7fab565ab3ed8741ef56f",
- "_shrinkwrap": null,
- "_spec": "timed-out@^4.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got",
- "author": {
- "name": "Vsevolod Strukchinsky",
- "email": "floatdrop@gmail.com"
- },
- "bin": null,
- "bugs": {
- "url": "https://github.com/floatdrop/timed-out/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "Emit `ETIMEDOUT` or `ESOCKETTIMEDOUT` when ClientRequest is hanged",
- "devDependencies": {
- "mocha": "*",
- "xo": "^0.16.0"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/floatdrop/timed-out#readme",
- "keywords": [
- "http",
- "https",
- "get",
- "got",
- "url",
- "uri",
- "request",
- "util",
- "utility",
- "simple"
- ],
- "license": "MIT",
- "name": "timed-out",
- "optionalDependencies": {},
- "peerDependencies": {},
- "repository": {
- "type": "git",
- "url": "git+https://github.com/floatdrop/timed-out.git"
- },
- "scripts": {
- "test": "xo && mocha"
- },
- "version": "4.0.1"
-}
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/timed-out/readme.md b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/timed-out/readme.md
deleted file mode 100644
index d0eb92341e..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/timed-out/readme.md
+++ /dev/null
@@ -1,42 +0,0 @@
-# timed-out [![Build Status](https://travis-ci.org/floatdrop/timed-out.svg?branch=master)](https://travis-ci.org/floatdrop/timed-out)
-
-> Timeout HTTP/HTTPS requests
-
-Emit Error object with `code` property equal `ETIMEDOUT` or `ESOCKETTIMEDOUT` when ClientRequest is hanged.
-
-## Usage
-
-```js
-var get = require('http').get;
-var timeout = require('timed-out');
-
-var req = get('http://www.google.ru');
-timeout(req, 2000); // Set 2 seconds limit
-```
-
-### API
-
-#### timedout(request, time)
-
-##### request
-
-*Required*
-Type: [`ClientRequest`](http://nodejs.org/api/http.html#http_class_http_clientrequest)
-
-The request to watch on.
-
-##### time
-
-*Required*
-Type: `number` or `object`
-
-Time in milliseconds to wait for `connect` event on socket and also time to wait on inactive socket.
-
-Or you can pass Object with following fields:
-
-- `connect` - time to wait for connection
-- `socket` - time to wait for activity on socket
-
-## License
-
-MIT © [Vsevolod Strukchinsky](floatdrop@gmail.com)
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/unzip-response/index.js b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/unzip-response/index.js
deleted file mode 100644
index e97b9937ae..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/unzip-response/index.js
+++ /dev/null
@@ -1,36 +0,0 @@
-'use strict';
-const PassThrough = require('stream').PassThrough;
-const zlib = require('zlib');
-
-module.exports = res => {
- // TODO: use Array#includes when targeting Node.js 6
- if (['gzip', 'deflate'].indexOf(res.headers['content-encoding']) === -1) {
- return res;
- }
-
- const unzip = zlib.createUnzip();
- const stream = new PassThrough();
-
- stream.httpVersion = res.httpVersion;
- stream.headers = res.headers;
- stream.rawHeaders = res.rawHeaders;
- stream.trailers = res.trailers;
- stream.rawTrailers = res.rawTrailers;
- stream.setTimeout = res.setTimeout.bind(res);
- stream.statusCode = res.statusCode;
- stream.statusMessage = res.statusMessage;
- stream.socket = res.socket;
-
- unzip.on('error', err => {
- if (err.code === 'Z_BUF_ERROR') {
- stream.end();
- return;
- }
-
- stream.emit('error', err);
- });
-
- res.pipe(unzip).pipe(stream);
-
- return stream;
-};
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/unzip-response/license b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/unzip-response/license
deleted file mode 100644
index 32a16ce321..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/unzip-response/license
+++ /dev/null
@@ -1,21 +0,0 @@
-`The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/unzip-response/package.json b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/unzip-response/package.json
deleted file mode 100644
index b9ccc46f18..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/unzip-response/package.json
+++ /dev/null
@@ -1,85 +0,0 @@
-{
- "_from": "unzip-response@^2.0.1",
- "_id": "unzip-response@2.0.1",
- "_integrity": "sha1-0vD3N9FrBhXnKmk17QQhRXLVb5c=",
- "_location": "/update-notifier/latest-version/package-json/got/unzip-response",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "unzip-response@^2.0.1",
- "name": "unzip-response",
- "escapedName": "unzip-response",
- "rawSpec": "^2.0.1",
- "saveSpec": null,
- "fetchSpec": "^2.0.1"
- },
- "_requiredBy": [
- "/update-notifier/latest-version/package-json/got"
- ],
- "_resolved": "https://registry.npmjs.org/unzip-response/-/unzip-response-2.0.1.tgz",
- "_shasum": "d2f0f737d16b0615e72a6935ed04214572d56f97",
- "_shrinkwrap": null,
- "_spec": "unzip-response@^2.0.1",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got",
- "bin": null,
- "bugs": {
- "url": "https://github.com/sindresorhus/unzip-response/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "Unzip a HTTP response if needed",
- "devDependencies": {
- "ava": "*",
- "get-stream": "^2.3.0",
- "pify": "^2.3.0",
- "rfpify": "^1.0.0",
- "xo": "*"
- },
- "engines": {
- "node": ">=4"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/sindresorhus/unzip-response#readme",
- "keywords": [
- "http",
- "unzip",
- "zlib",
- "gzip",
- "deflate",
- "incoming",
- "message",
- "response",
- "stream"
- ],
- "license": "MIT",
- "maintainers": [
- {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- {
- "name": "Vsevolod Strukchinsky",
- "email": "floatdrop@gmail.com",
- "url": "github.com/floatdrop"
- }
- ],
- "name": "unzip-response",
- "optionalDependencies": {},
- "peerDependencies": {},
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/unzip-response.git"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "version": "2.0.1",
- "xo": {
- "esnext": true
- }
-}
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/unzip-response/readme.md b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/unzip-response/readme.md
deleted file mode 100644
index 87a62c4b3d..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/unzip-response/readme.md
+++ /dev/null
@@ -1,29 +0,0 @@
-# unzip-response [![Build Status](https://travis-ci.org/sindresorhus/unzip-response.svg?branch=master)](https://travis-ci.org/sindresorhus/unzip-response)
-
-> Unzip a HTTP response if needed
-
-Unzips the response from [`http.request`](https://nodejs.org/api/http.html#http_http_request_options_callback) if it's gzipped/deflated, otherwise just passes it through.
-
-
-## Install
-
-```
-$ npm install --save unzip-response
-```
-
-
-## Usage
-
-```js
-const http = require('http');
-const unzipResponse = require('unzip-response');
-
-http.get('http://sindresorhus.com', res => {
- res = unzipResponse(res);
-});
-```
-
-
-## License
-
-MIT © [Sindre Sorhus](https://sindresorhus.com)
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/index.js b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/index.js
deleted file mode 100644
index f9c0c65afd..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/index.js
+++ /dev/null
@@ -1,14 +0,0 @@
-'use strict';
-var url = require('url');
-var prependHttp = require('prepend-http');
-
-module.exports = function (x) {
- var withProtocol = prependHttp(x);
- var parsed = url.parse(withProtocol);
-
- if (withProtocol !== x) {
- parsed.protocol = null;
- }
-
- return parsed;
-};
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/license b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/license
deleted file mode 100644
index 654d0bfe94..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/node_modules/prepend-http/index.js b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/node_modules/prepend-http/index.js
deleted file mode 100644
index 60f532ac59..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/node_modules/prepend-http/index.js
+++ /dev/null
@@ -1,14 +0,0 @@
-'use strict';
-module.exports = function (url) {
- if (typeof url !== 'string') {
- throw new TypeError('Expected a string, got ' + typeof url);
- }
-
- url = url.trim();
-
- if (/^\.*\/|^(?!localhost)\w+:/.test(url)) {
- return url;
- }
-
- return url.replace(/^(?!(?:\w+:)?\/\/)/, 'http://');
-};
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/node_modules/prepend-http/license b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/node_modules/prepend-http/license
deleted file mode 100644
index 654d0bfe94..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/node_modules/prepend-http/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/node_modules/prepend-http/package.json b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/node_modules/prepend-http/package.json
deleted file mode 100644
index b47614ce3d..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/node_modules/prepend-http/package.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "_from": "prepend-http@^1.0.1",
- "_id": "prepend-http@1.0.4",
- "_integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=",
- "_location": "/update-notifier/latest-version/package-json/got/url-parse-lax/prepend-http",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "prepend-http@^1.0.1",
- "name": "prepend-http",
- "escapedName": "prepend-http",
- "rawSpec": "^1.0.1",
- "saveSpec": null,
- "fetchSpec": "^1.0.1"
- },
- "_requiredBy": [
- "/update-notifier/latest-version/package-json/got/url-parse-lax"
- ],
- "_resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz",
- "_shasum": "d4f4562b0ce3696e41ac52d0e002e57a635dc6dc",
- "_shrinkwrap": null,
- "_spec": "prepend-http@^1.0.1",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "bin": null,
- "bugs": {
- "url": "https://github.com/sindresorhus/prepend-http/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "Prepend `http://` to humanized URLs like todomvc.com and localhost",
- "devDependencies": {
- "ava": "*",
- "xo": "*"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/sindresorhus/prepend-http#readme",
- "keywords": [
- "prepend",
- "protocol",
- "scheme",
- "url",
- "uri",
- "http",
- "https",
- "humanized"
- ],
- "license": "MIT",
- "name": "prepend-http",
- "optionalDependencies": {},
- "peerDependencies": {},
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/prepend-http.git"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "version": "1.0.4"
-}
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/node_modules/prepend-http/readme.md b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/node_modules/prepend-http/readme.md
deleted file mode 100644
index df7557e368..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/node_modules/prepend-http/readme.md
+++ /dev/null
@@ -1,31 +0,0 @@
-# prepend-http [![Build Status](https://travis-ci.org/sindresorhus/prepend-http.svg?branch=master)](https://travis-ci.org/sindresorhus/prepend-http)
-
-> Prepend `http://` to humanized URLs like `todomvc.com` and `localhost`
-
-
-## Install
-
-```
-$ npm install --save prepend-http
-```
-
-
-## Usage
-
-```js
-const prependHttp = require('prepend-http');
-
-prependHttp('todomvc.com');
-//=> 'http://todomvc.com'
-
-prependHttp('localhost');
-//=> 'http://localhost'
-
-prependHttp('http://todomvc.com');
-//=> 'http://todomvc.com'
-```
-
-
-## License
-
-MIT © [Sindre Sorhus](https://sindresorhus.com)
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/package.json b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/package.json
deleted file mode 100644
index 0a228ba3f1..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/package.json
+++ /dev/null
@@ -1,76 +0,0 @@
-{
- "_from": "url-parse-lax@^1.0.0",
- "_id": "url-parse-lax@1.0.0",
- "_integrity": "sha1-evjzA2Rem9eaJy56FKxovAYJ2nM=",
- "_location": "/update-notifier/latest-version/package-json/got/url-parse-lax",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "url-parse-lax@^1.0.0",
- "name": "url-parse-lax",
- "escapedName": "url-parse-lax",
- "rawSpec": "^1.0.0",
- "saveSpec": null,
- "fetchSpec": "^1.0.0"
- },
- "_requiredBy": [
- "/update-notifier/latest-version/package-json/got"
- ],
- "_resolved": "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz",
- "_shasum": "7af8f303645e9bd79a272e7a14ac68bc0609da73",
- "_shrinkwrap": null,
- "_spec": "url-parse-lax@^1.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "bin": null,
- "bugs": {
- "url": "https://github.com/sindresorhus/url-parse-lax/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "prepend-http": "^1.0.1"
- },
- "deprecated": false,
- "description": "url.parse() with support for protocol-less URLs & IPs",
- "devDependencies": {
- "ava": "0.0.4"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/sindresorhus/url-parse-lax#readme",
- "keywords": [
- "url",
- "uri",
- "parse",
- "parser",
- "loose",
- "lax",
- "protocol",
- "less",
- "protocol-less",
- "ip",
- "ipv4",
- "ipv6"
- ],
- "license": "MIT",
- "name": "url-parse-lax",
- "optionalDependencies": {},
- "peerDependencies": {},
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/url-parse-lax.git"
- },
- "scripts": {
- "test": "node test.js"
- },
- "version": "1.0.0"
-}
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/readme.md b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/readme.md
deleted file mode 100644
index f2639446e5..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/url-parse-lax/readme.md
+++ /dev/null
@@ -1,100 +0,0 @@
-# url-parse-lax [![Build Status](https://travis-ci.org/sindresorhus/url-parse-lax.svg?branch=master)](https://travis-ci.org/sindresorhus/url-parse-lax)
-
-> [`url.parse()`](https://nodejs.org/docs/latest/api/url.html#url_url_parse_urlstr_parsequerystring_slashesdenotehost) with support for protocol-less URLs & IPs
-
-
-## Install
-
-```
-$ npm install --save url-parse-lax
-```
-
-
-## Usage
-
-```js
-var urlParseLax = require('url-parse-lax');
-
-urlParseLax('sindresorhus.com');
-/*
-{
- protocol: null,
- slashes: true,
- auth: null,
- host: 'sindresorhus.com',
- port: null,
- hostname: 'sindresorhus.com',
- hash: null,
- search: null,
- query: null,
- pathname: '/',
- path: '/',
- href: 'http://sindresorhus.com/'
-}
-*/
-
-urlParseLax('[2001:db8::]:8000');
-/*
-{
- protocol: null,
- slashes: true,
- auth: null,
- host: '[2001:db8::]:8000',
- port: '8000',
- hostname: '2001:db8::',
- hash: null,
- search: null,
- query: null,
- pathname: '/',
- path: '/',
- href: 'http://[2001:db8::]:8000/'
-}
-*/
-```
-
-And with the built-in `url.parse()`:
-
-```js
-var url = require('url');
-
-url.parse('sindresorhus.com');
-/*
-{
- protocol: null,
- slashes: null,
- auth: null,
- host: null,
- port: null,
- hostname: null,
- hash: null,
- search: null,
- query: null,
- pathname: 'sindresorhus',
- path: 'sindresorhus',
- href: 'sindresorhus'
-}
-*/
-
-url.parse('[2001:db8::]:8000');
-/*
-{
- protocol: null,
- slashes: null,
- auth: null,
- host: null,
- port: null,
- hostname: null,
- hash: null,
- search: null,
- query: null,
- pathname: '[2001:db8::]:8000',
- path: '[2001:db8::]:8000',
- href: '[2001:db8::]:8000'
-}
-*/
-```
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/package.json b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/package.json
deleted file mode 100644
index f8aefb9d4a..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/package.json
+++ /dev/null
@@ -1,113 +0,0 @@
-{
- "_from": "got@^6.7.1",
- "_id": "got@6.7.1",
- "_integrity": "sha1-JAzQV4WpoY5WHcG0S0HHY+8ejbA=",
- "_location": "/update-notifier/latest-version/package-json/got",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "got@^6.7.1",
- "name": "got",
- "escapedName": "got",
- "rawSpec": "^6.7.1",
- "saveSpec": null,
- "fetchSpec": "^6.7.1"
- },
- "_requiredBy": [
- "/update-notifier/latest-version/package-json"
- ],
- "_resolved": "https://registry.npmjs.org/got/-/got-6.7.1.tgz",
- "_shasum": "240cd05785a9a18e561dc1b44b41c763ef1e8db0",
- "_shrinkwrap": null,
- "_spec": "got@^6.7.1",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json",
- "ava": {
- "concurrency": 4
- },
- "bin": null,
- "browser": {
- "unzip-response": false
- },
- "bugs": {
- "url": "https://github.com/sindresorhus/got/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "create-error-class": "^3.0.0",
- "duplexer3": "^0.1.4",
- "get-stream": "^3.0.0",
- "is-redirect": "^1.0.0",
- "is-retry-allowed": "^1.0.0",
- "is-stream": "^1.0.0",
- "lowercase-keys": "^1.0.0",
- "safe-buffer": "^5.0.1",
- "timed-out": "^4.0.0",
- "unzip-response": "^2.0.1",
- "url-parse-lax": "^1.0.0"
- },
- "deprecated": false,
- "description": "Simplified HTTP requests",
- "devDependencies": {
- "ava": "^0.17.0",
- "coveralls": "^2.11.4",
- "form-data": "^2.1.1",
- "get-port": "^2.0.0",
- "into-stream": "^3.0.0",
- "nyc": "^10.0.0",
- "pem": "^1.4.4",
- "pify": "^2.3.0",
- "tempfile": "^1.1.1",
- "xo": "*"
- },
- "engines": {
- "node": ">=4"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/sindresorhus/got#readme",
- "keywords": [
- "http",
- "https",
- "get",
- "got",
- "url",
- "uri",
- "request",
- "util",
- "utility",
- "simple",
- "curl",
- "wget",
- "fetch"
- ],
- "license": "MIT",
- "maintainers": [
- {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- {
- "name": "Vsevolod Strukchinsky",
- "email": "floatdrop@gmail.com",
- "url": "github.com/floatdrop"
- }
- ],
- "name": "got",
- "optionalDependencies": {},
- "peerDependencies": {},
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/got.git"
- },
- "scripts": {
- "coveralls": "nyc report --reporter=text-lcov | coveralls",
- "test": "xo && nyc ava"
- },
- "version": "6.7.1",
- "xo": {
- "esnext": true
- }
-}
diff --git a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/readme.md b/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/readme.md
deleted file mode 100644
index bfab067679..0000000000
--- a/deps/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/readme.md
+++ /dev/null
@@ -1,335 +0,0 @@
-<h1 align="center">
- <br>
- <img width="360" src="https://rawgit.com/sindresorhus/got/master/media/logo.svg" alt="got">
- <br>
- <br>
- <br>
-</h1>
-
-> Simplified HTTP requests
-
-[![Build Status](https://travis-ci.org/sindresorhus/got.svg?branch=master)](https://travis-ci.org/sindresorhus/got) [![Coverage Status](https://coveralls.io/repos/github/sindresorhus/got/badge.svg?branch=master)](https://coveralls.io/github/sindresorhus/got?branch=master) [![Downloads](https://img.shields.io/npm/dm/got.svg)](https://npmjs.com/got)
-
-A nicer interface to the built-in [`http`](http://nodejs.org/api/http.html) module.
-
-It supports following redirects, promises, streams, retries, automagically handling gzip/deflate and some convenience options.
-
-Created because [`request`](https://github.com/request/request) is bloated *(several megabytes!)*.
-
-
-## Install
-
-**WARNING: Node.js 4 or higher is required for got@6 and above.** For older Node.js versions use [got@5](https://github.com/sindresorhus/got/tree/v5.x).
-
-```
-$ npm install --save got
-```
-
-
-## Usage
-
-```js
-const fs = require('fs');
-const got = require('got');
-
-got('todomvc.com')
- .then(response => {
- console.log(response.body);
- //=> '<!doctype html> ...'
- })
- .catch(error => {
- console.log(error.response.body);
- //=> 'Internal server error ...'
- });
-
-// Streams
-got.stream('todomvc.com').pipe(fs.createWriteStream('index.html'));
-
-// For POST, PUT and PATCH methods got.stream returns a WritableStream
-fs.createReadStream('index.html').pipe(got.stream.post('todomvc.com'));
-```
-
-
-### API
-
-It's a `GET` request by default, but can be changed in `options`.
-
-#### got(url, [options])
-
-Returns a Promise for a `response` object with a `body` property, a `url` property with the request URL or the final URL after redirects, and a `requestUrl` property with the original request URL.
-
-##### url
-
-Type: `string`, `object`
-
-The URL to request or a [`http.request` options](https://nodejs.org/api/http.html#http_http_request_options_callback) object.
-
-Properties from `options` will override properties in the parsed `url`.
-
-##### options
-
-Type: `object`
-
-Any of the [`http.request`](http://nodejs.org/api/http.html#http_http_request_options_callback) options.
-
-###### body
-
-Type: `string`, `buffer`, `readableStream`, `object`
-
-*This is mutually exclusive with stream mode.*
-
-Body that will be sent with a `POST` request.
-
-If present in `options` and `options.method` is not set, `options.method` will be set to `POST`.
-
-If `content-length` or `transfer-encoding` is not set in `options.headers` and `body` is a string or buffer, `content-length` will be set to the body length.
-
-If `body` is a plain object, it will be stringified with [`querystring.stringify`](https://nodejs.org/api/querystring.html#querystring_querystring_stringify_obj_sep_eq_options) and sent as `application/x-www-form-urlencoded`.
-
-###### encoding
-
-Type: `string`, `null`<br>
-Default: `'utf8'`
-
-Encoding to be used on `setEncoding` of the response data. If `null`, the body is returned as a Buffer.
-
-###### json
-
-Type: `boolean`<br>
-Default: `false`
-
-*This is mutually exclusive with stream mode.*
-
-Parse response body with `JSON.parse` and set `accept` header to `application/json`.
-
-###### query
-
-Type: `string`, `object`<br>
-
-Query string object that will be added to the request URL. This will override the query string in `url`.
-
-###### timeout
-
-Type: `number`, `object`
-
-Milliseconds to wait for a server to send response headers before aborting request with `ETIMEDOUT` error.
-
-Option accepts `object` with separate `connect` and `socket` fields for connection and socket inactivity timeouts.
-
-###### retries
-
-Type: `number`, `function`<br>
-Default: `5`
-
-Number of request retries when network errors happens. Delays between retries counts with function `1000 * Math.pow(2, retry) + Math.random() * 100`, where `retry` is attempt number (starts from 0).
-
-Option accepts `function` with `retry` and `error` arguments. Function must return delay in milliseconds (`0` return value cancels retry).
-
-**Note:** if `retries` is `number`, `ENOTFOUND` and `ENETUNREACH` error will not be retried (see full list in [`is-retry-allowed`](https://github.com/floatdrop/is-retry-allowed/blob/master/index.js#L12) module).
-
-###### followRedirect
-
-Type: `boolean`<br>
-Default: `true`
-
-Defines if redirect responses should be followed automatically.
-
-
-#### Streams
-
-#### got.stream(url, [options])
-
-`stream` method will return Duplex stream with additional events:
-
-##### .on('request', request)
-
-`request` event to get the request object of the request.
-
-**Tip**: You can use `request` event to abort request:
-
-```js
-got.stream('github.com')
- .on('request', req => setTimeout(() => req.abort(), 50));
-```
-
-##### .on('response', response)
-
-`response` event to get the response object of the final request.
-
-##### .on('redirect', response, nextOptions)
-
-`redirect` event to get the response object of a redirect. The second argument is options for the next request to the redirect location.
-
-##### .on('error', error, body, response)
-
-`error` event emitted in case of protocol error (like `ENOTFOUND` etc.) or status error (4xx or 5xx). The second argument is the body of the server response in case of status error. The third argument is response object.
-
-#### got.get(url, [options])
-#### got.post(url, [options])
-#### got.put(url, [options])
-#### got.patch(url, [options])
-#### got.head(url, [options])
-#### got.delete(url, [options])
-
-Sets `options.method` to the method name and makes a request.
-
-
-## Errors
-
-Each error contains (if available) `statusCode`, `statusMessage`, `host`, `hostname`, `method` and `path` properties to make debugging easier.
-
-In Promise mode, the `response` is attached to the error.
-
-#### got.RequestError
-
-When a request fails. Contains a `code` property with error class code, like `ECONNREFUSED`.
-
-#### got.ReadError
-
-When reading from response stream fails.
-
-#### got.ParseError
-
-When `json` option is enabled and `JSON.parse` fails.
-
-#### got.HTTPError
-
-When server response code is not 2xx. Contains `statusCode` and `statusMessage`.
-
-#### got.MaxRedirectsError
-
-When server redirects you more than 10 times.
-
-
-## Proxies
-
-You can use the [`tunnel`](https://github.com/koichik/node-tunnel) module with the `agent` option to work with proxies:
-
-```js
-const got = require('got');
-const tunnel = require('tunnel');
-
-got('todomvc.com', {
- agent: tunnel.httpOverHttp({
- proxy: {
- host: 'localhost'
- }
- })
-});
-```
-
-
-## Cookies
-
-You can use the [`cookie`](https://github.com/jshttp/cookie) module to include cookies in a request:
-
-```js
-const got = require('got');
-const cookie = require('cookie');
-
-got('google.com', {
- headers: {
- cookie: cookie.serialize('foo', 'bar')
- }
-});
-```
-
-
-## Form data
-
-You can use the [`form-data`](https://github.com/form-data/form-data) module to create POST request with form data:
-
-```js
-const fs = require('fs');
-const got = require('got');
-const FormData = require('form-data');
-const form = new FormData();
-
-form.append('my_file', fs.createReadStream('/foo/bar.jpg'));
-
-got.post('google.com', {
- body: form
-});
-```
-
-
-## OAuth
-
-You can use the [`oauth-1.0a`](https://github.com/ddo/oauth-1.0a) module to create a signed OAuth request:
-
-```js
-const got = require('got');
-const crypto = require('crypto');
-const OAuth = require('oauth-1.0a');
-
-const oauth = OAuth({
- consumer: {
- key: process.env.CONSUMER_KEY,
- secret: process.env.CONSUMER_SECRET
- },
- signature_method: 'HMAC-SHA1',
- hash_function: (baseString, key) => crypto.createHmac('sha1', key).update(baseString).digest('base64')
-});
-
-const token = {
- key: process.env.ACCESS_TOKEN,
- secret: process.env.ACCESS_TOKEN_SECRET
-};
-
-const url = 'https://api.twitter.com/1.1/statuses/home_timeline.json';
-
-got(url, {
- headers: oauth.toHeader(oauth.authorize({url, method: 'GET'}, token)),
- json: true
-});
-```
-
-
-## Unix Domain Sockets
-
-Requests can also be sent via [unix domain sockets](http://serverfault.com/questions/124517/whats-the-difference-between-unix-socket-and-tcp-ip-socket). Use the following URL scheme: `PROTOCOL://unix:SOCKET:PATH`.
-
-- `PROTOCOL` - `http` or `https` *(optional)*
-- `SOCKET` - absolute path to a unix domain socket, e.g. `/var/run/docker.sock`
-- `PATH` - request path, e.g. `/v2/keys`
-
-```js
-got('http://unix:/var/run/docker.sock:/containers/json');
-
-// or without protocol (http by default)
-got('unix:/var/run/docker.sock:/containers/json');
-```
-
-
-## Tip
-
-It's a good idea to set the `'user-agent'` header so the provider can more easily see how their resource is used. By default, it's the URL to this repo.
-
-```js
-const got = require('got');
-const pkg = require('./package.json');
-
-got('todomvc.com', {
- headers: {
- 'user-agent': `my-module/${pkg.version} (https://github.com/username/my-module)`
- }
-});
-```
-
-
-## Related
-
-- [gh-got](https://github.com/sindresorhus/gh-got) - Convenience wrapper for interacting with the GitHub API
-- [travis-got](https://github.com/samverschueren/travis-got) - Convenience wrapper for interacting with the Travis API
-
-
-## Created by
-
-[![Sindre Sorhus](https://avatars.githubusercontent.com/u/170270?v=3&s=100)](https://sindresorhus.com) | [![Vsevolod Strukchinsky](https://avatars.githubusercontent.com/u/365089?v=3&s=100)](https://github.com/floatdrop)
----|---
-[Sindre Sorhus](https://sindresorhus.com) | [Vsevolod Strukchinsky](https://github.com/floatdrop)
-
-
-## License
-
-MIT © [Sindre Sorhus](https://sindresorhus.com)