package.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. {
  2. "_args": [
  3. [
  4. {
  5. "raw": "set-blocking@~2.0.0",
  6. "scope": null,
  7. "escapedName": "set-blocking",
  8. "name": "set-blocking",
  9. "rawSpec": "~2.0.0",
  10. "spec": ">=2.0.0 <2.1.0",
  11. "type": "range"
  12. },
  13. "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/npmlog"
  14. ]
  15. ],
  16. "_from": "set-blocking@>=2.0.0 <2.1.0",
  17. "_id": "set-blocking@2.0.0",
  18. "_inCache": true,
  19. "_location": "/set-blocking",
  20. "_nodeVersion": "0.12.7",
  21. "_npmOperationalInternal": {
  22. "host": "packages-12-west.internal.npmjs.com",
  23. "tmp": "tmp/set-blocking-2.0.0.tgz_1463525966987_0.5456729622092098"
  24. },
  25. "_npmUser": {
  26. "name": "bcoe",
  27. "email": "ben@npmjs.com"
  28. },
  29. "_npmVersion": "2.11.3",
  30. "_phantomChildren": {},
  31. "_requested": {
  32. "raw": "set-blocking@~2.0.0",
  33. "scope": null,
  34. "escapedName": "set-blocking",
  35. "name": "set-blocking",
  36. "rawSpec": "~2.0.0",
  37. "spec": ">=2.0.0 <2.1.0",
  38. "type": "range"
  39. },
  40. "_requiredBy": [
  41. "/npmlog",
  42. "/yargs"
  43. ],
  44. "_resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",
  45. "_shasum": "045f9782d011ae9a6803ddd382b24392b3d890f7",
  46. "_shrinkwrap": null,
  47. "_spec": "set-blocking@~2.0.0",
  48. "_where": "/mnt/Data/bach/Documents/ola/OLA#4/OLA#4DOC/sys/node_modules/npmlog",
  49. "author": {
  50. "name": "Ben Coe",
  51. "email": "ben@npmjs.com"
  52. },
  53. "bugs": {
  54. "url": "https://github.com/yargs/set-blocking/issues"
  55. },
  56. "dependencies": {},
  57. "description": "set blocking stdio and stderr ensuring that terminal output does not truncate",
  58. "devDependencies": {
  59. "chai": "^3.5.0",
  60. "coveralls": "^2.11.9",
  61. "mocha": "^2.4.5",
  62. "nyc": "^6.4.4",
  63. "standard": "^7.0.1",
  64. "standard-version": "^2.2.1"
  65. },
  66. "directories": {},
  67. "dist": {
  68. "shasum": "045f9782d011ae9a6803ddd382b24392b3d890f7",
  69. "tarball": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz"
  70. },
  71. "files": [
  72. "index.js",
  73. "LICENSE.txt"
  74. ],
  75. "gitHead": "7eec10577b5fff264de477ba3b9d07f404946eff",
  76. "homepage": "https://github.com/yargs/set-blocking#readme",
  77. "keywords": [
  78. "flush",
  79. "terminal",
  80. "blocking",
  81. "shim",
  82. "stdio",
  83. "stderr"
  84. ],
  85. "license": "ISC",
  86. "main": "index.js",
  87. "maintainers": [
  88. {
  89. "name": "bcoe",
  90. "email": "ben@npmjs.com"
  91. }
  92. ],
  93. "name": "set-blocking",
  94. "optionalDependencies": {},
  95. "readme": "# set-blocking\n\n[![Build Status](https://travis-ci.org/yargs/set-blocking.svg)](https://travis-ci.org/yargs/set-blocking)\n[![NPM version](https://img.shields.io/npm/v/set-blocking.svg)](https://www.npmjs.com/package/set-blocking)\n[![Coverage Status](https://coveralls.io/repos/yargs/set-blocking/badge.svg?branch=)](https://coveralls.io/r/yargs/set-blocking?branch=master)\n[![Standard Version](https://img.shields.io/badge/release-standard%20version-brightgreen.svg)](https://github.com/conventional-changelog/standard-version)\n\nset blocking `stdio` and `stderr` ensuring that terminal output does not truncate.\n\n```js\nconst setBlocking = require('set-blocking')\nsetBlocking(true)\nconsole.log(someLargeStringToOutput)\n```\n\n## Historical Context/Word of Warning\n\nThis was created as a shim to address the bug discussed in [node #6456](https://github.com/nodejs/node/issues/6456). This bug crops up on\nnewer versions of Node.js (`0.12+`), truncating terminal output.\n\nYou should be mindful of the side-effects caused by using `set-blocking`:\n\n* if your module sets blocking to `true`, it will effect other modules\n consuming your library. In [yargs](https://github.com/yargs/yargs/blob/master/yargs.js#L653) we only call\n `setBlocking(true)` once we already know we are about to call `process.exit(code)`.\n* this patch will not apply to subprocesses spawned with `isTTY = true`, this is\n the [default `spawn()` behavior](https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options).\n\n## License\n\nISC\n",
  96. "readmeFilename": "README.md",
  97. "repository": {
  98. "type": "git",
  99. "url": "git+https://github.com/yargs/set-blocking.git"
  100. },
  101. "scripts": {
  102. "coverage": "nyc report --reporter=text-lcov | coveralls",
  103. "pretest": "standard",
  104. "test": "nyc mocha ./test/*.js",
  105. "version": "standard-version"
  106. },
  107. "version": "2.0.0"
  108. }