From 1e6c969a21be7c5bfc1bbb3b99dfabfa3f72fb2c Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Mon, 26 Jun 2017 16:24:01 -0700 Subject: npmlog@4.1.2 --- node_modules/npmlog/log.js | 7 ++++++- node_modules/npmlog/package.json | 23 +++++++++++------------ package-lock.json | 6 +++--- package.json | 2 +- 4 files changed, 21 insertions(+), 17 deletions(-) diff --git a/node_modules/npmlog/log.js b/node_modules/npmlog/log.js index 17c8ac921..341f3313a 100644 --- a/node_modules/npmlog/log.js +++ b/node_modules/npmlog/log.js @@ -182,7 +182,12 @@ log.log = function (lvl, prefix, message) { // resolve stack traces to a plain string. if (typeof arg === 'object' && arg && (arg instanceof Error) && arg.stack) { - Object.defineProperty(arg, 'stack', arg.stack = stack = arg.stack + '') + + Object.defineProperty(arg, 'stack', { + value: stack = arg.stack + '', + enumerable: true, + writable: true + }) } } if (stack) a.unshift(stack + '\n') diff --git a/node_modules/npmlog/package.json b/node_modules/npmlog/package.json index 2ec70b440..901eedaba 100644 --- a/node_modules/npmlog/package.json +++ b/node_modules/npmlog/package.json @@ -1,24 +1,23 @@ { - "_from": "npmlog@4.1.1", - "_id": "npmlog@4.1.1", + "_from": "npmlog@4.1.2", + "_id": "npmlog@4.1.2", "_inBundle": false, - "_integrity": "sha512-iiAM9qm23XbN/IaaX6zX5pXxFALOjsjq0K4YhrrtBMh6KxrezMv1oPMwfFgqIcgykw/uey7Thg4yWWOcFjeZxw==", + "_integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", "_location": "/npmlog", "_phantomChildren": { "aproba": "1.1.2", "has-unicode": "2.0.1", - "readable-stream": "2.2.10", - "strip-ansi": "3.0.1" + "readable-stream": "2.3.2" }, "_requested": { "type": "version", "registry": true, - "raw": "npmlog@4.1.1", + "raw": "npmlog@4.1.2", "name": "npmlog", "escapedName": "npmlog", - "rawSpec": "4.1.1", + "rawSpec": "4.1.2", "saveSpec": null, - "fetchSpec": "4.1.1" + "fetchSpec": "4.1.2" }, "_requiredBy": [ "#USER", @@ -26,9 +25,9 @@ "/node-gyp", "/npm-registry-client" ], - "_resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.1.tgz", - "_shasum": "301349a832a751633ff63a42a230a6e7ecf02c6e", - "_spec": "npmlog@4.1.1", + "_resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "_shasum": "08a7f2a8bf734604779a9efa4ad5cc717abb954b", + "_spec": "npmlog@4.1.2", "_where": "/Users/rebecca/code/npm", "author": { "name": "Isaac Z. Schlueter", @@ -65,5 +64,5 @@ "scripts": { "test": "standard && tap test/*.js" }, - "version": "4.1.1" + "version": "4.1.2" } diff --git a/package-lock.json b/package-lock.json index 672bb6b25..185384190 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1249,9 +1249,9 @@ "integrity": "sha1-jOyg9c6gTU6TUZ73LQVXp1Ei6VE=" }, "npmlog": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.1.tgz", - "integrity": "sha512-iiAM9qm23XbN/IaaX6zX5pXxFALOjsjq0K4YhrrtBMh6KxrezMv1oPMwfFgqIcgykw/uey7Thg4yWWOcFjeZxw==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", "dependencies": { "are-we-there-yet": { "version": "1.1.4", diff --git a/package.json b/package.json index b4f2ad4c2..97903e427 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.1", + "npmlog": "~4.1.2", "once": "~1.4.0", "opener": "~1.4.3", "osenv": "~0.1.4", -- cgit v1.2.3