Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/flush-write-stream.json

raw
1 {
2 "_id": "flush-write-stream",
3 "_rev": "8-3eca78c97f065586c2d67ad20109dfa1",
4 "name": "flush-write-stream",
5 "description": "A write stream constructor that supports a flush function that is called before finish is emitted",
6 "dist-tags": {
7 "latest": "2.0.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "flush-write-stream",
12 "version": "1.0.0",
13 "description": "A write stream constructor that supports a flush function that is called before finish is emitted",
14 "main": "index.js",
15 "dependencies": {
16 "readable-stream": "^2.0.4"
17 },
18 "devDependencies": {
19 "tape": "^4.2.2"
20 },
21 "scripts": {
22 "test": "tape test.js"
23 },
24 "repository": {
25 "type": "git",
26 "url": "https://github.com/mafintosh/flush-write-stream.git"
27 },
28 "author": {
29 "name": "Mathias Buus",
30 "url": "@mafintosh"
31 },
32 "license": "MIT",
33 "bugs": {
34 "url": "https://github.com/mafintosh/flush-write-stream/issues"
35 },
36 "homepage": "https://github.com/mafintosh/flush-write-stream",
37 "gitHead": "50e81d8eeee8a9666c7d5105775a6c89b7ae9dfa",
38 "_id": "[email protected]",
39 "_shasum": "cc4fc24f4b4c973f80027f27cc095841639965a7",
40 "_from": ".",
41 "_npmVersion": "2.14.4",
42 "_nodeVersion": "4.1.1",
43 "_npmUser": {
44 "name": "mafintosh",
45 "email": "[email protected]"
46 },
47 "dist": {
48 "shasum": "cc4fc24f4b4c973f80027f27cc095841639965a7",
49 "tarball": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.0.0.tgz"
50 },
51 "maintainers": [
52 {
53 "name": "mafintosh",
54 "email": "[email protected]"
55 }
56 ],
57 "directories": {}
58 },
59 "1.0.1": {
60 "name": "flush-write-stream",
61 "version": "1.0.1",
62 "description": "A write stream constructor that supports a flush function that is called before finish is emitted",
63 "main": "index.js",
64 "dependencies": {
65 "readable-stream": "^2.0.4"
66 },
67 "devDependencies": {
68 "tape": "^4.2.2"
69 },
70 "scripts": {
71 "test": "tape test.js"
72 },
73 "repository": {
74 "type": "git",
75 "url": "https://github.com/mafintosh/flush-write-stream.git"
76 },
77 "author": {
78 "name": "Mathias Buus",
79 "url": "@mafintosh"
80 },
81 "license": "MIT",
82 "bugs": {
83 "url": "https://github.com/mafintosh/flush-write-stream/issues"
84 },
85 "homepage": "https://github.com/mafintosh/flush-write-stream",
86 "gitHead": "7f00179b7018083158fdf58c416aaa77ed2696c3",
87 "_id": "[email protected]",
88 "_shasum": "39dd8e6627109b5e833461d1b1eeb25edff3c4ba",
89 "_from": ".",
90 "_npmVersion": "2.14.12",
91 "_nodeVersion": "4.2.6",
92 "_npmUser": {
93 "name": "mafintosh",
94 "email": "[email protected]"
95 },
96 "dist": {
97 "shasum": "39dd8e6627109b5e833461d1b1eeb25edff3c4ba",
98 "tarball": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.0.1.tgz"
99 },
100 "maintainers": [
101 {
102 "name": "mafintosh",
103 "email": "[email protected]"
104 }
105 ],
106 "_npmOperationalInternal": {
107 "host": "packages-16-east.internal.npmjs.com",
108 "tmp": "tmp/flush-write-stream-1.0.1.tgz_1476614551011_0.6873086630366743"
109 },
110 "directories": {}
111 },
112 "1.0.2": {
113 "name": "flush-write-stream",
114 "version": "1.0.2",
115 "description": "A write stream constructor that supports a flush function that is called before finish is emitted",
116 "main": "index.js",
117 "dependencies": {
118 "inherits": "^2.0.1",
119 "readable-stream": "^2.0.4"
120 },
121 "devDependencies": {
122 "tape": "^4.2.2"
123 },
124 "scripts": {
125 "test": "tape test.js"
126 },
127 "repository": {
128 "type": "git",
129 "url": "https://github.com/mafintosh/flush-write-stream.git"
130 },
131 "author": {
132 "name": "Mathias Buus",
133 "url": "@mafintosh"
134 },
135 "license": "MIT",
136 "bugs": {
137 "url": "https://github.com/mafintosh/flush-write-stream/issues"
138 },
139 "homepage": "https://github.com/mafintosh/flush-write-stream",
140 "gitHead": "d35a4071dacbcc60fc40d798fa58fc425cba3efc",
141 "_id": "[email protected]",
142 "_shasum": "c81b90d8746766f1a609a46809946c45dd8ae417",
143 "_from": ".",
144 "_npmVersion": "2.14.12",
145 "_nodeVersion": "4.2.6",
146 "_npmUser": {
147 "name": "mafintosh",
148 "email": "[email protected]"
149 },
150 "dist": {
151 "shasum": "c81b90d8746766f1a609a46809946c45dd8ae417",
152 "tarball": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.0.2.tgz"
153 },
154 "maintainers": [
155 {
156 "name": "mafintosh",
157 "email": "[email protected]"
158 }
159 ],
160 "_npmOperationalInternal": {
161 "host": "packages-16-east.internal.npmjs.com",
162 "tmp": "tmp/flush-write-stream-1.0.2.tgz_1476614807882_0.22224654001183808"
163 },
164 "directories": {}
165 },
166 "1.0.3": {
167 "name": "flush-write-stream",
168 "version": "1.0.3",
169 "description": "A write stream constructor that supports a flush function that is called before finish is emitted",
170 "main": "index.js",
171 "dependencies": {
172 "inherits": "^2.0.1",
173 "readable-stream": "^2.0.4"
174 },
175 "devDependencies": {
176 "tape": "^4.2.2"
177 },
178 "scripts": {
179 "test": "tape test.js"
180 },
181 "repository": {
182 "type": "git",
183 "url": "git+https://github.com/mafintosh/flush-write-stream.git"
184 },
185 "author": {
186 "name": "Mathias Buus",
187 "url": "@mafintosh"
188 },
189 "license": "MIT",
190 "bugs": {
191 "url": "https://github.com/mafintosh/flush-write-stream/issues"
192 },
193 "homepage": "https://github.com/mafintosh/flush-write-stream",
194 "gitHead": "3a0c6e62c7c9a5c22abf49cd1a06c960487fa2c9",
195 "_id": "[email protected]",
196 "_npmVersion": "5.6.0",
197 "_nodeVersion": "9.7.1",
198 "_npmUser": {
199 "name": "mafintosh",
200 "email": "[email protected]"
201 },
202 "dist": {
203 "integrity": "sha512-calZMC10u0FMUqoiunI2AiGIIUtUIvifNwkHhNupZH4cbNnW1Itkoh/Nf5HFYmDrwWPjrUxpkZT0KhuCq0jmGw==",
204 "shasum": "c5d586ef38af6097650b49bc41b55fabb19f35bd",
205 "tarball": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.0.3.tgz",
206 "fileCount": 7,
207 "unpackedSize": 6512
208 },
209 "maintainers": [
210 {
211 "name": "mafintosh",
212 "email": "[email protected]"
213 }
214 ],
215 "directories": {},
216 "_npmOperationalInternal": {
217 "host": "s3://npm-registry-packages",
218 "tmp": "tmp/flush-write-stream_1.0.3_1521632961113_0.42985920051576776"
219 },
220 "_hasShrinkwrap": false
221 },
222 "1.1.0": {
223 "name": "flush-write-stream",
224 "version": "1.1.0",
225 "description": "A write stream constructor that supports a flush function that is called before finish is emitted",
226 "main": "index.js",
227 "dependencies": {
228 "inherits": "^2.0.3",
229 "readable-stream": "^3.1.1"
230 },
231 "devDependencies": {
232 "tape": "^4.2.2"
233 },
234 "scripts": {
235 "test": "tape test.js"
236 },
237 "repository": {
238 "type": "git",
239 "url": "git+https://github.com/mafintosh/flush-write-stream.git"
240 },
241 "author": {
242 "name": "Mathias Buus",
243 "url": "@mafintosh"
244 },
245 "license": "MIT",
246 "bugs": {
247 "url": "https://github.com/mafintosh/flush-write-stream/issues"
248 },
249 "homepage": "https://github.com/mafintosh/flush-write-stream",
250 "gitHead": "85d36bb3cde116622da5ac3c966e2cd58d9a75ff",
251 "_id": "[email protected]",
252 "_npmVersion": "6.4.1",
253 "_nodeVersion": "10.15.1",
254 "_npmUser": {
255 "name": "mafintosh",
256 "email": "[email protected]"
257 },
258 "dist": {
259 "integrity": "sha512-6MHED/cmsyux1G4/Cek2Z776y9t7WCNd3h2h/HW91vFeU7pzMhA8XvAlDhHcanG5IWuIh/xcC7JASY4WQpG6xg==",
260 "shasum": "2e89a8bd5eee42f8ec97e43aae81e3d5099c2ddc",
261 "tarball": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.0.tgz",
262 "fileCount": 7,
263 "unpackedSize": 6512,
264 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcWANoCRA9TVsSAnZWagAAyzwP/0R/kZ0ApTRQZswgVKZv\nBS1qKpEz4jfTDV/OELjYh88cTPKvAFApDJ9mR6eyH5W/t6MsAe8d/j9miTxz\nWj8/5e37KEKy3qZTz1uUk7Mf9oYROG0qpNpehH/xGNxS1cOzg09uyD3j3QUU\ngNAtVyMGnMFYlq7ibJlhKZOiYu+8enRPOfj2BGXYGkDt+ujvBzOFUUpeSY03\n2wbiJkwVkCsWGPpkUd5MDYjovPK4Q5Mip6TzIfAaQiH0GZUrMgNh3wyCuTob\niC3q7l0MxmZqjovWwqMOXNnTiCE4i+RDVbM7jPd89Gec4rs/95T9n284iCw+\nGVv9MExeVOoMkzZ9fesqrA8ezWcJ/sj6OwH05N1Uz0fmUsXVtxmQjval6eUe\ncaijTikLRabA463njYi7CX/VROOqZzrV4USU/Rl2IBzwJFfAnkSuI0Xa8hWy\nv/xKCVvJb2uZPG0/24WJqfE0Qy+9i0JLq+/8dSm+QFJxpi06i89nmWywmxox\nAbY2N579+Be2eYt32hkBNT/BVvPWtv5EiZtplXV0WeFZECqG1J6qi58GW8j8\ncJ0/0Pkg3SPqqMdD3kLWNsUOKE7AlAbJ2ujC7Prml2WN7l17gsER2oZvhpBo\nYVanzxl0mzA+yosqUbBe1ZXgLlAOsVsCcDZlaY7I4Ow0eoUFlCHLTkp729Xv\n9XBg\r\n=kCSG\r\n-----END PGP SIGNATURE-----\r\n"
265 },
266 "maintainers": [
267 {
268 "name": "mafintosh",
269 "email": "[email protected]"
270 }
271 ],
272 "directories": {},
273 "_npmOperationalInternal": {
274 "host": "s3://npm-registry-packages",
275 "tmp": "tmp/flush-write-stream_1.1.0_1549271911926_0.4645147990967873"
276 },
277 "_hasShrinkwrap": false
278 },
279 "1.1.1": {
280 "name": "flush-write-stream",
281 "version": "1.1.1",
282 "description": "A write stream constructor that supports a flush function that is called before finish is emitted",
283 "main": "index.js",
284 "dependencies": {
285 "inherits": "^2.0.3",
286 "readable-stream": "^2.3.6"
287 },
288 "devDependencies": {
289 "tape": "^4.2.2"
290 },
291 "scripts": {
292 "test": "tape test.js"
293 },
294 "repository": {
295 "type": "git",
296 "url": "git+https://github.com/mafintosh/flush-write-stream.git"
297 },
298 "author": {
299 "name": "Mathias Buus",
300 "url": "@mafintosh"
301 },
302 "license": "MIT",
303 "bugs": {
304 "url": "https://github.com/mafintosh/flush-write-stream/issues"
305 },
306 "homepage": "https://github.com/mafintosh/flush-write-stream",
307 "gitHead": "bab61bb3805d5750cb864aeee387fbddea93c913",
308 "_id": "[email protected]",
309 "_npmVersion": "6.4.1",
310 "_nodeVersion": "10.15.1",
311 "_npmUser": {
312 "name": "mafintosh",
313 "email": "[email protected]"
314 },
315 "dist": {
316 "integrity": "sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==",
317 "shasum": "8dd7d873a1babc207d94ead0c2e0e44276ebf2e8",
318 "tarball": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz",
319 "fileCount": 7,
320 "unpackedSize": 6503,
321 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXWhRCRA9TVsSAnZWagAAO6AP/1PeJON8gEoXFRpQyMvK\nev0cTYLHqU0z52V9dvugJ+RVvrdXfLXf63lSAiOjc3KBONbdhKFavJU+QlrA\nbqIx7pq5X61gvsFzgWfkGVluOCb0sgr2aJ4BcyeYrETrPCUV2QibPz0tqoyu\ntUvTeeIR3wGrksA5HUIHdf3f35E5ZTBMK18sTaA2PkTgj6VuQ4m8NBxgkatL\n1LVNh+n3kQvzH2nBtwsPZKzDFSXHvTpPNgjwIuasewe96f9rJAsPBgA32c1j\nVUs5QVKQyl3fGFCpA5W9fQBS40j89I1yAetgT+6zXMfRz2z9Gvx0C5UTyD3h\njX7vu/ktZb2kmlWPbHcNwRFCSsm53cpZ2LFj0u5Pw9EcC9aBiK2dGdQJeOaS\nd2Vn7IXMUKip7yOZcnMv3N4YGx6+mjHIOweIJKfu1z/S4kjGmZ2nLQKrO2Vz\nzOZCJoRjMpZUbv+ATZ2t2WfKe3YcXLmfJHs3p0fRSe1HjBvkrjHbRE7L0ML+\nksZr0m2fi0bYu3uY08VkJN9pR1c+4iuU5zc1gCUH5EgnkEH0MHfXrcbXskwy\ndk9Qpc2BkWD+wcIHjw/xApktFqPsCTM7SrR+XEHElgyUOyeW7H4gQ741iOHf\nhFmMUl0zin/p2Jstylv+zDI8e2JKfFQ3WsgMSq7Qi1XJ8Ta4Q2xtwbhBpkd+\nQLEn\r\n=Qfkq\r\n-----END PGP SIGNATURE-----\r\n"
322 },
323 "maintainers": [
324 {
325 "name": "mafintosh",
326 "email": "[email protected]"
327 }
328 ],
329 "directories": {},
330 "_npmOperationalInternal": {
331 "host": "s3://npm-registry-packages",
332 "tmp": "tmp/flush-write-stream_1.1.1_1549625425108_0.2525437003881257"
333 },
334 "_hasShrinkwrap": false
335 },
336 "2.0.0": {
337 "name": "flush-write-stream",
338 "version": "2.0.0",
339 "description": "A write stream constructor that supports a flush function that is called before finish is emitted",
340 "main": "index.js",
341 "dependencies": {
342 "inherits": "^2.0.3",
343 "readable-stream": "^3.1.1"
344 },
345 "devDependencies": {
346 "tape": "^4.2.2"
347 },
348 "scripts": {
349 "test": "tape test.js"
350 },
351 "repository": {
352 "type": "git",
353 "url": "git+https://github.com/mafintosh/flush-write-stream.git"
354 },
355 "author": {
356 "name": "Mathias Buus",
357 "url": "@mafintosh"
358 },
359 "license": "MIT",
360 "bugs": {
361 "url": "https://github.com/mafintosh/flush-write-stream/issues"
362 },
363 "homepage": "https://github.com/mafintosh/flush-write-stream",
364 "gitHead": "cea3fbb3a3d11fb1e226d8893a1749178627b284",
365 "_id": "[email protected]",
366 "_npmVersion": "6.4.1",
367 "_nodeVersion": "10.15.1",
368 "_npmUser": {
369 "name": "mafintosh",
370 "email": "[email protected]"
371 },
372 "dist": {
373 "integrity": "sha512-uXClqPxT4xW0lcdSBheb2ObVU+kuqUk3Jk64EwieirEXZx9XUrVwp/JuBfKAWaM4T5Td/VL7QLDWPXp/MvGm/g==",
374 "shasum": "6f58e776154f5eefacff92a6e5a681c88ac50f7c",
375 "tarball": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-2.0.0.tgz",
376 "fileCount": 7,
377 "unpackedSize": 6503,
378 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcXWh3CRA9TVsSAnZWagAAiHIP/3xb/bnCTbJW9iASegn7\n6NoyhqP7JD28hrwOHRrw2xE12wOsMkGTWcydTVhlOjjLjfYuOtyf197n2gm/\nPI41F+T+y5fXIwe9SCdmlrlcS1KKPNFJMVdNxDHsqYmV5fSwcgtG3xuVLCgg\nA5ap0bw5YBzGPOexBT5tpqrlAnXYFrl7bHOpqjdGPa5EPaxTCTlU7QJMfe2J\nh1jqFxXx3eHWb1cBs/8goxC0ISXCnvqPNUl8LU5GzhJ82xtjXzLS6HGRrKXJ\nnp4Xlb6znV27OsxV/SuFzhq8AZTeHJPJmNEMa8VrBgU9bN4U5fAwZJoBOqt3\nTL/SAkP4layhJb7YVYa2pyNFTKjH1S+N3vq7j/kQNZ4F4b5YYsvBF4kgA9xe\nSwW726sNIIgDl4GxmlTrZletQW74YVCwkuK3oSzugpxXBzVybJH/WAaAhzbL\nbSf5owGfPm0QMxJeEn19um5fspdbCk3lWNOp+9BdtimIVEWPJMGxNhy63pdW\nQcNK3w3hpFEvesAlNrP/Yu/vgx7Cx/JLqJID1vbJMM7GHD6DbItlHrl92BHE\nGsSQCg8i5aTyQBAsRTqAjrAk+WkxF/w6jbxuzvoTsTbFFh46KASGABzNht+x\nei2jxhkWeWrl5JOr61/s0Y/EV6He0bBDXl99WpSH0PL1EjNYR+0CHANxnjzp\nnqL3\r\n=e35e\r\n-----END PGP SIGNATURE-----\r\n"
379 },
380 "maintainers": [
381 {
382 "name": "mafintosh",
383 "email": "[email protected]"
384 }
385 ],
386 "directories": {},
387 "_npmOperationalInternal": {
388 "host": "s3://npm-registry-packages",
389 "tmp": "tmp/flush-write-stream_2.0.0_1549625462928_0.38196138371240473"
390 },
391 "_hasShrinkwrap": false
392 }
393 },
394 "readme": "# flush-write-stream\n\nA write stream constructor that supports a flush function that is called before `finish` is emitted\n\n```\nnpm install flush-write-stream\n```\n\n[![build status](http://img.shields.io/travis/mafintosh/flush-write-stream.svg?style=flat)](http://travis-ci.org/mafintosh/flush-write-stream)\n\n## Usage\n\n``` js\nvar writer = require('flush-write-stream')\n\nvar ws = writer(write, flush)\n\nws.on('finish', function () {\n console.log('finished')\n})\n\nws.write('hello')\nws.write('world')\nws.end()\n\nfunction write (data, enc, cb) {\n // i am your normal ._write method\n console.log('writing', data.toString())\n cb()\n}\n\nfunction flush (cb) {\n // i am called before finish is emitted\n setTimeout(cb, 1000) // wait 1 sec\n}\n```\n\nIf you run the above it will produce the following output\n\n```\nwriting hello\nwriting world\n(nothing happens for 1 sec)\nfinished\n```\n\n## API\n\n#### `var ws = writer([options], write, [flush])`\n\nCreate a new writable stream. Options are forwarded to the stream constructor.\n\n#### `var ws = writer.obj([options], write, [flush])`\n\nSame as the above except `objectMode` is set to `true` per default.\n\n## License\n\nMIT\n",
395 "maintainers": [
396 {
397 "name": "mafintosh",
398 "email": "[email protected]"
399 }
400 ],
401 "time": {
402 "modified": "2019-02-08T11:31:05.545Z",
403 "created": "2015-11-06T21:57:03.152Z",
404 "1.0.0": "2015-11-06T21:57:03.152Z",
405 "1.0.1": "2016-10-16T10:42:32.651Z",
406 "1.0.2": "2016-10-16T10:46:49.463Z",
407 "1.0.3": "2018-03-21T11:49:21.221Z",
408 "1.1.0": "2019-02-04T09:18:32.074Z",
409 "1.1.1": "2019-02-08T11:30:25.188Z",
410 "2.0.0": "2019-02-08T11:31:03.031Z"
411 },
412 "homepage": "https://github.com/mafintosh/flush-write-stream",
413 "repository": {
414 "type": "git",
415 "url": "git+https://github.com/mafintosh/flush-write-stream.git"
416 },
417 "author": {
418 "name": "Mathias Buus",
419 "url": "@mafintosh"
420 },
421 "bugs": {
422 "url": "https://github.com/mafintosh/flush-write-stream/issues"
423 },
424 "license": "MIT",
425 "readmeFilename": "README.md",
426 "users": {
427 "bret": true
428 }
429 }