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 +++++++++++------------ 2 files changed, 17 insertions(+), 13 deletions(-) (limited to 'node_modules/npmlog') 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" } -- cgit v1.2.3