Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/vary.json

raw
1 {
2 "_id": "vary",
3 "_rev": "30-8d9c2f80a516b236fdad744c607b23e8",
4 "name": "vary",
5 "description": "Manipulate the HTTP Vary header",
6 "dist-tags": {
7 "latest": "1.1.2"
8 },
9 "versions": {
10 "0.0.0": {
11 "name": "vary",
12 "description": "Update the Vary header of a response",
13 "version": "0.0.0",
14 "author": {
15 "name": "Douglas Christopher Wilson",
16 "email": "[email protected]"
17 },
18 "license": "MIT",
19 "keywords": [
20 "http",
21 "res",
22 "vary"
23 ],
24 "repository": {
25 "type": "git",
26 "url": "git://github.com/expressjs/vary"
27 },
28 "devDependencies": {
29 "istanbul": "0.2.10",
30 "mocha": "~1.20.0",
31 "should": "~4.0.0"
32 },
33 "engines": {
34 "node": ">= 0.8.0"
35 },
36 "scripts": {
37 "test": "mocha --reporter dot test/",
38 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/",
39 "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec test/"
40 },
41 "bugs": {
42 "url": "https://github.com/expressjs/vary/issues"
43 },
44 "homepage": "https://github.com/expressjs/vary",
45 "_id": "[email protected]",
46 "dist": {
47 "shasum": "9edfb6837236e6fa500788995cd85a11c62c482d",
48 "tarball": "https://registry.npmjs.org/vary/-/vary-0.0.0.tgz"
49 },
50 "_from": ".",
51 "_npmVersion": "1.4.3",
52 "_npmUser": {
53 "name": "dougwilson",
54 "email": "[email protected]"
55 },
56 "maintainers": [
57 {
58 "name": "dougwilson",
59 "email": "[email protected]"
60 }
61 ],
62 "directories": {}
63 },
64 "0.1.0": {
65 "name": "vary",
66 "description": "Update the Vary header of a response",
67 "version": "0.1.0",
68 "author": {
69 "name": "Douglas Christopher Wilson",
70 "email": "[email protected]"
71 },
72 "license": "MIT",
73 "keywords": [
74 "http",
75 "res",
76 "vary"
77 ],
78 "repository": {
79 "type": "git",
80 "url": "git://github.com/expressjs/vary"
81 },
82 "devDependencies": {
83 "istanbul": "0.2.10",
84 "mocha": "~1.20.0",
85 "should": "~4.0.0"
86 },
87 "engines": {
88 "node": ">= 0.8.0"
89 },
90 "scripts": {
91 "test": "mocha --reporter dot test/",
92 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot test/",
93 "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec test/"
94 },
95 "bugs": {
96 "url": "https://github.com/expressjs/vary/issues"
97 },
98 "homepage": "https://github.com/expressjs/vary",
99 "_id": "[email protected]",
100 "dist": {
101 "shasum": "df0945899e93c0cc5bd18cc8321d9d21e74f6176",
102 "tarball": "https://registry.npmjs.org/vary/-/vary-0.1.0.tgz"
103 },
104 "_from": ".",
105 "_npmVersion": "1.4.3",
106 "_npmUser": {
107 "name": "dougwilson",
108 "email": "[email protected]"
109 },
110 "maintainers": [
111 {
112 "name": "dougwilson",
113 "email": "[email protected]"
114 },
115 {
116 "name": "jongleberry",
117 "email": "[email protected]"
118 },
119 {
120 "name": "fishrock123",
121 "email": "[email protected]"
122 },
123 {
124 "name": "shtylman",
125 "email": "[email protected]"
126 },
127 {
128 "name": "tjholowaychuk",
129 "email": "[email protected]"
130 }
131 ],
132 "directories": {}
133 },
134 "1.0.0": {
135 "name": "vary",
136 "description": "Manipulate the HTTP Vary header",
137 "version": "1.0.0",
138 "author": {
139 "name": "Douglas Christopher Wilson",
140 "email": "[email protected]"
141 },
142 "license": "MIT",
143 "keywords": [
144 "http",
145 "res",
146 "vary"
147 ],
148 "repository": {
149 "type": "git",
150 "url": "https://github.com/jshttp/vary"
151 },
152 "devDependencies": {
153 "istanbul": "0.3.0",
154 "mocha": "~1.21.4",
155 "should": "~4.0.4",
156 "supertest": "~0.13.0"
157 },
158 "engines": {
159 "node": ">= 0.8.0"
160 },
161 "scripts": {
162 "test": "mocha --reporter spec --bail --check-leaks test/",
163 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
164 "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
165 },
166 "gitHead": "56acecd9fa20888132563b00576625ea02a69a35",
167 "bugs": {
168 "url": "https://github.com/jshttp/vary/issues"
169 },
170 "homepage": "https://github.com/jshttp/vary",
171 "_id": "[email protected]",
172 "_shasum": "c5e76cec20d3820d8f2a96e7bee38731c34da1e7",
173 "_from": ".",
174 "_npmVersion": "1.4.21",
175 "_npmUser": {
176 "name": "dougwilson",
177 "email": "[email protected]"
178 },
179 "maintainers": [
180 {
181 "name": "dougwilson",
182 "email": "[email protected]"
183 },
184 {
185 "name": "jongleberry",
186 "email": "[email protected]"
187 },
188 {
189 "name": "fishrock123",
190 "email": "[email protected]"
191 },
192 {
193 "name": "shtylman",
194 "email": "[email protected]"
195 }
196 ],
197 "dist": {
198 "shasum": "c5e76cec20d3820d8f2a96e7bee38731c34da1e7",
199 "tarball": "https://registry.npmjs.org/vary/-/vary-1.0.0.tgz"
200 },
201 "directories": {}
202 },
203 "1.0.1": {
204 "name": "vary",
205 "description": "Manipulate the HTTP Vary header",
206 "version": "1.0.1",
207 "author": {
208 "name": "Douglas Christopher Wilson",
209 "email": "[email protected]"
210 },
211 "license": "MIT",
212 "keywords": [
213 "http",
214 "res",
215 "vary"
216 ],
217 "repository": {
218 "type": "git",
219 "url": "https://github.com/jshttp/vary"
220 },
221 "devDependencies": {
222 "istanbul": "0.3.17",
223 "mocha": "2.2.5",
224 "supertest": "1.0.1"
225 },
226 "files": [
227 "HISTORY.md",
228 "LICENSE",
229 "README.md",
230 "index.js"
231 ],
232 "engines": {
233 "node": ">= 0.8"
234 },
235 "scripts": {
236 "test": "mocha --reporter spec --bail --check-leaks test/",
237 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
238 "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
239 },
240 "gitHead": "650282ff8e614731837040a23e10f51c20728392",
241 "bugs": {
242 "url": "https://github.com/jshttp/vary/issues"
243 },
244 "homepage": "https://github.com/jshttp/vary",
245 "_id": "[email protected]",
246 "_shasum": "99e4981566a286118dfb2b817357df7993376d10",
247 "_from": ".",
248 "_npmVersion": "1.4.28",
249 "_npmUser": {
250 "name": "dougwilson",
251 "email": "[email protected]"
252 },
253 "maintainers": [
254 {
255 "name": "dougwilson",
256 "email": "[email protected]"
257 },
258 {
259 "name": "jongleberry",
260 "email": "[email protected]"
261 },
262 {
263 "name": "fishrock123",
264 "email": "[email protected]"
265 }
266 ],
267 "dist": {
268 "shasum": "99e4981566a286118dfb2b817357df7993376d10",
269 "tarball": "https://registry.npmjs.org/vary/-/vary-1.0.1.tgz"
270 },
271 "directories": {}
272 },
273 "1.1.0": {
274 "name": "vary",
275 "description": "Manipulate the HTTP Vary header",
276 "version": "1.1.0",
277 "author": {
278 "name": "Douglas Christopher Wilson",
279 "email": "[email protected]"
280 },
281 "license": "MIT",
282 "keywords": [
283 "http",
284 "res",
285 "vary"
286 ],
287 "repository": {
288 "type": "git",
289 "url": "https://github.com/jshttp/vary"
290 },
291 "devDependencies": {
292 "istanbul": "0.3.21",
293 "mocha": "2.3.3",
294 "supertest": "1.1.0"
295 },
296 "files": [
297 "HISTORY.md",
298 "LICENSE",
299 "README.md",
300 "index.js"
301 ],
302 "engines": {
303 "node": ">= 0.8"
304 },
305 "scripts": {
306 "test": "mocha --reporter spec --bail --check-leaks test/",
307 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
308 "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
309 },
310 "gitHead": "13b03e9bf97da9d83bfeac84d84144137d84c257",
311 "bugs": {
312 "url": "https://github.com/jshttp/vary/issues"
313 },
314 "homepage": "https://github.com/jshttp/vary",
315 "_id": "[email protected]",
316 "_shasum": "e1e5affbbd16ae768dd2674394b9ad3022653140",
317 "_from": ".",
318 "_npmVersion": "1.4.28",
319 "_npmUser": {
320 "name": "dougwilson",
321 "email": "[email protected]"
322 },
323 "maintainers": [
324 {
325 "name": "dougwilson",
326 "email": "[email protected]"
327 },
328 {
329 "name": "jongleberry",
330 "email": "[email protected]"
331 },
332 {
333 "name": "fishrock123",
334 "email": "[email protected]"
335 }
336 ],
337 "dist": {
338 "shasum": "e1e5affbbd16ae768dd2674394b9ad3022653140",
339 "tarball": "https://registry.npmjs.org/vary/-/vary-1.1.0.tgz"
340 },
341 "directories": {}
342 },
343 "1.1.1": {
344 "name": "vary",
345 "description": "Manipulate the HTTP Vary header",
346 "version": "1.1.1",
347 "author": {
348 "name": "Douglas Christopher Wilson",
349 "email": "[email protected]"
350 },
351 "license": "MIT",
352 "keywords": [
353 "http",
354 "res",
355 "vary"
356 ],
357 "repository": {
358 "type": "git",
359 "url": "git+https://github.com/jshttp/vary.git"
360 },
361 "devDependencies": {
362 "eslint": "3.18.0",
363 "eslint-config-standard": "7.1.0",
364 "eslint-plugin-markdown": "1.0.0-beta.4",
365 "eslint-plugin-promise": "3.5.0",
366 "eslint-plugin-standard": "2.1.1",
367 "istanbul": "0.4.5",
368 "mocha": "2.5.3",
369 "supertest": "1.1.0"
370 },
371 "files": [
372 "HISTORY.md",
373 "LICENSE",
374 "README.md",
375 "index.js"
376 ],
377 "engines": {
378 "node": ">= 0.8"
379 },
380 "scripts": {
381 "lint": "eslint --plugin markdown --ext js,md .",
382 "test": "mocha --reporter spec --bail --check-leaks test/",
383 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
384 "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
385 },
386 "gitHead": "ca7edac6b919a45bf9e2c5cb6ba31c1790e9f046",
387 "bugs": {
388 "url": "https://github.com/jshttp/vary/issues"
389 },
390 "homepage": "https://github.com/jshttp/vary#readme",
391 "_id": "[email protected]",
392 "_shasum": "67535ebb694c1d52257457984665323f587e8d37",
393 "_from": ".",
394 "_npmVersion": "2.15.11",
395 "_nodeVersion": "4.7.3",
396 "_npmUser": {
397 "name": "dougwilson",
398 "email": "[email protected]"
399 },
400 "dist": {
401 "shasum": "67535ebb694c1d52257457984665323f587e8d37",
402 "tarball": "https://registry.npmjs.org/vary/-/vary-1.1.1.tgz"
403 },
404 "maintainers": [
405 {
406 "name": "dougwilson",
407 "email": "[email protected]"
408 }
409 ],
410 "_npmOperationalInternal": {
411 "host": "packages-12-west.internal.npmjs.com",
412 "tmp": "tmp/vary-1.1.1.tgz_1490045547529_0.9355870047584176"
413 },
414 "directories": {}
415 },
416 "1.1.2": {
417 "name": "vary",
418 "description": "Manipulate the HTTP Vary header",
419 "version": "1.1.2",
420 "author": {
421 "name": "Douglas Christopher Wilson",
422 "email": "[email protected]"
423 },
424 "license": "MIT",
425 "keywords": [
426 "http",
427 "res",
428 "vary"
429 ],
430 "repository": {
431 "type": "git",
432 "url": "git+https://github.com/jshttp/vary.git"
433 },
434 "devDependencies": {
435 "beautify-benchmark": "0.2.4",
436 "benchmark": "2.1.4",
437 "eslint": "3.19.0",
438 "eslint-config-standard": "10.2.1",
439 "eslint-plugin-import": "2.7.0",
440 "eslint-plugin-markdown": "1.0.0-beta.6",
441 "eslint-plugin-node": "5.1.1",
442 "eslint-plugin-promise": "3.5.0",
443 "eslint-plugin-standard": "3.0.1",
444 "istanbul": "0.4.5",
445 "mocha": "2.5.3",
446 "supertest": "1.1.0"
447 },
448 "files": [
449 "HISTORY.md",
450 "LICENSE",
451 "README.md",
452 "index.js"
453 ],
454 "engines": {
455 "node": ">= 0.8"
456 },
457 "scripts": {
458 "bench": "node benchmark/index.js",
459 "lint": "eslint --plugin markdown --ext js,md .",
460 "test": "mocha --reporter spec --bail --check-leaks test/",
461 "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
462 "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
463 },
464 "gitHead": "4067e646233fbc8ec9e7a9cd78d6f063c6fdc17e",
465 "bugs": {
466 "url": "https://github.com/jshttp/vary/issues"
467 },
468 "homepage": "https://github.com/jshttp/vary#readme",
469 "_id": "[email protected]",
470 "_shasum": "2299f02c6ded30d4a5961b0b9f74524a18f634fc",
471 "_from": ".",
472 "_npmVersion": "3.10.10",
473 "_nodeVersion": "6.11.1",
474 "_npmUser": {
475 "name": "dougwilson",
476 "email": "[email protected]"
477 },
478 "dist": {
479 "shasum": "2299f02c6ded30d4a5961b0b9f74524a18f634fc",
480 "tarball": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz"
481 },
482 "maintainers": [
483 {
484 "name": "dougwilson",
485 "email": "[email protected]"
486 }
487 ],
488 "_npmOperationalInternal": {
489 "host": "s3://npm-registry-packages",
490 "tmp": "tmp/vary-1.1.2.tgz_1506217630296_0.28528453782200813"
491 },
492 "directories": {}
493 }
494 },
495 "readme": "# vary\n\n[![NPM Version][npm-image]][npm-url]\n[![NPM Downloads][downloads-image]][downloads-url]\n[![Node.js Version][node-version-image]][node-version-url]\n[![Build Status][travis-image]][travis-url]\n[![Test Coverage][coveralls-image]][coveralls-url]\n\nManipulate the HTTP Vary header\n\n## Installation\n\nThis is a [Node.js](https://nodejs.org/en/) module available through the\n[npm registry](https://www.npmjs.com/). Installation is done using the\n[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally): \n\n```sh\n$ npm install vary\n```\n\n## API\n\n<!-- eslint-disable no-unused-vars -->\n\n```js\nvar vary = require('vary')\n```\n\n### vary(res, field)\n\nAdds the given header `field` to the `Vary` response header of `res`.\nThis can be a string of a single field, a string of a valid `Vary`\nheader, or an array of multiple fields.\n\nThis will append the header if not already listed, otherwise leaves\nit listed in the current location.\n\n<!-- eslint-disable no-undef -->\n\n```js\n// Append \"Origin\" to the Vary header of the response\nvary(res, 'Origin')\n```\n\n### vary.append(header, field)\n\nAdds the given header `field` to the `Vary` response header string `header`.\nThis can be a string of a single field, a string of a valid `Vary` header,\nor an array of multiple fields.\n\nThis will append the header if not already listed, otherwise leaves\nit listed in the current location. The new header string is returned.\n\n<!-- eslint-disable no-undef -->\n\n```js\n// Get header string appending \"Origin\" to \"Accept, User-Agent\"\nvary.append('Accept, User-Agent', 'Origin')\n```\n\n## Examples\n\n### Updating the Vary header when content is based on it\n\n```js\nvar http = require('http')\nvar vary = require('vary')\n\nhttp.createServer(function onRequest (req, res) {\n // about to user-agent sniff\n vary(res, 'User-Agent')\n\n var ua = req.headers['user-agent'] || ''\n var isMobile = /mobi|android|touch|mini/i.test(ua)\n\n // serve site, depending on isMobile\n res.setHeader('Content-Type', 'text/html')\n res.end('You are (probably) ' + (isMobile ? '' : 'not ') + 'a mobile user')\n})\n```\n\n## Testing\n\n```sh\n$ npm test\n```\n\n## License\n\n[MIT](LICENSE)\n\n[npm-image]: https://img.shields.io/npm/v/vary.svg\n[npm-url]: https://npmjs.org/package/vary\n[node-version-image]: https://img.shields.io/node/v/vary.svg\n[node-version-url]: https://nodejs.org/en/download\n[travis-image]: https://img.shields.io/travis/jshttp/vary/master.svg\n[travis-url]: https://travis-ci.org/jshttp/vary\n[coveralls-image]: https://img.shields.io/coveralls/jshttp/vary/master.svg\n[coveralls-url]: https://coveralls.io/r/jshttp/vary\n[downloads-image]: https://img.shields.io/npm/dm/vary.svg\n[downloads-url]: https://npmjs.org/package/vary\n",
496 "maintainers": [
497 {
498 "name": "dougwilson",
499 "email": "[email protected]"
500 }
501 ],
502 "time": {
503 "modified": "2018-08-03T00:42:18.119Z",
504 "created": "2014-06-04T20:52:53.541Z",
505 "0.0.0": "2014-06-04T20:52:53.541Z",
506 "0.1.0": "2014-06-05T13:18:33.789Z",
507 "1.0.0": "2014-08-10T21:03:28.918Z",
508 "1.0.1": "2015-07-09T00:03:07.257Z",
509 "1.1.0": "2015-09-30T05:05:50.045Z",
510 "1.1.1": "2017-03-20T21:32:29.340Z",
511 "1.1.2": "2017-09-24T01:47:11.325Z"
512 },
513 "homepage": "https://github.com/jshttp/vary#readme",
514 "keywords": [
515 "http",
516 "res",
517 "vary"
518 ],
519 "repository": {
520 "type": "git",
521 "url": "git+https://github.com/jshttp/vary.git"
522 },
523 "author": {
524 "name": "Douglas Christopher Wilson",
525 "email": "[email protected]"
526 },
527 "bugs": {
528 "url": "https://github.com/jshttp/vary/issues"
529 },
530 "license": "MIT",
531 "readmeFilename": "README.md",
532 "users": {
533 "goodseller": true,
534 "simplyianm": true,
535 "jessaustin": true,
536 "wangnan0610": true,
537 "mojaray2k": true,
538 "giussa_dan": true,
539 "leland-kwong": true,
540 "netoperatorwibby": true
541 },
542 "_attachments": {}
543 }