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:
Diffstat (limited to 'node_modules/npmlog/package.json')
-rw-r--r--node_modules/npmlog/package.json76
1 files changed, 15 insertions, 61 deletions
diff --git a/node_modules/npmlog/package.json b/node_modules/npmlog/package.json
index 578444aa4..f2f81a4bd 100644
--- a/node_modules/npmlog/package.json
+++ b/node_modules/npmlog/package.json
@@ -1,32 +1,8 @@
{
- "_args": [
- [
- {
- "raw": "npmlog@4.0.2",
- "scope": null,
- "escapedName": "npmlog",
- "name": "npmlog",
- "rawSpec": "4.0.2",
- "spec": "4.0.2",
- "type": "version"
- },
- "/Users/rebecca/code/npm"
- ]
- ],
- "_from": "npmlog@4.0.2",
+ "_from": "npmlog@~4.0.2",
"_id": "npmlog@4.0.2",
- "_inCache": true,
+ "_integrity": "sha1-0DlQ4OeM4VJ7om0qdZLpNIrD518=",
"_location": "/npmlog",
- "_nodeVersion": "7.2.0",
- "_npmOperationalInternal": {
- "host": "packages-12-west.internal.npmjs.com",
- "tmp": "tmp/npmlog-4.0.2.tgz_1481572338217_0.2948465726803988"
- },
- "_npmUser": {
- "name": "othiym23",
- "email": "ogd@aoaioxxysz.net"
- },
- "_npmVersion": "4.0.5",
"_phantomChildren": {
"aproba": "1.1.1",
"has-unicode": "2.0.1",
@@ -34,16 +10,16 @@
"strip-ansi": "3.0.1"
},
"_requested": {
- "raw": "npmlog@4.0.2",
- "scope": null,
- "escapedName": "npmlog",
+ "type": "range",
+ "registry": true,
+ "raw": "npmlog@~4.0.2",
"name": "npmlog",
- "rawSpec": "4.0.2",
- "spec": "4.0.2",
- "type": "version"
+ "escapedName": "npmlog",
+ "rawSpec": "~4.0.2",
+ "saveSpec": null,
+ "fetchSpec": "~4.0.2"
},
"_requiredBy": [
- "#USER",
"/",
"/node-gyp",
"/npm-registry-client"
@@ -51,61 +27,39 @@
"_resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.0.2.tgz",
"_shasum": "d03950e0e78ce1527ba26d2a7592e9348ac3e75f",
"_shrinkwrap": null,
- "_spec": "npmlog@4.0.2",
- "_where": "/Users/rebecca/code/npm",
+ "_spec": "npmlog@~4.0.2",
+ "_where": "/Users/zkat/Documents/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"
},
+ "bundleDependencies": false,
"dependencies": {
"are-we-there-yet": "~1.1.2",
"console-control-strings": "~1.1.0",
"gauge": "~2.7.1",
"set-blocking": "~2.0.0"
},
+ "deprecated": false,
"description": "logger for npm",
"devDependencies": {
"standard": "~7.1.2",
"tap": "~5.7.0"
},
- "directories": {},
- "dist": {
- "shasum": "d03950e0e78ce1527ba26d2a7592e9348ac3e75f",
- "tarball": "https://registry.npmjs.org/npmlog/-/npmlog-4.0.2.tgz"
- },
"files": [
"log.js"
],
- "gitHead": "a3b7aed07790b674aa1fecfc81a61481abeaf882",
"homepage": "https://github.com/npm/npmlog#readme",
"license": "ISC",
"main": "log.js",
- "maintainers": [
- {
- "name": "iarna",
- "email": "me@re-becca.org"
- },
- {
- "name": "isaacs",
- "email": "i@izs.me"
- },
- {
- "name": "othiym23",
- "email": "ogd@aoaioxxysz.net"
- },
- {
- "name": "zkat",
- "email": "kat@sykosomatic.org"
- }
- ],
"name": "npmlog",
"optionalDependencies": {},
- "readme": "# npmlog\n\nThe logger util that npm uses.\n\nThis logger is very basic. It does the logging for npm. It supports\ncustom levels and colored output.\n\nBy default, logs are written to stderr. If you want to send log messages\nto outputs other than streams, then you can change the `log.stream`\nmember, or you can just listen to the events that it emits, and do\nwhatever you want with them.\n\n# Installation\n\n```console\nnpm install npmlog --save\n```\n\n# Basic Usage\n\n```javascript\nvar log = require('npmlog')\n\n// additional stuff ---------------------------+\n// message ----------+ |\n// prefix ----+ | |\n// level -+ | | |\n// v v v v\n log.info('fyi', 'I have a kitty cat: %j', myKittyCat)\n```\n\n## log.level\n\n* {String}\n\nThe level to display logs at. Any logs at or above this level will be\ndisplayed. The special level `silent` will prevent anything from being\ndisplayed ever.\n\n## log.record\n\n* {Array}\n\nAn array of all the log messages that have been entered.\n\n## log.maxRecordSize\n\n* {Number}\n\nThe maximum number of records to keep. If log.record gets bigger than\n10% over this value, then it is sliced down to 90% of this value.\n\nThe reason for the 10% window is so that it doesn't have to resize a\nlarge array on every log entry.\n\n## log.prefixStyle\n\n* {Object}\n\nA style object that specifies how prefixes are styled. (See below)\n\n## log.headingStyle\n\n* {Object}\n\nA style object that specifies how the heading is styled. (See below)\n\n## log.heading\n\n* {String} Default: \"\"\n\nIf set, a heading that is printed at the start of every line.\n\n## log.stream\n\n* {Stream} Default: `process.stderr`\n\nThe stream where output is written.\n\n## log.enableColor()\n\nForce colors to be used on all messages, regardless of the output\nstream.\n\n## log.disableColor()\n\nDisable colors on all messages.\n\n## log.enableProgress()\n\nEnable the display of log activity spinner and progress bar\n\n## log.disableProgress()\n\nDisable the display of a progress bar\n\n## log.enableUnicode()\n\nForce the unicode theme to be used for the progress bar.\n\n## log.disableUnicode()\n\nDisable the use of unicode in the progress bar.\n\n## log.setGaugeTemplate(template)\n\nSet a template for outputting the progress bar. See the [gauge documentation] for details.\n\n[gauge documentation]: https://npmjs.com/package/gauge\n\n## log.setGaugeThemeset(themes)\n\nSelect a themeset to pick themes from for the progress bar. See the [gauge documentation] for details.\n\n## log.pause()\n\nStop emitting messages to the stream, but do not drop them.\n\n## log.resume()\n\nEmit all buffered messages that were written while paused.\n\n## log.log(level, prefix, message, ...)\n\n* `level` {String} The level to emit the message at\n* `prefix` {String} A string prefix. Set to \"\" to skip.\n* `message...` Arguments to `util.format`\n\nEmit a log message at the specified level.\n\n## log\\[level](prefix, message, ...)\n\nFor example,\n\n* log.silly(prefix, message, ...)\n* log.verbose(prefix, message, ...)\n* log.info(prefix, message, ...)\n* log.http(prefix, message, ...)\n* log.warn(prefix, message, ...)\n* log.error(prefix, message, ...)\n\nLike `log.log(level, prefix, message, ...)`. In this way, each level is\ngiven a shorthand, so you can do `log.info(prefix, message)`.\n\n## log.addLevel(level, n, style, disp)\n\n* `level` {String} Level indicator\n* `n` {Number} The numeric level\n* `style` {Object} Object with fg, bg, inverse, etc.\n* `disp` {String} Optional replacement for `level` in the output.\n\nSets up a new level with a shorthand function and so forth.\n\nNote that if the number is `Infinity`, then setting the level to that\nwill cause all log messages to be suppressed. If the number is\n`-Infinity`, then the only way to show it is to enable all log messages.\n\n## log.newItem(name, todo, weight)\n\n* `name` {String} Optional; progress item name.\n* `todo` {Number} Optional; total amount of work to be done. Default 0.\n* `weight` {Number} Optional; the weight of this item relative to others. Default 1.\n\nThis adds a new `are-we-there-yet` item tracker to the progress tracker. The\nobject returned has the `log[level]` methods but is otherwise an\n`are-we-there-yet` `Tracker` object.\n\n## log.newStream(name, todo, weight)\n\nThis adds a new `are-we-there-yet` stream tracker to the progress tracker. The\nobject returned has the `log[level]` methods but is otherwise an\n`are-we-there-yet` `TrackerStream` object.\n\n## log.newGroup(name, weight)\n\nThis adds a new `are-we-there-yet` tracker group to the progress tracker. The\nobject returned has the `log[level]` methods but is otherwise an\n`are-we-there-yet` `TrackerGroup` object.\n\n# Events\n\nEvents are all emitted with the message object.\n\n* `log` Emitted for all messages\n* `log.<level>` Emitted for all messages with the `<level>` level.\n* `<prefix>` Messages with prefixes also emit their prefix as an event.\n\n# Style Objects\n\nStyle objects can have the following fields:\n\n* `fg` {String} Color for the foreground text\n* `bg` {String} Color for the background\n* `bold`, `inverse`, `underline` {Boolean} Set the associated property\n* `bell` {Boolean} Make a noise (This is pretty annoying, probably.)\n\n# Message Objects\n\nEvery log event is emitted with a message object, and the `log.record`\nlist contains all of them that have been created. They have the\nfollowing fields:\n\n* `id` {Number}\n* `level` {String}\n* `prefix` {String}\n* `message` {String} Result of `util.format()`\n* `messageRaw` {Array} Arguments to `util.format()`\n\n# Blocking TTYs\n\nWe use [`set-blocking`](https://npmjs.com/package/set-blocking) to set\nstderr and stdout blocking if they are tty's and have the setBlocking call.\nThis is a work around for an issue in early versions of Node.js 6.x, which\nmade stderr and stdout non-blocking on OSX. (They are always blocking\nWindows and were never blocking on Linux.) `npmlog` needs them to be blocking\nso that it can allow output to stdout and stderr to be interlaced.\n",
- "readmeFilename": "README.md",
+ "peerDependencies": {},
"repository": {
"type": "git",
"url": "git+https://github.com/npm/npmlog.git"