diff options
author | Rebecca Turner <me@re-becca.org> | 2017-06-27 02:13:23 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2017-06-27 02:13:23 +0300 |
commit | 696a07f841145b5255d1d55d54910af9adbfa260 (patch) | |
tree | 8358824c674f5c1b89f76dc522d4369d9a88c1a0 | |
parent | 614b6df3dc16352379e6f3579e49bc85ae979011 (diff) |
npmlog@4.1.1
-rw-r--r-- | node_modules/npmlog/log.js | 2 | ||||
-rw-r--r-- | node_modules/npmlog/node_modules/gauge/node_modules/wide-align/.npmignore | 5 | ||||
-rw-r--r-- | node_modules/npmlog/node_modules/gauge/node_modules/wide-align/package.json | 27 | ||||
-rw-r--r-- | node_modules/npmlog/node_modules/gauge/node_modules/wide-align/test/align.js | 37 | ||||
-rw-r--r-- | node_modules/npmlog/package.json | 33 | ||||
-rw-r--r-- | package-lock.json | 12 | ||||
-rw-r--r-- | package.json | 2 |
7 files changed, 37 insertions, 81 deletions
diff --git a/node_modules/npmlog/log.js b/node_modules/npmlog/log.js index 516a4f56a..17c8ac921 100644 --- a/node_modules/npmlog/log.js +++ b/node_modules/npmlog/log.js @@ -182,7 +182,7 @@ log.log = function (lvl, prefix, message) { // resolve stack traces to a plain string. if (typeof arg === 'object' && arg && (arg instanceof Error) && arg.stack) { - arg.stack = stack = arg.stack + '' + Object.defineProperty(arg, 'stack', arg.stack = stack = arg.stack + '') } } if (stack) a.unshift(stack + '\n') diff --git a/node_modules/npmlog/node_modules/gauge/node_modules/wide-align/.npmignore b/node_modules/npmlog/node_modules/gauge/node_modules/wide-align/.npmignore deleted file mode 100644 index d1a6b0054..000000000 --- a/node_modules/npmlog/node_modules/gauge/node_modules/wide-align/.npmignore +++ /dev/null @@ -1,5 +0,0 @@ -*~ -/node_modules -.#* -/.nyc_output -/coverage diff --git a/node_modules/npmlog/node_modules/gauge/node_modules/wide-align/package.json b/node_modules/npmlog/node_modules/gauge/node_modules/wide-align/package.json index f74d76b18..517b410d9 100644 --- a/node_modules/npmlog/node_modules/gauge/node_modules/wide-align/package.json +++ b/node_modules/npmlog/node_modules/gauge/node_modules/wide-align/package.json @@ -1,7 +1,8 @@ { "_from": "wide-align@^1.1.0", - "_id": "wide-align@1.1.0", - "_integrity": "sha1-QO3egCpx/qHwcNo+YtzaLnrdlq0=", + "_id": "wide-align@1.1.2", + "_inBundle": false, + "_integrity": "sha512-ijDLlyQ7s6x1JgCLur53osjm/UXUYD9+0PbYKrBsYisYXzCxN+HC3mYDNy/dWdmf3AwqwU3CXwDCvsNgGK1S0w==", "_location": "/npmlog/gauge/wide-align", "_phantomChildren": {}, "_requested": { @@ -17,29 +18,30 @@ "_requiredBy": [ "/npmlog/gauge" ], - "_resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.0.tgz", - "_shasum": "40edde802a71fea1f070da3e62dcda2e7add96ad", - "_shrinkwrap": null, + "_resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.2.tgz", + "_shasum": "571e0f1b0604636ebc0dfc21b0339bbe31341710", "_spec": "wide-align@^1.1.0", - "_where": "/Users/zkat/Documents/code/npm/node_modules/npmlog/node_modules/gauge", + "_where": "/Users/rebecca/code/npm/node_modules/npmlog/node_modules/gauge", "author": { "name": "Rebecca Turner", "email": "me@re-becca.org", "url": "http://re-becca.org/" }, - "bin": null, "bugs": { "url": "https://github.com/iarna/wide-align/issues" }, "bundleDependencies": false, "dependencies": { - "string-width": "^1.0.1" + "string-width": "^1.0.2" }, "deprecated": false, "description": "A wide-character aware text alignment function for use on the console or with fixed width fonts.", "devDependencies": { - "tap": "^2.3.2" + "tap": "^10.3.2" }, + "files": [ + "align.js" + ], "homepage": "https://github.com/iarna/wide-align#readme", "keywords": [ "wide", @@ -52,14 +54,13 @@ "license": "ISC", "main": "align.js", "name": "wide-align", - "optionalDependencies": {}, - "peerDependencies": {}, "repository": { "type": "git", "url": "git+https://github.com/iarna/wide-align.git" }, "scripts": { - "test": "tap --coverage test/*.js" + "test": "tap --coverage test/*.js", + "version": "perl -pi -e 's/^( \"version\": $ENV{npm_config_node_version}\").*?\",/$1abc\",/' package-lock.json ; git add package-lock.json" }, - "version": "1.1.0" + "version": "1.1.2" } diff --git a/node_modules/npmlog/node_modules/gauge/node_modules/wide-align/test/align.js b/node_modules/npmlog/node_modules/gauge/node_modules/wide-align/test/align.js deleted file mode 100644 index 64e9f9dbd..000000000 --- a/node_modules/npmlog/node_modules/gauge/node_modules/wide-align/test/align.js +++ /dev/null @@ -1,37 +0,0 @@ -'use strict' -var test = require('tap').test -var align = require('..') - -test('align', function (t) { - t.is(align.center('abc', 10), ' abc ', 'center narrow') - t.is(align.center('古古古', 10), ' 古古古 ', 'center wide') - t.is(align.left('abc', 10), 'abc ', 'left narrow') - t.is(align.left('古古古', 10), '古古古 ', 'left wide') - t.is(align.right('abc', 10), ' abc', 'right narrow') - t.is(align.right('古古古', 10), ' 古古古', 'right wide') - - t.is(align.center('abc', 2), 'abc', 'center narrow overflow') - t.is(align.center('古古古', 4), '古古古', 'center wide overflow') - t.is(align.left('abc', 2), 'abc', 'left narrow overflow') - t.is(align.left('古古古', 4), '古古古', 'left wide overflow') - t.is(align.right('abc', 2), 'abc', 'right narrow overflow') - t.is(align.right('古古古', 4), '古古古', 'right wide overflow') - - t.is(align.left('', 5), ' ', 'left align nothing') - t.is(align.center('', 5), ' ', 'center align nothing') - t.is(align.right('', 5), ' ', 'right align nothing') - - t.is(align.left(' ', 5), ' ', 'left align whitespace') - t.is(align.center(' ', 5), ' ', 'center align whitespace') - t.is(align.right(' ', 5), ' ', 'right align whitespace') - - t.is(align.left(' ', 2), ' ', 'left align whitespace overflow') - t.is(align.center(' ', 2), ' ', 'center align whitespace overflow') - t.is(align.right(' ', 2), ' ', 'right align whitespace overflow') - - t.is(align.left('x ', 10), 'x ', 'left align whitespace mix') - t.is(align.center('x ', 10), ' x ', 'center align whitespace mix') - t.is(align.right('x ', 10), ' x', 'right align whitespace mix') - - t.end() -}) diff --git a/node_modules/npmlog/package.json b/node_modules/npmlog/package.json index 3f75af084..2ec70b440 100644 --- a/node_modules/npmlog/package.json +++ b/node_modules/npmlog/package.json @@ -1,23 +1,24 @@ { - "_from": "npmlog@latest", - "_id": "npmlog@4.1.0", - "_integrity": "sha512-ocolIkZYZt8UveuiDS0yAkkIjid1o7lPG8cYm05yNYzBn8ykQtaiPMEGp8fY9tKdDgm8okpdKzkvu1y9hUYugA==", + "_from": "npmlog@4.1.1", + "_id": "npmlog@4.1.1", + "_inBundle": false, + "_integrity": "sha512-iiAM9qm23XbN/IaaX6zX5pXxFALOjsjq0K4YhrrtBMh6KxrezMv1oPMwfFgqIcgykw/uey7Thg4yWWOcFjeZxw==", "_location": "/npmlog", "_phantomChildren": { - "aproba": "1.1.1", + "aproba": "1.1.2", "has-unicode": "2.0.1", - "readable-stream": "2.2.9", + "readable-stream": "2.2.10", "strip-ansi": "3.0.1" }, "_requested": { - "type": "tag", + "type": "version", "registry": true, - "raw": "npmlog@latest", + "raw": "npmlog@4.1.1", "name": "npmlog", "escapedName": "npmlog", - "rawSpec": "latest", + "rawSpec": "4.1.1", "saveSpec": null, - "fetchSpec": "latest" + "fetchSpec": "4.1.1" }, "_requiredBy": [ "#USER", @@ -25,17 +26,15 @@ "/node-gyp", "/npm-registry-client" ], - "_resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.0.tgz", - "_shasum": "dc59bee85f64f00ed424efb2af0783df25d1c0b5", - "_shrinkwrap": null, - "_spec": "npmlog@latest", - "_where": "/Users/zkat/Documents/code/npm", + "_resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.1.tgz", + "_shasum": "301349a832a751633ff63a42a230a6e7ecf02c6e", + "_spec": "npmlog@4.1.1", + "_where": "/Users/rebecca/code/npm", "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", "url": "http://blog.izs.me/" }, - "bin": null, "bugs": { "url": "https://github.com/npm/npmlog/issues" }, @@ -59,8 +58,6 @@ "license": "ISC", "main": "log.js", "name": "npmlog", - "optionalDependencies": {}, - "peerDependencies": {}, "repository": { "type": "git", "url": "git+https://github.com/npm/npmlog.git" @@ -68,5 +65,5 @@ "scripts": { "test": "standard && tap test/*.js" }, - "version": "4.1.0" + "version": "4.1.1" } diff --git a/package-lock.json b/package-lock.json index 5ca39f58e..3e6e1268c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1223,9 +1223,9 @@ "integrity": "sha1-jOyg9c6gTU6TUZ73LQVXp1Ei6VE=" }, "npmlog": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.0.tgz", - "integrity": "sha512-ocolIkZYZt8UveuiDS0yAkkIjid1o7lPG8cYm05yNYzBn8ykQtaiPMEGp8fY9tKdDgm8okpdKzkvu1y9hUYugA==", + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.1.tgz", + "integrity": "sha512-iiAM9qm23XbN/IaaX6zX5pXxFALOjsjq0K4YhrrtBMh6KxrezMv1oPMwfFgqIcgykw/uey7Thg4yWWOcFjeZxw==", "dependencies": { "are-we-there-yet": { "version": "1.1.4", @@ -1284,9 +1284,9 @@ } }, "wide-align": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.0.tgz", - "integrity": "sha1-QO3egCpx/qHwcNo+YtzaLnrdlq0=" + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.2.tgz", + "integrity": "sha512-ijDLlyQ7s6x1JgCLur53osjm/UXUYD9+0PbYKrBsYisYXzCxN+HC3mYDNy/dWdmf3AwqwU3CXwDCvsNgGK1S0w==" } } }, diff --git a/package.json b/package.json index 55706f206..fda8cb2cd 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "npm-package-arg": "~5.1.2", "npm-registry-client": "~8.4.0", "npm-user-validate": "~1.0.0", - "npmlog": "~4.1.0", + "npmlog": "~4.1.1", "once": "~1.4.0", "opener": "~1.4.3", "osenv": "~0.1.4", |