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>2017-06-27 02:24:01 +0300
committerRebecca Turner <me@re-becca.org>2017-06-27 02:24:01 +0300
commit1e6c969a21be7c5bfc1bbb3b99dfabfa3f72fb2c (patch)
tree6a9649a76f8c6abea9491198f2b44b922af1bf33 /node_modules/npmlog
parent9e5b76140ffdb7dcd12aa402793644213fb8c5d7 (diff)
npmlog@4.1.2
Diffstat (limited to 'node_modules/npmlog')
-rw-r--r--node_modules/npmlog/log.js7
-rw-r--r--node_modules/npmlog/package.json23
2 files changed, 17 insertions, 13 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"
}