diff options
author | Rebecca Turner <me@re-becca.org> | 2016-11-18 00:13:33 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2016-11-18 01:38:51 +0300 |
commit | 1011ec61230288c827a1c256735c55cf03d6228f (patch) | |
tree | 0c3071db28ee860a830be518212bb26ca8860d2c /node_modules | |
parent | 442e01e42d8a439809f6726032e3b73ac0d2b2f8 (diff) |
npmlog@4.0.1
Fix bugs where `log.progressEnabled` got out of sync with how `gauge` kept
track of these things resulting in a progressbar that couldn't be disabled.
Fixes: #14413
PR-URL: https://github.com/npm/npmlog/pull/46
Credit: @iarna
Diffstat (limited to 'node_modules')
18 files changed, 175 insertions, 280 deletions
diff --git a/node_modules/npmlog/CHANGELOG.md b/node_modules/npmlog/CHANGELOG.md index f549a1f3d..55672261d 100644 --- a/node_modules/npmlog/CHANGELOG.md +++ b/node_modules/npmlog/CHANGELOG.md @@ -1,3 +1,12 @@ +### v4.0.1 + +* Fix bugs where `log.progressEnabled` got out of sync with how `gauge` kept + track of these things resulting in a progressbar that couldn't be disabled. + +### v4.0.0 + +* Allow creating log levels that are an empty string or 0. + ### v3.1.2 * Update to `gauge@1.6.0` adding support for default values for template diff --git a/node_modules/npmlog/log.js b/node_modules/npmlog/log.js index bf894fb7a..be67567ad 100644 --- a/node_modules/npmlog/log.js +++ b/node_modules/npmlog/log.js @@ -39,6 +39,7 @@ log.disableColor = function () { log.level = 'info' log.gauge = new Gauge(stream, { + enabled: false, // no progress bars unless asked theme: {hasColor: log.useColor()}, template: [ {type: 'progressbar', length: 20}, @@ -51,8 +52,9 @@ log.gauge = new Gauge(stream, { log.tracker = new Progress.TrackerGroup() -// no progress bars unless asked -log.progressEnabled = false +// we track this separately as we may need to temporarily disable the +// display of the status bar for our own loggy purposes. +log.progressEnabled = log.gauge.isEnabled() var unicodeEnabled @@ -77,15 +79,13 @@ log.setGaugeTemplate = function (template) { log.enableProgress = function () { if (this.progressEnabled) return this.progressEnabled = true - if (this._pause) return this.tracker.on('change', this.showProgress) + if (this._pause) return this.gauge.enable() - this.showProgress() } log.disableProgress = function () { if (!this.progressEnabled) return - this.clearProgress() this.progressEnabled = false this.tracker.removeListener('change', this.showProgress) this.gauge.disable() @@ -147,6 +147,7 @@ log.showProgress = function (name, completed) { // temporarily stop emitting, but don't drop log.pause = function () { this._paused = true + if (this.progressEnabled) this.gauge.disable() } log.resume = function () { @@ -158,7 +159,7 @@ log.resume = function () { b.forEach(function (m) { this.emitLog(m) }, this) - if (this.progressEnabled) this.enableProgress() + if (this.progressEnabled) this.gauge.enable() } log._buffer = [] diff --git a/node_modules/npmlog/node_modules/gauge/CHANGELOG.md b/node_modules/npmlog/node_modules/gauge/CHANGELOG.md index efd08fc7c..e64d969fe 100644 --- a/node_modules/npmlog/node_modules/gauge/CHANGELOG.md +++ b/node_modules/npmlog/node_modules/gauge/CHANGELOG.md @@ -1,3 +1,13 @@ +### v2.7.1 + +* Bug fix: Calls to show/pulse while the progress bar is disabled should still + update our internal representation of what would be shown should it be enabled. + +### v2.7.0 + +* New feature: Add new `isEnabled` method to allow introspection of the gauge's + "enabledness" as controlled by `.enable()` and `.disable()`. + ### v2.6.0 * Bug fix: Don't run the code associated with `enable`/`disable` if the gauge diff --git a/node_modules/npmlog/node_modules/gauge/README.md b/node_modules/npmlog/node_modules/gauge/README.md index bf87d189f..bdd60e38c 100644 --- a/node_modules/npmlog/node_modules/gauge/README.md +++ b/node_modules/npmlog/node_modules/gauge/README.md @@ -145,6 +145,10 @@ Hides the gauge and ignores further calls to `show` or `pulse`. Shows the gauge and resumes updating when `show` or `pulse` is called. +#### `gauge.isEnabled()` + +Returns true if the gauge is enabled. + #### `gauge.setThemeset(themes)` Change the themeset to select a theme from. The same as the `themes` option diff --git a/node_modules/npmlog/node_modules/gauge/index.js b/node_modules/npmlog/node_modules/gauge/index.js index 7eefb9507..17b4ece06 100644 --- a/node_modules/npmlog/node_modules/gauge/index.js +++ b/node_modules/npmlog/node_modules/gauge/index.js @@ -74,6 +74,10 @@ function Gauge (arg1, arg2) { } Gauge.prototype = {} +Gauge.prototype.isEnabled = function () { + return !this._disabled +} + Gauge.prototype.setTemplate = function (template) { this._gauge.setTemplate(template) if (this._showing) this._requestRedraw() @@ -164,7 +168,6 @@ Gauge.prototype.hide = function (cb) { } Gauge.prototype.show = function (section, completed) { - if (this._disabled) return this._showing = true if (typeof section === 'string') { this._status.section = section @@ -176,14 +179,15 @@ Gauge.prototype.show = function (section, completed) { } } if (completed != null) this._status.completed = completed + if (this._disabled) return this._requestRedraw() } Gauge.prototype.pulse = function (subsection) { - if (this._disabled) return - if (!this._showing) return this._status.subsection = subsection || '' this._status.spun ++ + if (this._disabled) return + if (!this._showing) return this._requestRedraw() } diff --git a/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/index.js b/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/index.js index 033511797..0432fe6a3 100644 --- a/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/index.js +++ b/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/index.js @@ -1,6 +1,5 @@ +/* eslint-disable babel/new-cap, xo/throw-new-error */ 'use strict'; -var numberIsNan = require('number-is-nan'); - module.exports = function (str, pos) { if (str === null || str === undefined) { throw TypeError(); @@ -11,7 +10,7 @@ module.exports = function (str, pos) { var size = str.length; var i = pos ? Number(pos) : 0; - if (numberIsNan(i)) { + if (Number.isNaN(i)) { i = 0; } @@ -25,7 +24,7 @@ module.exports = function (str, pos) { var second = str.charCodeAt(i + 1); if (second >= 0xDC00 && second <= 0xDFFF) { - return (first - 0xD800) * 0x400 + second - 0xDC00 + 0x10000; + return ((first - 0xD800) * 0x400) + second - 0xDC00 + 0x10000; } } diff --git a/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/node_modules/number-is-nan/index.js b/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/node_modules/number-is-nan/index.js deleted file mode 100644 index 79be4b9cb..000000000 --- a/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/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/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/node_modules/number-is-nan/license b/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/node_modules/number-is-nan/license deleted file mode 100644 index 654d0bfe9..000000000 --- a/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/node_modules/number-is-nan/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/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/node_modules/number-is-nan/package.json b/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/node_modules/number-is-nan/package.json deleted file mode 100644 index 018bcb371..000000000 --- a/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/node_modules/number-is-nan/package.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "_args": [ - [ - "number-is-nan@^1.0.0", - "/Users/rebecca/code/npm-with-new-gauge/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at" - ] - ], - "_from": "number-is-nan@>=1.0.0 <2.0.0", - "_id": "number-is-nan@1.0.0", - "_inCache": true, - "_installable": true, - "_location": "/npmlog/gauge/string-width/code-point-at/number-is-nan", - "_nodeVersion": "0.12.3", - "_npmUser": { - "email": "sindresorhus@gmail.com", - "name": "sindresorhus" - }, - "_npmVersion": "2.10.0", - "_phantomChildren": {}, - "_requested": { - "name": "number-is-nan", - "raw": "number-is-nan@^1.0.0", - "rawSpec": "^1.0.0", - "scope": null, - "spec": ">=1.0.0 <2.0.0", - "type": "range" - }, - "_requiredBy": [ - "/npmlog/gauge/string-width/code-point-at" - ], - "_resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.0.tgz", - "_shasum": "c020f529c5282adfdd233d91d4b181c3d686dc4b", - "_shrinkwrap": null, - "_spec": "number-is-nan@^1.0.0", - "_where": "/Users/rebecca/code/npm-with-new-gauge/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at", - "author": { - "email": "sindresorhus@gmail.com", - "name": "Sindre Sorhus", - "url": "sindresorhus.com" - }, - "bugs": { - "url": "https://github.com/sindresorhus/number-is-nan/issues" - }, - "dependencies": {}, - "description": "ES6 Number.isNaN() ponyfill", - "devDependencies": { - "ava": "0.0.4" - }, - "directories": {}, - "dist": { - "shasum": "c020f529c5282adfdd233d91d4b181c3d686dc4b", - "tarball": "http://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.0.tgz" - }, - "engines": { - "node": ">=0.10.0" - }, - "files": [ - "index.js" - ], - "gitHead": "0f394b1bc33185c40304363b209e3f0588dbeeb3", - "homepage": "https://github.com/sindresorhus/number-is-nan#readme", - "keywords": [ - "es6", - "es2015", - "ecmascript", - "harmony", - "ponyfill", - "polyfill", - "shim", - "number", - "is", - "nan", - "not" - ], - "license": "MIT", - "maintainers": [ - { - "email": "sindresorhus@gmail.com", - "name": "sindresorhus" - } - ], - "name": "number-is-nan", - "optionalDependencies": {}, - "readme": "ERROR: No README data found!", - "repository": { - "type": "git", - "url": "git+https://github.com/sindresorhus/number-is-nan.git" - }, - "scripts": { - "test": "node test.js" - }, - "version": "1.0.0" -} diff --git a/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/node_modules/number-is-nan/readme.md b/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/node_modules/number-is-nan/readme.md deleted file mode 100644 index 93d851a14..000000000 --- a/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/node_modules/number-is-nan/readme.md +++ /dev/null @@ -1,30 +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) - -> ES6 [`Number.isNaN()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN) ponyfill - -> Ponyfill: A polyfill that doesn't overwrite the native method - - -## 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/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/package.json b/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/package.json index 4c1430d8e..dd1f05b6a 100644 --- a/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/package.json +++ b/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/package.json @@ -1,57 +1,68 @@ { "_args": [ [ - "code-point-at@^1.0.0", - "/Users/rebecca/code/npm-with-new-gauge/node_modules/npmlog/node_modules/gauge/node_modules/string-width" + { + "raw": "code-point-at@^1.0.0", + "scope": null, + "escapedName": "code-point-at", + "name": "code-point-at", + "rawSpec": "^1.0.0", + "spec": ">=1.0.0 <2.0.0", + "type": "range" + }, + "/Users/rebecca/code/npm-latest/node_modules/npmlog/node_modules/gauge/node_modules/string-width" ] ], "_from": "code-point-at@>=1.0.0 <2.0.0", - "_id": "code-point-at@1.0.0", + "_id": "code-point-at@1.1.0", "_inCache": true, - "_installable": true, "_location": "/npmlog/gauge/string-width/code-point-at", - "_nodeVersion": "0.12.5", + "_nodeVersion": "4.6.1", + "_npmOperationalInternal": { + "host": "packages-12-west.internal.npmjs.com", + "tmp": "tmp/code-point-at-1.1.0.tgz_1478169780337_0.8445875702891499" + }, "_npmUser": { - "email": "sindresorhus@gmail.com", - "name": "sindresorhus" + "name": "sindresorhus", + "email": "sindresorhus@gmail.com" }, - "_npmVersion": "2.11.2", + "_npmVersion": "2.15.9", "_phantomChildren": {}, "_requested": { - "name": "code-point-at", "raw": "code-point-at@^1.0.0", - "rawSpec": "^1.0.0", "scope": null, + "escapedName": "code-point-at", + "name": "code-point-at", + "rawSpec": "^1.0.0", "spec": ">=1.0.0 <2.0.0", "type": "range" }, "_requiredBy": [ "/npmlog/gauge/string-width" ], - "_resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.0.0.tgz", - "_shasum": "f69b192d3f7d91e382e4b71bddb77878619ab0c6", + "_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/rebecca/code/npm-with-new-gauge/node_modules/npmlog/node_modules/gauge/node_modules/string-width", + "_where": "/Users/rebecca/code/npm-latest/node_modules/npmlog/node_modules/gauge/node_modules/string-width", "author": { - "email": "sindresorhus@gmail.com", "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "bugs": { "url": "https://github.com/sindresorhus/code-point-at/issues" }, - "dependencies": { - "number-is-nan": "^1.0.0" - }, - "description": "ES2015 String#codePointAt() ponyfill", + "dependencies": {}, + "description": "ES2015 `String#codePointAt()` ponyfill", "devDependencies": { - "ava": "0.0.4" + "ava": "*", + "xo": "^0.16.0" }, "directories": {}, "dist": { - "shasum": "f69b192d3f7d91e382e4b71bddb77878619ab0c6", - "tarball": "http://registry.npmjs.org/code-point-at/-/code-point-at-1.0.0.tgz" + "shasum": "0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77", + "tarball": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz" }, "engines": { "node": ">=0.10.0" @@ -59,11 +70,10 @@ "files": [ "index.js" ], - "gitHead": "c2ffa4064718b37c84c73a633abeeed5b486a469", - "homepage": "https://github.com/sindresorhus/code-point-at", + "gitHead": "f8f21c8df2d40248fef1b36ca9076e59c0c34791", + "homepage": "https://github.com/sindresorhus/code-point-at#readme", "keywords": [ "es2015", - "es6", "ponyfill", "polyfill", "shim", @@ -78,8 +88,8 @@ "license": "MIT", "maintainers": [ { - "email": "sindresorhus@gmail.com", - "name": "sindresorhus" + "name": "sindresorhus", + "email": "sindresorhus@gmail.com" } ], "name": "code-point-at", @@ -90,7 +100,7 @@ "url": "git+https://github.com/sindresorhus/code-point-at.git" }, "scripts": { - "test": "node test.js" + "test": "xo && ava" }, - "version": "1.0.0" + "version": "1.1.0" } diff --git a/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/readme.md b/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/readme.md index 71e7d0931..4c97730e6 100644 --- a/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/readme.md +++ b/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at/readme.md @@ -1,8 +1,6 @@ # 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 - -> Ponyfill: A polyfill that doesn't overwrite the native method +> ES2015 [`String#codePointAt()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/codePointAt) [ponyfill](https://ponyfill.com) ## Install @@ -31,4 +29,4 @@ codePointAt('abc', 2); ## License -MIT © [Sindre Sorhus](http://sindresorhus.com) +MIT © [Sindre Sorhus](https://sindresorhus.com) diff --git a/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/package.json b/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/package.json index 287e697c3..5430e54f9 100644 --- a/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/package.json +++ b/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/package.json @@ -1,59 +1,67 @@ { "_args": [ [ - "number-is-nan@^1.0.0", - "/Users/rebecca/code/npm-with-new-gauge/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/code-point-at" - ], - [ - "number-is-nan@^1.0.0", - "/Users/rebecca/code/npm-with-new-gauge/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point" + { + "raw": "number-is-nan@^1.0.0", + "scope": null, + "escapedName": "number-is-nan", + "name": "number-is-nan", + "rawSpec": "^1.0.0", + "spec": ">=1.0.0 <2.0.0", + "type": "range" + }, + "/Users/rebecca/code/npm-latest/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point" ] ], - "_from": "number-is-nan@^1.0.0", - "_id": "number-is-nan@1.0.0", + "_from": "number-is-nan@>=1.0.0 <2.0.0", + "_id": "number-is-nan@1.0.1", "_inCache": true, - "_installable": true, "_location": "/npmlog/gauge/string-width/is-fullwidth-code-point/number-is-nan", - "_nodeVersion": "0.12.3", + "_nodeVersion": "4.5.0", + "_npmOperationalInternal": { + "host": "packages-12-west.internal.npmjs.com", + "tmp": "tmp/number-is-nan-1.0.1.tgz_1475212313367_0.9480371843092144" + }, "_npmUser": { - "email": "sindresorhus@gmail.com", - "name": "sindresorhus" + "name": "sindresorhus", + "email": "sindresorhus@gmail.com" }, - "_npmVersion": "2.10.0", + "_npmVersion": "2.15.9", "_phantomChildren": {}, "_requested": { - "name": "number-is-nan", "raw": "number-is-nan@^1.0.0", - "rawSpec": "^1.0.0", "scope": null, + "escapedName": "number-is-nan", + "name": "number-is-nan", + "rawSpec": "^1.0.0", "spec": ">=1.0.0 <2.0.0", "type": "range" }, "_requiredBy": [ "/npmlog/gauge/string-width/is-fullwidth-code-point" ], - "_resolved": "http://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.0.tgz", - "_shasum": "c020f529c5282adfdd233d91d4b181c3d686dc4b", + "_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/rebecca/code/npm-with-new-gauge/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point", + "_where": "/Users/rebecca/code/npm-latest/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point", "author": { - "email": "sindresorhus@gmail.com", "name": "Sindre Sorhus", + "email": "sindresorhus@gmail.com", "url": "sindresorhus.com" }, "bugs": { "url": "https://github.com/sindresorhus/number-is-nan/issues" }, "dependencies": {}, - "description": "ES6 Number.isNaN() ponyfill", + "description": "ES2015 Number.isNaN() ponyfill", "devDependencies": { - "ava": "0.0.4" + "ava": "*" }, "directories": {}, "dist": { - "shasum": "c020f529c5282adfdd233d91d4b181c3d686dc4b", - "tarball": "http://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.0.tgz" + "shasum": "097b602b53422a522c1afb8790318336941a011d", + "tarball": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz" }, "engines": { "node": ">=0.10.0" @@ -61,13 +69,11 @@ "files": [ "index.js" ], - "gitHead": "0f394b1bc33185c40304363b209e3f0588dbeeb3", + "gitHead": "ed9cdac3f428cc929b61bb230da42c87477af4b9", "homepage": "https://github.com/sindresorhus/number-is-nan#readme", "keywords": [ - "es6", "es2015", "ecmascript", - "harmony", "ponyfill", "polyfill", "shim", @@ -79,8 +85,8 @@ "license": "MIT", "maintainers": [ { - "email": "sindresorhus@gmail.com", - "name": "sindresorhus" + "name": "sindresorhus", + "email": "sindresorhus@gmail.com" } ], "name": "number-is-nan", @@ -91,7 +97,7 @@ "url": "git+https://github.com/sindresorhus/number-is-nan.git" }, "scripts": { - "test": "node test.js" + "test": "ava" }, - "version": "1.0.0" + "version": "1.0.1" } diff --git a/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/readme.md b/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/readme.md index 93d851a14..246350871 100644 --- a/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/readme.md +++ b/node_modules/npmlog/node_modules/gauge/node_modules/string-width/node_modules/is-fullwidth-code-point/node_modules/number-is-nan/readme.md @@ -1,8 +1,6 @@ # number-is-nan [![Build Status](https://travis-ci.org/sindresorhus/number-is-nan.svg?branch=master)](https://travis-ci.org/sindresorhus/number-is-nan) -> ES6 [`Number.isNaN()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN) ponyfill - -> Ponyfill: A polyfill that doesn't overwrite the native method +> ES2015 [`Number.isNaN()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isNaN) [ponyfill](https://ponyfill.com) ## Install diff --git a/node_modules/npmlog/node_modules/gauge/package.json b/node_modules/npmlog/node_modules/gauge/package.json index 846a27e8a..9ab6582b5 100644 --- a/node_modules/npmlog/node_modules/gauge/package.json +++ b/node_modules/npmlog/node_modules/gauge/package.json @@ -2,53 +2,54 @@ "_args": [ [ { - "name": "gauge", - "raw": "gauge@~2.6.0", - "rawSpec": "~2.6.0", + "raw": "gauge@~2.7.1", "scope": null, - "spec": ">=2.6.0 <2.7.0", + "escapedName": "gauge", + "name": "gauge", + "rawSpec": "~2.7.1", + "spec": ">=2.7.1 <2.8.0", "type": "range" }, - "/Users/rebecca/code/npm/node_modules/npmlog" + "/Users/rebecca/code/npm-latest/node_modules/npmlog" ] ], - "_from": "gauge@>=2.6.0 <2.7.0", - "_id": "gauge@2.6.0", + "_from": "gauge@>=2.7.1 <2.8.0", + "_id": "gauge@2.7.1", "_inCache": true, - "_installable": true, "_location": "/npmlog/gauge", - "_nodeVersion": "4.4.0", + "_nodeVersion": "6.9.1", "_npmOperationalInternal": { - "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/gauge-2.6.0.tgz_1466067371972_0.20705468393862247" + "host": "packages-18-east.internal.npmjs.com", + "tmp": "tmp/gauge-2.7.1.tgz_1478210591065_0.5937802786938846" }, "_npmUser": { - "email": "me@re-becca.org", - "name": "iarna" + "name": "iarna", + "email": "me@re-becca.org" }, - "_npmVersion": "3.9.2", + "_npmVersion": "4.0.0", "_phantomChildren": { "strip-ansi": "3.0.1" }, "_requested": { - "name": "gauge", - "raw": "gauge@~2.6.0", - "rawSpec": "~2.6.0", + "raw": "gauge@~2.7.1", "scope": null, - "spec": ">=2.6.0 <2.7.0", + "escapedName": "gauge", + "name": "gauge", + "rawSpec": "~2.7.1", + "spec": ">=2.7.1 <2.8.0", "type": "range" }, "_requiredBy": [ "/npmlog" ], - "_resolved": "https://registry.npmjs.org/gauge/-/gauge-2.6.0.tgz", - "_shasum": "d35301ad18e96902b4751dcbbe40f4218b942a46", + "_resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.1.tgz", + "_shasum": "388473894fe8be5e13ffcdb8b93e4ed0616428c7", "_shrinkwrap": null, - "_spec": "gauge@~2.6.0", - "_where": "/Users/rebecca/code/npm/node_modules/npmlog", + "_spec": "gauge@~2.7.1", + "_where": "/Users/rebecca/code/npm-latest/node_modules/npmlog", "author": { - "email": "me@re-becca.org", - "name": "Rebecca Turner" + "name": "Rebecca Turner", + "email": "me@re-becca.org" }, "bugs": { "url": "https://github.com/iarna/gauge/issues" @@ -74,8 +75,8 @@ }, "directories": {}, "dist": { - "shasum": "d35301ad18e96902b4751dcbbe40f4218b942a46", - "tarball": "https://registry.npmjs.org/gauge/-/gauge-2.6.0.tgz" + "shasum": "388473894fe8be5e13ffcdb8b93e4ed0616428c7", + "tarball": "https://registry.npmjs.org/gauge/-/gauge-2.7.1.tgz" }, "files": [ "base-theme.js", @@ -98,7 +99,7 @@ "themes.js", "wide-truncate.js" ], - "gitHead": "d51040a71c269432c16cc542143f403a831630e6", + "gitHead": "d7ac37af0a44af2315656fb73f76f6bca03d084e", "homepage": "https://github.com/iarna/gauge", "keywords": [ "progressbar", @@ -109,8 +110,8 @@ "main": "index.js", "maintainers": [ { - "email": "me@re-becca.org", - "name": "iarna" + "name": "iarna", + "email": "me@re-becca.org" } ], "name": "gauge", @@ -121,7 +122,8 @@ "url": "git+https://github.com/iarna/gauge.git" }, "scripts": { + "prepublish": "rm -f *~", "test": "standard && tap test/*.js --coverage" }, - "version": "2.6.0" + "version": "2.7.1" } diff --git a/node_modules/npmlog/node_modules/gauge/template-item.js b/node_modules/npmlog/node_modules/gauge/template-item.js index 4f02fefaa..e46f447c9 100644 --- a/node_modules/npmlog/node_modules/gauge/template-item.js +++ b/node_modules/npmlog/node_modules/gauge/template-item.js @@ -70,3 +70,4 @@ TemplateItem.prototype.getMinLength = function () { if (this.minLength == null) return null return this.minLength + this.padLeft + this.padRight } + diff --git a/node_modules/npmlog/node_modules/gauge/theme-set.js b/node_modules/npmlog/node_modules/gauge/theme-set.js index c022d61cf..68971d5d2 100644 --- a/node_modules/npmlog/node_modules/gauge/theme-set.js +++ b/node_modules/npmlog/node_modules/gauge/theme-set.js @@ -112,3 +112,4 @@ ThemeSetProto.newThemeSet = function () { defaults: JSON.parse(JSON.stringify(this.defaults || {})) }) } + diff --git a/node_modules/npmlog/package.json b/node_modules/npmlog/package.json index 3f314d791..1a2fd8b02 100644 --- a/node_modules/npmlog/package.json +++ b/node_modules/npmlog/package.json @@ -2,55 +2,55 @@ "_args": [ [ { - "raw": "npmlog@4.0.0", + "raw": "npmlog@4.0.1", "scope": null, "escapedName": "npmlog", "name": "npmlog", - "rawSpec": "4.0.0", - "spec": "4.0.0", + "rawSpec": "4.0.1", + "spec": "4.0.1", "type": "version" }, - "/Users/zkat/Documents/code/npm" + "/Users/rebecca/code/npm-latest" ] ], - "_from": "npmlog@4.0.0", - "_id": "npmlog@4.0.0", + "_from": "npmlog@4.0.1", + "_id": "npmlog@4.0.1", "_inCache": true, "_location": "/npmlog", - "_nodeVersion": "5.10.1", + "_nodeVersion": "7.1.0", "_npmOperationalInternal": { "host": "packages-12-west.internal.npmjs.com", - "tmp": "tmp/npmlog-4.0.0.tgz_1468888150556_0.3835553650278598" + "tmp": "tmp/npmlog-4.0.1.tgz_1479345245313_0.32757814647629857" }, "_npmUser": { - "name": "zkat", - "email": "kat@sykosomatic.org" + "name": "iarna", + "email": "me@re-becca.org" }, - "_npmVersion": "3.10.4", + "_npmVersion": "3.10.10", "_phantomChildren": { "aproba": "1.0.4", "has-unicode": "2.0.1", - "readable-stream": "2.1.4", + "readable-stream": "2.2.2", "strip-ansi": "3.0.1" }, "_requested": { - "raw": "npmlog@4.0.0", + "raw": "npmlog@4.0.1", "scope": null, "escapedName": "npmlog", "name": "npmlog", - "rawSpec": "4.0.0", - "spec": "4.0.0", + "rawSpec": "4.0.1", + "spec": "4.0.1", "type": "version" }, "_requiredBy": [ "#USER", "/" ], - "_resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.0.0.tgz", - "_shasum": "e094503961c70c1774eb76692080e8d578a9f88f", + "_resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.0.1.tgz", + "_shasum": "d14f503b4cd79710375553004ba96e6662fbc0b8", "_shrinkwrap": null, - "_spec": "npmlog@4.0.0", - "_where": "/Users/zkat/Documents/code/npm", + "_spec": "npmlog@4.0.1", + "_where": "/Users/rebecca/code/npm-latest", "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", @@ -62,7 +62,7 @@ "dependencies": { "are-we-there-yet": "~1.1.2", "console-control-strings": "~1.1.0", - "gauge": "~2.6.0", + "gauge": "~2.7.1", "set-blocking": "~2.0.0" }, "description": "logger for npm", @@ -72,13 +72,13 @@ }, "directories": {}, "dist": { - "shasum": "e094503961c70c1774eb76692080e8d578a9f88f", - "tarball": "https://registry.npmjs.org/npmlog/-/npmlog-4.0.0.tgz" + "shasum": "d14f503b4cd79710375553004ba96e6662fbc0b8", + "tarball": "https://registry.npmjs.org/npmlog/-/npmlog-4.0.1.tgz" }, "files": [ "log.js" ], - "gitHead": "3ca8823fdfa66f54c72adde3fd2c4e0237e6302b", + "gitHead": "c027c276f6f7e6c8d808767b0d611555e3ef5f61", "homepage": "https://github.com/npm/npmlog#readme", "license": "ISC", "main": "log.js", @@ -110,5 +110,5 @@ "scripts": { "test": "standard && tap test/*.js" }, - "version": "4.0.0" + "version": "4.0.1" } |