Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/read-pkg.json

raw
1 {
2 "_id": "read-pkg",
3 "_rev": "18-96cc46c967ce6b6dff973ec0f6d9e17c",
4 "name": "read-pkg",
5 "description": "Read a package.json file",
6 "dist-tags": {
7 "latest": "5.2.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "read-pkg",
12 "version": "1.0.0",
13 "description": "Read a package.json file",
14 "license": "MIT",
15 "repository": {
16 "type": "git",
17 "url": "git+https://github.com/sindresorhus/read-pkg.git"
18 },
19 "author": {
20 "name": "Sindre Sorhus",
21 "email": "[email protected]",
22 "url": "sindresorhus.com"
23 },
24 "engines": {
25 "node": ">=0.10.0"
26 },
27 "scripts": {
28 "test": "xo && ava"
29 },
30 "files": [
31 "index.js"
32 ],
33 "keywords": [
34 "json",
35 "read",
36 "parse",
37 "file",
38 "fs",
39 "graceful",
40 "load",
41 "pkg",
42 "package",
43 "normalize"
44 ],
45 "dependencies": {
46 "load-json-file": "^1.0.0",
47 "normalize-package-data": "^2.3.2"
48 },
49 "devDependencies": {
50 "ava": "*",
51 "xo": "*"
52 },
53 "gitHead": "1ed9e57e3048285289547ea375eb7a5adabed1c4",
54 "bugs": {
55 "url": "https://github.com/sindresorhus/read-pkg/issues"
56 },
57 "homepage": "https://github.com/sindresorhus/read-pkg#readme",
58 "_id": "[email protected]",
59 "_shasum": "6199b5a0a9596f32eb83044e89400969587542de",
60 "_from": ".",
61 "_npmVersion": "2.13.3",
62 "_nodeVersion": "3.0.0",
63 "_npmUser": {
64 "name": "sindresorhus",
65 "email": "[email protected]"
66 },
67 "dist": {
68 "shasum": "6199b5a0a9596f32eb83044e89400969587542de",
69 "tarball": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.0.0.tgz"
70 },
71 "maintainers": [
72 {
73 "name": "sindresorhus",
74 "email": "[email protected]"
75 }
76 ],
77 "directories": {}
78 },
79 "1.1.0": {
80 "name": "read-pkg",
81 "version": "1.1.0",
82 "description": "Read a package.json file",
83 "license": "MIT",
84 "repository": {
85 "type": "git",
86 "url": "https://github.com/sindresorhus/read-pkg"
87 },
88 "author": {
89 "name": "Sindre Sorhus",
90 "email": "[email protected]",
91 "url": "sindresorhus.com"
92 },
93 "engines": {
94 "node": ">=0.10.0"
95 },
96 "scripts": {
97 "test": "xo && ava"
98 },
99 "files": [
100 "index.js"
101 ],
102 "keywords": [
103 "json",
104 "read",
105 "parse",
106 "file",
107 "fs",
108 "graceful",
109 "load",
110 "pkg",
111 "package",
112 "normalize"
113 ],
114 "dependencies": {
115 "load-json-file": "^1.0.0",
116 "normalize-package-data": "^2.3.2",
117 "path-type": "^1.0.0"
118 },
119 "devDependencies": {
120 "ava": "*",
121 "xo": "*"
122 },
123 "gitHead": "9448d32b2ebcd65fc0547def3cfe5b28ef522e68",
124 "bugs": {
125 "url": "https://github.com/sindresorhus/read-pkg/issues"
126 },
127 "homepage": "https://github.com/sindresorhus/read-pkg",
128 "_id": "[email protected]",
129 "_shasum": "f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28",
130 "_from": ".",
131 "_npmVersion": "2.13.3",
132 "_nodeVersion": "3.0.0",
133 "_npmUser": {
134 "name": "sindresorhus",
135 "email": "[email protected]"
136 },
137 "dist": {
138 "shasum": "f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28",
139 "tarball": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz"
140 },
141 "maintainers": [
142 {
143 "name": "sindresorhus",
144 "email": "[email protected]"
145 }
146 ],
147 "directories": {}
148 },
149 "2.0.0": {
150 "name": "read-pkg",
151 "version": "2.0.0",
152 "description": "Read a package.json file",
153 "license": "MIT",
154 "repository": {
155 "type": "git",
156 "url": "git+https://github.com/sindresorhus/read-pkg.git"
157 },
158 "author": {
159 "name": "Sindre Sorhus",
160 "email": "[email protected]",
161 "url": "sindresorhus.com"
162 },
163 "engines": {
164 "node": ">=4"
165 },
166 "scripts": {
167 "test": "xo && ava"
168 },
169 "files": [
170 "index.js"
171 ],
172 "keywords": [
173 "json",
174 "read",
175 "parse",
176 "file",
177 "fs",
178 "graceful",
179 "load",
180 "pkg",
181 "package",
182 "normalize"
183 ],
184 "dependencies": {
185 "load-json-file": "^2.0.0",
186 "normalize-package-data": "^2.3.2",
187 "path-type": "^2.0.0"
188 },
189 "devDependencies": {
190 "ava": "*",
191 "xo": "*"
192 },
193 "xo": {
194 "esnext": true
195 },
196 "gitHead": "c1664a2f42d1f1898b7648534576e6dcfa1f48c8",
197 "bugs": {
198 "url": "https://github.com/sindresorhus/read-pkg/issues"
199 },
200 "homepage": "https://github.com/sindresorhus/read-pkg#readme",
201 "_id": "[email protected]",
202 "_shasum": "8ef1c0623c6a6db0dc6713c4bfac46332b2368f8",
203 "_from": ".",
204 "_npmVersion": "2.15.9",
205 "_nodeVersion": "4.5.0",
206 "_npmUser": {
207 "name": "sindresorhus",
208 "email": "[email protected]"
209 },
210 "dist": {
211 "shasum": "8ef1c0623c6a6db0dc6713c4bfac46332b2368f8",
212 "tarball": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz"
213 },
214 "maintainers": [
215 {
216 "name": "sindresorhus",
217 "email": "[email protected]"
218 }
219 ],
220 "_npmOperationalInternal": {
221 "host": "packages-12-west.internal.npmjs.com",
222 "tmp": "tmp/read-pkg-2.0.0.tgz_1475052271222_0.4820629544556141"
223 },
224 "directories": {}
225 },
226 "3.0.0": {
227 "name": "read-pkg",
228 "version": "3.0.0",
229 "description": "Read a package.json file",
230 "license": "MIT",
231 "repository": {
232 "type": "git",
233 "url": "git+https://github.com/sindresorhus/read-pkg.git"
234 },
235 "author": {
236 "name": "Sindre Sorhus",
237 "email": "[email protected]",
238 "url": "sindresorhus.com"
239 },
240 "engines": {
241 "node": ">=4"
242 },
243 "scripts": {
244 "test": "xo && ava"
245 },
246 "files": [
247 "index.js"
248 ],
249 "keywords": [
250 "json",
251 "read",
252 "parse",
253 "file",
254 "fs",
255 "graceful",
256 "load",
257 "pkg",
258 "package",
259 "normalize"
260 ],
261 "dependencies": {
262 "load-json-file": "^4.0.0",
263 "normalize-package-data": "^2.3.2",
264 "path-type": "^3.0.0"
265 },
266 "devDependencies": {
267 "ava": "*",
268 "xo": "*"
269 },
270 "gitHead": "7eb2f6b7b50618c28f1bf2db8b895a453552cd9c",
271 "bugs": {
272 "url": "https://github.com/sindresorhus/read-pkg/issues"
273 },
274 "homepage": "https://github.com/sindresorhus/read-pkg#readme",
275 "_id": "[email protected]",
276 "_shasum": "9cbc686978fee65d16c00e2b19c237fcf6e38389",
277 "_from": ".",
278 "_npmVersion": "2.15.11",
279 "_nodeVersion": "4.8.4",
280 "_npmUser": {
281 "name": "sindresorhus",
282 "email": "[email protected]"
283 },
284 "dist": {
285 "shasum": "9cbc686978fee65d16c00e2b19c237fcf6e38389",
286 "tarball": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz"
287 },
288 "maintainers": [
289 {
290 "name": "sindresorhus",
291 "email": "[email protected]"
292 }
293 ],
294 "_npmOperationalInternal": {
295 "host": "s3://npm-registry-packages",
296 "tmp": "tmp/read-pkg-3.0.0.tgz_1509782852512_0.4451334576588124"
297 },
298 "directories": {}
299 },
300 "4.0.0": {
301 "name": "read-pkg",
302 "version": "4.0.0",
303 "description": "Read a package.json file",
304 "license": "MIT",
305 "repository": {
306 "type": "git",
307 "url": "git+https://github.com/sindresorhus/read-pkg.git"
308 },
309 "author": {
310 "name": "Sindre Sorhus",
311 "email": "[email protected]",
312 "url": "sindresorhus.com"
313 },
314 "engines": {
315 "node": ">=6"
316 },
317 "scripts": {
318 "test": "xo && ava"
319 },
320 "files": [
321 "index.js"
322 ],
323 "keywords": [
324 "json",
325 "read",
326 "parse",
327 "file",
328 "fs",
329 "graceful",
330 "load",
331 "pkg",
332 "package",
333 "normalize"
334 ],
335 "dependencies": {
336 "normalize-package-data": "^2.3.2",
337 "parse-json": "^4.0.0",
338 "util.promisify": "^1.0.0"
339 },
340 "devDependencies": {
341 "ava": "*",
342 "xo": "*"
343 },
344 "gitHead": "8f30e19a5359111660e65d428d571ec4340814ae",
345 "bugs": {
346 "url": "https://github.com/sindresorhus/read-pkg/issues"
347 },
348 "homepage": "https://github.com/sindresorhus/read-pkg#readme",
349 "_id": "[email protected]",
350 "_npmVersion": "5.6.0",
351 "_nodeVersion": "8.11.2",
352 "_npmUser": {
353 "name": "sindresorhus",
354 "email": "[email protected]"
355 },
356 "dist": {
357 "integrity": "sha512-2avHM2nMA5tFOMEDkB+VgMHzfRlv9d5GNc3RMTxFoOyoRN50RnLz6oN6QPiTZRYbqrufJBa/9GzWEYas0uvZZw==",
358 "shasum": "ee3801906504d73af4c9630ab1cd0cea8232e5c2",
359 "tarball": "https://registry.npmjs.org/read-pkg/-/read-pkg-4.0.0.tgz",
360 "fileCount": 4,
361 "unpackedSize": 4155,
362 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbMRMGCRA9TVsSAnZWagAAHtIQAIp1T/NY304OXGL7dkoK\nVTu4E0p9S7H+NytTph01izyA799Ya2Q2hl5+Zq+SoDhqyfbNBeMCrvDMtXWM\nRNP4rluFEGYTU0V/9JzCz8KbhuK11VAPzCjVlVOtcaQXhMsSL+MGU2dFKgxz\nvlmbZDt9W22ffO/uijUtuWILpnJmWjrrIFpiv685E9zH3WvOQTz+YCAQPxTR\nIQV5E2fMdHu0ecCt1BzojsRdHpIeIz8uJAzLvGmrbdnWWwA73OyQZCgdKanm\njUf+m1vtQU253ent/vSU5RikzmDyJR+1OW9XvLvxfwTxBtml2Gtbl3HtPZtV\nGq8MCRNsX5o4MyqUHaCim+3RR3Cj1NXCZDmS2DchbgP/sWOpdFToBocV4YMj\nyxSCjkxZcBRk+UYt9kdG88VzAeHXHDqkYr5+jWlsGtgCTqOakSr1uHvLb1HE\npWfXTQzQrpfw0UqhRonOEx393+zhkM4i0xqDB9i8gOkteVaUKbABYx6IehmS\nsmMwK+jtKBB9fIa+/72Gmer0QPjSk+w0bm8ygSz8D9vGb+GWWo4o/qq8B+DN\n9R+32Kt6o3CSFKfgO5w+bDPnS8w8fHajAyF6lqtY5r25vmXL+Z4up0tDQKGE\ny2v9balu4JV94Ihbl7meCVsz9z06fnAo1qm3dnSGQjFuRNHd9D8b9YpfVVBY\nubFk\r\n=tfth\r\n-----END PGP SIGNATURE-----\r\n"
363 },
364 "maintainers": [
365 {
366 "name": "sindresorhus",
367 "email": "[email protected]"
368 }
369 ],
370 "directories": {},
371 "_npmOperationalInternal": {
372 "host": "s3://npm-registry-packages",
373 "tmp": "tmp/read-pkg_4.0.0_1529942790299_0.382594879990501"
374 },
375 "_hasShrinkwrap": false
376 },
377 "4.0.1": {
378 "name": "read-pkg",
379 "version": "4.0.1",
380 "description": "Read a package.json file",
381 "license": "MIT",
382 "repository": {
383 "type": "git",
384 "url": "git+https://github.com/sindresorhus/read-pkg.git"
385 },
386 "author": {
387 "name": "Sindre Sorhus",
388 "email": "[email protected]",
389 "url": "sindresorhus.com"
390 },
391 "engines": {
392 "node": ">=6"
393 },
394 "scripts": {
395 "test": "xo && ava"
396 },
397 "files": [
398 "index.js"
399 ],
400 "keywords": [
401 "json",
402 "read",
403 "parse",
404 "file",
405 "fs",
406 "graceful",
407 "load",
408 "pkg",
409 "package",
410 "normalize"
411 ],
412 "dependencies": {
413 "normalize-package-data": "^2.3.2",
414 "parse-json": "^4.0.0",
415 "pify": "^3.0.0"
416 },
417 "devDependencies": {
418 "ava": "*",
419 "xo": "*"
420 },
421 "gitHead": "03b601f9f47a8c9930bbbb46380264babe987ced",
422 "bugs": {
423 "url": "https://github.com/sindresorhus/read-pkg/issues"
424 },
425 "homepage": "https://github.com/sindresorhus/read-pkg#readme",
426 "_id": "[email protected]",
427 "_shasum": "963625378f3e1c4d48c85872b5a6ec7d5d093237",
428 "_from": ".",
429 "_npmVersion": "3.10.10",
430 "_nodeVersion": "6.14.3",
431 "_npmUser": {
432 "name": "sindresorhus",
433 "email": "[email protected]"
434 },
435 "dist": {
436 "shasum": "963625378f3e1c4d48c85872b5a6ec7d5d093237",
437 "tarball": "https://registry.npmjs.org/read-pkg/-/read-pkg-4.0.1.tgz",
438 "fileCount": 4,
439 "unpackedSize": 4186
440 },
441 "maintainers": [
442 {
443 "name": "sindresorhus",
444 "email": "[email protected]"
445 }
446 ],
447 "directories": {},
448 "_npmOperationalInternal": {
449 "host": "s3://npm-registry-packages",
450 "tmp": "tmp/read-pkg_4.0.1_1529986259277_0.9099218668326017"
451 },
452 "_hasShrinkwrap": false
453 },
454 "5.0.0": {
455 "name": "read-pkg",
456 "version": "5.0.0",
457 "description": "Read a package.json file",
458 "license": "MIT",
459 "repository": {
460 "type": "git",
461 "url": "git+https://github.com/sindresorhus/read-pkg.git"
462 },
463 "author": {
464 "name": "Sindre Sorhus",
465 "email": "[email protected]",
466 "url": "sindresorhus.com"
467 },
468 "engines": {
469 "node": ">=8"
470 },
471 "scripts": {
472 "test": "xo && ava"
473 },
474 "keywords": [
475 "json",
476 "read",
477 "parse",
478 "file",
479 "fs",
480 "graceful",
481 "load",
482 "pkg",
483 "package",
484 "normalize"
485 ],
486 "dependencies": {
487 "normalize-package-data": "^2.3.2",
488 "parse-json": "^4.0.0"
489 },
490 "devDependencies": {
491 "ava": "^1.3.1",
492 "xo": "^0.24.0"
493 },
494 "xo": {
495 "ignores": [
496 "test/test.js"
497 ]
498 },
499 "gitHead": "51a942906b0556cdcf83508fbf5f100dce0c4cea",
500 "bugs": {
501 "url": "https://github.com/sindresorhus/read-pkg/issues"
502 },
503 "homepage": "https://github.com/sindresorhus/read-pkg#readme",
504 "_id": "[email protected]",
505 "_nodeVersion": "8.15.0",
506 "_npmVersion": "6.8.0",
507 "_npmUser": {
508 "name": "sindresorhus",
509 "email": "[email protected]"
510 },
511 "dist": {
512 "integrity": "sha512-OWufaRc67oJjcgrxckW/qO9q22iYzyiONh8h+GMcnOvSHAmhV1Dr3x+gyRjP+Qxc5jKupkSfoCQLS/98rDPh9A==",
513 "shasum": "75449907ece8dfb89cbc76adcba2665316e32b94",
514 "tarball": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.0.0.tgz",
515 "fileCount": 4,
516 "unpackedSize": 4131,
517 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJchPb0CRA9TVsSAnZWagAAVQYQAKBda4E14lgn8Uz9tkq9\nqghvRVNyDJUYMvCWeh3z6uY20tFw3GdgYyEZKH3RAidF+y6SU77UpF8EMPD8\n0tAoP83yOeyicrmPYX0ga4fPqOEDIZpCUQ8owxhxWrKwft9P5EwMEm/50eFc\n5ykWOz9IEfjoKVr12PiP8pP/sSS7K9wYGvMb/iQsQrFX4aL59cl4ZQ9WV2z6\nNHQljhg7NcGXowr8p5a/T+e4v0qYa4aKyLutSaJuWIq8OMdeXZ+FJI6Mu7sh\n2/6QGXsJcLc5aihM2YwaX86SRLxvEXIkKVYZ5v18nbdRdACmeFX37qHz0cZ8\nhDUFPj1UtZLkgWjZgABSpTISjuPGPq/yRsNU+FE/mftEne/oVbtTU752u+wF\ntOCmEhZTlcZm8fTUf35eDnXQvaHCL/mr0Ka0v5tu7GQIM9nEks3DyJlV1ytT\nPhScJoVq2gxhcaLIF+YefP/y3nyImxxbdC0O9E7rheT3C9PhbtgWjy8j9PMp\n5YoY8SrZqj6BqLrmK6U67VTogeSWe1+R5Enq5q3PXwBUxE34+J9VL0Cn95HJ\n0FW/Xi/9Z3a/YkZU1Vb6fxrHK4ocIRFfKsXIjPUZhNiRGsYoTEVzP/aPVw1B\nMYRQOe/8Q/9UxXiIGzWkssSxUtf1HHjX7Wr0AWRh1499zAzXM2uSXkf7uk7t\nKLIr\r\n=IttD\r\n-----END PGP SIGNATURE-----\r\n"
518 },
519 "maintainers": [
520 {
521 "name": "sindresorhus",
522 "email": "[email protected]"
523 }
524 ],
525 "directories": {},
526 "_npmOperationalInternal": {
527 "host": "s3://npm-registry-packages",
528 "tmp": "tmp/read-pkg_5.0.0_1552217844129_0.23799943554602554"
529 },
530 "_hasShrinkwrap": false
531 },
532 "5.1.0": {
533 "name": "read-pkg",
534 "version": "5.1.0",
535 "description": "Read a package.json file",
536 "license": "MIT",
537 "repository": {
538 "type": "git",
539 "url": "git+https://github.com/sindresorhus/read-pkg.git"
540 },
541 "author": {
542 "name": "Sindre Sorhus",
543 "email": "[email protected]",
544 "url": "sindresorhus.com"
545 },
546 "engines": {
547 "node": ">=8"
548 },
549 "scripts": {
550 "test": "xo && ava && tsd"
551 },
552 "keywords": [
553 "json",
554 "read",
555 "parse",
556 "file",
557 "fs",
558 "graceful",
559 "load",
560 "package",
561 "normalize"
562 ],
563 "dependencies": {
564 "@types/normalize-package-data": "^2.4.0",
565 "normalize-package-data": "^2.5.0",
566 "parse-json": "^4.0.0",
567 "type-fest": "^0.4.1"
568 },
569 "devDependencies": {
570 "ava": "^1.4.1",
571 "tsd": "^0.7.2",
572 "xo": "^0.24.0"
573 },
574 "xo": {
575 "ignores": [
576 "test/test.js"
577 ]
578 },
579 "gitHead": "1270befff80a3b56c072240e0a2e13441c2c96a6",
580 "bugs": {
581 "url": "https://github.com/sindresorhus/read-pkg/issues"
582 },
583 "homepage": "https://github.com/sindresorhus/read-pkg#readme",
584 "_id": "[email protected]",
585 "_npmVersion": "6.4.1",
586 "_nodeVersion": "10.15.3",
587 "_npmUser": {
588 "name": "sindresorhus",
589 "email": "[email protected]"
590 },
591 "dist": {
592 "integrity": "sha512-NjNkqf8hlMuSxh+p8h8x8sCIfEv/MoRs/nYDmSRSAk879F9C94ADq+kHUJ4LTy5Nn0PYSmMYsy1mD4+lcXiBKg==",
593 "shasum": "62b924384c4525a1a7a96e2d456b80df142b4390",
594 "tarball": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.1.0.tgz",
595 "fileCount": 5,
596 "unpackedSize": 5677,
597 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcv+AHCRA9TVsSAnZWagAAu2QP+QDVunaksBg76+KkPxHe\nkNsGh1HsdpYY/YWvTQPFwVoYyWsenturYNVwFIxOTUlKNhVvOvjTWa2LBXde\noukd8e9gFgQvkwDcVIoIfgSCs+HAcvxpll5CGzKUXYgc2uEPcLbOtYM4jKSk\n0yikqrsPC66zM9Qe1SEgM85FzFTtbkHyBIg/ORFSoCJGzrWN/322x/zTPu3R\nsEztVZjsrZKU5wuE/4l+mJNnqMbn/80jMB1Cy5eWbbgiGFjwwgsbprjOrQoz\n2GDATWyk8gBJAEC2Z4Jx4gWOJGfN39HdZQcaJ6TqkmXIR8pQFhrLxlMk5JLy\naMQwb/QeQEoNxzTNeGo3hPhWchR0K4ZGnRVz5tI1WpYN5/WaMHAP96P3vlpT\ngUbJ3+dX4KCULYvwNG5Ru035NkTsIfuL9H057GvXwLWEkGorOvJ+elOtNhqe\n/OerZ8JGgBY3+9/L0hbRl4aLkvgKNciFU55XyR5Bjv1RXr4fvqCsWSuqp1qI\n2f3JpPC71Dkh0nqoxARDu6fBT1j3dpADxSdE5Xp98a1KeNHXql8phRt3MRmg\nt4x7a/KHaSXu/6gFSSmLfweWMRinm51x91qwSVvsVrnm32Qittkzzh8yeDrH\nUAal0CMdis/u5O6Oi7yAAkLjtbEtN8HCqF0fPo8tBrbxsfSbcbMKss/ZlZzr\n29p0\r\n=PmoE\r\n-----END PGP SIGNATURE-----\r\n"
598 },
599 "maintainers": [
600 {
601 "name": "sindresorhus",
602 "email": "[email protected]"
603 }
604 ],
605 "directories": {},
606 "_npmOperationalInternal": {
607 "host": "s3://npm-registry-packages",
608 "tmp": "tmp/read-pkg_5.1.0_1556078599020_0.9195486751037258"
609 },
610 "_hasShrinkwrap": false
611 },
612 "5.1.1": {
613 "name": "read-pkg",
614 "version": "5.1.1",
615 "description": "Read a package.json file",
616 "license": "MIT",
617 "repository": {
618 "type": "git",
619 "url": "git+https://github.com/sindresorhus/read-pkg.git"
620 },
621 "author": {
622 "name": "Sindre Sorhus",
623 "email": "[email protected]",
624 "url": "sindresorhus.com"
625 },
626 "engines": {
627 "node": ">=8"
628 },
629 "scripts": {
630 "test": "xo && ava && tsd"
631 },
632 "keywords": [
633 "json",
634 "read",
635 "parse",
636 "file",
637 "fs",
638 "graceful",
639 "load",
640 "package",
641 "normalize"
642 ],
643 "dependencies": {
644 "@types/normalize-package-data": "^2.4.0",
645 "normalize-package-data": "^2.5.0",
646 "parse-json": "^4.0.0",
647 "type-fest": "^0.4.1"
648 },
649 "devDependencies": {
650 "ava": "^1.4.1",
651 "tsd": "^0.7.2",
652 "xo": "^0.24.0"
653 },
654 "xo": {
655 "ignores": [
656 "test/test.js"
657 ]
658 },
659 "gitHead": "7a86b115b300fb4f4fae392376bb2a389910bc45",
660 "bugs": {
661 "url": "https://github.com/sindresorhus/read-pkg/issues"
662 },
663 "homepage": "https://github.com/sindresorhus/read-pkg#readme",
664 "_id": "[email protected]",
665 "_nodeVersion": "10.15.3",
666 "_npmVersion": "6.9.0",
667 "_npmUser": {
668 "name": "sindresorhus",
669 "email": "[email protected]"
670 },
671 "dist": {
672 "integrity": "sha512-dFcTLQi6BZ+aFUaICg7er+/usEoqFdQxiEBsEMNGoipenihtxxtdrQuBXvyANCEI8VuUIVYFgeHGx9sLLvim4w==",
673 "shasum": "5cf234dde7a405c90c88a519ab73c467e9cb83f5",
674 "tarball": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.1.1.tgz",
675 "fileCount": 5,
676 "unpackedSize": 5678,
677 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxC6wCRA9TVsSAnZWagAAceMP/RXX0DGAp9ohCVRyc6QK\nftLjJ0qvde2OKBfmoqoQls3HtsqfmsZOUdce6sbLEchhEUUFuS9APrr6AgBx\njhVf2e0mZqlzKB95Zn9I0tN0PB7oVILorJRYeAjrqiZI3ARL52Z5yEYlFlR0\nxif96h1BV1Q0qI46w8ftaqbn8mb3tnrAUV5S/EAreBiOzyiKhKf11J4LVSN1\nZAr5lRVxG5S1ySjUYqQBb5k2x0hnmlYA7hesTlWdiarI73aJUQsxqb9VGKPi\nIva/g0feiINgrcqSwaun01IacNmZT+jqEiGm8csq+2gJdS90jH25V/QSpGLN\nYz4iwsiKSHA49oXvMGgeuPT3lsq39teR/39EgmbBCN4yBVkTirWjFJdXLQZb\ngkikOjQHjDasLFT/ozAMgUuxjyIK5HrQQ+IBPC4FgivjGHcbwAa6QUQDuzes\nByrB92ovfBLn7nee401ZRdjWzN+isC71H+MSH265QUS/aRB4r7eKqIrWj9D4\n3Vj9XaKh1nEiR0q6Bt80trTUnzJ1+9AJxIVU5fk5mjm8PnQ5o3HLgRZZnac0\nBXS6B6caSjh9lg8BtZfTtjAEblirdF6xMs3kwM1WEEKhOxmwGZb352ukI8GH\nysejugehc9ed8Z2Qg8vW3cArC6JxDYQaH+3jDo0fuBjrEMViWUQINrMnDoyp\nx8su\r\n=iKmJ\r\n-----END PGP SIGNATURE-----\r\n"
678 },
679 "maintainers": [
680 {
681 "name": "sindresorhus",
682 "email": "[email protected]"
683 }
684 ],
685 "directories": {},
686 "_npmOperationalInternal": {
687 "host": "s3://npm-registry-packages",
688 "tmp": "tmp/read-pkg_5.1.1_1556360879551_0.3519375135267959"
689 },
690 "_hasShrinkwrap": false
691 },
692 "5.2.0": {
693 "name": "read-pkg",
694 "version": "5.2.0",
695 "description": "Read a package.json file",
696 "license": "MIT",
697 "repository": {
698 "type": "git",
699 "url": "git+https://github.com/sindresorhus/read-pkg.git"
700 },
701 "author": {
702 "name": "Sindre Sorhus",
703 "email": "[email protected]",
704 "url": "sindresorhus.com"
705 },
706 "engines": {
707 "node": ">=8"
708 },
709 "scripts": {
710 "test": "xo && ava && tsd"
711 },
712 "keywords": [
713 "json",
714 "read",
715 "parse",
716 "file",
717 "fs",
718 "graceful",
719 "load",
720 "package",
721 "normalize"
722 ],
723 "dependencies": {
724 "@types/normalize-package-data": "^2.4.0",
725 "normalize-package-data": "^2.5.0",
726 "parse-json": "^5.0.0",
727 "type-fest": "^0.6.0"
728 },
729 "devDependencies": {
730 "ava": "^2.2.0",
731 "tsd": "^0.7.2",
732 "xo": "^0.24.0"
733 },
734 "xo": {
735 "ignores": [
736 "test/test.js"
737 ]
738 },
739 "gitHead": "bfe8eb8232af1f1a32143387f909c5140a86e96d",
740 "bugs": {
741 "url": "https://github.com/sindresorhus/read-pkg/issues"
742 },
743 "homepage": "https://github.com/sindresorhus/read-pkg#readme",
744 "_id": "[email protected]",
745 "_nodeVersion": "10.16.0",
746 "_npmVersion": "6.9.0",
747 "_npmUser": {
748 "name": "sindresorhus",
749 "email": "[email protected]"
750 },
751 "dist": {
752 "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==",
753 "shasum": "7bf295438ca5a33e56cd30e053b34ee7250c93cc",
754 "tarball": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz",
755 "fileCount": 5,
756 "unpackedSize": 6049,
757 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJvO5CRA9TVsSAnZWagAAUcwP/ApNL7AlF+9bZ2TG8K+I\n07ex60Y4URshqwr682DjV17NwIkCXMmI7/3c1gXlIBHycgTt8I5VEcZLhze6\noorW8yWxAFfsimI+qJAhUUeJpJhlJJ4I1kiMgqzX3xJH4+vGkL1H6wLXV3n6\nl6MzSvgx7YeLCf8KK1g7YS4QLldzLfZNKOxgJ7gZ9PfxyG1ykjzV3OlDhlwS\nGQlvWHQVbMDFEnmgUWOG4JcVaIwyqYOueKCYgB2WXNR58l0X3Wi7k+ekfR6j\nblmIw/odmcmtzy9dUbZF4/VtKZkyIA8hzASjS8M0qW6br4ruh6+9bL+1a2YO\nLFyrQ2J5YxXWWhFXn7sFnityHuOnwlEA67Bj8tr5RPvBnxWP9GcAXSB4NVMH\ne/bWqkli6XqRGhTTfaEZ3yC61WDdT2szwF/dPtUtch70tXGt2hX1hzpW0lpU\nlaeuIQ4FyAPEbfNNiK9P61kSYsJHORII1YtUmteAoRsHMVsRWyyucB10vxZv\n0JIvo/ksj10C7NWJqMQoYvZUTuOwbUdJnAVAvodATtpcZq/TCMmMPtqBNXBG\ntWGeIXLR5KSfy8gpg+vfA3vO8JreHLFE6zvTI0oiCvaRuAsRyf/xM4Zix2Hd\nRvb/liX2V4JT3aUDwjah63aNKkEYwsGHMwxNDWNUc/ny7vMZgJ2lN97rvElB\nWdV/\r\n=AXgN\r\n-----END PGP SIGNATURE-----\r\n"
758 },
759 "maintainers": [
760 {
761 "name": "sindresorhus",
762 "email": "[email protected]"
763 }
764 ],
765 "directories": {},
766 "_npmOperationalInternal": {
767 "host": "s3://npm-registry-packages",
768 "tmp": "tmp/read-pkg_5.2.0_1562833848277_0.7485102825560606"
769 },
770 "_hasShrinkwrap": false
771 }
772 },
773 "readme": "# read-pkg [![Build Status](https://travis-ci.org/sindresorhus/read-pkg.svg?branch=master)](https://travis-ci.org/sindresorhus/read-pkg)\n\n> Read a package.json file\n\n\n## Why\n\n- [Gracefully handles filesystem issues](https://github.com/isaacs/node-graceful-fs)\n- [Throws more helpful JSON errors](https://github.com/sindresorhus/parse-json)\n- [Normalizes the data](https://github.com/npm/normalize-package-data#what-normalization-currently-entails)\n\n\n## Install\n\n```\n$ npm install read-pkg\n```\n\n\n## Usage\n\n```js\nconst readPkg = require('read-pkg');\n\n(async () => {\n\tconsole.log(await readPkg());\n\t//=> {name: 'read-pkg', …}\n\n\tconsole.log(await readPkg({cwd: 'some-other-directory'}));\n\t//=> {name: 'unicorn', …}\n})();\n```\n\n\n## API\n\n### readPkg(options?)\n\nReturns a `Promise<object>` with the parsed JSON.\n\n### readPkg.sync(options?)\n\nReturns the parsed JSON.\n\n#### options\n\nType: `object`\n\n##### cwd\n\nType: `string`<br>\nDefault: `process.cwd()`\n\nCurrent working directory.\n\n##### normalize\n\nType: `boolean`<br>\nDefault: `true`\n\n[Normalize](https://github.com/npm/normalize-package-data#what-normalization-currently-entails) the package data.\n\n\n## Related\n\n- [read-pkg-up](https://github.com/sindresorhus/read-pkg-up) - Read the closest package.json file\n- [write-pkg](https://github.com/sindresorhus/write-pkg) - Write a `package.json` file\n- [load-json-file](https://github.com/sindresorhus/load-json-file) - Read and parse a JSON file\n\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-read-pkg?utm_source=npm-read-pkg&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n",
774 "maintainers": [
775 {
776 "name": "sindresorhus",
777 "email": "[email protected]"
778 }
779 ],
780 "time": {
781 "modified": "2019-07-11T08:30:51.680Z",
782 "created": "2015-09-02T08:47:51.680Z",
783 "1.0.0": "2015-09-02T08:47:51.680Z",
784 "1.1.0": "2015-09-05T09:51:50.133Z",
785 "2.0.0": "2016-09-28T08:44:31.441Z",
786 "3.0.0": "2017-11-04T08:07:32.640Z",
787 "4.0.0": "2018-06-25T16:06:30.381Z",
788 "4.0.1": "2018-06-26T04:10:59.370Z",
789 "5.0.0": "2019-03-10T11:37:24.281Z",
790 "5.1.0": "2019-04-24T04:03:19.376Z",
791 "5.1.1": "2019-04-27T10:27:59.808Z",
792 "5.2.0": "2019-07-11T08:30:48.441Z"
793 },
794 "homepage": "https://github.com/sindresorhus/read-pkg#readme",
795 "keywords": [
796 "json",
797 "read",
798 "parse",
799 "file",
800 "fs",
801 "graceful",
802 "load",
803 "package",
804 "normalize"
805 ],
806 "repository": {
807 "type": "git",
808 "url": "git+https://github.com/sindresorhus/read-pkg.git"
809 },
810 "author": {
811 "name": "Sindre Sorhus",
812 "email": "[email protected]",
813 "url": "sindresorhus.com"
814 },
815 "bugs": {
816 "url": "https://github.com/sindresorhus/read-pkg/issues"
817 },
818 "license": "MIT",
819 "readmeFilename": "readme.md",
820 "users": {
821 "nesterone": true,
822 "huhgawz": true,
823 "dr2009": true,
824 "zhenguo.zhao": true,
825 "kiinlam": true,
826 "hualei": true
827 }
828 }