Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2018-04-06 01:24:47 +0300
committerRebecca Turner <me@re-becca.org>2018-04-10 06:19:48 +0300
commite160adf9fce09f226f66e0892cc3fa45f254b5e8 (patch)
treec2c4a575554fce2b06b68f0044a598c3a25a7466 /node_modules
parentc52765ff32d195842133baf146d647760eb8d0cd (diff)
update-notifier@2.4.0
Credit: @sindersorhus
Diffstat (limited to 'node_modules')
-rw-r--r--node_modules/update-notifier/index.js4
-rw-r--r--node_modules/update-notifier/license9
l---------node_modules/update-notifier/node_modules/.bin/is-ci1
-rw-r--r--node_modules/update-notifier/node_modules/boxen/index.js2
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/index.js8
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/license20
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/index.js37
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/code-point-at/index.js32
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/code-point-at/package.json74
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/code-point-at/readme.md32
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/index.js46
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/index.js4
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/package.json71
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/readme.md28
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/package.json80
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/readme.md39
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/index.js6
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/license21
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex/index.js4
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex/license21
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex/package.json108
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex/readme.md39
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/package.json101
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/readme.md33
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/package.json91
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/readme.md42
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/package.json35
-rw-r--r--node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/readme.md6
-rw-r--r--node_modules/update-notifier/node_modules/boxen/package.json26
-rw-r--r--node_modules/update-notifier/node_modules/chalk/index.js24
-rw-r--r--node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/index.js23
-rw-r--r--node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/package.json12
-rw-r--r--node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/route.js5
-rw-r--r--node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/package.json24
-rw-r--r--node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/readme.md2
-rw-r--r--node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/browser.js5
-rw-r--r--node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/index.js72
-rw-r--r--node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/index.js10
-rw-r--r--node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/license20
-rw-r--r--node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/package.json41
-rw-r--r--node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/readme.md9
-rw-r--r--node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/package.json24
-rw-r--r--node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/readme.md16
-rw-r--r--node_modules/update-notifier/node_modules/chalk/package.json29
-rw-r--r--node_modules/update-notifier/node_modules/chalk/readme.md17
-rw-r--r--node_modules/update-notifier/node_modules/chalk/templates.js32
-rw-r--r--node_modules/update-notifier/node_modules/chalk/types/index.d.ts97
-rw-r--r--node_modules/update-notifier/node_modules/configstore/index.js8
-rw-r--r--node_modules/update-notifier/node_modules/configstore/license9
-rw-r--r--node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/index.js2
-rw-r--r--node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/license20
-rw-r--r--node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/index.js102
-rw-r--r--node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/license20
-rw-r--r--node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/package.json31
-rw-r--r--node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/readme.md62
-rw-r--r--node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/package.json20
-rw-r--r--node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/readme.md7
-rw-r--r--node_modules/update-notifier/node_modules/configstore/package.json12
-rw-r--r--node_modules/update-notifier/node_modules/is-ci/.travis.yml7
-rw-r--r--node_modules/update-notifier/node_modules/is-ci/LICENSE (renamed from node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/license)10
-rw-r--r--node_modules/update-notifier/node_modules/is-ci/README.md69
-rwxr-xr-xnode_modules/update-notifier/node_modules/is-ci/bin.js4
-rw-r--r--node_modules/update-notifier/node_modules/is-ci/index.js3
-rw-r--r--node_modules/update-notifier/node_modules/is-ci/node_modules/ci-info/LICENSE (renamed from node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/license)10
-rw-r--r--node_modules/update-notifier/node_modules/is-ci/node_modules/ci-info/README.md100
-rw-r--r--node_modules/update-notifier/node_modules/is-ci/node_modules/ci-info/index.js48
-rw-r--r--node_modules/update-notifier/node_modules/is-ci/node_modules/ci-info/package.json64
-rw-r--r--node_modules/update-notifier/node_modules/is-ci/package.json69
-rw-r--r--node_modules/update-notifier/node_modules/is-ci/test.js19
-rw-r--r--node_modules/update-notifier/node_modules/is-installed-globally/node_modules/global-dirs/index.js17
-rw-r--r--node_modules/update-notifier/node_modules/is-installed-globally/node_modules/global-dirs/package.json12
-rw-r--r--node_modules/update-notifier/node_modules/is-installed-globally/node_modules/is-path-inside/license (renamed from node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/license)0
-rw-r--r--node_modules/update-notifier/node_modules/is-installed-globally/node_modules/is-path-inside/package.json19
-rw-r--r--node_modules/update-notifier/node_modules/is-installed-globally/node_modules/is-path-inside/readme.md9
-rw-r--r--node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/license (renamed from node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/code-point-at/license)0
-rw-r--r--node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/package.json22
-rw-r--r--node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/.npmignore6
-rw-r--r--node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/CHANGELOG.md12
-rw-r--r--node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/index.js4
l---------node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/.bin/rc2
-rw-r--r--node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/README.md82
-rwxr-xr-xnode_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/cli.js4
-rwxr-xr-xnode_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/index.js7
-rw-r--r--node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/package.json21
-rw-r--r--node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/package.json12
-rw-r--r--node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/test/auth-token.test.js50
-rw-r--r--node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/yarn.lock410
l---------node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/.bin/rc2
-rw-r--r--node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/README.md82
-rwxr-xr-xnode_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/cli.js4
-rwxr-xr-xnode_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/index.js7
-rw-r--r--node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/package.json21
-rw-r--r--node_modules/update-notifier/package.json36
-rw-r--r--node_modules/update-notifier/readme.md8
94 files changed, 1446 insertions, 1581 deletions
diff --git a/node_modules/update-notifier/index.js b/node_modules/update-notifier/index.js
index 58f245903..c12eb3c42 100644
--- a/node_modules/update-notifier/index.js
+++ b/node_modules/update-notifier/index.js
@@ -12,6 +12,7 @@ const isNpm = importLazy('is-npm');
const isInstalledGlobally = importLazy('is-installed-globally');
const boxen = importLazy('boxen');
const xdgBasedir = importLazy('xdg-basedir');
+const isCi = importLazy('is-ci');
const ONE_DAY = 1000 * 60 * 60 * 24;
class UpdateNotifier {
@@ -37,7 +38,8 @@ class UpdateNotifier {
this.hasCallback = typeof options.callback === 'function';
this.callback = options.callback || (() => {});
this.disabled = 'NO_UPDATE_NOTIFIER' in process.env ||
- process.argv.indexOf('--no-update-notifier') !== -1;
+ process.argv.indexOf('--no-update-notifier') !== -1 ||
+ isCi();
if (!this.disabled && !this.hasCallback) {
try {
diff --git a/node_modules/update-notifier/license b/node_modules/update-notifier/license
new file mode 100644
index 000000000..cea5a3552
--- /dev/null
+++ b/node_modules/update-notifier/license
@@ -0,0 +1,9 @@
+Copyright Google
+
+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.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT HOLDER OR CONTRIBUTORS 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/node_modules/update-notifier/node_modules/.bin/is-ci b/node_modules/update-notifier/node_modules/.bin/is-ci
new file mode 120000
index 000000000..fe6aca6f5
--- /dev/null
+++ b/node_modules/update-notifier/node_modules/.bin/is-ci
@@ -0,0 +1 @@
+../is-ci/bin.js \ No newline at end of file
diff --git a/node_modules/update-notifier/node_modules/boxen/index.js b/node_modules/update-notifier/node_modules/boxen/index.js
index 0fe96a5a4..b54b92dc6 100644
--- a/node_modules/update-notifier/node_modules/boxen/index.js
+++ b/node_modules/update-notifier/node_modules/boxen/index.js
@@ -115,7 +115,7 @@ module.exports = (text, opts) => {
let marginLeft = PAD.repeat(margin.left);
if (opts.float === 'center') {
- const padWidth = (columns - contentWidth) / 2;
+ const padWidth = Math.max((columns - contentWidth) / 2, 0);
marginLeft = PAD.repeat(padWidth);
} else if (opts.float === 'right') {
const padWidth = Math.max(columns - contentWidth - margin.right - 2, 0);
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/index.js b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/index.js
index e204810bf..173cec4f2 100644
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/index.js
+++ b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/index.js
@@ -1,9 +1,5 @@
'use strict';
-var stringWidth = require('string-width');
+const stringWidth = require('string-width');
-module.exports = function (str) {
- return Math.max.apply(null, str.split('\n').map(function (x) {
- return stringWidth(x);
- }));
-};
+module.exports = input => Math.max.apply(null, input.split('\n').map(x => stringWidth(x)));
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/license b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/license
index 654d0bfe9..e7af2f771 100644
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/license
+++ b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/license
@@ -1,21 +1,9 @@
-The MIT License (MIT)
+MIT License
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:
+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 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.
+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/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/index.js b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/index.js
deleted file mode 100644
index b9bec6244..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/index.js
+++ /dev/null
@@ -1,37 +0,0 @@
-'use strict';
-var stripAnsi = require('strip-ansi');
-var codePointAt = require('code-point-at');
-var isFullwidthCodePoint = require('is-fullwidth-code-point');
-
-// https://github.com/nodejs/io.js/blob/cff7300a578be1b10001f2d967aaedc88aee6402/lib/readline.js#L1345
-module.exports = function (str) {
- if (typeof str !== 'string' || str.length === 0) {
- return 0;
- }
-
- var width = 0;
-
- str = stripAnsi(str);
-
- for (var i = 0; i < str.length; i++) {
- var code = codePointAt(str, i);
-
- // ignore control characters
- if (code <= 0x1f || (code >= 0x7f && code <= 0x9f)) {
- continue;
- }
-
- // surrogates
- if (code >= 0x10000) {
- i++;
- }
-
- if (isFullwidthCodePoint(code)) {
- width += 2;
- } else {
- width++;
- }
- }
-
- return width;
-};
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/code-point-at/index.js b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/code-point-at/index.js
deleted file mode 100644
index 0432fe6a3..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/code-point-at/index.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/* eslint-disable babel/new-cap, xo/throw-new-error */
-'use strict';
-module.exports = function (str, pos) {
- if (str === null || str === undefined) {
- throw TypeError();
- }
-
- str = String(str);
-
- var size = str.length;
- var i = pos ? Number(pos) : 0;
-
- if (Number.isNaN(i)) {
- i = 0;
- }
-
- if (i < 0 || i >= size) {
- return undefined;
- }
-
- var first = str.charCodeAt(i);
-
- if (first >= 0xD800 && first <= 0xDBFF && size > i + 1) {
- var second = str.charCodeAt(i + 1);
-
- if (second >= 0xDC00 && second <= 0xDFFF) {
- return ((first - 0xD800) * 0x400) + second - 0xDC00 + 0x10000;
- }
- }
-
- return first;
-};
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/code-point-at/package.json b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/code-point-at/package.json
deleted file mode 100644
index 42007ea60..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/code-point-at/package.json
+++ /dev/null
@@ -1,74 +0,0 @@
-{
- "_from": "code-point-at@^1.0.0",
- "_id": "code-point-at@1.1.0",
- "_integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=",
- "_location": "/update-notifier/boxen/widest-line/string-width/code-point-at",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "code-point-at@^1.0.0",
- "name": "code-point-at",
- "escapedName": "code-point-at",
- "rawSpec": "^1.0.0",
- "saveSpec": null,
- "fetchSpec": "^1.0.0"
- },
- "_requiredBy": [
- "/update-notifier/boxen/widest-line/string-width"
- ],
- "_resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz",
- "_shasum": "0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77",
- "_shrinkwrap": null,
- "_spec": "code-point-at@^1.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "bin": null,
- "bugs": {
- "url": "https://github.com/sindresorhus/code-point-at/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "ES2015 `String#codePointAt()` ponyfill",
- "devDependencies": {
- "ava": "*",
- "xo": "^0.16.0"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/sindresorhus/code-point-at#readme",
- "keywords": [
- "es2015",
- "ponyfill",
- "polyfill",
- "shim",
- "string",
- "str",
- "code",
- "point",
- "at",
- "codepoint",
- "unicode"
- ],
- "license": "MIT",
- "name": "code-point-at",
- "optionalDependencies": {},
- "peerDependencies": {},
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/code-point-at.git"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "version": "1.1.0"
-}
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/code-point-at/readme.md b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/code-point-at/readme.md
deleted file mode 100644
index 4c97730e6..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/code-point-at/readme.md
+++ /dev/null
@@ -1,32 +0,0 @@
-# code-point-at [![Build Status](https://travis-ci.org/sindresorhus/code-point-at.svg?branch=master)](https://travis-ci.org/sindresorhus/code-point-at)
-
-> ES2015 [`String#codePointAt()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/codePointAt) [ponyfill](https://ponyfill.com)
-
-
-## Install
-
-```
-$ npm install --save code-point-at
-```
-
-
-## Usage
-
-```js
-var codePointAt = require('code-point-at');
-
-codePointAt('🐴');
-//=> 128052
-
-codePointAt('abc', 2);
-//=> 99
-```
-
-## API
-
-### codePointAt(input, [position])
-
-
-## License
-
-MIT © [Sindre Sorhus](https://sindresorhus.com)
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/index.js b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/index.js
deleted file mode 100644
index a7d3e3855..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/index.js
+++ /dev/null
@@ -1,46 +0,0 @@
-'use strict';
-var numberIsNan = require('number-is-nan');
-
-module.exports = function (x) {
- if (numberIsNan(x)) {
- return false;
- }
-
- // https://github.com/nodejs/io.js/blob/cff7300a578be1b10001f2d967aaedc88aee6402/lib/readline.js#L1369
-
- // code points are derived from:
- // http://www.unix.org/Public/UNIDATA/EastAsianWidth.txt
- if (x >= 0x1100 && (
- x <= 0x115f || // Hangul Jamo
- 0x2329 === x || // LEFT-POINTING ANGLE BRACKET
- 0x232a === x || // RIGHT-POINTING ANGLE BRACKET
- // CJK Radicals Supplement .. Enclosed CJK Letters and Months
- (0x2e80 <= x && x <= 0x3247 && x !== 0x303f) ||
- // Enclosed CJK Letters and Months .. CJK Unified Ideographs Extension A
- 0x3250 <= x && x <= 0x4dbf ||
- // CJK Unified Ideographs .. Yi Radicals
- 0x4e00 <= x && x <= 0xa4c6 ||
- // Hangul Jamo Extended-A
- 0xa960 <= x && x <= 0xa97c ||
- // Hangul Syllables
- 0xac00 <= x && x <= 0xd7a3 ||
- // CJK Compatibility Ideographs
- 0xf900 <= x && x <= 0xfaff ||
- // Vertical Forms
- 0xfe10 <= x && x <= 0xfe19 ||
- // CJK Compatibility Forms .. Small Form Variants
- 0xfe30 <= x && x <= 0xfe6b ||
- // Halfwidth and Fullwidth Forms
- 0xff01 <= x && x <= 0xff60 ||
- 0xffe0 <= x && x <= 0xffe6 ||
- // Kana Supplement
- 0x1b000 <= x && x <= 0x1b001 ||
- // Enclosed Ideographic Supplement
- 0x1f200 <= x && x <= 0x1f251 ||
- // CJK Unified Ideographs Extension B .. Tertiary Ideographic Plane
- 0x20000 <= x && x <= 0x3fffd)) {
- return true;
- }
-
- return false;
-}
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/index.js b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/index.js
deleted file mode 100644
index 79be4b9cb..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/index.js
+++ /dev/null
@@ -1,4 +0,0 @@
-'use strict';
-module.exports = Number.isNaN || function (x) {
- return x !== x;
-};
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/package.json b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/package.json
deleted file mode 100644
index 0f2895d90..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/package.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
- "_from": "number-is-nan@^1.0.0",
- "_id": "number-is-nan@1.0.1",
- "_integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",
- "_location": "/update-notifier/boxen/widest-line/string-width/is-fullwidth-code-point/number-is-nan",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "number-is-nan@^1.0.0",
- "name": "number-is-nan",
- "escapedName": "number-is-nan",
- "rawSpec": "^1.0.0",
- "saveSpec": null,
- "fetchSpec": "^1.0.0"
- },
- "_requiredBy": [
- "/update-notifier/boxen/widest-line/string-width/is-fullwidth-code-point"
- ],
- "_resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
- "_shasum": "097b602b53422a522c1afb8790318336941a011d",
- "_shrinkwrap": null,
- "_spec": "number-is-nan@^1.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "bin": null,
- "bugs": {
- "url": "https://github.com/sindresorhus/number-is-nan/issues"
- },
- "bundleDependencies": false,
- "dependencies": {},
- "deprecated": false,
- "description": "ES2015 Number.isNaN() ponyfill",
- "devDependencies": {
- "ava": "*"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/sindresorhus/number-is-nan#readme",
- "keywords": [
- "es2015",
- "ecmascript",
- "ponyfill",
- "polyfill",
- "shim",
- "number",
- "is",
- "nan",
- "not"
- ],
- "license": "MIT",
- "name": "number-is-nan",
- "optionalDependencies": {},
- "peerDependencies": {},
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/number-is-nan.git"
- },
- "scripts": {
- "test": "ava"
- },
- "version": "1.0.1"
-}
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/readme.md b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/readme.md
deleted file mode 100644
index 246350871..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/readme.md
+++ /dev/null
@@ -1,28 +0,0 @@
-# number-is-nan [![Build Status](https://travis-ci.org/sindresorhus/number-is-nan.svg?branch=master)](https://travis-ci.org/sindresorhus/number-is-nan)
-
-> ES2015 [`Number.isNaN()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN) [ponyfill](https://ponyfill.com)
-
-
-## Install
-
-```
-$ npm install --save number-is-nan
-```
-
-
-## Usage
-
-```js
-var numberIsNan = require('number-is-nan');
-
-numberIsNan(NaN);
-//=> true
-
-numberIsNan('unicorn');
-//=> false
-```
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/package.json b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/package.json
deleted file mode 100644
index b5d8514ec..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/package.json
+++ /dev/null
@@ -1,80 +0,0 @@
-{
- "_from": "is-fullwidth-code-point@^1.0.0",
- "_id": "is-fullwidth-code-point@1.0.0",
- "_integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=",
- "_location": "/update-notifier/boxen/widest-line/string-width/is-fullwidth-code-point",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "is-fullwidth-code-point@^1.0.0",
- "name": "is-fullwidth-code-point",
- "escapedName": "is-fullwidth-code-point",
- "rawSpec": "^1.0.0",
- "saveSpec": null,
- "fetchSpec": "^1.0.0"
- },
- "_requiredBy": [
- "/update-notifier/boxen/widest-line/string-width"
- ],
- "_resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz",
- "_shasum": "ef9e31386f031a7f0d643af82fde50c457ef00cb",
- "_shrinkwrap": null,
- "_spec": "is-fullwidth-code-point@^1.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "bin": null,
- "bugs": {
- "url": "https://github.com/sindresorhus/is-fullwidth-code-point/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "number-is-nan": "^1.0.0"
- },
- "deprecated": false,
- "description": "Check if the character represented by a given Unicode code point is fullwidth",
- "devDependencies": {
- "ava": "0.0.4",
- "code-point-at": "^1.0.0"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/sindresorhus/is-fullwidth-code-point#readme",
- "keywords": [
- "fullwidth",
- "full-width",
- "full",
- "width",
- "unicode",
- "character",
- "char",
- "string",
- "str",
- "codepoint",
- "code",
- "point",
- "is",
- "detect",
- "check"
- ],
- "license": "MIT",
- "name": "is-fullwidth-code-point",
- "optionalDependencies": {},
- "peerDependencies": {},
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/is-fullwidth-code-point.git"
- },
- "scripts": {
- "test": "node test.js"
- },
- "version": "1.0.0"
-}
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/readme.md b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/readme.md
deleted file mode 100644
index 4936464b1..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/readme.md
+++ /dev/null
@@ -1,39 +0,0 @@
-# is-fullwidth-code-point [![Build Status](https://travis-ci.org/sindresorhus/is-fullwidth-code-point.svg?branch=master)](https://travis-ci.org/sindresorhus/is-fullwidth-code-point)
-
-> Check if the character represented by a given [Unicode code point](https://en.wikipedia.org/wiki/Code_point) is [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms)
-
-
-## Install
-
-```
-$ npm install --save is-fullwidth-code-point
-```
-
-
-## Usage
-
-```js
-var isFullwidthCodePoint = require('is-fullwidth-code-point');
-
-isFullwidthCodePoint('谢'.codePointAt());
-//=> true
-
-isFullwidthCodePoint('a'.codePointAt());
-//=> false
-```
-
-
-## API
-
-### isFullwidthCodePoint(input)
-
-#### input
-
-Type: `number`
-
-[Code point](https://en.wikipedia.org/wiki/Code_point) of a character.
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/index.js b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/index.js
deleted file mode 100644
index 099480fbf..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/index.js
+++ /dev/null
@@ -1,6 +0,0 @@
-'use strict';
-var ansiRegex = require('ansi-regex')();
-
-module.exports = function (str) {
- return typeof str === 'string' ? str.replace(ansiRegex, '') : str;
-};
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/license b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/license
deleted file mode 100644
index 654d0bfe9..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/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/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex/index.js b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex/index.js
deleted file mode 100644
index b9574ed7e..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex/index.js
+++ /dev/null
@@ -1,4 +0,0 @@
-'use strict';
-module.exports = function () {
- return /[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g;
-};
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex/license b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex/license
deleted file mode 100644
index 654d0bfe9..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex/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/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex/package.json b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex/package.json
deleted file mode 100644
index 66ce664be..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex/package.json
+++ /dev/null
@@ -1,108 +0,0 @@
-{
- "_from": "ansi-regex@^2.0.0",
- "_id": "ansi-regex@2.1.1",
- "_inBundle": false,
- "_integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
- "_location": "/update-notifier/boxen/widest-line/string-width/strip-ansi/ansi-regex",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "ansi-regex@^2.0.0",
- "name": "ansi-regex",
- "escapedName": "ansi-regex",
- "rawSpec": "^2.0.0",
- "saveSpec": null,
- "fetchSpec": "^2.0.0"
- },
- "_requiredBy": [
- "/update-notifier/boxen/widest-line/string-width/strip-ansi"
- ],
- "_resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
- "_shasum": "c3b33ab5ee360d86e0e628f0468ae7ef27d654df",
- "_spec": "ansi-regex@^2.0.0",
- "_where": "/Users/rebecca/code/npm/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "bugs": {
- "url": "https://github.com/chalk/ansi-regex/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Regular expression for matching ANSI escape codes",
- "devDependencies": {
- "ava": "0.17.0",
- "xo": "0.16.0"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/chalk/ansi-regex#readme",
- "keywords": [
- "ansi",
- "styles",
- "color",
- "colour",
- "colors",
- "terminal",
- "console",
- "cli",
- "string",
- "tty",
- "escape",
- "formatting",
- "rgb",
- "256",
- "shell",
- "xterm",
- "command-line",
- "text",
- "regex",
- "regexp",
- "re",
- "match",
- "test",
- "find",
- "pattern"
- ],
- "license": "MIT",
- "maintainers": [
- {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- {
- "name": "Joshua Appelman",
- "email": "jappelman@xebia.com",
- "url": "jbnicolai.com"
- },
- {
- "name": "JD Ballard",
- "email": "i.am.qix@gmail.com",
- "url": "github.com/qix-"
- }
- ],
- "name": "ansi-regex",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/chalk/ansi-regex.git"
- },
- "scripts": {
- "test": "xo && ava --verbose",
- "view-supported": "node fixtures/view-codes.js"
- },
- "version": "2.1.1",
- "xo": {
- "rules": {
- "guard-for-in": 0,
- "no-loop-func": 0
- }
- }
-}
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex/readme.md b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex/readme.md
deleted file mode 100644
index 6a928edf0..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex/readme.md
+++ /dev/null
@@ -1,39 +0,0 @@
-# ansi-regex [![Build Status](https://travis-ci.org/chalk/ansi-regex.svg?branch=master)](https://travis-ci.org/chalk/ansi-regex)
-
-> Regular expression for matching [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code)
-
-
-## Install
-
-```
-$ npm install --save ansi-regex
-```
-
-
-## Usage
-
-```js
-const ansiRegex = require('ansi-regex');
-
-ansiRegex().test('\u001b[4mcake\u001b[0m');
-//=> true
-
-ansiRegex().test('cake');
-//=> false
-
-'\u001b[4mcake\u001b[0m'.match(ansiRegex());
-//=> ['\u001b[4m', '\u001b[0m']
-```
-
-## FAQ
-
-### Why do you test for codes not in the ECMA 48 standard?
-
-Some of the codes we run as a test are codes that we acquired finding various lists of non-standard or manufacturer specific codes. If I recall correctly, we test for both standard and non-standard codes, as most of them follow the same or similar format and can be safely matched in strings without the risk of removing actual string content. There are a few non-standard control codes that do not follow the traditional format (i.e. they end in numbers) thus forcing us to exclude them from the test because we cannot reliably match them.
-
-On the historical side, those ECMA standards were established in the early 90's whereas the VT100, for example, was designed in the mid/late 70's. At that point in time, control codes were still pretty ungoverned and engineers used them for a multitude of things, namely to activate hardware ports that may have been proprietary. Somewhere else you see a similar 'anarchy' of codes is in the x86 architecture for processors; there are a ton of "interrupts" that can mean different things on certain brands of processors, most of which have been phased out.
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/package.json b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/package.json
deleted file mode 100644
index 7d715bb57..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/package.json
+++ /dev/null
@@ -1,101 +0,0 @@
-{
- "_from": "strip-ansi@^3.0.0",
- "_id": "strip-ansi@3.0.1",
- "_inBundle": false,
- "_integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
- "_location": "/update-notifier/boxen/widest-line/string-width/strip-ansi",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "strip-ansi@^3.0.0",
- "name": "strip-ansi",
- "escapedName": "strip-ansi",
- "rawSpec": "^3.0.0",
- "saveSpec": null,
- "fetchSpec": "^3.0.0"
- },
- "_requiredBy": [
- "/update-notifier/boxen/widest-line/string-width"
- ],
- "_resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
- "_shasum": "6a385fb8853d952d5ff05d0e8aaf94278dc63dcf",
- "_spec": "strip-ansi@^3.0.0",
- "_where": "/Users/rebecca/code/npm/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "bugs": {
- "url": "https://github.com/chalk/strip-ansi/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "ansi-regex": "^2.0.0"
- },
- "deprecated": false,
- "description": "Strip ANSI escape codes",
- "devDependencies": {
- "ava": "*",
- "xo": "*"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/chalk/strip-ansi#readme",
- "keywords": [
- "strip",
- "trim",
- "remove",
- "ansi",
- "styles",
- "color",
- "colour",
- "colors",
- "terminal",
- "console",
- "string",
- "tty",
- "escape",
- "formatting",
- "rgb",
- "256",
- "shell",
- "xterm",
- "log",
- "logging",
- "command-line",
- "text"
- ],
- "license": "MIT",
- "maintainers": [
- {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- {
- "name": "Joshua Boy Nicolai Appelman",
- "email": "joshua@jbna.nl",
- "url": "jbna.nl"
- },
- {
- "name": "JD Ballard",
- "email": "i.am.qix@gmail.com",
- "url": "github.com/qix-"
- }
- ],
- "name": "strip-ansi",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/chalk/strip-ansi.git"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "version": "3.0.1"
-}
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/readme.md b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/readme.md
deleted file mode 100644
index cb7d9ff7e..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/strip-ansi/readme.md
+++ /dev/null
@@ -1,33 +0,0 @@
-# strip-ansi [![Build Status](https://travis-ci.org/chalk/strip-ansi.svg?branch=master)](https://travis-ci.org/chalk/strip-ansi)
-
-> Strip [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code)
-
-
-## Install
-
-```
-$ npm install --save strip-ansi
-```
-
-
-## Usage
-
-```js
-var stripAnsi = require('strip-ansi');
-
-stripAnsi('\u001b[4mcake\u001b[0m');
-//=> 'cake'
-```
-
-
-## Related
-
-- [strip-ansi-cli](https://github.com/chalk/strip-ansi-cli) - CLI for this module
-- [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes
-- [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape codes
-- [chalk](https://github.com/chalk/chalk) - Terminal string styling done right
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/package.json b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/package.json
deleted file mode 100644
index e207d3b75..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/package.json
+++ /dev/null
@@ -1,91 +0,0 @@
-{
- "_from": "string-width@^1.0.1",
- "_id": "string-width@1.0.2",
- "_integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=",
- "_location": "/update-notifier/boxen/widest-line/string-width",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "string-width@^1.0.1",
- "name": "string-width",
- "escapedName": "string-width",
- "rawSpec": "^1.0.1",
- "saveSpec": null,
- "fetchSpec": "^1.0.1"
- },
- "_requiredBy": [
- "/update-notifier/boxen/widest-line"
- ],
- "_resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",
- "_shasum": "118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3",
- "_shrinkwrap": null,
- "_spec": "string-width@^1.0.1",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "bin": null,
- "bugs": {
- "url": "https://github.com/sindresorhus/string-width/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "code-point-at": "^1.0.0",
- "is-fullwidth-code-point": "^1.0.0",
- "strip-ansi": "^3.0.0"
- },
- "deprecated": false,
- "description": "Get the visual width of a string - the number of columns required to display it",
- "devDependencies": {
- "ava": "*",
- "xo": "*"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/sindresorhus/string-width#readme",
- "keywords": [
- "string",
- "str",
- "character",
- "char",
- "unicode",
- "width",
- "visual",
- "column",
- "columns",
- "fullwidth",
- "full-width",
- "full",
- "ansi",
- "escape",
- "codes",
- "cli",
- "command-line",
- "terminal",
- "console",
- "cjk",
- "chinese",
- "japanese",
- "korean",
- "fixed-width"
- ],
- "license": "MIT",
- "name": "string-width",
- "optionalDependencies": {},
- "peerDependencies": {},
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/string-width.git"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "version": "1.0.2"
-}
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/readme.md b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/readme.md
deleted file mode 100644
index 1ab42c935..000000000
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/readme.md
+++ /dev/null
@@ -1,42 +0,0 @@
-# string-width [![Build Status](https://travis-ci.org/sindresorhus/string-width.svg?branch=master)](https://travis-ci.org/sindresorhus/string-width)
-
-> Get the visual width of a string - the number of columns required to display it
-
-Some Unicode characters are [fullwidth](https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms) and use double the normal width. [ANSI escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code) are stripped and doesn't affect the width.
-
-Useful to be able to measure the actual width of command-line output.
-
-
-## Install
-
-```
-$ npm install --save string-width
-```
-
-
-## Usage
-
-```js
-const stringWidth = require('string-width');
-
-stringWidth('古');
-//=> 2
-
-stringWidth('\u001b[1m古\u001b[22m');
-//=> 2
-
-stringWidth('a');
-//=> 1
-```
-
-
-## Related
-
-- [string-width-cli](https://github.com/sindresorhus/string-width-cli) - CLI for this module
-- [string-length](https://github.com/sindresorhus/string-length) - Get the real length of a string
-- [widest-line](https://github.com/sindresorhus/widest-line) - Get the visual width of the widest line in a string
-
-
-## License
-
-MIT © [Sindre Sorhus](https://sindresorhus.com)
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/package.json b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/package.json
index b47c28f57..c3749a6b7 100644
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/package.json
+++ b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/package.json
@@ -1,41 +1,38 @@
{
- "_from": "widest-line@^1.0.0",
- "_id": "widest-line@1.0.0",
- "_integrity": "sha1-DAnIXCqUaD0Nfq+O4JfVZL8OEFw=",
+ "_from": "widest-line@^2.0.0",
+ "_id": "widest-line@2.0.0",
+ "_inBundle": false,
+ "_integrity": "sha1-AUKk6KJD+IgsAjOqDgKBqnYVInM=",
"_location": "/update-notifier/boxen/widest-line",
- "_phantomChildren": {
- "strip-ansi": "3.0.1"
- },
+ "_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
- "raw": "widest-line@^1.0.0",
+ "raw": "widest-line@^2.0.0",
"name": "widest-line",
"escapedName": "widest-line",
- "rawSpec": "^1.0.0",
+ "rawSpec": "^2.0.0",
"saveSpec": null,
- "fetchSpec": "^1.0.0"
+ "fetchSpec": "^2.0.0"
},
"_requiredBy": [
"/update-notifier/boxen"
],
- "_resolved": "https://registry.npmjs.org/widest-line/-/widest-line-1.0.0.tgz",
- "_shasum": "0c09c85c2a94683d0d7eaf8ee097d564bf0e105c",
- "_shrinkwrap": null,
- "_spec": "widest-line@^1.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/boxen",
+ "_resolved": "https://registry.npmjs.org/widest-line/-/widest-line-2.0.0.tgz",
+ "_shasum": "0142a4e8a243f8882c0233aa0e0281aa76152273",
+ "_spec": "widest-line@^2.0.0",
+ "_where": "/Users/rebecca/code/npm/node_modules/update-notifier/node_modules/boxen",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
},
- "bin": null,
"bugs": {
"url": "https://github.com/sindresorhus/widest-line/issues"
},
"bundleDependencies": false,
"dependencies": {
- "string-width": "^1.0.1"
+ "string-width": "^2.1.1"
},
"deprecated": false,
"description": "Get the visual width of the widest line in a string - the number of columns required to display it",
@@ -44,7 +41,7 @@
"xo": "*"
},
"engines": {
- "node": ">=0.10.0"
+ "node": ">=4"
},
"files": [
"index.js"
@@ -78,8 +75,6 @@
],
"license": "MIT",
"name": "widest-line",
- "optionalDependencies": {},
- "peerDependencies": {},
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/widest-line.git"
@@ -87,5 +82,5 @@
"scripts": {
"test": "xo && ava"
},
- "version": "1.0.0"
+ "version": "2.0.0"
}
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/readme.md b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/readme.md
index 3a2e305ed..20e02d574 100644
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/readme.md
+++ b/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/readme.md
@@ -10,7 +10,7 @@ Useful to be able to know the maximum width a string will take up in the termina
## Install
```
-$ npm install --save widest-line
+$ npm install widest-line
```
@@ -19,7 +19,7 @@ $ npm install --save widest-line
```js
const widestLine = require('widest-line');
-widestLine('古\n\u001b[1m@\u001b[22m');
+widestLine('古\n\u001B[1m@\u001B[22m');
//=> 2
```
@@ -31,4 +31,4 @@ widestLine('古\n\u001b[1m@\u001b[22m');
## License
-MIT © [Sindre Sorhus](http://sindresorhus.com)
+MIT © [Sindre Sorhus](https://sindresorhus.com)
diff --git a/node_modules/update-notifier/node_modules/boxen/package.json b/node_modules/update-notifier/node_modules/boxen/package.json
index 4b2940327..18cde19cf 100644
--- a/node_modules/update-notifier/node_modules/boxen/package.json
+++ b/node_modules/update-notifier/node_modules/boxen/package.json
@@ -1,31 +1,31 @@
{
- "_from": "boxen@^1.0.0",
- "_id": "boxen@1.2.1",
+ "_from": "boxen@^1.2.1",
+ "_id": "boxen@1.3.0",
"_inBundle": false,
- "_integrity": "sha1-DxHn/jRO25OXl3/BPt5/ZNlWSB0=",
+ "_integrity": "sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw==",
"_location": "/update-notifier/boxen",
"_phantomChildren": {
- "lru-cache": "4.1.1",
+ "lru-cache": "4.1.2",
"strip-ansi": "4.0.0",
"which": "1.3.0"
},
"_requested": {
"type": "range",
"registry": true,
- "raw": "boxen@^1.0.0",
+ "raw": "boxen@^1.2.1",
"name": "boxen",
"escapedName": "boxen",
- "rawSpec": "^1.0.0",
+ "rawSpec": "^1.2.1",
"saveSpec": null,
- "fetchSpec": "^1.0.0"
+ "fetchSpec": "^1.2.1"
},
"_requiredBy": [
"/update-notifier"
],
- "_resolved": "https://registry.npmjs.org/boxen/-/boxen-1.2.1.tgz",
- "_shasum": "0f11e7fe344edb9397977fc13ede7f64d956481d",
- "_spec": "boxen@^1.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier",
+ "_resolved": "https://registry.npmjs.org/boxen/-/boxen-1.3.0.tgz",
+ "_shasum": "55c6c39a8ba58d9c61ad22cd877532deb665a20b",
+ "_spec": "boxen@^1.2.1",
+ "_where": "/Users/rebecca/code/npm/node_modules/update-notifier",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
@@ -42,7 +42,7 @@
"cli-boxes": "^1.0.0",
"string-width": "^2.0.0",
"term-size": "^1.2.0",
- "widest-line": "^1.0.0"
+ "widest-line": "^2.0.0"
},
"deprecated": false,
"description": "Create boxes in the terminal",
@@ -79,5 +79,5 @@
"scripts": {
"test": "xo && nyc ava"
},
- "version": "1.2.1"
+ "version": "1.3.0"
}
diff --git a/node_modules/update-notifier/node_modules/chalk/index.js b/node_modules/update-notifier/node_modules/chalk/index.js
index 4c81d6d20..1cc5fa89a 100644
--- a/node_modules/update-notifier/node_modules/chalk/index.js
+++ b/node_modules/update-notifier/node_modules/chalk/index.js
@@ -1,7 +1,7 @@
'use strict';
const escapeStringRegexp = require('escape-string-regexp');
const ansiStyles = require('ansi-styles');
-const supportsColor = require('supports-color');
+const stdoutColor = require('supports-color').stdout;
const template = require('./templates.js');
@@ -19,7 +19,7 @@ function applyOptions(obj, options) {
options = options || {};
// Detect level if not set manually
- const scLevel = supportsColor ? supportsColor.level : 0;
+ const scLevel = stdoutColor ? stdoutColor.level : 0;
obj.level = options.level === undefined ? scLevel : options.level;
obj.enabled = 'enabled' in options ? options.enabled : obj.level > 0;
}
@@ -58,11 +58,17 @@ for (const key of Object.keys(ansiStyles)) {
styles[key] = {
get() {
const codes = ansiStyles[key];
- return build.call(this, this._styles ? this._styles.concat(codes) : [codes], key);
+ return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, key);
}
};
}
+styles.visible = {
+ get() {
+ return build.call(this, this._styles || [], true, 'visible');
+ }
+};
+
ansiStyles.color.closeRe = new RegExp(escapeStringRegexp(ansiStyles.color.close), 'g');
for (const model of Object.keys(ansiStyles.color.ansi)) {
if (skipModels.has(model)) {
@@ -79,7 +85,7 @@ for (const model of Object.keys(ansiStyles.color.ansi)) {
close: ansiStyles.color.close,
closeRe: ansiStyles.color.closeRe
};
- return build.call(this, this._styles ? this._styles.concat(codes) : [codes], model);
+ return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model);
};
}
};
@@ -102,7 +108,7 @@ for (const model of Object.keys(ansiStyles.bgColor.ansi)) {
close: ansiStyles.bgColor.close,
closeRe: ansiStyles.bgColor.closeRe
};
- return build.call(this, this._styles ? this._styles.concat(codes) : [codes], model);
+ return build.call(this, this._styles ? this._styles.concat(codes) : [codes], this._empty, model);
};
}
};
@@ -110,12 +116,13 @@ for (const model of Object.keys(ansiStyles.bgColor.ansi)) {
const proto = Object.defineProperties(() => {}, styles);
-function build(_styles, key) {
+function build(_styles, _empty, key) {
const builder = function () {
return applyStyle.apply(builder, arguments);
};
builder._styles = _styles;
+ builder._empty = _empty;
const self = this;
@@ -167,7 +174,7 @@ function applyStyle() {
}
if (!this.enabled || this.level <= 0 || !str) {
- return str;
+ return this._empty ? '' : str;
}
// Turns out that on Windows dimmed gray text becomes invisible in cmd.exe,
@@ -217,4 +224,5 @@ function chalkTag(chalk, strings) {
Object.defineProperties(Chalk.prototype, styles);
module.exports = Chalk(); // eslint-disable-line new-cap
-module.exports.supportsColor = supportsColor;
+module.exports.supportsColor = stdoutColor;
+module.exports.default = module.exports; // For TypeScript
diff --git a/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/index.js b/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/index.js
index 3d3baa66d..90a871c4d 100644
--- a/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/index.js
+++ b/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/index.js
@@ -102,30 +102,43 @@ function assembleStyles() {
});
}
+ const ansi2ansi = n => n;
const rgb2rgb = (r, g, b) => [r, g, b];
styles.color.close = '\u001B[39m';
styles.bgColor.close = '\u001B[49m';
- styles.color.ansi = {};
- styles.color.ansi256 = {};
+ styles.color.ansi = {
+ ansi: wrapAnsi16(ansi2ansi, 0)
+ };
+ styles.color.ansi256 = {
+ ansi256: wrapAnsi256(ansi2ansi, 0)
+ };
styles.color.ansi16m = {
rgb: wrapAnsi16m(rgb2rgb, 0)
};
- styles.bgColor.ansi = {};
- styles.bgColor.ansi256 = {};
+ styles.bgColor.ansi = {
+ ansi: wrapAnsi16(ansi2ansi, 10)
+ };
+ styles.bgColor.ansi256 = {
+ ansi256: wrapAnsi256(ansi2ansi, 10)
+ };
styles.bgColor.ansi16m = {
rgb: wrapAnsi16m(rgb2rgb, 10)
};
- for (const key of Object.keys(colorConvert)) {
+ for (let key of Object.keys(colorConvert)) {
if (typeof colorConvert[key] !== 'object') {
continue;
}
const suite = colorConvert[key];
+ if (key === 'ansi16') {
+ key = 'ansi';
+ }
+
if ('ansi16' in suite) {
styles.color.ansi[key] = wrapAnsi16(suite.ansi16, 0);
styles.bgColor.ansi[key] = wrapAnsi16(suite.ansi16, 10);
diff --git a/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/package.json b/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/package.json
index b52844a38..f29ce2a0d 100644
--- a/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/package.json
+++ b/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/package.json
@@ -1,8 +1,8 @@
{
"_from": "color-convert@^1.9.0",
- "_id": "color-convert@1.9.0",
+ "_id": "color-convert@1.9.1",
"_inBundle": false,
- "_integrity": "sha1-Gsz5fdc5uYO/mU1W/sj5WFNkG3o=",
+ "_integrity": "sha512-mjGanIiwQJskCC18rPR6OmrZ6fm2Lc7PeGFYwCmy5J34wC6F1PzdGL6xeMfmgicfYcNLGuVFA3WzXtIDCQSZxQ==",
"_location": "/update-notifier/chalk/ansi-styles/color-convert",
"_phantomChildren": {},
"_requested": {
@@ -18,10 +18,10 @@
"_requiredBy": [
"/update-notifier/chalk/ansi-styles"
],
- "_resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.0.tgz",
- "_shasum": "1accf97dd739b983bf994d56fec8f95853641b7a",
+ "_resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.1.tgz",
+ "_shasum": "c1261107aeb2f294ebffec9ed9ecad529a6097ed",
"_spec": "color-convert@^1.9.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles",
+ "_where": "/Users/rebecca/code/npm/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles",
"author": {
"name": "Heather Arthur",
"email": "fayearthur@gmail.com"
@@ -70,7 +70,7 @@
"pretest": "xo",
"test": "node test/basic.js"
},
- "version": "1.9.0",
+ "version": "1.9.1",
"xo": {
"rules": {
"default-case": 0,
diff --git a/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/route.js b/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/route.js
index c365e1ed2..0a1fdea68 100644
--- a/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/route.js
+++ b/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/route.js
@@ -11,11 +11,10 @@ var conversions = require('./conversions');
conversions that are not possible simply are not included.
*/
-// https://jsperf.com/object-keys-vs-for-in-with-closure/3
-var models = Object.keys(conversions);
-
function buildGraph() {
var graph = {};
+ // https://jsperf.com/object-keys-vs-for-in-with-closure/3
+ var models = Object.keys(conversions);
for (var len = models.length, i = 0; i < len; i++) {
graph[models[i]] = {
diff --git a/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/package.json b/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/package.json
index c9c0f3af0..6ee716ba6 100644
--- a/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/package.json
+++ b/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/package.json
@@ -1,27 +1,27 @@
{
- "_from": "ansi-styles@^3.1.0",
- "_id": "ansi-styles@3.2.0",
+ "_from": "ansi-styles@^3.2.1",
+ "_id": "ansi-styles@3.2.1",
"_inBundle": false,
- "_integrity": "sha512-NnSOmMEYtVR2JVMIGTzynRkkaxtiq1xnFBcdQD/DnNCYPoEPsVJhM98BDyaoNOQIi7p4okdi3E27eN7GQbsUug==",
+ "_integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
"_location": "/update-notifier/chalk/ansi-styles",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
- "raw": "ansi-styles@^3.1.0",
+ "raw": "ansi-styles@^3.2.1",
"name": "ansi-styles",
"escapedName": "ansi-styles",
- "rawSpec": "^3.1.0",
+ "rawSpec": "^3.2.1",
"saveSpec": null,
- "fetchSpec": "^3.1.0"
+ "fetchSpec": "^3.2.1"
},
"_requiredBy": [
"/update-notifier/chalk"
],
- "_resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.0.tgz",
- "_shasum": "c159b8d5be0f9e5a6f346dab94f16ce022161b88",
- "_spec": "ansi-styles@^3.1.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/chalk",
+ "_resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "_shasum": "41fbb20243e50b12be0f04b8dedbf07520ce841d",
+ "_spec": "ansi-styles@^3.2.1",
+ "_where": "/Users/rebecca/code/npm/node_modules/update-notifier/node_modules/chalk",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
@@ -42,6 +42,7 @@
"devDependencies": {
"ava": "*",
"babel-polyfill": "^6.23.0",
+ "svg-term-cli": "^2.1.1",
"xo": "*"
},
"engines": {
@@ -80,7 +81,8 @@
"url": "git+https://github.com/chalk/ansi-styles.git"
},
"scripts": {
+ "screenshot": "svg-term --command='node screenshot' --out=screenshot.svg --padding=3 --width=55 --height=3 --at=1000 --no-cursor",
"test": "xo && ava"
},
- "version": "3.2.0"
+ "version": "3.2.1"
}
diff --git a/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/readme.md b/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/readme.md
index dce368742..3158e2df5 100644
--- a/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/readme.md
+++ b/node_modules/update-notifier/node_modules/chalk/node_modules/ansi-styles/readme.md
@@ -4,7 +4,7 @@
You probably want the higher-level [chalk](https://github.com/chalk/chalk) module for styling your strings.
-![](screenshot.png)
+<img src="https://cdn.rawgit.com/chalk/ansi-styles/8261697c95bf34b6c7767e2cbe9941a851d59385/screenshot.svg" width="900">
## Install
diff --git a/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/browser.js b/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/browser.js
index ae7c87b17..62afa3a74 100644
--- a/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/browser.js
+++ b/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/browser.js
@@ -1,2 +1,5 @@
'use strict';
-module.exports = false;
+module.exports = {
+ stdout: false,
+ stderr: false
+};
diff --git a/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/index.js b/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/index.js
index a5d9331df..d0d008a90 100644
--- a/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/index.js
+++ b/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/index.js
@@ -4,7 +4,22 @@ const hasFlag = require('has-flag');
const env = process.env;
-const support = level => {
+let forceColor;
+if (hasFlag('no-color') ||
+ hasFlag('no-colors') ||
+ hasFlag('color=false')) {
+ forceColor = false;
+} else if (hasFlag('color') ||
+ hasFlag('colors') ||
+ hasFlag('color=true') ||
+ hasFlag('color=always')) {
+ forceColor = true;
+}
+if ('FORCE_COLOR' in env) {
+ forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;
+}
+
+function translateLevel(level) {
if (level === 0) {
return false;
}
@@ -15,12 +30,10 @@ const support = level => {
has256: level >= 2,
has16m: level >= 3
};
-};
+}
-let supportLevel = (() => {
- if (hasFlag('no-color') ||
- hasFlag('no-colors') ||
- hasFlag('color=false')) {
+function supportsColor(stream) {
+ if (forceColor === false) {
return 0;
}
@@ -34,30 +47,30 @@ let supportLevel = (() => {
return 2;
}
- if (hasFlag('color') ||
- hasFlag('colors') ||
- hasFlag('color=true') ||
- hasFlag('color=always')) {
- return 1;
- }
-
- if (process.stdout && !process.stdout.isTTY) {
+ if (stream && !stream.isTTY && forceColor !== true) {
+ // VS code debugger doesn't have isTTY set
+ if (env.VSCODE_PID) {
+ return 1;
+ }
return 0;
}
+ const min = forceColor ? 1 : 0;
+
if (process.platform === 'win32') {
// Node.js 7.5.0 is the first version of Node.js to include a patch to
// libuv that enables 256 color output on Windows. Anything earlier and it
// won't work. However, here we target Node.js 8 at minimum as it is an LTS
// release, and Node.js 7 is not. Windows 10 build 10586 is the first Windows
- // release that supports 256 colors.
+ // release that supports 256 colors. Windows 10 build 14931 is the first release
+ // that supports 16m/TrueColor.
const osRelease = os.release().split('.');
if (
Number(process.versions.node.split('.')[0]) >= 8 &&
Number(osRelease[0]) >= 10 &&
Number(osRelease[2]) >= 10586
) {
- return 2;
+ return Number(osRelease[2]) >= 14931 ? 3 : 2;
}
return 1;
@@ -68,21 +81,23 @@ let supportLevel = (() => {
return 1;
}
- return 0;
+ return min;
}
if ('TEAMCITY_VERSION' in env) {
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
}
+ if (env.COLORTERM === 'truecolor') {
+ return 3;
+ }
+
if ('TERM_PROGRAM' in env) {
const version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
switch (env.TERM_PROGRAM) {
case 'iTerm.app':
return version >= 3 ? 3 : 2;
- case 'Hyper':
- return 3;
case 'Apple_Terminal':
return 2;
// No default
@@ -93,7 +108,7 @@ let supportLevel = (() => {
return 2;
}
- if (/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i.test(env.TERM)) {
+ if (/^screen|^xterm|^vt100|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
return 1;
}
@@ -102,14 +117,19 @@ let supportLevel = (() => {
}
if (env.TERM === 'dumb') {
- return 0;
+ return min;
}
- return 0;
-})();
+ return min;
+}
-if ('FORCE_COLOR' in env) {
- supportLevel = parseInt(env.FORCE_COLOR, 10) === 0 ? 0 : (supportLevel || 1);
+function getSupportLevel(stream) {
+ const level = supportsColor(stream);
+ return translateLevel(level);
}
-module.exports = process && support(supportLevel);
+module.exports = {
+ supportsColor: getSupportLevel,
+ stdout: getSupportLevel(process.stdout),
+ stderr: getSupportLevel(process.stderr)
+};
diff --git a/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/index.js b/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/index.js
index 68820307d..5139728fb 100644
--- a/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/index.js
+++ b/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/index.js
@@ -1,10 +1,8 @@
'use strict';
-module.exports = function (flag, argv) {
+module.exports = (flag, argv) => {
argv = argv || process.argv;
-
- var terminatorPos = argv.indexOf('--');
- var prefix = /^-{1,2}/.test(flag) ? '' : '--';
- var pos = argv.indexOf(prefix + flag);
-
+ const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
+ const pos = argv.indexOf(prefix + flag);
+ const terminatorPos = argv.indexOf('--');
return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos);
};
diff --git a/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/license b/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/license
index 654d0bfe9..e7af2f771 100644
--- a/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/license
+++ b/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/license
@@ -1,21 +1,9 @@
-The MIT License (MIT)
+MIT License
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:
+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 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.
+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/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/package.json b/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/package.json
index 804a12fdc..d75ac4266 100644
--- a/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/package.json
+++ b/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/package.json
@@ -1,27 +1,27 @@
{
- "_from": "has-flag@^2.0.0",
- "_id": "has-flag@2.0.0",
+ "_from": "has-flag@^3.0.0",
+ "_id": "has-flag@3.0.0",
"_inBundle": false,
- "_integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=",
+ "_integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
"_location": "/update-notifier/chalk/supports-color/has-flag",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
- "raw": "has-flag@^2.0.0",
+ "raw": "has-flag@^3.0.0",
"name": "has-flag",
"escapedName": "has-flag",
- "rawSpec": "^2.0.0",
+ "rawSpec": "^3.0.0",
"saveSpec": null,
- "fetchSpec": "^2.0.0"
+ "fetchSpec": "^3.0.0"
},
"_requiredBy": [
"/update-notifier/chalk/supports-color"
],
- "_resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz",
- "_shasum": "e8207af1cc7b30d446cc70b734b5e8be18f88d51",
- "_spec": "has-flag@^2.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color",
+ "_resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
+ "_shasum": "b5d454dc2199ae225699f3467e5a07f3b955bafd",
+ "_spec": "has-flag@^3.0.0",
+ "_where": "/Users/rebecca/code/npm/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
@@ -38,7 +38,7 @@
"xo": "*"
},
"engines": {
- "node": ">=0.10.0"
+ "node": ">=4"
},
"files": [
"index.js"
@@ -64,23 +64,6 @@
"optimist"
],
"license": "MIT",
- "maintainers": [
- {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- {
- "name": "Joshua Appelman",
- "email": "jappelman@xebia.com",
- "url": "jbnicolai.com"
- },
- {
- "name": "JD Ballard",
- "email": "i.am.qix@gmail.com",
- "url": "github.com/qix-"
- }
- ],
"name": "has-flag",
"repository": {
"type": "git",
@@ -89,5 +72,5 @@
"scripts": {
"test": "xo && ava"
},
- "version": "2.0.0"
+ "version": "3.0.0"
}
diff --git a/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/readme.md b/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/readme.md
index 0caca6cba..677893c27 100644
--- a/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/readme.md
+++ b/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/readme.md
@@ -8,7 +8,7 @@ Correctly stops looking after an `--` argument terminator.
## Install
```
-$ npm install --save has-flag
+$ npm install has-flag
```
@@ -24,6 +24,9 @@ hasFlag('unicorn');
hasFlag('--unicorn');
//=> true
+hasFlag('f');
+//=> true
+
hasFlag('-f');
//=> true
@@ -46,7 +49,7 @@ $ node foo.js -f --unicorn --foo=bar -- --rainbow
### hasFlag(flag, [argv])
-Returns a boolean whether the flag exists.
+Returns a boolean for whether the flag exists.
#### flag
@@ -56,7 +59,7 @@ CLI flag to look for. The `--` prefix is optional.
#### argv
-Type: `array`<br>
+Type: `string[]`<br>
Default: `process.argv`
CLI arguments.
diff --git a/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/package.json b/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/package.json
index 6f0d0362b..37c8a47f3 100644
--- a/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/package.json
+++ b/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/package.json
@@ -1,27 +1,27 @@
{
- "_from": "supports-color@^4.0.0",
- "_id": "supports-color@4.4.0",
+ "_from": "supports-color@^5.3.0",
+ "_id": "supports-color@5.3.0",
"_inBundle": false,
- "_integrity": "sha512-rKC3+DyXWgK0ZLKwmRsrkyHVZAjNkfzeehuFWdGGcqGDTZFH73+RH6S/RDAAxl9GusSjZSUWYLmT9N5pzXFOXQ==",
+ "_integrity": "sha512-0aP01LLIskjKs3lq52EC0aGBAJhLq7B2Rd8HC/DR/PtNNpcLilNmHC12O+hu0usQpo7wtHNRqtrhBwtDb0+dNg==",
"_location": "/update-notifier/chalk/supports-color",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
- "raw": "supports-color@^4.0.0",
+ "raw": "supports-color@^5.3.0",
"name": "supports-color",
"escapedName": "supports-color",
- "rawSpec": "^4.0.0",
+ "rawSpec": "^5.3.0",
"saveSpec": null,
- "fetchSpec": "^4.0.0"
+ "fetchSpec": "^5.3.0"
},
"_requiredBy": [
"/update-notifier/chalk"
],
- "_resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.4.0.tgz",
- "_shasum": "883f7ddabc165142b2a61427f3352ded195d1a3e",
- "_spec": "supports-color@^4.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/chalk",
+ "_resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.3.0.tgz",
+ "_shasum": "5b24ac15db80fa927cf5227a4a33fd3c4c7676c0",
+ "_spec": "supports-color@^5.3.0",
+ "_where": "/Users/rebecca/code/npm/node_modules/update-notifier/node_modules/chalk",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
@@ -33,7 +33,7 @@
},
"bundleDependencies": false,
"dependencies": {
- "has-flag": "^2.0.0"
+ "has-flag": "^3.0.0"
},
"deprecated": false,
"description": "Detect whether a terminal supports color",
@@ -81,5 +81,5 @@
"scripts": {
"test": "xo && ava"
},
- "version": "4.4.0"
+ "version": "5.3.0"
}
diff --git a/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/readme.md b/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/readme.md
index 3bef57db0..f6e401957 100644
--- a/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/readme.md
+++ b/node_modules/update-notifier/node_modules/chalk/node_modules/supports-color/readme.md
@@ -15,25 +15,25 @@ $ npm install supports-color
```js
const supportsColor = require('supports-color');
-if (supportsColor) {
- console.log('Terminal supports color');
+if (supportsColor.stdout) {
+ console.log('Terminal stdout supports color');
}
-if (supportsColor.has256) {
- console.log('Terminal supports 256 colors');
+if (supportsColor.stdout.has256) {
+ console.log('Terminal stdout supports 256 colors');
}
-if (supportsColor.has16m) {
- console.log('Terminal supports 16 million colors (truecolor)');
+if (supportsColor.stderr.has16m) {
+ console.log('Terminal stderr supports 16 million colors (truecolor)');
}
```
## API
-Returns an `Object`, or `false` if color is not supported.
+Returns an `Object` with a `stdout` and `stderr` property for testing either streams. Each property is an `Object`, or `false` if color is not supported.
-The returned object specifies a level of support for color through a `.level` property and a corresponding flag:
+The `stdout`/`stderr` objects specifies a level of support for color through a `.level` property and a corresponding flag:
- `.level = 1` and `.hasBasic = true`: Basic color support (16 colors)
- `.level = 2` and `.has256 = true`: 256 color support
diff --git a/node_modules/update-notifier/node_modules/chalk/package.json b/node_modules/update-notifier/node_modules/chalk/package.json
index 8433207ec..1337f5680 100644
--- a/node_modules/update-notifier/node_modules/chalk/package.json
+++ b/node_modules/update-notifier/node_modules/chalk/package.json
@@ -1,8 +1,8 @@
{
"_from": "chalk@^2.0.1",
- "_id": "chalk@2.1.0",
+ "_id": "chalk@2.3.2",
"_inBundle": false,
- "_integrity": "sha512-LUHGS/dge4ujbXMJrnihYMcL4AoOweGnw9Tp3kQuqy1Kx5c1qKjqvMJZ6nVJPMWJtKCTN72ZogH3oeSO9g9rXQ==",
+ "_integrity": "sha512-ZM4j2/ld/YZDc3Ma8PgN7gyAk+kHMMMyzLNryCPGhWrsfAuDVeuid5bpRFTDgMH9JBK2lA4dyyAkkZYF/WcqDQ==",
"_location": "/update-notifier/chalk",
"_phantomChildren": {},
"_requested": {
@@ -19,29 +19,30 @@
"/update-notifier",
"/update-notifier/boxen"
],
- "_resolved": "https://registry.npmjs.org/chalk/-/chalk-2.1.0.tgz",
- "_shasum": "ac5becf14fa21b99c6c92ca7a7d7cfd5b17e743e",
+ "_resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.2.tgz",
+ "_shasum": "250dc96b07491bfd601e648d66ddf5f60c7a5c65",
"_spec": "chalk@^2.0.1",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier",
+ "_where": "/Users/rebecca/code/npm/node_modules/update-notifier",
"bugs": {
"url": "https://github.com/chalk/chalk/issues"
},
"bundleDependencies": false,
"dependencies": {
- "ansi-styles": "^3.1.0",
+ "ansi-styles": "^3.2.1",
"escape-string-regexp": "^1.0.5",
- "supports-color": "^4.0.0"
+ "supports-color": "^5.3.0"
},
"deprecated": false,
"description": "Terminal string styling done right",
"devDependencies": {
"ava": "*",
- "coveralls": "^2.11.2",
- "execa": "^0.7.0",
+ "coveralls": "^3.0.0",
+ "execa": "^0.9.0",
"import-fresh": "^2.0.0",
"matcha": "^0.7.0",
"nyc": "^11.0.2",
- "resolve-from": "^3.0.0",
+ "resolve-from": "^4.0.0",
+ "typescript": "^2.5.3",
"xo": "*"
},
"engines": {
@@ -49,7 +50,8 @@
},
"files": [
"index.js",
- "templates.js"
+ "templates.js",
+ "types/index.d.ts"
],
"homepage": "https://github.com/chalk/chalk#readme",
"keywords": [
@@ -84,9 +86,10 @@
"scripts": {
"bench": "matcha benchmark.js",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
- "test": "xo && nyc ava"
+ "test": "xo && tsc --project types && nyc ava"
},
- "version": "2.1.0",
+ "types": "types/index.d.ts",
+ "version": "2.3.2",
"xo": {
"envs": [
"node",
diff --git a/node_modules/update-notifier/node_modules/chalk/readme.md b/node_modules/update-notifier/node_modules/chalk/readme.md
index dfcfdf25d..f96a9642c 100644
--- a/node_modules/update-notifier/node_modules/chalk/readme.md
+++ b/node_modules/update-notifier/node_modules/chalk/readme.md
@@ -9,11 +9,11 @@
> Terminal string styling done right
-[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) [![Coverage Status](https://coveralls.io/repos/github/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/github/chalk/chalk?branch=master) [![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)
+[![Build Status](https://travis-ci.org/chalk/chalk.svg?branch=master)](https://travis-ci.org/chalk/chalk) [![Coverage Status](https://coveralls.io/repos/github/chalk/chalk/badge.svg?branch=master)](https://coveralls.io/github/chalk/chalk?branch=master) [![](https://img.shields.io/badge/unicorn-approved-ff69b4.svg)](https://www.youtube.com/watch?v=9auOCbH5Ns4) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) [![Mentioned in Awesome Node.js](https://awesome.re/mentioned-badge.svg)](https://github.com/sindresorhus/awesome-nodejs)
### [See what's new in Chalk 2](https://github.com/chalk/chalk/releases/tag/v2.0.0)
-![](https://github.com/chalk/ansi-styles/raw/master/screenshot.png)
+<img src="https://cdn.rawgit.com/chalk/ansi-styles/8261697c95bf34b6c7767e2cbe9941a851d59385/screenshot.svg" alt="" width="900">
## Highlights
@@ -26,7 +26,7 @@
- Doesn't extend `String.prototype`
- Clean and focused
- Actively maintained
-- [Used by ~17,000 packages](https://www.npmjs.com/browse/depended/chalk) as of June 20th, 2017
+- [Used by ~23,000 packages](https://www.npmjs.com/browse/depended/chalk) as of December 31, 2017
## Install
@@ -51,7 +51,7 @@ const chalk = require('chalk');
const log = console.log;
// Combine styled and normal strings
-log(chalk.blue('Hello') + 'World' + chalk.red('!'));
+log(chalk.blue('Hello') + ' World' + chalk.red('!'));
// Compose multiple styles using the chainable API
log(chalk.blue.bgRed.bold('Hello world!'));
@@ -124,7 +124,7 @@ Multiple arguments will be separated by space.
Color support is automatically detected, as is the level (see `chalk.level`). However, if you'd like to simply enable/disable Chalk, you can do so via the `.enabled` property.
-Chalk is enabled by default unless expicitly disabled via the constructor or `chalk.level` is `0`.
+Chalk is enabled by default unless explicitly disabled via the constructor or `chalk.level` is `0`.
If you need to change this in a reusable module, create a new instance:
@@ -170,6 +170,7 @@ Explicit 256/Truecolor mode can be enabled using the `--color=256` and `--color=
- `inverse`
- `hidden`
- `strikethrough` *(Not widely supported)*
+- `visible` (Text is emitted only if enabled)
### Colors
@@ -264,8 +265,8 @@ The following color models can be used:
- [`hex`](https://en.wikipedia.org/wiki/Web_colors#Hex_triplet) - Example: `chalk.hex('#FF8800').bold('Orange!')`
- [`keyword`](https://www.w3.org/wiki/CSS/Properties/color/keywords) (CSS keywords) - Example: `chalk.keyword('orange').bold('Orange!')`
- [`hsl`](https://en.wikipedia.org/wiki/HSL_and_HSV) - Example: `chalk.hsl(32, 100, 50).bold('Orange!')`
-- [`hsv`](https://en.wikipedia.org/wiki/HSL_and_HSV) - Example: `chalk.hsl(32, 1, 1).bold('Orange!')`
-- [`hwb`](https://en.wikipedia.org/wiki/HWB_color_model) - Example: `chalk.hsl(32, 0, 50).bold('Orange!')`
+- [`hsv`](https://en.wikipedia.org/wiki/HSL_and_HSV) - Example: `chalk.hsv(32, 100, 100).bold('Orange!')`
+- [`hwb`](https://en.wikipedia.org/wiki/HWB_color_model) - Example: `chalk.hwb(32, 0, 50).bold('Orange!')`
- `ansi16`
- `ansi256`
@@ -286,6 +287,7 @@ If you're on Windows, do yourself a favor and use [`cmder`](http://cmder.net/) i
- [ansi-styles](https://github.com/chalk/ansi-styles) - ANSI escape codes for styling strings in the terminal
- [supports-color](https://github.com/chalk/supports-color) - Detect whether a terminal supports color
- [strip-ansi](https://github.com/chalk/strip-ansi) - Strip ANSI escape codes
+- [strip-ansi-stream](https://github.com/chalk/strip-ansi-stream) - Strip ANSI escape codes from a stream
- [has-ansi](https://github.com/chalk/has-ansi) - Check if a string has ANSI escape codes
- [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape codes
- [wrap-ansi](https://github.com/chalk/wrap-ansi) - Wordwrap a string with ANSI escape codes
@@ -293,6 +295,7 @@ If you're on Windows, do yourself a favor and use [`cmder`](http://cmder.net/) i
- [color-convert](https://github.com/qix-/color-convert) - Converts colors between different models
- [chalk-animation](https://github.com/bokub/chalk-animation) - Animate strings in the terminal
- [gradient-string](https://github.com/bokub/gradient-string) - Apply color gradients to strings
+- [chalk-pipe](https://github.com/LitoMore/chalk-pipe) - Create chalk style schemes with simpler style strings
## Maintainers
diff --git a/node_modules/update-notifier/node_modules/chalk/templates.js b/node_modules/update-notifier/node_modules/chalk/templates.js
index 101551528..dbdf9b221 100644
--- a/node_modules/update-notifier/node_modules/chalk/templates.js
+++ b/node_modules/update-notifier/node_modules/chalk/templates.js
@@ -1,28 +1,28 @@
'use strict';
-const TEMPLATE_REGEX = /(?:\\(u[a-f0-9]{4}|x[a-f0-9]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;
+const TEMPLATE_REGEX = /(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;
const STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
const STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
-const ESCAPE_REGEX = /\\(u[0-9a-f]{4}|x[0-9a-f]{2}|.)|([^\\])/gi;
-
-const ESCAPES = {
- n: '\n',
- r: '\r',
- t: '\t',
- b: '\b',
- f: '\f',
- v: '\v',
- 0: '\0',
- '\\': '\\',
- e: '\u001b',
- a: '\u0007'
-};
+const ESCAPE_REGEX = /\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi;
+
+const ESCAPES = new Map([
+ ['n', '\n'],
+ ['r', '\r'],
+ ['t', '\t'],
+ ['b', '\b'],
+ ['f', '\f'],
+ ['v', '\v'],
+ ['0', '\0'],
+ ['\\', '\\'],
+ ['e', '\u001B'],
+ ['a', '\u0007']
+]);
function unescape(c) {
if ((c[0] === 'u' && c.length === 5) || (c[0] === 'x' && c.length === 3)) {
return String.fromCharCode(parseInt(c.slice(1), 16));
}
- return ESCAPES[c] || c;
+ return ESCAPES.get(c) || c;
}
function parseArguments(name, args) {
diff --git a/node_modules/update-notifier/node_modules/chalk/types/index.d.ts b/node_modules/update-notifier/node_modules/chalk/types/index.d.ts
new file mode 100644
index 000000000..b4e4dc57e
--- /dev/null
+++ b/node_modules/update-notifier/node_modules/chalk/types/index.d.ts
@@ -0,0 +1,97 @@
+// Type definitions for Chalk
+// Definitions by: Thomas Sauer <https://github.com/t-sauer>
+
+export const enum Level {
+ None = 0,
+ Basic = 1,
+ Ansi256 = 2,
+ TrueColor = 3
+}
+
+export interface ChalkOptions {
+ enabled?: boolean;
+ level?: Level;
+}
+
+export interface ChalkConstructor {
+ new (options?: ChalkOptions): Chalk;
+ (options?: ChalkOptions): Chalk;
+}
+
+export interface ColorSupport {
+ level: Level;
+ hasBasic: boolean;
+ has256: boolean;
+ has16m: boolean;
+}
+
+export interface Chalk {
+ (...text: string[]): string;
+ (text: TemplateStringsArray, ...placeholders: string[]): string;
+ constructor: ChalkConstructor;
+ enabled: boolean;
+ level: Level;
+ rgb(r: number, g: number, b: number): this;
+ hsl(h: number, s: number, l: number): this;
+ hsv(h: number, s: number, v: number): this;
+ hwb(h: number, w: number, b: number): this;
+ bgHex(color: string): this;
+ bgKeyword(color: string): this;
+ bgRgb(r: number, g: number, b: number): this;
+ bgHsl(h: number, s: number, l: number): this;
+ bgHsv(h: number, s: number, v: number): this;
+ bgHwb(h: number, w: number, b: number): this;
+ hex(color: string): this;
+ keyword(color: string): this;
+
+ readonly reset: this;
+ readonly bold: this;
+ readonly dim: this;
+ readonly italic: this;
+ readonly underline: this;
+ readonly inverse: this;
+ readonly hidden: this;
+ readonly strikethrough: this;
+
+ readonly visible: this;
+
+ readonly black: this;
+ readonly red: this;
+ readonly green: this;
+ readonly yellow: this;
+ readonly blue: this;
+ readonly magenta: this;
+ readonly cyan: this;
+ readonly white: this;
+ readonly gray: this;
+ readonly grey: this;
+ readonly blackBright: this;
+ readonly redBright: this;
+ readonly greenBright: this;
+ readonly yellowBright: this;
+ readonly blueBright: this;
+ readonly magentaBright: this;
+ readonly cyanBright: this;
+ readonly whiteBright: this;
+
+ readonly bgBlack: this;
+ readonly bgRed: this;
+ readonly bgGreen: this;
+ readonly bgYellow: this;
+ readonly bgBlue: this;
+ readonly bgMagenta: this;
+ readonly bgCyan: this;
+ readonly bgWhite: this;
+ readonly bgBlackBright: this;
+ readonly bgRedBright: this;
+ readonly bgGreenBright: this;
+ readonly bgYellowBright: this;
+ readonly bgBlueBright: this;
+ readonly bgMagentaBright: this;
+ readonly bgCyanBright: this;
+ readonly bgWhiteBright: this;
+}
+
+declare const chalk: Chalk & { supportsColor: ColorSupport };
+
+export default chalk
diff --git a/node_modules/update-notifier/node_modules/configstore/index.js b/node_modules/update-notifier/node_modules/configstore/index.js
index 4883613ca..fb944204b 100644
--- a/node_modules/update-notifier/node_modules/configstore/index.js
+++ b/node_modules/update-notifier/node_modules/configstore/index.js
@@ -24,6 +24,7 @@ class Configstore {
this.path = path.join(configDir, pathPrefix);
this.all = Object.assign({}, defaults, this.all);
}
+
get all() {
try {
return JSON.parse(fs.readFileSync(this.path, 'utf8'));
@@ -48,6 +49,7 @@ class Configstore {
throw err;
}
}
+
set all(val) {
try {
// Make sure the folder exists as it could have been deleted in the meantime
@@ -63,12 +65,15 @@ class Configstore {
throw err;
}
}
+
get size() {
return Object.keys(this.all || {}).length;
}
+
get(key) {
return dotProp.get(this.all, key);
}
+
set(key, val) {
const config = this.all;
@@ -82,14 +87,17 @@ class Configstore {
this.all = config;
}
+
has(key) {
return dotProp.has(this.all, key);
}
+
delete(key) {
const config = this.all;
dotProp.delete(config, key);
this.all = config;
}
+
clear() {
this.all = {};
}
diff --git a/node_modules/update-notifier/node_modules/configstore/license b/node_modules/update-notifier/node_modules/configstore/license
new file mode 100644
index 000000000..be304e2dd
--- /dev/null
+++ b/node_modules/update-notifier/node_modules/configstore/license
@@ -0,0 +1,9 @@
+Copyright Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
+
+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.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT HOLDER OR CONTRIBUTORS 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/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/index.js b/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/index.js
index ca1f5e9c6..d5722b9ce 100644
--- a/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/index.js
+++ b/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/index.js
@@ -69,7 +69,7 @@ module.exports.sync = (input, opts) => {
try {
if (!opts.fs.statSync(pth).isDirectory()) {
- throw new Error();
+ throw new Error('The path is not a directory');
}
} catch (_) {
throw err;
diff --git a/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/license b/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/license
index 654d0bfe9..e7af2f771 100644
--- a/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/license
+++ b/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/license
@@ -1,21 +1,9 @@
-The MIT License (MIT)
+MIT License
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:
+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 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.
+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/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/index.js b/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/index.js
index 7c720ebee..1dee43ad0 100644
--- a/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/index.js
+++ b/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/index.js
@@ -1,68 +1,84 @@
'use strict';
-var processFn = function (fn, P, opts) {
- return function () {
- var that = this;
- var args = new Array(arguments.length);
+const processFn = (fn, opts) => function () {
+ const P = opts.promiseModule;
+ const args = new Array(arguments.length);
- for (var i = 0; i < arguments.length; i++) {
- args[i] = arguments[i];
- }
+ for (let i = 0; i < arguments.length; i++) {
+ args[i] = arguments[i];
+ }
- return new P(function (resolve, reject) {
+ return new P((resolve, reject) => {
+ if (opts.errorFirst) {
args.push(function (err, result) {
- if (err) {
- reject(err);
- } else if (opts.multiArgs) {
- var results = new Array(arguments.length - 1);
+ if (opts.multiArgs) {
+ const results = new Array(arguments.length - 1);
- for (var i = 1; i < arguments.length; i++) {
+ for (let i = 1; i < arguments.length; i++) {
results[i - 1] = arguments[i];
}
- resolve(results);
+ if (err) {
+ results.unshift(err);
+ reject(results);
+ } else {
+ resolve(results);
+ }
+ } else if (err) {
+ reject(err);
} else {
resolve(result);
}
});
+ } else {
+ args.push(function (result) {
+ if (opts.multiArgs) {
+ const results = new Array(arguments.length - 1);
- fn.apply(that, args);
- });
- };
-};
+ for (let i = 0; i < arguments.length; i++) {
+ results[i] = arguments[i];
+ }
-var pify = module.exports = function (obj, P, opts) {
- if (typeof P !== 'function') {
- opts = P;
- P = Promise;
- }
+ resolve(results);
+ } else {
+ resolve(result);
+ }
+ });
+ }
- opts = opts || {};
- opts.exclude = opts.exclude || [/.+Sync$/];
+ fn.apply(this, args);
+ });
+};
- var filter = function (key) {
- var match = function (pattern) {
- return typeof pattern === 'string' ? key === pattern : pattern.test(key);
- };
+module.exports = (obj, opts) => {
+ opts = Object.assign({
+ exclude: [/.+(Sync|Stream)$/],
+ errorFirst: true,
+ promiseModule: Promise
+ }, opts);
+ const filter = key => {
+ const match = pattern => typeof pattern === 'string' ? key === pattern : pattern.test(key);
return opts.include ? opts.include.some(match) : !opts.exclude.some(match);
};
- var ret = typeof obj === 'function' ? function () {
- if (opts.excludeMain) {
- return obj.apply(this, arguments);
- }
-
- return processFn(obj, P, opts).apply(this, arguments);
- } : {};
+ let ret;
+ if (typeof obj === 'function') {
+ ret = function () {
+ if (opts.excludeMain) {
+ return obj.apply(this, arguments);
+ }
- return Object.keys(obj).reduce(function (ret, key) {
- var x = obj[key];
+ return processFn(obj, opts).apply(this, arguments);
+ };
+ } else {
+ ret = Object.create(Object.getPrototypeOf(obj));
+ }
- ret[key] = typeof x === 'function' && filter(key) ? processFn(x, P, opts) : x;
+ for (const key in obj) { // eslint-disable-line guard-for-in
+ const x = obj[key];
+ ret[key] = typeof x === 'function' && filter(key) ? processFn(x, opts) : x;
+ }
- return ret;
- }, ret);
+ return ret;
};
-
-pify.all = pify;
diff --git a/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/license b/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/license
index 654d0bfe9..e7af2f771 100644
--- a/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/license
+++ b/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/license
@@ -1,21 +1,9 @@
-The MIT License (MIT)
+MIT License
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:
+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 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.
+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/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/package.json b/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/package.json
index f267937ec..6dfe25b48 100644
--- a/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/package.json
+++ b/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/package.json
@@ -1,26 +1,26 @@
{
- "_from": "pify@^2.3.0",
- "_id": "pify@2.3.0",
+ "_from": "pify@^3.0.0",
+ "_id": "pify@3.0.0",
"_inBundle": false,
- "_integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
+ "_integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=",
"_location": "/update-notifier/configstore/make-dir/pify",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
- "raw": "pify@^2.3.0",
+ "raw": "pify@^3.0.0",
"name": "pify",
"escapedName": "pify",
- "rawSpec": "^2.3.0",
+ "rawSpec": "^3.0.0",
"saveSpec": null,
- "fetchSpec": "^2.3.0"
+ "fetchSpec": "^3.0.0"
},
"_requiredBy": [
"/update-notifier/configstore/make-dir"
],
- "_resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz",
- "_shasum": "ed141a6ac043a849ea588498e7dca8b15330e90c",
- "_spec": "pify@^2.3.0",
+ "_resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz",
+ "_shasum": "e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176",
+ "_spec": "pify@^3.0.0",
"_where": "/Users/rebecca/code/npm/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir",
"author": {
"name": "Sindre Sorhus",
@@ -35,12 +35,12 @@
"description": "Promisify a callback-style function",
"devDependencies": {
"ava": "*",
- "pinkie-promise": "^1.0.0",
- "v8-natives": "0.0.2",
+ "pinkie-promise": "^2.0.0",
+ "v8-natives": "^1.0.0",
"xo": "*"
},
"engines": {
- "node": ">=0.10.0"
+ "node": ">=4"
},
"files": [
"index.js"
@@ -50,6 +50,7 @@
"promise",
"promises",
"promisify",
+ "all",
"denodify",
"denodeify",
"callback",
@@ -64,7 +65,9 @@
"bind",
"to",
"async",
- "es2015"
+ "await",
+ "es2015",
+ "bluebird"
],
"license": "MIT",
"name": "pify",
@@ -76,5 +79,5 @@
"optimization-test": "node --allow-natives-syntax optimization-test.js",
"test": "xo && ava && npm run optimization-test"
},
- "version": "2.3.0"
+ "version": "3.0.0"
}
diff --git a/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/readme.md b/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/readme.md
index c79ca8bf6..376ca4e59 100644
--- a/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/readme.md
+++ b/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/node_modules/pify/readme.md
@@ -16,15 +16,13 @@ $ npm install --save pify
const fs = require('fs');
const pify = require('pify');
-// promisify a single function
-
+// Promisify a single function
pify(fs.readFile)('package.json', 'utf8').then(data => {
console.log(JSON.parse(data).name);
//=> 'pify'
});
-// or promisify all methods in a module
-
+// Promisify all methods in a module
pify(fs).readFile('package.json', 'utf8').then(data => {
console.log(JSON.parse(data).name);
//=> 'pify'
@@ -34,32 +32,24 @@ pify(fs).readFile('package.json', 'utf8').then(data => {
## API
-### pify(input, [promiseModule], [options])
+### pify(input, [options])
-Returns a promise wrapped version of the supplied function or module.
+Returns a `Promise` wrapped version of the supplied function or module.
#### input
-Type: `function`, `object`
+Type: `Function` `Object`
Callback-style function or module whose methods you want to promisify.
-#### promiseModule
-
-Type: `function`
-
-Custom promise module to use instead of the native one.
-
-Check out [`pinkie-promise`](https://github.com/floatdrop/pinkie-promise) if you need a tiny promise polyfill.
-
#### options
##### multiArgs
-Type: `boolean`
+Type: `boolean`<br>
Default: `false`
-By default, the promisified function will only return the second argument from the callback, which works fine for most APIs. This option can be useful for modules like `request` that return multiple arguments. Turning this on will make it return an array of all arguments from the callback, excluding the error argument, instead of just the second argument.
+By default, the promisified function will only return the second argument from the callback, which works fine for most APIs. This option can be useful for modules like `request` that return multiple arguments. Turning this on will make it return an array of all arguments from the callback, excluding the error argument, instead of just the second argument. This also applies to rejections, where it returns an array of all the callback arguments, including the error.
```js
const request = require('request');
@@ -72,23 +62,23 @@ pify(request, {multiArgs: true})('https://sindresorhus.com').then(result => {
##### include
-Type: `array` of (`string`|`regex`)
+Type: `string[]` `RegExp[]`
Methods in a module to promisify. Remaining methods will be left untouched.
##### exclude
-Type: `array` of (`string`|`regex`)
-Default: `[/.+Sync$/]`
+Type: `string[]` `RegExp[]`<br>
+Default: `[/.+(Sync|Stream)$/]`
Methods in a module **not** to promisify. Methods with names ending with `'Sync'` are excluded by default.
##### excludeMain
-Type: `boolean`
+Type: `boolean`<br>
Default: `false`
-By default, if given module is a function itself, this function will be promisified. Turn this option on if you want to promisify only methods of the module.
+If given module is a function itself, it will be promisified. Turn this option on if you want to promisify only methods of the module.
```js
const pify = require('pify');
@@ -99,11 +89,11 @@ function fn() {
fn.method = (data, callback) => {
setImmediate(() => {
- callback(data, null);
+ callback(null, data);
});
};
-// promisify methods but not fn()
+// Promisify methods but not `fn()`
const promiseFn = pify(fn, {excludeMain: true});
if (promiseFn()) {
@@ -113,7 +103,29 @@ if (promiseFn()) {
}
```
+##### errorFirst
+
+Type: `boolean`<br>
+Default: `true`
+
+Whether the callback has an error as the first argument. You'll want to set this to `false` if you're dealing with an API that doesn't have an error as the first argument, like `fs.exists()`, some browser APIs, Chrome Extension APIs, etc.
+
+##### promiseModule
+
+Type: `Function`
+
+Custom promise module to use instead of the native one.
+
+Check out [`pinkie-promise`](https://github.com/floatdrop/pinkie-promise) if you need a tiny promise polyfill.
+
+
+## Related
+
+- [p-event](https://github.com/sindresorhus/p-event) - Promisify an event by waiting for it to be emitted
+- [p-map](https://github.com/sindresorhus/p-map) - Map over promises concurrently
+- [More…](https://github.com/sindresorhus/promise-fun)
+
## License
-MIT © [Sindre Sorhus](http://sindresorhus.com)
+MIT © [Sindre Sorhus](https://sindresorhus.com)
diff --git a/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/package.json b/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/package.json
index 73f3d8f51..5f4021865 100644
--- a/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/package.json
+++ b/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/package.json
@@ -1,8 +1,8 @@
{
"_from": "make-dir@^1.0.0",
- "_id": "make-dir@1.0.0",
+ "_id": "make-dir@1.2.0",
"_inBundle": false,
- "_integrity": "sha1-l6ARdR6R3YfPre9Ygy67BJNt6Xg=",
+ "_integrity": "sha512-aNUAa4UMg/UougV25bbrU4ZaaKNjJ/3/xnvg/twpmKROPdKZPZ9wGgI0opdZzO8q/zUFawoUuixuOv33eZ61Iw==",
"_location": "/update-notifier/configstore/make-dir",
"_phantomChildren": {},
"_requested": {
@@ -18,8 +18,8 @@
"_requiredBy": [
"/update-notifier/configstore"
],
- "_resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.0.0.tgz",
- "_shasum": "97a011751e91dd87cfadef58832ebb04936de978",
+ "_resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.2.0.tgz",
+ "_shasum": "6d6a49eead4aae296c53bbf3a1a008bd6c89469b",
"_spec": "make-dir@^1.0.0",
"_where": "/Users/rebecca/code/npm/node_modules/update-notifier/node_modules/configstore",
"author": {
@@ -32,17 +32,17 @@
},
"bundleDependencies": false,
"dependencies": {
- "pify": "^2.3.0"
+ "pify": "^3.0.0"
},
"deprecated": false,
"description": "Make a directory and its parents if needed - Think `mkdir -p`",
"devDependencies": {
"ava": "*",
- "coveralls": "^2.13.0",
+ "codecov": "^3.0.0",
"graceful-fs": "^4.1.11",
- "nyc": "^10.2.0",
- "path-type": "^2.0.0",
- "tempy": "^0.1.0",
+ "nyc": "^11.3.0",
+ "path-type": "^3.0.0",
+ "tempy": "^0.2.1",
"xo": "*"
},
"engines": {
@@ -82,5 +82,5 @@
"scripts": {
"test": "xo && nyc ava"
},
- "version": "1.0.0"
+ "version": "1.2.0"
}
diff --git a/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/readme.md b/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/readme.md
index 23cf23252..8a32bf471 100644
--- a/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/readme.md
+++ b/node_modules/update-notifier/node_modules/configstore/node_modules/make-dir/readme.md
@@ -1,4 +1,4 @@
-# make-dir [![Build Status: macOS & Linux](https://travis-ci.org/sindresorhus/make-dir.svg?branch=master)](https://travis-ci.org/sindresorhus/make-dir) [![Build status: Windows](https://ci.appveyor.com/api/projects/status/e0vtt8y600w91gcs/branch/master?svg=true)](https://ci.appveyor.com/project/sindresorhus/make-dir/branch/master) [![Coverage Status](https://coveralls.io/repos/github/sindresorhus/make-dir/badge.svg)](https://coveralls.io/github/sindresorhus/make-dir)
+# make-dir [![Build Status: macOS & Linux](https://travis-ci.org/sindresorhus/make-dir.svg?branch=master)](https://travis-ci.org/sindresorhus/make-dir) [![Build status: Windows](https://ci.appveyor.com/api/projects/status/e0vtt8y600w91gcs/branch/master?svg=true)](https://ci.appveyor.com/project/sindresorhus/make-dir/branch/master) [![codecov](https://codecov.io/gh/sindresorhus/make-dir/branch/master/graph/badge.svg)](https://codecov.io/gh/sindresorhus/make-dir)
> Make a directory and its parents if needed - Think `mkdir -p`
@@ -16,7 +16,7 @@
## Install
```
-$ npm install --save make-dir
+$ npm install make-dir
```
@@ -106,6 +106,9 @@ Use a custom `fs` implementation. For example [`graceful-fs`](https://github.com
- [make-dir-cli](https://github.com/sindresorhus/make-dir-cli) - CLI for this module
- [del](https://github.com/sindresorhus/del) - Delete files and directories
- [globby](https://github.com/sindresorhus/globby) - User-friendly glob matching
+- [cpy](https://github.com/sindresorhus/cpy) - Copy files
+- [cpy-cli](https://github.com/sindresorhus/cpy-cli) - Copy files on the command-line
+- [move-file](https://github.com/sindresorhus/move-file) - Move a file
## License
diff --git a/node_modules/update-notifier/node_modules/configstore/package.json b/node_modules/update-notifier/node_modules/configstore/package.json
index 46762de57..7a6159f84 100644
--- a/node_modules/update-notifier/node_modules/configstore/package.json
+++ b/node_modules/update-notifier/node_modules/configstore/package.json
@@ -1,8 +1,8 @@
{
"_from": "configstore@^3.0.0",
- "_id": "configstore@3.1.1",
+ "_id": "configstore@3.1.2",
"_inBundle": false,
- "_integrity": "sha512-5oNkD/L++l0O6xGXxb1EWS7SivtjfGQlRyxJsYgE0Z495/L81e2h4/d3r969hoPXuFItzNOKMtsXgYG4c7dYvw==",
+ "_integrity": "sha512-vtv5HtGjcYUgFrXc6Kx747B83MRRVS5R1VTEQoXvuP+kMI+if6uywV0nDGoiydJRy4yk7h9od5Og0kxx4zUXmw==",
"_location": "/update-notifier/configstore",
"_phantomChildren": {},
"_requested": {
@@ -18,10 +18,10 @@
"_requiredBy": [
"/update-notifier"
],
- "_resolved": "https://registry.npmjs.org/configstore/-/configstore-3.1.1.tgz",
- "_shasum": "094ee662ab83fad9917678de114faaea8fcdca90",
+ "_resolved": "https://registry.npmjs.org/configstore/-/configstore-3.1.2.tgz",
+ "_shasum": "c6f25defaeef26df12dd33414b001fe81a543f8f",
"_spec": "configstore@^3.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier",
+ "_where": "/Users/rebecca/code/npm/node_modules/update-notifier",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
@@ -75,5 +75,5 @@
"scripts": {
"test": "xo && ava"
},
- "version": "3.1.1"
+ "version": "3.1.2"
}
diff --git a/node_modules/update-notifier/node_modules/is-ci/.travis.yml b/node_modules/update-notifier/node_modules/is-ci/.travis.yml
new file mode 100644
index 000000000..21f721050
--- /dev/null
+++ b/node_modules/update-notifier/node_modules/is-ci/.travis.yml
@@ -0,0 +1,7 @@
+language: node_js
+node_js:
+- '6'
+- '5'
+- '4'
+- '0.12'
+- '0.10'
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/license b/node_modules/update-notifier/node_modules/is-ci/LICENSE
index 654d0bfe9..67846832e 100644
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/license
+++ b/node_modules/update-notifier/node_modules/is-ci/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
+Copyright (c) 2016-2018 Thomas Watson Steen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -9,13 +9,13 @@ 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 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.
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/node_modules/update-notifier/node_modules/is-ci/README.md b/node_modules/update-notifier/node_modules/is-ci/README.md
new file mode 100644
index 000000000..0e49db91b
--- /dev/null
+++ b/node_modules/update-notifier/node_modules/is-ci/README.md
@@ -0,0 +1,69 @@
+# is-ci
+
+Returns `true` if the current environment is a Continuous Integration
+server.
+
+Please [open an issue](https://github.com/watson/is-ci/issues) if your
+CI server isn't properly detected :)
+
+[![Build status](https://travis-ci.org/watson/is-ci.svg?branch=master)](https://travis-ci.org/watson/is-ci)
+[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)
+
+## Installation
+
+```
+npm install is-ci --save
+```
+
+## Programmatic Usage
+
+```js
+const isCI = require('is-ci')
+
+if (isCI) {
+ console.log('The code is running on a CI server')
+}
+```
+
+## CLI Usage
+
+For CLI usage you need to have the `is-ci` executable in your `PATH`.
+There's a few ways to do that:
+
+- Either install the module globally using `npm install is-ci -g`
+- Or add the module as a dependency to your app in which case it can be
+ used inside your package.json scripts as is
+- Or provide the full path to the executable, e.g.
+ `./node_modules/.bin/is-ci`
+
+```
+is-ci && echo "This is a CI server"
+```
+
+## Supported CI tools
+
+Officially supported CI servers:
+
+- [Travis CI](http://travis-ci.org)
+- [CircleCI](http://circleci.com)
+- [Jenkins CI](https://jenkins-ci.org)
+- [Hudson](http://hudson-ci.org)
+- [Bamboo](https://www.atlassian.com/software/bamboo)
+- [TeamCity](https://www.jetbrains.com/teamcity/)
+- [Team Foundation Server](https://www.visualstudio.com/en-us/products/tfs-overview-vs.aspx)
+- [GitLab CI](https://about.gitlab.com/gitlab-ci/)
+- [Codeship](https://codeship.com)
+- [Drone.io](https://drone.io)
+- [Magnum CI](https://magnum-ci.com)
+- [Semaphore](https://semaphoreci.com)
+- [AppVeyor](http://www.appveyor.com)
+- [Buildkite](https://buildkite.com)
+- [TaskCluster](http://docs.taskcluster.net)
+- [GoCD](https://www.go.cd/)
+- [Bitbucket Pipelines](https://bitbucket.org/product/features/pipelines)
+
+Other CI tools using environment variables like `BUILD_ID` or `CI` would be detected as well.
+
+## License
+
+MIT
diff --git a/node_modules/update-notifier/node_modules/is-ci/bin.js b/node_modules/update-notifier/node_modules/is-ci/bin.js
new file mode 100755
index 000000000..0c56c01f2
--- /dev/null
+++ b/node_modules/update-notifier/node_modules/is-ci/bin.js
@@ -0,0 +1,4 @@
+#!/usr/bin/env node
+'use strict'
+
+process.exit(require('./') ? 0 : 1)
diff --git a/node_modules/update-notifier/node_modules/is-ci/index.js b/node_modules/update-notifier/node_modules/is-ci/index.js
new file mode 100644
index 000000000..d4cb67aa9
--- /dev/null
+++ b/node_modules/update-notifier/node_modules/is-ci/index.js
@@ -0,0 +1,3 @@
+'use strict'
+
+module.exports = require('ci-info').isCI
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/license b/node_modules/update-notifier/node_modules/is-ci/node_modules/ci-info/LICENSE
index 654d0bfe9..4a59c9417 100644
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/license
+++ b/node_modules/update-notifier/node_modules/is-ci/node_modules/ci-info/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
+Copyright (c) 2016-2017 Thomas Watson Steen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
@@ -9,13 +9,13 @@ 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 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.
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/node_modules/update-notifier/node_modules/is-ci/node_modules/ci-info/README.md b/node_modules/update-notifier/node_modules/is-ci/node_modules/ci-info/README.md
new file mode 100644
index 000000000..2c6cccf2b
--- /dev/null
+++ b/node_modules/update-notifier/node_modules/is-ci/node_modules/ci-info/README.md
@@ -0,0 +1,100 @@
+# ci-info
+
+Get details about the current Continuous Integration environment.
+
+Please [open an issue](https://github.com/watson/ci-info/issues) if your
+CI server isn't properly detected :)
+
+[![Build status](https://travis-ci.org/watson/ci-info.svg?branch=master)](https://travis-ci.org/watson/ci-info)
+[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)
+
+## Installation
+
+```
+npm install ci-info --save
+```
+
+## Usage
+
+```js
+var ci = require('ci-info')
+
+if (ci.isCI) {
+ console.log('The name of the CI server is:', ci.name)
+} else {
+ console.log('This program is not running on a CI server')
+}
+```
+
+## Supported CI tools
+
+Officially supported CI servers:
+
+- [AWS CodeBuild](https://aws.amazon.com/codebuild/)
+- [AppVeyor](http://www.appveyor.com)
+- [Bamboo](https://www.atlassian.com/software/bamboo) by Atlassian
+- [Bitbucket Pipelines](https://bitbucket.org/product/features/pipelines)
+- [Buildkite](https://buildkite.com)
+- [CircleCI](http://circleci.com)
+- [Codeship](https://codeship.com)
+- [Drone](https://drone.io)
+- [GitLab CI](https://about.gitlab.com/gitlab-ci/)
+- [GoCD](https://www.go.cd/)
+- [Hudson](http://hudson-ci.org)
+- [Jenkins CI](https://jenkins-ci.org)
+- [Magnum CI](https://magnum-ci.com)
+- [Semaphore](https://semaphoreci.com)
+- [TaskCluster](http://docs.taskcluster.net)
+- [Team Foundation Server](https://www.visualstudio.com/en-us/products/tfs-overview-vs.aspx) by Microsoft
+- [TeamCity](https://www.jetbrains.com/teamcity/) by JetBrains
+- [Travis CI](http://travis-ci.org)
+
+## API
+
+### `ci.name`
+
+A string. Will contain the name of the CI server the code is running on.
+If not CI server is detected, it will be `null`.
+
+Don't depend on the value of this string not to change for a specific
+vendor. If you find your self writing `ci.name === 'Travis CI'`, you
+most likely want to use `ci.TRAVIS` instead.
+
+### `ci.isCI`
+
+A boolean. Will be `true` if the code is running on a CI server.
+Otherwise `false`.
+
+Some CI servers not listed here might still trigger the `ci.isCI`
+boolean to be set to `true` if they use certain vendor neutral
+environment variables. In those cases `ci.name` will be `null` and no
+vendor specific boolean will be set to `true`.
+
+### `ci.<VENDOR-CONSTANT>`
+
+The following vendor specific boolean constants are exposed. A constant
+will be `true` if the code is determined to run on the given CI server.
+Otherwise `false`.
+
+- `ci.APPVEYOR`
+- `ci.BAMBOO`
+- `ci.BITBUCKET`
+- `ci.BUILDKITE`
+- `ci.CIRCLE`
+- `ci.CODEBUILD`
+- `ci.CODESHIP`
+- `ci.DRONE`
+- `ci.GITLAB`
+- `ci.GOCD`
+- `ci.HUDSON`
+- `ci.JENKINS`
+- `ci.MAGNUM`
+- `ci.SEMAPHORE`
+- `ci.TASKCLUSTER`
+- `ci.TEAMCITY`
+- `ci.TFS` (Team Foundation Server)
+- `ci.TRAVIS`
+
+## License
+
+MIT
diff --git a/node_modules/update-notifier/node_modules/is-ci/node_modules/ci-info/index.js b/node_modules/update-notifier/node_modules/is-ci/node_modules/ci-info/index.js
new file mode 100644
index 000000000..e716e34b3
--- /dev/null
+++ b/node_modules/update-notifier/node_modules/is-ci/node_modules/ci-info/index.js
@@ -0,0 +1,48 @@
+'use strict'
+
+var env = process.env
+
+var vendors = [
+ // Constant, Name, Envs
+ ['TRAVIS', 'Travis CI', 'TRAVIS'],
+ ['CIRCLE', 'CircleCI', 'CIRCLECI'],
+ ['GITLAB', 'GitLab CI', 'GITLAB_CI'],
+ ['APPVEYOR', 'AppVeyor', 'APPVEYOR'],
+ ['CODESHIP', 'Codeship', {CI_NAME: 'codeship'}],
+ ['DRONE', 'Drone', 'DRONE'],
+ ['MAGNUM', 'Magnum CI', 'MAGNUM'],
+ ['SEMAPHORE', 'Semaphore', 'SEMAPHORE'],
+ ['JENKINS', 'Jenkins', 'JENKINS_URL', 'BUILD_ID'],
+ ['BAMBOO', 'Bamboo', 'bamboo_planKey'],
+ ['TFS', 'Team Foundation Server', 'TF_BUILD'],
+ ['TEAMCITY', 'TeamCity', 'TEAMCITY_VERSION'],
+ ['BUILDKITE', 'Buildkite', 'BUILDKITE'],
+ ['HUDSON', 'Hudson', 'HUDSON_URL'],
+ ['TASKCLUSTER', 'TaskCluster', 'TASK_ID', 'RUN_ID'],
+ ['GOCD', 'GoCD', 'GO_PIPELINE_LABEL'],
+ ['BITBUCKET', 'Bitbucket Pipelines', 'BITBUCKET_COMMIT'],
+ ['CODEBUILD', 'AWS CodeBuild', 'CODEBUILD_BUILD_ARN']
+]
+
+exports.name = null
+
+vendors.forEach(function (vendor) {
+ var constant = vendor.shift()
+ var name = vendor.shift()
+ var isCI = vendor.every(function (obj) {
+ if (typeof obj === 'string') return !!env[obj]
+ return Object.keys(obj).every(function (k) {
+ return env[k] === obj[k]
+ })
+ })
+ exports[constant] = isCI
+ if (isCI) exports.name = name
+})
+
+exports.isCI = !!(
+ env.CI || // Travis CI, CircleCI, Gitlab CI, Appveyor, CodeShip
+ env.CONTINUOUS_INTEGRATION || // Travis CI
+ env.BUILD_NUMBER || // Jenkins, TeamCity
+ exports.name ||
+ false
+)
diff --git a/node_modules/update-notifier/node_modules/is-ci/node_modules/ci-info/package.json b/node_modules/update-notifier/node_modules/is-ci/node_modules/ci-info/package.json
new file mode 100644
index 000000000..3f0f01e07
--- /dev/null
+++ b/node_modules/update-notifier/node_modules/is-ci/node_modules/ci-info/package.json
@@ -0,0 +1,64 @@
+{
+ "_from": "ci-info@^1.0.0",
+ "_id": "ci-info@1.1.3",
+ "_inBundle": false,
+ "_integrity": "sha512-SK/846h/Rcy8q9Z9CAwGBLfCJ6EkjJWdpelWDufQpqVDYq2Wnnv8zlSO6AMQap02jvhVruKKpEtQOufo3pFhLg==",
+ "_location": "/update-notifier/is-ci/ci-info",
+ "_phantomChildren": {},
+ "_requested": {
+ "type": "range",
+ "registry": true,
+ "raw": "ci-info@^1.0.0",
+ "name": "ci-info",
+ "escapedName": "ci-info",
+ "rawSpec": "^1.0.0",
+ "saveSpec": null,
+ "fetchSpec": "^1.0.0"
+ },
+ "_requiredBy": [
+ "/update-notifier/is-ci"
+ ],
+ "_resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.1.3.tgz",
+ "_shasum": "710193264bb05c77b8c90d02f5aaf22216a667b2",
+ "_spec": "ci-info@^1.0.0",
+ "_where": "/Users/rebecca/code/npm/node_modules/update-notifier/node_modules/is-ci",
+ "author": {
+ "name": "Thomas Watson Steen",
+ "email": "w@tson.dk",
+ "url": "https://twitter.com/wa7son"
+ },
+ "bugs": {
+ "url": "https://github.com/watson/ci-info/issues"
+ },
+ "bundleDependencies": false,
+ "coordinates": [
+ 55.777613,
+ 12.589943
+ ],
+ "dependencies": {},
+ "deprecated": false,
+ "description": "Get details about the current Continuous Integration environment",
+ "devDependencies": {
+ "clear-require": "^1.0.1",
+ "standard": "^10.0.3"
+ },
+ "homepage": "https://github.com/watson/ci-info",
+ "keywords": [
+ "ci",
+ "continuous",
+ "integration",
+ "test",
+ "detect"
+ ],
+ "license": "MIT",
+ "main": "index.js",
+ "name": "ci-info",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/watson/ci-info.git"
+ },
+ "scripts": {
+ "test": "standard && node test.js"
+ },
+ "version": "1.1.3"
+}
diff --git a/node_modules/update-notifier/node_modules/is-ci/package.json b/node_modules/update-notifier/node_modules/is-ci/package.json
new file mode 100644
index 000000000..ee102bacc
--- /dev/null
+++ b/node_modules/update-notifier/node_modules/is-ci/package.json
@@ -0,0 +1,69 @@
+{
+ "_from": "is-ci@^1.0.10",
+ "_id": "is-ci@1.1.0",
+ "_inBundle": false,
+ "_integrity": "sha512-c7TnwxLePuqIlxHgr7xtxzycJPegNHFuIrBkwbf8hc58//+Op1CqFkyS+xnIMkwn9UsJIwc174BIjkyBmSpjKg==",
+ "_location": "/update-notifier/is-ci",
+ "_phantomChildren": {},
+ "_requested": {
+ "type": "range",
+ "registry": true,
+ "raw": "is-ci@^1.0.10",
+ "name": "is-ci",
+ "escapedName": "is-ci",
+ "rawSpec": "^1.0.10",
+ "saveSpec": null,
+ "fetchSpec": "^1.0.10"
+ },
+ "_requiredBy": [
+ "/update-notifier"
+ ],
+ "_resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.1.0.tgz",
+ "_shasum": "247e4162e7860cebbdaf30b774d6b0ac7dcfe7a5",
+ "_spec": "is-ci@^1.0.10",
+ "_where": "/Users/rebecca/code/npm/node_modules/update-notifier",
+ "author": {
+ "name": "Thomas Watson Steen",
+ "email": "w@tson.dk",
+ "url": "https://twitter.com/wa7son"
+ },
+ "bin": {
+ "is-ci": "bin.js"
+ },
+ "bugs": {
+ "url": "https://github.com/watson/is-ci/issues"
+ },
+ "bundleDependencies": false,
+ "coordinates": [
+ 56.0093252,
+ 11.9592058
+ ],
+ "dependencies": {
+ "ci-info": "^1.0.0"
+ },
+ "deprecated": false,
+ "description": "Detect if your code is running on a CI server",
+ "devDependencies": {
+ "clear-require": "^1.0.1",
+ "standard": "^10.0.3"
+ },
+ "homepage": "https://github.com/watson/is-ci",
+ "keywords": [
+ "ci",
+ "continuous",
+ "integration",
+ "test",
+ "detect"
+ ],
+ "license": "MIT",
+ "main": "index.js",
+ "name": "is-ci",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/watson/is-ci.git"
+ },
+ "scripts": {
+ "test": "standard && node test.js"
+ },
+ "version": "1.1.0"
+}
diff --git a/node_modules/update-notifier/node_modules/is-ci/test.js b/node_modules/update-notifier/node_modules/is-ci/test.js
new file mode 100644
index 000000000..a9938bbdb
--- /dev/null
+++ b/node_modules/update-notifier/node_modules/is-ci/test.js
@@ -0,0 +1,19 @@
+'use strict'
+
+var assert = require('assert')
+var clearRequire = require('clear-require')
+
+process.env.CI = 'true'
+
+var isCI = require('./')
+assert(isCI)
+
+delete process.env.CI
+delete process.env.CONTINUOUS_INTEGRATION
+delete process.env.BUILD_NUMBER
+delete process.env.TRAVIS
+
+clearRequire('./')
+clearRequire('ci-info')
+isCI = require('./')
+assert(!isCI)
diff --git a/node_modules/update-notifier/node_modules/is-installed-globally/node_modules/global-dirs/index.js b/node_modules/update-notifier/node_modules/is-installed-globally/node_modules/global-dirs/index.js
index c88287c0b..2b61d4eae 100644
--- a/node_modules/update-notifier/node_modules/is-installed-globally/node_modules/global-dirs/index.js
+++ b/node_modules/update-notifier/node_modules/is-installed-globally/node_modules/global-dirs/index.js
@@ -39,9 +39,12 @@ const getNpmPrefix = () => {
return globalConfigPrefix;
}
- if (process.platform === 'win32') {
+ if (process.platform === 'win32' && process.env.APPDATA) {
// Hardcoded contents of `c:\Program Files\nodejs\node_modules\npm\.npmrc`
- return path.join(process.env.APPDATA, 'npm');
+ const prefix = path.join(process.env.APPDATA, 'npm');
+ if (fs.existsSync(prefix)) {
+ return prefix;
+ }
}
return defaultNpmPrefix;
@@ -54,12 +57,10 @@ const getYarnPrefix = () => {
return process.env.PREFIX;
}
- if (process.platform === 'win32') {
- if (process.env.LOCALAPPDATA) {
- const prefix = path.join(process.env.LOCALAPPDATA, 'Yarn');
- if (fs.existsSync(prefix)) {
- return prefix;
- }
+ if (process.platform === 'win32' && process.env.LOCALAPPDATA) {
+ const prefix = path.join(process.env.LOCALAPPDATA, 'Yarn');
+ if (fs.existsSync(prefix)) {
+ return prefix;
}
}
diff --git a/node_modules/update-notifier/node_modules/is-installed-globally/node_modules/global-dirs/package.json b/node_modules/update-notifier/node_modules/is-installed-globally/node_modules/global-dirs/package.json
index 65334a027..df2e0ba70 100644
--- a/node_modules/update-notifier/node_modules/is-installed-globally/node_modules/global-dirs/package.json
+++ b/node_modules/update-notifier/node_modules/is-installed-globally/node_modules/global-dirs/package.json
@@ -1,8 +1,8 @@
{
"_from": "global-dirs@^0.1.0",
- "_id": "global-dirs@0.1.0",
+ "_id": "global-dirs@0.1.1",
"_inBundle": false,
- "_integrity": "sha1-ENNAOeDfBCcuJizyQiT3IJQ0308=",
+ "_integrity": "sha1-sxnA3UYH81PzvpzKTHL8FIxJ9EU=",
"_location": "/update-notifier/is-installed-globally/global-dirs",
"_phantomChildren": {},
"_requested": {
@@ -18,10 +18,10 @@
"_requiredBy": [
"/update-notifier/is-installed-globally"
],
- "_resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.0.tgz",
- "_shasum": "10d34039e0df04272e262cf24224f7209434df4f",
+ "_resolved": "https://registry.npmjs.org/global-dirs/-/global-dirs-0.1.1.tgz",
+ "_shasum": "b319c0dd4607f353f3be9cca4c72fc148c49f445",
"_spec": "global-dirs@^0.1.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/is-installed-globally",
+ "_where": "/Users/rebecca/code/npm/node_modules/update-notifier/node_modules/is-installed-globally",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
@@ -80,5 +80,5 @@
"scripts": {
"test": "xo && ava"
},
- "version": "0.1.0"
+ "version": "0.1.1"
}
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/license b/node_modules/update-notifier/node_modules/is-installed-globally/node_modules/is-path-inside/license
index 654d0bfe9..654d0bfe9 100644
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/license
+++ b/node_modules/update-notifier/node_modules/is-installed-globally/node_modules/is-path-inside/license
diff --git a/node_modules/update-notifier/node_modules/is-installed-globally/node_modules/is-path-inside/package.json b/node_modules/update-notifier/node_modules/is-installed-globally/node_modules/is-path-inside/package.json
index c56279c7c..874555a27 100644
--- a/node_modules/update-notifier/node_modules/is-installed-globally/node_modules/is-path-inside/package.json
+++ b/node_modules/update-notifier/node_modules/is-installed-globally/node_modules/is-path-inside/package.json
@@ -1,8 +1,8 @@
{
"_from": "is-path-inside@^1.0.0",
- "_id": "is-path-inside@1.0.0",
+ "_id": "is-path-inside@1.0.1",
"_inBundle": false,
- "_integrity": "sha1-/AbloWg/vaE95mev9xe7wQpI838=",
+ "_integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=",
"_location": "/update-notifier/is-installed-globally/is-path-inside",
"_phantomChildren": {},
"_requested": {
@@ -18,14 +18,14 @@
"_requiredBy": [
"/update-notifier/is-installed-globally"
],
- "_resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.0.tgz",
- "_shasum": "fc06e5a1683fbda13de667aff717bbc10a48f37f",
+ "_resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz",
+ "_shasum": "8ef5b7de50437a3fdca6b4e865ef7aa55cb48036",
"_spec": "is-path-inside@^1.0.0",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/is-installed-globally",
+ "_where": "/Users/rebecca/code/npm/node_modules/update-notifier/node_modules/is-installed-globally",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
- "url": "http://sindresorhus.com"
+ "url": "sindresorhus.com"
},
"bugs": {
"url": "https://github.com/sindresorhus/is-path-inside/issues"
@@ -37,7 +37,8 @@
"deprecated": false,
"description": "Check if a path is inside another path",
"devDependencies": {
- "mocha": "*"
+ "ava": "*",
+ "xo": "*"
},
"engines": {
"node": ">=0.10.0"
@@ -62,7 +63,7 @@
"url": "git+https://github.com/sindresorhus/is-path-inside.git"
},
"scripts": {
- "test": "mocha"
+ "test": "xo && ava"
},
- "version": "1.0.0"
+ "version": "1.0.1"
}
diff --git a/node_modules/update-notifier/node_modules/is-installed-globally/node_modules/is-path-inside/readme.md b/node_modules/update-notifier/node_modules/is-installed-globally/node_modules/is-path-inside/readme.md
index 0e4eb74f7..cc5f51625 100644
--- a/node_modules/update-notifier/node_modules/is-installed-globally/node_modules/is-path-inside/readme.md
+++ b/node_modules/update-notifier/node_modules/is-installed-globally/node_modules/is-path-inside/readme.md
@@ -5,7 +5,7 @@
## Install
-```sh
+```
$ npm install --save is-path-inside
```
@@ -15,14 +15,17 @@ $ npm install --save is-path-inside
```js
var isPathInside = require('is-path-inside');
-isPathInside('a/b', 'a/b/c');
+isPathInside('a/b/c', 'a/b');
//=> true
-isPathInside('x/y', 'a/b/c');
+isPathInside('a/b/c', 'x/y');
//=> false
isPathInside('a/b/c', 'a/b/c');
//=> false
+
+isPathInside('/Users/sindresorhus/dev/unicorn', '/Users/sindresorhus');
+//=> true
```
diff --git a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/code-point-at/license b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/license
index 654d0bfe9..654d0bfe9 100644
--- a/node_modules/update-notifier/node_modules/boxen/node_modules/widest-line/node_modules/string-width/node_modules/code-point-at/license
+++ b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/license
diff --git a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/package.json b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/package.json
index 19db7aa89..99b283465 100644
--- a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/package.json
+++ b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/got/node_modules/lowercase-keys/package.json
@@ -1,7 +1,8 @@
{
"_from": "lowercase-keys@^1.0.0",
- "_id": "lowercase-keys@1.0.0",
- "_integrity": "sha1-TjNms55/VFfjXxMkvfb4jQv8cwY=",
+ "_id": "lowercase-keys@1.0.1",
+ "_inBundle": false,
+ "_integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==",
"_location": "/update-notifier/latest-version/package-json/got/lowercase-keys",
"_phantomChildren": {},
"_requested": {
@@ -17,26 +18,23 @@
"_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,
+ "_resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
+ "_shasum": "6f9e30b47084d971a7c820ff15a6c5167b74c26f",
"_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",
+ "_where": "/Users/rebecca/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"
+ "ava": "*"
},
"engines": {
"node": ">=0.10.0"
@@ -58,14 +56,12 @@
],
"license": "MIT",
"name": "lowercase-keys",
- "optionalDependencies": {},
- "peerDependencies": {},
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/lowercase-keys.git"
},
"scripts": {
- "test": "node test.js"
+ "test": "ava"
},
- "version": "1.0.0"
+ "version": "1.0.1"
}
diff --git a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/.npmignore b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/.npmignore
deleted file mode 100644
index 419602846..000000000
--- a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/.npmignore
+++ /dev/null
@@ -1,6 +0,0 @@
-.editorconfig
-.eslintignore
-.eslintrc
-.travis.yml
-npm-debug.log
-coverage
diff --git a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/CHANGELOG.md b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/CHANGELOG.md
index d1a9ab4c7..75f7b6f2f 100644
--- a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/CHANGELOG.md
+++ b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/CHANGELOG.md
@@ -2,6 +2,18 @@
All notable changes will be documented in this file.
+## [3.3.2] - 2018-01-26
+
+### Changes
+
+- Support password with ENV variable tokens (Nowell Strite)
+
+## [3.3.1] - 2017-05-02
+
+### Fixes
+
+- Auth legacy token is basic auth (Hutson Betts)
+
## [3.3.0] - 2017-04-24
### Changes
diff --git a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/index.js b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/index.js
index 0fc8528b2..d68f7eeb4 100644
--- a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/index.js
+++ b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/index.js
@@ -100,7 +100,9 @@ function getTokenForUsernameAndPassword (username, password) {
// passwords are base64 encoded, so we need to decode it
// See https://github.com/npm/npm/blob/v3.10.6/lib/config/set-credentials-by-uri.js#L26
- var pass = decodeBase64(password)
+ var pass = decodeBase64(password.replace(/^\$\{?([^}]*)\}?$/, function (fullMatch, envVar) {
+ return process.env[envVar]
+ }))
// a basic auth token is base64 encoded 'username:password'
// See https://github.com/npm/npm/blob/v3.10.6/lib/config/get-credentials-by-uri.js#L70
diff --git a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/.bin/rc b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/.bin/rc
index a3f6fc7f1..48b3cda74 120000
--- a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/.bin/rc
+++ b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/.bin/rc
@@ -1 +1 @@
-../rc/index.js \ No newline at end of file
+../rc/cli.js \ No newline at end of file
diff --git a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/README.md b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/README.md
index 65a5f0687..e6522e267 100644
--- a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/README.md
+++ b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/README.md
@@ -40,7 +40,7 @@ appCfg.config // same as appCfg.configs[appCfg.configs.length - 1]
Given your application name (`appname`), rc will look in all the obvious places for configuration.
- * command line arguments (parsed by minimist)
+ * command line arguments, parsed by minimist _(e.g. `--foo baz`, also nested: `--foo.bar=baz`)_
* environment variables prefixed with `${appname}_`
* or use "\_\_" to indicate nested properties <br/> _(e.g. `appname_foo__bar__baz` => `foo.bar.baz`)_
* if you passed an option `--config file` then from that file
@@ -59,7 +59,7 @@ so that sources **earlier** in this list override later ones.
## Configuration File Formats
-Configuration files (e.g. `.appnamerc`) may be in either [json](http://json.org/example) or [ini](http://en.wikipedia.org/wiki/INI_file) format. The example configurations below are equivalent:
+Configuration files (e.g. `.appnamerc`) may be in either [json](http://json.org/example) or [ini](http://en.wikipedia.org/wiki/INI_file) format. **No** file extension (`.json` or `.ini`) should be used. The example configurations below are equivalent:
#### Formatted as `ini`
@@ -114,6 +114,84 @@ Comments are stripped from JSON config via [strip-json-comments](https://github.
> Since ini, and env variables do not have a standard for types, your application needs be prepared for strings.
+To ensure that string representations of booleans and numbers are always converted into their proper types (especially useful if you intend to do strict `===` comparisons), consider using a module such as [parse-strings-in-object](https://github.com/anselanza/parse-strings-in-object) to wrap the config object returned from rc.
+
+
+## Simple example demonstrating precedence
+Assume you have an application like this (notice the hard-coded defaults passed to rc):
+```
+const conf = require('rc')('myapp', {
+ port: 12345,
+ mode: 'test'
+});
+
+console.log(JSON.stringify(conf, null, 2));
+```
+You also have a file `config.json`, with these contents:
+```
+{
+ "port": 9000,
+ "foo": "from config json",
+ "something": "else"
+}
+```
+And a file `.myapprc` in the same folder, with these contents:
+```
+{
+ "port": "3001",
+ "foo": "bar"
+}
+```
+Here is the expected output from various commands:
+
+`node .`
+```
+{
+ "port": "3001",
+ "mode": "test",
+ "foo": "bar",
+ "_": [],
+ "configs": [
+ "/Users/stephen/repos/conftest/.myapprc"
+ ],
+ "config": "/Users/stephen/repos/conftest/.myapprc"
+}
+```
+*Default `mode` from hard-coded object is retained, but port is overridden by `.myapprc` file (automatically found based on appname match), and `foo` is added.*
+
+
+`node . --foo baz`
+```
+{
+ "port": "3001",
+ "mode": "test",
+ "foo": "baz",
+ "_": [],
+ "configs": [
+ "/Users/stephen/repos/conftest/.myapprc"
+ ],
+ "config": "/Users/stephen/repos/conftest/.myapprc"
+}
+```
+*Same result as above but `foo` is overridden because command-line arguments take precedence over `.myapprc` file.*
+
+`node . --foo barbar --config config.json`
+```
+{
+ "port": 9000,
+ "mode": "test",
+ "foo": "barbar",
+ "something": "else",
+ "_": [],
+ "config": "config.json",
+ "configs": [
+ "/Users/stephen/repos/conftest/.myapprc",
+ "config.json"
+ ]
+}
+```
+*Now the `port` comes from the `config.json` file specified (overriding the value from `.myapprc`), and `foo` value is overriden by command-line despite also being specified in the `config.json` file.*
+
## Advanced Usage
diff --git a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/cli.js b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/cli.js
new file mode 100755
index 000000000..ab05b6072
--- /dev/null
+++ b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/cli.js
@@ -0,0 +1,4 @@
+#! /usr/bin/env node
+var rc = require('./index')
+
+console.log(JSON.stringify(rc(process.argv[2]), false, 2))
diff --git a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/index.js b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/index.js
index 6f8f1139d..65eb47afe 100755
--- a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/index.js
+++ b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/index.js
@@ -1,4 +1,3 @@
-#! /usr/bin/env node
var cc = require('./lib/utils')
var join = require('path').join
var deepExtend = require('deep-extend')
@@ -52,9 +51,3 @@ module.exports = function (name, defaults, argv, parse) {
configFiles.length ? {configs: configFiles, config: configFiles[configFiles.length - 1]} : undefined,
]))
}
-
-if(!module.parent) {
- console.log(
- JSON.stringify(module.exports(process.argv[2]), false, 2)
- )
-}
diff --git a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/package.json b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/package.json
index 91b7fc3d9..e296c09b6 100644
--- a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/package.json
+++ b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/node_modules/rc/package.json
@@ -1,7 +1,8 @@
{
"_from": "rc@^1.1.6",
- "_id": "rc@1.2.1",
- "_integrity": "sha1-LgPo5C7kULjLPc5lvhv4l04d/ZU=",
+ "_id": "rc@1.2.6",
+ "_inBundle": false,
+ "_integrity": "sha1-6xiYnG1PTxYsOZ953dKfODVWgJI=",
"_location": "/update-notifier/latest-version/package-json/registry-auth-token/rc",
"_phantomChildren": {},
"_requested": {
@@ -17,20 +18,19 @@
"_requiredBy": [
"/update-notifier/latest-version/package-json/registry-auth-token"
],
- "_resolved": "https://registry.npmjs.org/rc/-/rc-1.2.1.tgz",
- "_shasum": "2e03e8e42ee450b8cb3dce65be1bf8974e1dfd95",
- "_shrinkwrap": null,
+ "_resolved": "https://registry.npmjs.org/rc/-/rc-1.2.6.tgz",
+ "_shasum": "eb18989c6d4f4f162c399f79ddd29f3835568092",
"_spec": "rc@^1.1.6",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token",
+ "_where": "/Users/rebecca/code/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token",
"author": {
"name": "Dominic Tarr",
"email": "dominic.tarr@gmail.com",
"url": "dominictarr.com"
},
"bin": {
- "rc": "./index.js"
+ "rc": "./cli.js"
},
- "browserify": "browser.js",
+ "browser": "browser.js",
"bugs": {
"url": "https://github.com/dominictarr/rc/issues"
},
@@ -43,7 +43,6 @@
},
"deprecated": false,
"description": "hardwired configuration loader",
- "devDependencies": {},
"homepage": "https://github.com/dominictarr/rc#readme",
"keywords": [
"config",
@@ -54,8 +53,6 @@
"license": "(BSD-2-Clause OR MIT OR Apache-2.0)",
"main": "index.js",
"name": "rc",
- "optionalDependencies": {},
- "peerDependencies": {},
"repository": {
"type": "git",
"url": "git+https://github.com/dominictarr/rc.git"
@@ -63,5 +60,5 @@
"scripts": {
"test": "set -e; node test/test.js; node test/ini.js; node test/nested-env-vars.js"
},
- "version": "1.2.1"
+ "version": "1.2.6"
}
diff --git a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/package.json b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/package.json
index b838a70e8..acd790698 100644
--- a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/package.json
+++ b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/package.json
@@ -1,11 +1,11 @@
{
"_from": "registry-auth-token@^3.0.1",
- "_id": "registry-auth-token@3.3.1",
+ "_id": "registry-auth-token@3.3.2",
"_inBundle": false,
- "_integrity": "sha1-+w0yie4Nmtosu1KvXf5mywcNMAY=",
+ "_integrity": "sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ==",
"_location": "/update-notifier/latest-version/package-json/registry-auth-token",
"_phantomChildren": {
- "ini": "1.3.4"
+ "ini": "1.3.5"
},
"_requested": {
"type": "range",
@@ -20,8 +20,8 @@
"_requiredBy": [
"/update-notifier/latest-version/package-json"
],
- "_resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.1.tgz",
- "_shasum": "fb0d3289ee0d9ada2cbb52af5dfe66cb070d3006",
+ "_resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.2.tgz",
+ "_shasum": "851fd49038eecb586911115af845260eec983f20",
"_spec": "registry-auth-token@^3.0.1",
"_where": "/Users/rebecca/code/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json",
"author": {
@@ -72,5 +72,5 @@
"coverage/**"
]
},
- "version": "3.3.1"
+ "version": "3.3.2"
}
diff --git a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/test/auth-token.test.js b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/test/auth-token.test.js
index 9f06a997e..824d1bf92 100644
--- a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/test/auth-token.test.js
+++ b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/test/auth-token.test.js
@@ -288,6 +288,56 @@ describe('auth-token', function () {
})
})
+ it('should return password defined by reference to an environment variable (with curly braces)', function (done) {
+ var environmentVariable = '__REGISTRY_PASSWORD__'
+ var content = [
+ 'registry=http://registry.foobar.cc/',
+ '//registry.foobar.cc/:username=username',
+ '//registry.foobar.cc/:_password=${' + environmentVariable + '}', ''
+ ].join('\n')
+ process.env[environmentVariable] = encodeBase64('password')
+
+ fs.writeFile(npmRcPath, content, function (err) {
+ var getAuthToken = requireUncached('../index')
+ assert(!err, err)
+ var token = getAuthToken()
+ assert.deepEqual(token, {
+ type: 'Basic',
+ username: 'username',
+ password: 'password',
+ token: 'dXNlcm5hbWU6cGFzc3dvcmQ='
+ })
+ assert.equal(decodeBase64(token.token), 'username:password')
+ delete process.env[environmentVariable]
+ done()
+ })
+ })
+
+ it('should return password defined by reference to an environment variable (without curly braces)', function (done) {
+ var environmentVariable = '__REGISTRY_PASSWORD__'
+ var content = [
+ 'registry=http://registry.foobar.cc/',
+ '//registry.foobar.cc/:username=username',
+ '//registry.foobar.cc/:_password=$' + environmentVariable, ''
+ ].join('\n')
+ process.env[environmentVariable] = encodeBase64('password')
+
+ fs.writeFile(npmRcPath, content, function (err) {
+ var getAuthToken = requireUncached('../index')
+ assert(!err, err)
+ var token = getAuthToken()
+ assert.deepEqual(token, {
+ type: 'Basic',
+ username: 'username',
+ password: 'password',
+ token: 'dXNlcm5hbWU6cGFzc3dvcmQ='
+ })
+ assert.equal(decodeBase64(token.token), 'username:password')
+ delete process.env[environmentVariable]
+ done()
+ })
+ })
+
it('should try with and without a slash at the end of registry url', function (done) {
var content = [
'registry=http://registry.foobar.eu',
diff --git a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/yarn.lock b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/yarn.lock
index 6ce953f73..23f7b13a7 100644
--- a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/yarn.lock
+++ b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-auth-token/yarn.lock
@@ -2,7 +2,11 @@
# yarn lockfile v1
-abbrev@1, abbrev@1.0.x:
+abbrev@1:
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
+
+abbrev@1.0.x:
version "1.0.9"
resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.0.9.tgz#91b4792588a7738c25f35dd6f63752a2f8776135"
@@ -16,9 +20,9 @@ acorn@^3.0.4:
version "3.3.0"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a"
-acorn@^5.0.1:
- version "5.0.3"
- resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.0.3.tgz#c460df08491463f028ccb82eab3730bf01087b3d"
+acorn@^5.2.1:
+ version "5.3.0"
+ resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.3.0.tgz#7446d39459c54fb49a80e6ee6478149b940ec822"
ajv-keywords@^1.0.0:
version "1.5.1"
@@ -51,6 +55,10 @@ ansi-regex@^2.0.0:
version "2.1.1"
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df"
+ansi-regex@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998"
+
ansi-styles@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
@@ -87,32 +95,28 @@ async@1.x, async@^1.4.0:
resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a"
babel-code-frame@^6.16.0:
- version "6.22.0"
- resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.22.0.tgz#027620bee567a88c32561574e7fd0801d33118e4"
+ version "6.26.0"
+ resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b"
dependencies:
- chalk "^1.1.0"
+ chalk "^1.1.3"
esutils "^2.0.2"
- js-tokens "^3.0.0"
+ js-tokens "^3.0.2"
-balanced-match@^0.4.1:
- version "0.4.2"
- resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838"
+balanced-match@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
-brace-expansion@^1.0.0:
- version "1.1.7"
- resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.7.tgz#3effc3c50e000531fb720eaff80f0ae8ef23cf59"
+brace-expansion@^1.1.7:
+ version "1.1.8"
+ resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292"
dependencies:
- balanced-match "^0.4.1"
+ balanced-match "^1.0.0"
concat-map "0.0.1"
browser-stdout@1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.0.tgz#f351d32969d32fa5d7a5567154263d928ae3bd1f"
-buffer-shims@~1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51"
-
builtin-modules@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f"
@@ -138,7 +142,7 @@ center-align@^0.1.1:
align-text "^0.1.3"
lazy-cache "^1.0.3"
-chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3:
+chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3:
version "1.1.3"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
dependencies:
@@ -149,8 +153,8 @@ chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3:
supports-color "^2.0.0"
circular-json@^0.3.1:
- version "0.3.1"
- resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.1.tgz#be8b36aefccde8b3ca7aa2d6afc07a37242c0d2d"
+ version "0.3.3"
+ resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.3.tgz#815c99ea84f6809529d2f45791bdf82711352d66"
cli-cursor@^1.0.1:
version "1.0.2"
@@ -159,8 +163,8 @@ cli-cursor@^1.0.1:
restore-cursor "^1.0.1"
cli-width@^2.0.0:
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.1.0.tgz#b234ca209b29ef66fc518d9b98d5847b00edf00a"
+ version "2.2.0"
+ resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639"
cliui@^2.1.0:
version "2.1.0"
@@ -214,25 +218,25 @@ debug-log@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/debug-log/-/debug-log-1.0.1.tgz#2307632d4c04382b8df8a32f70b895046d52745f"
-debug@2.2.0:
- version "2.2.0"
- resolved "https://registry.yarnpkg.com/debug/-/debug-2.2.0.tgz#f87057e995b1a1f6ae6a4960664137bc56f039da"
+debug@2.6.8:
+ version "2.6.8"
+ resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc"
dependencies:
- ms "0.7.1"
+ ms "2.0.0"
-debug@2.6.0, debug@^2.1.1, debug@^2.2.0:
- version "2.6.0"
- resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.0.tgz#bc596bcabe7617f11d9fa15361eded5608b8499b"
+debug@^2.1.1, debug@^2.2.0, debug@^2.6.8:
+ version "2.6.9"
+ resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
dependencies:
- ms "0.7.2"
+ ms "2.0.0"
decamelize@^1.0.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
deep-extend@~0.4.0:
- version "0.4.1"
- resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.1.tgz#efe4113d08085f4e6f9687759810f807469e2253"
+ version "0.4.2"
+ resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.2.tgz#48b699c27e334bf89f10892be432f6e4c7d34a7f"
deep-is@~0.1.3:
version "0.1.3"
@@ -280,26 +284,26 @@ doctrine@1.5.0, doctrine@^1.2.2:
isarray "^1.0.0"
doctrine@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.0.0.tgz#c73d8d2909d22291e1a007a395804da8b665fe63"
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d"
dependencies:
esutils "^2.0.2"
- isarray "^1.0.0"
-error-ex@^1.2.0:
+error-ex@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.1.tgz#f855a86ce61adc4e8621c3cda21e7a7612c3a8dc"
dependencies:
is-arrayish "^0.2.1"
es-abstract@^1.7.0:
- version "1.7.0"
- resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.7.0.tgz#dfade774e01bfcd97f96180298c449c8623fb94c"
+ version "1.10.0"
+ resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.10.0.tgz#1ecb36c197842a00d8ee4c2dfd8646bb97d60864"
dependencies:
es-to-primitive "^1.1.1"
- function-bind "^1.1.0"
+ function-bind "^1.1.1"
+ has "^1.0.1"
is-callable "^1.1.3"
- is-regex "^1.0.3"
+ is-regex "^1.0.4"
es-to-primitive@^1.1.1:
version "1.1.1"
@@ -309,20 +313,20 @@ es-to-primitive@^1.1.1:
is-date-object "^1.0.1"
is-symbol "^1.0.1"
-es5-ext@^0.10.14, es5-ext@^0.10.9, es5-ext@~0.10.14:
- version "0.10.15"
- resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.15.tgz#c330a5934c1ee21284a7c081a86e5fd937c91ea6"
+es5-ext@^0.10.14, es5-ext@^0.10.35, es5-ext@^0.10.9, es5-ext@~0.10.14:
+ version "0.10.38"
+ resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.38.tgz#fa7d40d65bbc9bb8a67e1d3f9cc656a00530eed3"
dependencies:
- es6-iterator "2"
- es6-symbol "~3.1"
+ es6-iterator "~2.0.3"
+ es6-symbol "~3.1.1"
-es6-iterator@2, es6-iterator@^2.0.1, es6-iterator@~2.0.1:
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.1.tgz#8e319c9f0453bf575d374940a655920e59ca5512"
+es6-iterator@^2.0.1, es6-iterator@~2.0.1, es6-iterator@~2.0.3:
+ version "2.0.3"
+ resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7"
dependencies:
d "1"
- es5-ext "^0.10.14"
- es6-symbol "^3.1"
+ es5-ext "^0.10.35"
+ es6-symbol "^3.1.1"
es6-map@^0.1.3:
version "0.1.5"
@@ -345,7 +349,7 @@ es6-set@~0.1.5:
es6-symbol "3.1.1"
event-emitter "~0.3.5"
-es6-symbol@3.1.1, es6-symbol@^3.1, es6-symbol@^3.1.1, es6-symbol@~3.1, es6-symbol@~3.1.1:
+es6-symbol@3.1.1, es6-symbol@^3.1.1, es6-symbol@~3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.1.tgz#bf00ef4fdab6ba1b46ecb7b629b4c7ed5715cc77"
dependencies:
@@ -385,9 +389,9 @@ escope@^3.6.0:
esrecurse "^4.1.0"
estraverse "^4.1.1"
-eslint-config-standard-jsx@4.0.1:
- version "4.0.1"
- resolved "https://registry.yarnpkg.com/eslint-config-standard-jsx/-/eslint-config-standard-jsx-4.0.1.tgz#cd4e463d0268e2d9e707f61f42f73f5b3333c642"
+eslint-config-standard-jsx@4.0.2:
+ version "4.0.2"
+ resolved "https://registry.yarnpkg.com/eslint-config-standard-jsx/-/eslint-config-standard-jsx-4.0.2.tgz#009e53c4ddb1e9ee70b4650ffe63a7f39f8836e1"
eslint-config-standard@10.2.1:
version "10.2.1"
@@ -402,10 +406,10 @@ eslint-import-resolver-node@^0.2.0:
resolve "^1.1.6"
eslint-module-utils@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.0.0.tgz#a6f8c21d901358759cdc35dbac1982ae1ee58bce"
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.1.1.tgz#abaec824177613b8a95b299639e1b6facf473449"
dependencies:
- debug "2.2.0"
+ debug "^2.6.8"
pkg-dir "^1.0.0"
eslint-plugin-import@~2.2.0:
@@ -424,8 +428,8 @@ eslint-plugin-import@~2.2.0:
pkg-up "^1.0.0"
eslint-plugin-node@~4.2.2:
- version "4.2.2"
- resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-4.2.2.tgz#82959ca9aed79fcbd28bb1b188d05cac04fb3363"
+ version "4.2.3"
+ resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-4.2.3.tgz#c04390ab8dbcbb6887174023d6f3a72769e63b97"
dependencies:
ignore "^3.0.11"
minimatch "^3.0.2"
@@ -492,19 +496,19 @@ eslint@~3.19.0:
user-home "^2.0.0"
espree@^3.4.0:
- version "3.4.2"
- resolved "https://registry.yarnpkg.com/espree/-/espree-3.4.2.tgz#38dbdedbedc95b8961a1fbf04734a8f6a9c8c592"
+ version "3.5.2"
+ resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.2.tgz#756ada8b979e9dcfcdb30aad8d1a9304a905e1ca"
dependencies:
- acorn "^5.0.1"
+ acorn "^5.2.1"
acorn-jsx "^3.0.0"
esprima@2.7.x, esprima@^2.7.1:
version "2.7.3"
resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581"
-esprima@^3.1.1:
- version "3.1.3"
- resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633"
+esprima@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804"
esquery@^1.0.0:
version "1.0.0"
@@ -513,24 +517,20 @@ esquery@^1.0.0:
estraverse "^4.0.0"
esrecurse@^4.1.0:
- version "4.1.0"
- resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.1.0.tgz#4713b6536adf7f2ac4f327d559e7756bff648220"
+ version "4.2.0"
+ resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.2.0.tgz#fa9568d98d3823f9a41d91e902dcab9ea6e5b163"
dependencies:
- estraverse "~4.1.0"
+ estraverse "^4.1.0"
object-assign "^4.0.1"
estraverse@^1.9.1:
version "1.9.3"
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-1.9.3.tgz#af67f2dc922582415950926091a4005d29c9bb44"
-estraverse@^4.0.0, estraverse@^4.1.1, estraverse@^4.2.0:
+estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0:
version "4.2.0"
resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13"
-estraverse@~4.1.0:
- version "4.1.1"
- resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.1.1.tgz#f6caca728933a850ef90661d0e17982ba47111a2"
-
esutils@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b"
@@ -565,8 +565,8 @@ file-entry-cache@^2.0.0:
object-assign "^4.0.1"
find-root@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/find-root/-/find-root-1.0.0.tgz#962ff211aab25c6520feeeb8d6287f8f6e95807a"
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4"
find-up@^1.0.0:
version "1.1.2"
@@ -582,8 +582,8 @@ find-up@^2.0.0:
locate-path "^2.0.0"
flat-cache@^1.2.1:
- version "1.2.2"
- resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-1.2.2.tgz#fa86714e72c21db88601761ecf2f555d1abc6b96"
+ version "1.3.0"
+ resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-1.3.0.tgz#d3030b32b38154f4e3b7e9c709f490f7ef97c481"
dependencies:
circular-json "^0.3.1"
del "^2.0.2"
@@ -598,9 +598,9 @@ fs.realpath@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
-function-bind@^1.0.2, function-bind@^1.1.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.0.tgz#16176714c801798e4e8f2cf7f7529467bb4a5771"
+function-bind@^1.0.2, function-bind@^1.1.1:
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
generate-function@^2.0.0:
version "2.0.0"
@@ -616,7 +616,7 @@ get-stdin@^5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-5.0.1.tgz#122e161591e21ff4c52530305693f20e6393a398"
-glob@7.1.1, glob@^7.0.0, glob@^7.0.3, glob@^7.0.5:
+glob@7.1.1:
version "7.1.1"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8"
dependencies:
@@ -637,9 +637,20 @@ glob@^5.0.15:
once "^1.3.0"
path-is-absolute "^1.0.0"
+glob@^7.0.0, glob@^7.0.3, glob@^7.0.5:
+ version "7.1.2"
+ resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
+ dependencies:
+ fs.realpath "^1.0.0"
+ inflight "^1.0.4"
+ inherits "2"
+ minimatch "^3.0.4"
+ once "^1.3.0"
+ path-is-absolute "^1.0.0"
+
globals@^9.14.0:
- version "9.17.0"
- resolved "https://registry.yarnpkg.com/globals/-/globals-9.17.0.tgz#0c0ca696d9b9bb694d2e5470bd37777caad50286"
+ version "9.18.0"
+ resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a"
globby@^5.0.0:
version "5.0.0"
@@ -665,8 +676,8 @@ growl@1.9.2:
resolved "https://registry.yarnpkg.com/growl/-/growl-1.9.2.tgz#0ea7743715db8d8de2c5ede1775e1b45ac85c02f"
handlebars@^4.0.1:
- version "4.0.7"
- resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.7.tgz#e97325aeb8ea0b9e12b9c4dd73c4c312ad0ede59"
+ version "4.0.11"
+ resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.11.tgz#630a35dfe0294bc281edae6ffc5d329fc7982dcc"
dependencies:
async "^1.4.0"
optimist "^0.6.1"
@@ -684,15 +695,23 @@ has-flag@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa"
+has-symbols@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44"
+
has@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/has/-/has-1.0.1.tgz#8461733f538b0837c9361e39a9ab9e9704dc2f28"
dependencies:
function-bind "^1.0.2"
+he@1.1.1:
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd"
+
ignore@^3.0.11, ignore@^3.0.9, ignore@^3.2.0:
- version "3.3.0"
- resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.0.tgz#3812d22cbe9125f2c2b4915755a1b8abd745a001"
+ version "3.3.7"
+ resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.7.tgz#612289bfb3c220e186a58118618d5be8c1bab021"
imurmurhash@^0.1.4:
version "0.1.4"
@@ -705,13 +724,13 @@ inflight@^1.0.4:
once "^1.3.0"
wrappy "1"
-inherits@2, inherits@^2.0.3, inherits@~2.0.1:
+inherits@2, inherits@^2.0.3, inherits@~2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
ini@~1.3.0:
- version "1.3.4"
- resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.4.tgz#0537cb79daf59b59a1a517dff706c86ec039162e"
+ version "1.3.5"
+ resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
inquirer@^0.12.0:
version "0.12.0"
@@ -732,16 +751,16 @@ inquirer@^0.12.0:
through "^2.3.6"
interpret@^1.0.0:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.3.tgz#cbc35c62eeee73f19ab7b10a801511401afc0f90"
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.1.0.tgz#7ed1b1410c6a0e0f78cf95d3b8440c63f78b8614"
is-arrayish@^0.2.1:
version "0.2.1"
resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"
is-buffer@^1.1.5:
- version "1.1.5"
- resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.5.tgz#1f3b26ef613b214b88cbca23cc6c01d87961eecc"
+ version "1.1.6"
+ resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
is-callable@^1.1.1, is-callable@^1.1.3:
version "1.1.3"
@@ -762,8 +781,8 @@ is-fullwidth-code-point@^2.0.0:
resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f"
is-my-json-valid@^2.10.0:
- version "2.16.0"
- resolved "https://registry.yarnpkg.com/is-my-json-valid/-/is-my-json-valid-2.16.0.tgz#f079dd9bfdae65ee2038aae8acbc86ab109e3693"
+ version "2.17.1"
+ resolved "https://registry.yarnpkg.com/is-my-json-valid/-/is-my-json-valid-2.17.1.tgz#3da98914a70a22f0a8563ef1511a246c6fc55471"
dependencies:
generate-function "^2.0.0"
generate-object-property "^1.1.0"
@@ -781,8 +800,8 @@ is-path-in-cwd@^1.0.0:
is-path-inside "^1.0.0"
is-path-inside@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.0.tgz#fc06e5a1683fbda13de667aff717bbc10a48f37f"
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036"
dependencies:
path-is-inside "^1.0.1"
@@ -790,17 +809,15 @@ is-property@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/is-property/-/is-property-1.0.2.tgz#57fe1c4e48474edd65b09911f26b1cd4095dda84"
-is-regex@^1.0.3:
+is-regex@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491"
dependencies:
has "^1.0.1"
is-resolvable@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/is-resolvable/-/is-resolvable-1.0.0.tgz#8df57c61ea2e3c501408d100fb013cf8d6e0cc62"
- dependencies:
- tryit "^1.0.1"
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/is-resolvable/-/is-resolvable-1.1.0.tgz#fb18f87ce1feb925169c9a407c19318a3206ed88"
is-symbol@^1.0.1:
version "1.0.1"
@@ -833,16 +850,20 @@ istanbul@^0.4.2:
which "^1.1.1"
wordwrap "^1.0.0"
-js-tokens@^3.0.0:
- version "3.0.1"
- resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.1.tgz#08e9f132484a2c45a30907e9dc4d5567b7f114d7"
+js-tokens@^3.0.2:
+ version "3.0.2"
+ resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
js-yaml@3.x, js-yaml@^3.5.1:
- version "3.8.3"
- resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.8.3.tgz#33a05ec481c850c8875929166fe1beb61c728766"
+ version "3.10.0"
+ resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.10.0.tgz#2e78441646bd4682e963f22b6e92823c309c62dc"
dependencies:
argparse "^1.0.7"
- esprima "^3.1.1"
+ esprima "^4.0.0"
+
+json-parse-better-errors@^1.0.1:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.1.tgz#50183cd1b2d25275de069e9e71b467ac9eab973a"
json-stable-stringify@^1.0.0, json-stable-stringify@^1.0.1:
version "1.0.1"
@@ -867,8 +888,8 @@ jsx-ast-utils@^1.3.4:
resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-1.4.1.tgz#3867213e8dd79bf1e8f2300c0cfc1efb182c0df1"
kind-of@^3.0.2:
- version "3.2.0"
- resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.0.tgz#b58abe4d5c044ad33726a8c1525b48cf891bff07"
+ version "3.2.2"
+ resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64"
dependencies:
is-buffer "^1.1.5"
@@ -883,13 +904,13 @@ levn@^0.3.0, levn@~0.3.0:
prelude-ls "~1.1.2"
type-check "~0.3.2"
-load-json-file@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8"
+load-json-file@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b"
dependencies:
graceful-fs "^4.1.2"
- parse-json "^2.2.0"
- pify "^2.0.0"
+ parse-json "^4.0.0"
+ pify "^3.0.0"
strip-bom "^3.0.0"
locate-path@^2.0.0:
@@ -958,13 +979,13 @@ longest@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097"
-"minimatch@2 || 3", minimatch@^3.0.2, minimatch@^3.0.3:
- version "3.0.3"
- resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774"
+"minimatch@2 || 3", minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4:
+ version "3.0.4"
+ resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
dependencies:
- brace-expansion "^1.0.0"
+ brace-expansion "^1.1.7"
-minimist@0.0.8, minimist@~0.0.1:
+minimist@0.0.8:
version "0.0.8"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
@@ -972,6 +993,10 @@ minimist@^1.1.0, minimist@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
+minimist@~0.0.1:
+ version "0.0.10"
+ resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"
+
mkdirp@0.5.1, mkdirp@0.5.x, mkdirp@^0.5.0, mkdirp@^0.5.1:
version "0.5.1"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
@@ -979,28 +1004,25 @@ mkdirp@0.5.1, mkdirp@0.5.x, mkdirp@^0.5.0, mkdirp@^0.5.1:
minimist "0.0.8"
mocha@^3.3.0:
- version "3.3.0"
- resolved "https://registry.yarnpkg.com/mocha/-/mocha-3.3.0.tgz#d29b7428d3f52c82e2e65df1ecb7064e1aabbfb5"
+ version "3.5.3"
+ resolved "https://registry.yarnpkg.com/mocha/-/mocha-3.5.3.tgz#1e0480fe36d2da5858d1eb6acc38418b26eaa20d"
dependencies:
browser-stdout "1.3.0"
commander "2.9.0"
- debug "2.6.0"
+ debug "2.6.8"
diff "3.2.0"
escape-string-regexp "1.0.5"
glob "7.1.1"
growl "1.9.2"
+ he "1.1.1"
json3 "3.3.2"
lodash.create "3.1.1"
mkdirp "0.5.1"
supports-color "3.1.2"
-ms@0.7.1:
- version "0.7.1"
- resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.1.tgz#9cd13c03adbff25b65effde7ce864ee952017098"
-
-ms@0.7.2:
- version "0.7.2"
- resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.2.tgz#ae25cf2512b3885a1d95d7f037868d8431124765"
+ms@2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
mute-stream@0.0.5:
version "0.0.5"
@@ -1024,17 +1046,18 @@ object-assign@^4.0.1, object-assign@^4.1.0:
version "4.1.1"
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
-object-keys@^1.0.10, object-keys@^1.0.8:
+object-keys@^1.0.11, object-keys@^1.0.8:
version "1.0.11"
resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d"
object.assign@^4.0.4:
- version "4.0.4"
- resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.0.4.tgz#b1c9cc044ef1b9fe63606fc141abbb32e14730cc"
+ version "4.1.0"
+ resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.0.tgz#968bf1100d7956bb3ca086f006f846b3bc4008da"
dependencies:
define-properties "^1.1.2"
- function-bind "^1.1.0"
- object-keys "^1.0.10"
+ function-bind "^1.1.1"
+ has-symbols "^1.0.0"
+ object-keys "^1.0.11"
once@1.x, once@^1.3.0:
version "1.4.0"
@@ -1069,8 +1092,10 @@ os-homedir@^1.0.0:
resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3"
p-limit@^1.1.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.1.0.tgz#b07ff2d9a5d88bec806035895a2bab66a27988bc"
+ version "1.2.0"
+ resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.2.0.tgz#0e92b6bedcb59f022c13d0f1949dc82d15909f1c"
+ dependencies:
+ p-try "^1.0.0"
p-locate@^2.0.0:
version "2.0.0"
@@ -1078,11 +1103,16 @@ p-locate@^2.0.0:
dependencies:
p-limit "^1.1.0"
-parse-json@^2.2.0:
- version "2.2.0"
- resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9"
+p-try@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3"
+
+parse-json@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0"
dependencies:
- error-ex "^1.2.0"
+ error-ex "^1.3.1"
+ json-parse-better-errors "^1.0.1"
path-exists@^2.0.0:
version "2.1.0"
@@ -1102,10 +1132,18 @@ path-is-inside@^1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53"
+path-parse@^1.0.5:
+ version "1.0.5"
+ resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.5.tgz#3c1adf871ea9cd6c9431b6ea2bd74a0ff055c4c1"
+
pify@^2.0.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
+pify@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176"
+
pinkie-promise@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa"
@@ -1117,11 +1155,11 @@ pinkie@^2.0.0:
resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870"
pkg-conf@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/pkg-conf/-/pkg-conf-2.0.0.tgz#071c87650403bccfb9c627f58751bfe47c067279"
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/pkg-conf/-/pkg-conf-2.1.0.tgz#2126514ca6f2abfebd168596df18ba57867f0058"
dependencies:
find-up "^2.0.0"
- load-json-file "^2.0.0"
+ load-json-file "^4.0.0"
pkg-config@^1.1.0:
version "1.1.1"
@@ -1160,8 +1198,8 @@ progress@^1.1.8:
resolved "https://registry.yarnpkg.com/progress/-/progress-1.1.8.tgz#e260c78f6161cdd9b0e56cc3e0a85de17c7a57be"
rc@^1.1.6:
- version "1.2.1"
- resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.1.tgz#2e03e8e42ee450b8cb3dce65be1bf8974e1dfd95"
+ version "1.2.4"
+ resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.4.tgz#a0f606caae2a3b862bbd0ef85482c0125b315fa3"
dependencies:
deep-extend "~0.4.0"
ini "~1.3.0"
@@ -1169,15 +1207,15 @@ rc@^1.1.6:
strip-json-comments "~2.0.1"
readable-stream@^2.2.2:
- version "2.2.9"
- resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.9.tgz#cf78ec6f4a6d1eb43d26488cac97f042e74b7fc8"
+ version "2.3.3"
+ resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c"
dependencies:
- buffer-shims "~1.0.0"
core-util-is "~1.0.0"
- inherits "~2.0.1"
+ inherits "~2.0.3"
isarray "~1.0.0"
process-nextick-args "~1.0.6"
- string_decoder "~1.0.0"
+ safe-buffer "~5.1.1"
+ string_decoder "~1.0.3"
util-deprecate "~1.0.1"
readline2@^1.0.1:
@@ -1209,10 +1247,16 @@ resolve-from@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-1.0.1.tgz#26cbfe935d1aeeeabb29bc3fe5aeb01e93d44226"
-resolve@1.1.x, resolve@^1.1.6, resolve@^1.1.7:
+resolve@1.1.x:
version "1.1.7"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
+resolve@^1.1.6, resolve@^1.1.7:
+ version "1.5.0"
+ resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.5.0.tgz#1f09acce796c9a762579f31b2c1cc4c3cddf9f36"
+ dependencies:
+ path-parse "^1.0.5"
+
restore-cursor@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-1.0.1.tgz#34661f46886327fed2991479152252df92daa541"
@@ -1227,8 +1271,8 @@ right-align@^0.1.1:
align-text "^0.1.1"
rimraf@^2.2.8:
- version "2.6.1"
- resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.1.tgz#c2338ec643df7a1b7fe5c54fa86f57428a55f33d"
+ version "2.6.2"
+ resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36"
dependencies:
glob "^7.0.5"
@@ -1246,17 +1290,17 @@ rx-lite@^3.1.2:
version "3.1.2"
resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-3.1.2.tgz#19ce502ca572665f3b647b10939f97fd1615f102"
-safe-buffer@^5.0.1:
- version "5.0.1"
- resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.0.1.tgz#d263ca54696cd8a306b5ca6551e92de57918fbe7"
+safe-buffer@^5.0.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1:
+ version "5.1.1"
+ resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853"
semver@5.3.0:
version "5.3.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f"
shelljs@^0.7.5:
- version "0.7.7"
- resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.7.tgz#b2f5c77ef97148f4b4f6e22682e10bba8667cff1"
+ version "0.7.8"
+ resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.8.tgz#decbcf874b0d1e5fb72e14b164a9683048e9acb3"
dependencies:
glob "^7.0.0"
interpret "^1.0.0"
@@ -1279,8 +1323,8 @@ source-map@~0.2.0:
amdefine ">=0.0.4"
source-map@~0.5.1:
- version "0.5.6"
- resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412"
+ version "0.5.7"
+ resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
sprintf-js@~1.0.2:
version "1.0.3"
@@ -1296,12 +1340,12 @@ standard-engine@~7.0.0:
pkg-conf "^2.0.0"
standard@^10.0.2:
- version "10.0.2"
- resolved "https://registry.yarnpkg.com/standard/-/standard-10.0.2.tgz#974c1c53cc865b075a4b576e78441e1695daaf7b"
+ version "10.0.3"
+ resolved "https://registry.yarnpkg.com/standard/-/standard-10.0.3.tgz#7869bcbf422bdeeaab689a1ffb1fea9677dd50ea"
dependencies:
eslint "~3.19.0"
eslint-config-standard "10.2.1"
- eslint-config-standard-jsx "4.0.1"
+ eslint-config-standard-jsx "4.0.2"
eslint-plugin-import "~2.2.0"
eslint-plugin-node "~4.2.2"
eslint-plugin-promise "~3.5.0"
@@ -1318,17 +1362,17 @@ string-width@^1.0.1:
strip-ansi "^3.0.0"
string-width@^2.0.0:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.0.0.tgz#635c5436cc72a6e0c387ceca278d4e2eec52687e"
+ version "2.1.1"
+ resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e"
dependencies:
is-fullwidth-code-point "^2.0.0"
- strip-ansi "^3.0.0"
+ strip-ansi "^4.0.0"
-string_decoder@~1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.0.tgz#f06f41157b664d86069f84bdbdc9b0d8ab281667"
+string_decoder@~1.0.3:
+ version "1.0.3"
+ resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab"
dependencies:
- buffer-shims "~1.0.0"
+ safe-buffer "~5.1.0"
strip-ansi@^3.0.0:
version "3.0.1"
@@ -1336,6 +1380,12 @@ strip-ansi@^3.0.0:
dependencies:
ansi-regex "^2.0.0"
+strip-ansi@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f"
+ dependencies:
+ ansi-regex "^3.0.0"
+
strip-bom@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3"
@@ -1379,10 +1429,6 @@ through@^2.3.6:
version "2.3.8"
resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5"
-tryit@^1.0.1:
- version "1.0.3"
- resolved "https://registry.yarnpkg.com/tryit/-/tryit-1.0.3.tgz#393be730a9446fd1ead6da59a014308f36c289cb"
-
type-check@~0.3.2:
version "0.3.2"
resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72"
@@ -1394,8 +1440,8 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
uglify-js@^2.6:
- version "2.8.22"
- resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.22.tgz#d54934778a8da14903fa29a326fb24c0ab51a1a0"
+ version "2.8.29"
+ resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd"
dependencies:
source-map "~0.5.1"
yargs "~3.10.0"
@@ -1421,8 +1467,8 @@ util-deprecate@~1.0.1:
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
which@^1.1.1:
- version "1.2.14"
- resolved "https://registry.yarnpkg.com/which/-/which-1.2.14.tgz#9a87c4378f03e827cecaf1acdf56c736c01c14e5"
+ version "1.3.0"
+ resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a"
dependencies:
isexe "^2.0.0"
diff --git a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/.bin/rc b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/.bin/rc
index a3f6fc7f1..48b3cda74 120000
--- a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/.bin/rc
+++ b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/.bin/rc
@@ -1 +1 @@
-../rc/index.js \ No newline at end of file
+../rc/cli.js \ No newline at end of file
diff --git a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/README.md b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/README.md
index 65a5f0687..e6522e267 100644
--- a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/README.md
+++ b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/README.md
@@ -40,7 +40,7 @@ appCfg.config // same as appCfg.configs[appCfg.configs.length - 1]
Given your application name (`appname`), rc will look in all the obvious places for configuration.
- * command line arguments (parsed by minimist)
+ * command line arguments, parsed by minimist _(e.g. `--foo baz`, also nested: `--foo.bar=baz`)_
* environment variables prefixed with `${appname}_`
* or use "\_\_" to indicate nested properties <br/> _(e.g. `appname_foo__bar__baz` => `foo.bar.baz`)_
* if you passed an option `--config file` then from that file
@@ -59,7 +59,7 @@ so that sources **earlier** in this list override later ones.
## Configuration File Formats
-Configuration files (e.g. `.appnamerc`) may be in either [json](http://json.org/example) or [ini](http://en.wikipedia.org/wiki/INI_file) format. The example configurations below are equivalent:
+Configuration files (e.g. `.appnamerc`) may be in either [json](http://json.org/example) or [ini](http://en.wikipedia.org/wiki/INI_file) format. **No** file extension (`.json` or `.ini`) should be used. The example configurations below are equivalent:
#### Formatted as `ini`
@@ -114,6 +114,84 @@ Comments are stripped from JSON config via [strip-json-comments](https://github.
> Since ini, and env variables do not have a standard for types, your application needs be prepared for strings.
+To ensure that string representations of booleans and numbers are always converted into their proper types (especially useful if you intend to do strict `===` comparisons), consider using a module such as [parse-strings-in-object](https://github.com/anselanza/parse-strings-in-object) to wrap the config object returned from rc.
+
+
+## Simple example demonstrating precedence
+Assume you have an application like this (notice the hard-coded defaults passed to rc):
+```
+const conf = require('rc')('myapp', {
+ port: 12345,
+ mode: 'test'
+});
+
+console.log(JSON.stringify(conf, null, 2));
+```
+You also have a file `config.json`, with these contents:
+```
+{
+ "port": 9000,
+ "foo": "from config json",
+ "something": "else"
+}
+```
+And a file `.myapprc` in the same folder, with these contents:
+```
+{
+ "port": "3001",
+ "foo": "bar"
+}
+```
+Here is the expected output from various commands:
+
+`node .`
+```
+{
+ "port": "3001",
+ "mode": "test",
+ "foo": "bar",
+ "_": [],
+ "configs": [
+ "/Users/stephen/repos/conftest/.myapprc"
+ ],
+ "config": "/Users/stephen/repos/conftest/.myapprc"
+}
+```
+*Default `mode` from hard-coded object is retained, but port is overridden by `.myapprc` file (automatically found based on appname match), and `foo` is added.*
+
+
+`node . --foo baz`
+```
+{
+ "port": "3001",
+ "mode": "test",
+ "foo": "baz",
+ "_": [],
+ "configs": [
+ "/Users/stephen/repos/conftest/.myapprc"
+ ],
+ "config": "/Users/stephen/repos/conftest/.myapprc"
+}
+```
+*Same result as above but `foo` is overridden because command-line arguments take precedence over `.myapprc` file.*
+
+`node . --foo barbar --config config.json`
+```
+{
+ "port": 9000,
+ "mode": "test",
+ "foo": "barbar",
+ "something": "else",
+ "_": [],
+ "config": "config.json",
+ "configs": [
+ "/Users/stephen/repos/conftest/.myapprc",
+ "config.json"
+ ]
+}
+```
+*Now the `port` comes from the `config.json` file specified (overriding the value from `.myapprc`), and `foo` value is overriden by command-line despite also being specified in the `config.json` file.*
+
## Advanced Usage
diff --git a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/cli.js b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/cli.js
new file mode 100755
index 000000000..ab05b6072
--- /dev/null
+++ b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/cli.js
@@ -0,0 +1,4 @@
+#! /usr/bin/env node
+var rc = require('./index')
+
+console.log(JSON.stringify(rc(process.argv[2]), false, 2))
diff --git a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/index.js b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/index.js
index 6f8f1139d..65eb47afe 100755
--- a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/index.js
+++ b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/index.js
@@ -1,4 +1,3 @@
-#! /usr/bin/env node
var cc = require('./lib/utils')
var join = require('path').join
var deepExtend = require('deep-extend')
@@ -52,9 +51,3 @@ module.exports = function (name, defaults, argv, parse) {
configFiles.length ? {configs: configFiles, config: configFiles[configFiles.length - 1]} : undefined,
]))
}
-
-if(!module.parent) {
- console.log(
- JSON.stringify(module.exports(process.argv[2]), false, 2)
- )
-}
diff --git a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/package.json b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/package.json
index c1b93bcdf..0d21f6f8a 100644
--- a/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/package.json
+++ b/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url/node_modules/rc/package.json
@@ -1,7 +1,8 @@
{
"_from": "rc@^1.0.1",
- "_id": "rc@1.2.1",
- "_integrity": "sha1-LgPo5C7kULjLPc5lvhv4l04d/ZU=",
+ "_id": "rc@1.2.6",
+ "_inBundle": false,
+ "_integrity": "sha1-6xiYnG1PTxYsOZ953dKfODVWgJI=",
"_location": "/update-notifier/latest-version/package-json/registry-url/rc",
"_phantomChildren": {},
"_requested": {
@@ -17,20 +18,19 @@
"_requiredBy": [
"/update-notifier/latest-version/package-json/registry-url"
],
- "_resolved": "https://registry.npmjs.org/rc/-/rc-1.2.1.tgz",
- "_shasum": "2e03e8e42ee450b8cb3dce65be1bf8974e1dfd95",
- "_shrinkwrap": null,
+ "_resolved": "https://registry.npmjs.org/rc/-/rc-1.2.6.tgz",
+ "_shasum": "eb18989c6d4f4f162c399f79ddd29f3835568092",
"_spec": "rc@^1.0.1",
- "_where": "/Users/zkat/Documents/code/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url",
+ "_where": "/Users/rebecca/code/npm/node_modules/update-notifier/node_modules/latest-version/node_modules/package-json/node_modules/registry-url",
"author": {
"name": "Dominic Tarr",
"email": "dominic.tarr@gmail.com",
"url": "dominictarr.com"
},
"bin": {
- "rc": "./index.js"
+ "rc": "./cli.js"
},
- "browserify": "browser.js",
+ "browser": "browser.js",
"bugs": {
"url": "https://github.com/dominictarr/rc/issues"
},
@@ -43,7 +43,6 @@
},
"deprecated": false,
"description": "hardwired configuration loader",
- "devDependencies": {},
"homepage": "https://github.com/dominictarr/rc#readme",
"keywords": [
"config",
@@ -54,8 +53,6 @@
"license": "(BSD-2-Clause OR MIT OR Apache-2.0)",
"main": "index.js",
"name": "rc",
- "optionalDependencies": {},
- "peerDependencies": {},
"repository": {
"type": "git",
"url": "git+https://github.com/dominictarr/rc.git"
@@ -63,5 +60,5 @@
"scripts": {
"test": "set -e; node test/test.js; node test/ini.js; node test/nested-env-vars.js"
},
- "version": "1.2.1"
+ "version": "1.2.6"
}
diff --git a/node_modules/update-notifier/package.json b/node_modules/update-notifier/package.json
index 537142bf5..6005a08fa 100644
--- a/node_modules/update-notifier/package.json
+++ b/node_modules/update-notifier/package.json
@@ -1,43 +1,43 @@
{
- "_from": "update-notifier@2.3",
- "_id": "update-notifier@2.3.0",
+ "_from": "update-notifier@2.4.0",
+ "_id": "update-notifier@2.4.0",
"_inBundle": false,
- "_integrity": "sha1-TognpruRUUCrCTVZ1wFOPruDdFE=",
+ "_integrity": "sha1-+bTHAPv9TsEsgRWHJYd31WPYyGY=",
"_location": "/update-notifier",
"_phantomChildren": {
"graceful-fs": "4.1.11",
- "ini": "1.3.4",
- "lru-cache": "4.1.1",
+ "ini": "1.3.5",
+ "lru-cache": "4.1.2",
"path-is-inside": "1.0.2",
"safe-buffer": "5.1.1",
- "semver": "5.4.1",
+ "semver": "5.5.0",
"strip-ansi": "4.0.0",
"which": "1.3.0",
- "write-file-atomic": "2.1.0"
+ "write-file-atomic": "2.3.0"
},
"_requested": {
- "type": "range",
+ "type": "version",
"registry": true,
- "raw": "update-notifier@2.3",
+ "raw": "update-notifier@2.4.0",
"name": "update-notifier",
"escapedName": "update-notifier",
- "rawSpec": "2.3",
+ "rawSpec": "2.4.0",
"saveSpec": null,
- "fetchSpec": "2.3"
+ "fetchSpec": "2.4.0"
},
"_requiredBy": [
"#USER",
"/",
"/libnpx"
],
- "_resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-2.3.0.tgz",
- "_shasum": "4e8827a6bb915140ab093559d7014e3ebb837451",
- "_spec": "update-notifier@2.3",
- "_where": "/Users/zkat/Documents/code/npm",
+ "_resolved": "https://registry.npmjs.org/update-notifier/-/update-notifier-2.4.0.tgz",
+ "_shasum": "f9b4c700fbfd4ec12c811587258777d563d8c866",
+ "_spec": "update-notifier@2.4.0",
+ "_where": "/Users/rebecca/code/npm",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
+ "url": "https://sindresorhus.com"
},
"bugs": {
"url": "https://github.com/yeoman/update-notifier/issues"
@@ -48,6 +48,7 @@
"chalk": "^2.0.1",
"configstore": "^3.0.0",
"import-lazy": "^2.1.0",
+ "is-ci": "^1.0.10",
"is-installed-globally": "^0.1.0",
"is-npm": "^1.0.0",
"latest-version": "^3.0.0",
@@ -60,6 +61,7 @@
"ava": "*",
"clear-module": "^2.1.0",
"fixture-stdout": "^0.2.1",
+ "mock-require": "^2.0.2",
"strip-ansi": "^4.0.0",
"xo": "^0.18.2"
},
@@ -93,5 +95,5 @@
"scripts": {
"test": "xo && ava --timeout=20s"
},
- "version": "2.3.0"
+ "version": "2.4.0"
}
diff --git a/node_modules/update-notifier/readme.md b/node_modules/update-notifier/readme.md
index 99e73976e..691094931 100644
--- a/node_modules/update-notifier/readme.md
+++ b/node_modules/update-notifier/readme.md
@@ -23,7 +23,7 @@ $ npm install update-notifier
```
-## Usafe
+## Usage
### Simple
@@ -159,6 +159,8 @@ Users of your module have the ability to opt-out of the update notifier by chang
Users can also opt-out by [setting the environment variable](https://github.com/sindresorhus/guides/blob/master/set-environment-variables.md) `NO_UPDATE_NOTIFIER` with any value or by using the `--no-update-notifier` flag on a per run basis.
+The check is also skipped on CI automatically.
+
## About
@@ -172,7 +174,7 @@ There are a bunch projects using it:
- [npm](https://github.com/npm/npm) - Package manager for JavaScript
- [Yeoman](http://yeoman.io) - Modern workflows for modern webapps
- [AVA](https://ava.li) - Simple concurrent test runner
-- [XO](https://github.com/sindresorhus/xo) - JavaScript happiness style linter
+- [XO](https://github.com/xojs/xo) - JavaScript happiness style linter
- [Pageres](https://github.com/sindresorhus/pageres) - Capture website screenshots
- [Node GH](http://nodegh.io) - GitHub command line tool
@@ -181,4 +183,4 @@ There are a bunch projects using it:
## License
-[BSD license](http://opensource.org/licenses/bsd-license.php) and copyright Google
+BSD-2-Clause © Google