Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/set-blocking.json

raw
1 {
2 "_id": "set-blocking",
3 "_rev": "3-6f3ed774dd4b0b52fc4e3761b6b5497b",
4 "name": "set-blocking",
5 "description": "set blocking stdio and stderr ensuring that terminal output does not truncate",
6 "dist-tags": {
7 "latest": "2.0.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "set-blocking",
12 "version": "1.0.0",
13 "description": "set blocking stdio and stderr ensuring that terminal output does not truncate",
14 "main": "index.js",
15 "scripts": {
16 "pretest": "standard",
17 "test": "nyc mocha ./test/*.js",
18 "coverage": "nyc report --reporter=text-lcov | coveralls"
19 },
20 "repository": {
21 "type": "git",
22 "url": "git+https://github.com/yargs/set-blocking.git"
23 },
24 "keywords": [
25 "flush",
26 "terminal",
27 "blocking",
28 "shim",
29 "stdio",
30 "stderr"
31 ],
32 "author": {
33 "name": "Ben Coe",
34 "email": "[email protected]"
35 },
36 "license": "ISC",
37 "bugs": {
38 "url": "https://github.com/yargs/set-blocking/issues"
39 },
40 "homepage": "https://github.com/yargs/set-blocking#readme",
41 "devDependencies": {
42 "chai": "^3.5.0",
43 "coveralls": "^2.11.9",
44 "mocha": "^2.4.5",
45 "nyc": "^6.4.4",
46 "standard": "^7.0.1",
47 "standard-version": "^2.2.1"
48 },
49 "files": [
50 "index.js",
51 "LICENSE.txt"
52 ],
53 "gitHead": "7d0c45e56bbf7fe2634b71df47c5003b3ae1008a",
54 "_id": "[email protected]",
55 "_shasum": "cd5e5d938048df1ac92dfe92e1f16add656f5ec5",
56 "_from": ".",
57 "_npmVersion": "2.7.5",
58 "_nodeVersion": "0.10.36",
59 "_npmUser": {
60 "name": "bcoe",
61 "email": "[email protected]"
62 },
63 "dist": {
64 "shasum": "cd5e5d938048df1ac92dfe92e1f16add656f5ec5",
65 "tarball": "https://registry.npmjs.org/set-blocking/-/set-blocking-1.0.0.tgz"
66 },
67 "maintainers": [
68 {
69 "name": "bcoe",
70 "email": "[email protected]"
71 }
72 ],
73 "_npmOperationalInternal": {
74 "host": "packages-12-west.internal.npmjs.com",
75 "tmp": "tmp/set-blocking-1.0.0.tgz_1463262253151_0.16861064941622317"
76 },
77 "directories": {}
78 },
79 "2.0.0": {
80 "name": "set-blocking",
81 "version": "2.0.0",
82 "description": "set blocking stdio and stderr ensuring that terminal output does not truncate",
83 "main": "index.js",
84 "scripts": {
85 "pretest": "standard",
86 "test": "nyc mocha ./test/*.js",
87 "coverage": "nyc report --reporter=text-lcov | coveralls",
88 "version": "standard-version"
89 },
90 "repository": {
91 "type": "git",
92 "url": "git+https://github.com/yargs/set-blocking.git"
93 },
94 "keywords": [
95 "flush",
96 "terminal",
97 "blocking",
98 "shim",
99 "stdio",
100 "stderr"
101 ],
102 "author": {
103 "name": "Ben Coe",
104 "email": "[email protected]"
105 },
106 "license": "ISC",
107 "bugs": {
108 "url": "https://github.com/yargs/set-blocking/issues"
109 },
110 "homepage": "https://github.com/yargs/set-blocking#readme",
111 "devDependencies": {
112 "chai": "^3.5.0",
113 "coveralls": "^2.11.9",
114 "mocha": "^2.4.5",
115 "nyc": "^6.4.4",
116 "standard": "^7.0.1",
117 "standard-version": "^2.2.1"
118 },
119 "files": [
120 "index.js",
121 "LICENSE.txt"
122 ],
123 "gitHead": "7eec10577b5fff264de477ba3b9d07f404946eff",
124 "_id": "[email protected]",
125 "_shasum": "045f9782d011ae9a6803ddd382b24392b3d890f7",
126 "_from": ".",
127 "_npmVersion": "2.11.3",
128 "_nodeVersion": "0.12.7",
129 "_npmUser": {
130 "name": "bcoe",
131 "email": "[email protected]"
132 },
133 "dist": {
134 "shasum": "045f9782d011ae9a6803ddd382b24392b3d890f7",
135 "tarball": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz"
136 },
137 "maintainers": [
138 {
139 "name": "bcoe",
140 "email": "[email protected]"
141 }
142 ],
143 "_npmOperationalInternal": {
144 "host": "packages-12-west.internal.npmjs.com",
145 "tmp": "tmp/set-blocking-2.0.0.tgz_1463525966987_0.5456729622092098"
146 },
147 "directories": {}
148 }
149 },
150 "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",
151 "maintainers": [
152 {
153 "name": "bcoe",
154 "email": "[email protected]"
155 }
156 ],
157 "time": {
158 "modified": "2017-07-11T07:31:18.612Z",
159 "created": "2016-05-14T21:44:13.754Z",
160 "1.0.0": "2016-05-14T21:44:13.754Z",
161 "2.0.0": "2016-05-17T22:59:27.619Z"
162 },
163 "homepage": "https://github.com/yargs/set-blocking#readme",
164 "keywords": [
165 "flush",
166 "terminal",
167 "blocking",
168 "shim",
169 "stdio",
170 "stderr"
171 ],
172 "repository": {
173 "type": "git",
174 "url": "git+https://github.com/yargs/set-blocking.git"
175 },
176 "author": {
177 "name": "Ben Coe",
178 "email": "[email protected]"
179 },
180 "bugs": {
181 "url": "https://github.com/yargs/set-blocking/issues"
182 },
183 "license": "ISC",
184 "readmeFilename": "README.md",
185 "users": {
186 "usex": true
187 },
188 "_attachments": {}
189 }