Debian Codegraph @

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

raw
1 {
2 "_id": "parse-json",
3 "_rev": "24-c7ad1b850cfae2a908afdd46b758c8cd",
4 "name": "parse-json",
5 "description": "Parse JSON with more helpful errors",
6 "dist-tags": {
7 "latest": "5.1.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "parse-json",
12 "description": "The missing JSON.parse async interface.",
13 "homepage": "https://github.com/Kikobeats/parse-json",
14 "version": "1.0.0",
15 "main": "./index.js",
16 "author": {
17 "name": "Kiko Beats",
18 "email": "[email protected]",
19 "url": "https://github.com/Kikobeats"
20 },
21 "repository": {
22 "type": "git",
23 "url": "https://github.com/Kikobeats/parse-json"
24 },
25 "bugs": {
26 "url": "https://github.com/Kikobeats/parse-json/issues"
27 },
28 "keywords": [
29 "JSON",
30 "parse",
31 "async",
32 "promise"
33 ],
34 "dependencies": {
35 "cb2promise": "~1.0.0",
36 "ensure-async": "~1.0.0",
37 "errorifier": "~0.1.3"
38 },
39 "devDependencies": {
40 "browserify": "*",
41 "coffee-script": "*",
42 "coffeeify": "*",
43 "gulp": "*",
44 "gulp-header": "*",
45 "gulp-uglify": "*",
46 "gulp-util": "*",
47 "mocha": "*",
48 "should": "*",
49 "vinyl-buffer": "*",
50 "vinyl-source-stream": "*"
51 },
52 "engines": {
53 "node": ">= 0.10.0",
54 "npm": ">= 1.4.0"
55 },
56 "scripts": {
57 "test": "sh test/test.sh"
58 },
59 "license": "MIT",
60 "gitHead": "2e224300571311c6b9dc8cb387c4b7c7069b31dc",
61 "_id": "[email protected]",
62 "_shasum": "d2b2abb5b86bb36fb50f3835a040109c5a3c9c37",
63 "_from": ".",
64 "_npmVersion": "2.11.3",
65 "_nodeVersion": "0.12.7",
66 "_npmUser": {
67 "name": "kikobeats",
68 "email": "[email protected]"
69 },
70 "dist": {
71 "shasum": "d2b2abb5b86bb36fb50f3835a040109c5a3c9c37",
72 "tarball": "https://registry.npmjs.org/parse-json/-/parse-json-1.0.0.tgz"
73 },
74 "maintainers": [
75 {
76 "name": "kikobeats",
77 "email": "[email protected]"
78 }
79 ],
80 "deprecated": "renamed into 'json-parse-async', use it better!",
81 "directories": {}
82 },
83 "1.0.1": {
84 "name": "parse-json",
85 "description": "The missing JSON.parse async interface.",
86 "homepage": "https://github.com/Kikobeats/parse-json",
87 "version": "1.0.1",
88 "main": "./index.js",
89 "author": {
90 "name": "Kiko Beats",
91 "email": "[email protected]",
92 "url": "https://github.com/Kikobeats"
93 },
94 "repository": {
95 "type": "git",
96 "url": "https://github.com/Kikobeats/parse-json"
97 },
98 "bugs": {
99 "url": "https://github.com/Kikobeats/parse-json/issues"
100 },
101 "keywords": [
102 "JSON",
103 "parse",
104 "async",
105 "promise"
106 ],
107 "dependencies": {
108 "cb2promise": "~1.0.0",
109 "ensure-async": "~1.0.0",
110 "errorifier": "~0.1.3"
111 },
112 "devDependencies": {
113 "browserify": "*",
114 "coffee-script": "*",
115 "coffeeify": "*",
116 "gulp": "*",
117 "gulp-header": "*",
118 "gulp-uglify": "*",
119 "gulp-util": "*",
120 "mocha": "*",
121 "should": "*",
122 "vinyl-buffer": "*",
123 "vinyl-source-stream": "*"
124 },
125 "engines": {
126 "node": ">= 0.10.0",
127 "npm": ">= 1.4.0"
128 },
129 "scripts": {
130 "test": "sh test/test.sh"
131 },
132 "license": "MIT",
133 "gitHead": "25928f3a558d379cf6a52b9ae416177f2463237c",
134 "_id": "[email protected]",
135 "_shasum": "6fc95f7ba8d60a58ac4cd9ea8ec88374e85987e9",
136 "_from": ".",
137 "_npmVersion": "2.11.3",
138 "_nodeVersion": "0.12.7",
139 "_npmUser": {
140 "name": "kikobeats",
141 "email": "[email protected]"
142 },
143 "dist": {
144 "shasum": "6fc95f7ba8d60a58ac4cd9ea8ec88374e85987e9",
145 "tarball": "https://registry.npmjs.org/parse-json/-/parse-json-1.0.1.tgz"
146 },
147 "maintainers": [
148 {
149 "name": "kikobeats",
150 "email": "[email protected]"
151 }
152 ],
153 "deprecated": "renamed into 'json-parse-async', use it better!",
154 "directories": {}
155 },
156 "2.0.0": {
157 "name": "parse-json",
158 "version": "2.0.0",
159 "description": "Parse JSON with more helpful errors",
160 "license": "MIT",
161 "repository": {
162 "type": "git",
163 "url": "git+https://github.com/sindresorhus/parse-json.git"
164 },
165 "author": {
166 "name": "Sindre Sorhus",
167 "email": "[email protected]",
168 "url": "sindresorhus.com"
169 },
170 "engines": {
171 "node": ">=0.10.0"
172 },
173 "scripts": {
174 "test": "xo && node test.js"
175 },
176 "files": [
177 "index.js",
178 "vendor"
179 ],
180 "keywords": [
181 "parse",
182 "json",
183 "graceful",
184 "error",
185 "message",
186 "humanize",
187 "friendly",
188 "helpful",
189 "string",
190 "str"
191 ],
192 "devDependencies": {
193 "ava": "0.0.4",
194 "xo": "*"
195 },
196 "xo": {
197 "ignores": [
198 "vendor/**"
199 ]
200 },
201 "gitHead": "a1c87cd506ccb52eb4aadb5eacb5d0cf54a3d84f",
202 "bugs": {
203 "url": "https://github.com/sindresorhus/parse-json/issues"
204 },
205 "homepage": "https://github.com/sindresorhus/parse-json#readme",
206 "_id": "[email protected]",
207 "_shasum": "e59e30d2642041e9a359c99613c476b1133ca428",
208 "_from": ".",
209 "_npmVersion": "2.11.3",
210 "_nodeVersion": "0.12.7",
211 "_npmUser": {
212 "name": "sindresorhus",
213 "email": "[email protected]"
214 },
215 "dist": {
216 "shasum": "e59e30d2642041e9a359c99613c476b1133ca428",
217 "tarball": "https://registry.npmjs.org/parse-json/-/parse-json-2.0.0.tgz"
218 },
219 "maintainers": [
220 {
221 "name": "kikobeats",
222 "email": "[email protected]"
223 },
224 {
225 "name": "sindresorhus",
226 "email": "[email protected]"
227 }
228 ],
229 "directories": {}
230 },
231 "2.1.0": {
232 "name": "parse-json",
233 "version": "2.1.0",
234 "description": "Parse JSON with more helpful errors",
235 "license": "MIT",
236 "repository": {
237 "type": "git",
238 "url": "git+https://github.com/sindresorhus/parse-json.git"
239 },
240 "author": {
241 "name": "Sindre Sorhus",
242 "email": "[email protected]",
243 "url": "sindresorhus.com"
244 },
245 "engines": {
246 "node": ">=0.10.0"
247 },
248 "scripts": {
249 "test": "xo && node test.js"
250 },
251 "files": [
252 "index.js",
253 "vendor"
254 ],
255 "keywords": [
256 "parse",
257 "json",
258 "graceful",
259 "error",
260 "message",
261 "humanize",
262 "friendly",
263 "helpful",
264 "string",
265 "str"
266 ],
267 "dependencies": {
268 "error-ex": "^1.1.0"
269 },
270 "devDependencies": {
271 "ava": "0.0.4",
272 "xo": "*"
273 },
274 "xo": {
275 "ignores": [
276 "vendor/**"
277 ]
278 },
279 "gitHead": "f91dcce91727e00a22dfe22af57575c4cbc34c77",
280 "bugs": {
281 "url": "https://github.com/sindresorhus/parse-json/issues"
282 },
283 "homepage": "https://github.com/sindresorhus/parse-json#readme",
284 "_id": "[email protected]",
285 "_shasum": "7125b5f3f679b3d1d5c7fc4cd561cc1f4576aacc",
286 "_from": ".",
287 "_npmVersion": "2.11.3",
288 "_nodeVersion": "0.12.7",
289 "_npmUser": {
290 "name": "sindresorhus",
291 "email": "[email protected]"
292 },
293 "dist": {
294 "shasum": "7125b5f3f679b3d1d5c7fc4cd561cc1f4576aacc",
295 "tarball": "https://registry.npmjs.org/parse-json/-/parse-json-2.1.0.tgz"
296 },
297 "maintainers": [
298 {
299 "name": "sindresorhus",
300 "email": "[email protected]"
301 }
302 ],
303 "directories": {}
304 },
305 "2.2.0": {
306 "name": "parse-json",
307 "version": "2.2.0",
308 "description": "Parse JSON with more helpful errors",
309 "license": "MIT",
310 "repository": {
311 "type": "git",
312 "url": "https://github.com/sindresorhus/parse-json"
313 },
314 "author": {
315 "name": "Sindre Sorhus",
316 "email": "[email protected]",
317 "url": "sindresorhus.com"
318 },
319 "engines": {
320 "node": ">=0.10.0"
321 },
322 "scripts": {
323 "test": "xo && node test.js"
324 },
325 "files": [
326 "index.js",
327 "vendor"
328 ],
329 "keywords": [
330 "parse",
331 "json",
332 "graceful",
333 "error",
334 "message",
335 "humanize",
336 "friendly",
337 "helpful",
338 "string",
339 "str"
340 ],
341 "dependencies": {
342 "error-ex": "^1.2.0"
343 },
344 "devDependencies": {
345 "ava": "0.0.4",
346 "xo": "*"
347 },
348 "xo": {
349 "ignores": [
350 "vendor/**"
351 ]
352 },
353 "gitHead": "419b0cbb83e67af53f9fd3f7ff98605ea2020eb6",
354 "bugs": {
355 "url": "https://github.com/sindresorhus/parse-json/issues"
356 },
357 "homepage": "https://github.com/sindresorhus/parse-json",
358 "_id": "[email protected]",
359 "_shasum": "f480f40434ef80741f8469099f8dea18f55a4dc9",
360 "_from": ".",
361 "_npmVersion": "2.11.3",
362 "_nodeVersion": "0.12.7",
363 "_npmUser": {
364 "name": "sindresorhus",
365 "email": "[email protected]"
366 },
367 "dist": {
368 "shasum": "f480f40434ef80741f8469099f8dea18f55a4dc9",
369 "tarball": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz"
370 },
371 "maintainers": [
372 {
373 "name": "sindresorhus",
374 "email": "[email protected]"
375 }
376 ],
377 "directories": {}
378 },
379 "3.0.0": {
380 "name": "parse-json",
381 "version": "3.0.0",
382 "description": "Parse JSON with more helpful errors",
383 "license": "MIT",
384 "repository": {
385 "type": "git",
386 "url": "git+https://github.com/sindresorhus/parse-json.git"
387 },
388 "author": {
389 "name": "Sindre Sorhus",
390 "email": "[email protected]",
391 "url": "sindresorhus.com"
392 },
393 "engines": {
394 "node": ">=4"
395 },
396 "scripts": {
397 "test": "xo && ava"
398 },
399 "files": [
400 "index.js",
401 "vendor"
402 ],
403 "keywords": [
404 "parse",
405 "json",
406 "graceful",
407 "error",
408 "message",
409 "humanize",
410 "friendly",
411 "helpful",
412 "string",
413 "str"
414 ],
415 "dependencies": {
416 "error-ex": "^1.3.1"
417 },
418 "devDependencies": {
419 "ava": "*",
420 "xo": "*"
421 },
422 "gitHead": "aacda96ce310718e1fff98cefdb6f114f031d23b",
423 "bugs": {
424 "url": "https://github.com/sindresorhus/parse-json/issues"
425 },
426 "homepage": "https://github.com/sindresorhus/parse-json#readme",
427 "_id": "[email protected]",
428 "_shasum": "fa6f47b18e23826ead32f263e744d0e1e847fb13",
429 "_from": ".",
430 "_npmVersion": "2.15.11",
431 "_nodeVersion": "4.8.3",
432 "_npmUser": {
433 "name": "sindresorhus",
434 "email": "[email protected]"
435 },
436 "dist": {
437 "shasum": "fa6f47b18e23826ead32f263e744d0e1e847fb13",
438 "tarball": "https://registry.npmjs.org/parse-json/-/parse-json-3.0.0.tgz"
439 },
440 "maintainers": [
441 {
442 "name": "sindresorhus",
443 "email": "[email protected]"
444 }
445 ],
446 "_npmOperationalInternal": {
447 "host": "s3://npm-registry-packages",
448 "tmp": "tmp/parse-json-3.0.0.tgz_1502964675950_0.48904961277730763"
449 },
450 "directories": {}
451 },
452 "4.0.0": {
453 "name": "parse-json",
454 "version": "4.0.0",
455 "description": "Parse JSON with more helpful errors",
456 "license": "MIT",
457 "repository": {
458 "type": "git",
459 "url": "git+https://github.com/sindresorhus/parse-json.git"
460 },
461 "author": {
462 "name": "Sindre Sorhus",
463 "email": "[email protected]",
464 "url": "sindresorhus.com"
465 },
466 "engines": {
467 "node": ">=4"
468 },
469 "scripts": {
470 "test": "xo && nyc ava"
471 },
472 "files": [
473 "index.js",
474 "vendor"
475 ],
476 "keywords": [
477 "parse",
478 "json",
479 "graceful",
480 "error",
481 "message",
482 "humanize",
483 "friendly",
484 "helpful",
485 "string",
486 "str"
487 ],
488 "dependencies": {
489 "error-ex": "^1.3.1",
490 "json-parse-better-errors": "^1.0.1"
491 },
492 "devDependencies": {
493 "ava": "*",
494 "nyc": "^11.2.1",
495 "xo": "*"
496 },
497 "gitHead": "d1f4edbbef6e76ddc084b2f88e4d64a2b08081c5",
498 "bugs": {
499 "url": "https://github.com/sindresorhus/parse-json/issues"
500 },
501 "homepage": "https://github.com/sindresorhus/parse-json#readme",
502 "_id": "[email protected]",
503 "_shasum": "be35f5425be1f7f6c747184f98a788cb99477ee0",
504 "_from": ".",
505 "_npmVersion": "2.15.11",
506 "_nodeVersion": "4.8.4",
507 "_npmUser": {
508 "name": "sindresorhus",
509 "email": "[email protected]"
510 },
511 "dist": {
512 "shasum": "be35f5425be1f7f6c747184f98a788cb99477ee0",
513 "tarball": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz"
514 },
515 "maintainers": [
516 {
517 "name": "sindresorhus",
518 "email": "[email protected]"
519 }
520 ],
521 "_npmOperationalInternal": {
522 "host": "s3://npm-registry-packages",
523 "tmp": "tmp/parse-json-4.0.0.tgz_1509782029937_0.44315575854852796"
524 },
525 "directories": {}
526 },
527 "5.0.0": {
528 "name": "parse-json",
529 "version": "5.0.0",
530 "description": "Parse JSON with more helpful errors",
531 "license": "MIT",
532 "repository": {
533 "type": "git",
534 "url": "git+https://github.com/sindresorhus/parse-json.git"
535 },
536 "author": {
537 "name": "Sindre Sorhus",
538 "email": "[email protected]",
539 "url": "sindresorhus.com"
540 },
541 "engines": {
542 "node": ">=8"
543 },
544 "scripts": {
545 "test": "xo && nyc ava"
546 },
547 "keywords": [
548 "parse",
549 "json",
550 "graceful",
551 "error",
552 "message",
553 "humanize",
554 "friendly",
555 "helpful",
556 "string"
557 ],
558 "dependencies": {
559 "@babel/code-frame": "^7.0.0",
560 "error-ex": "^1.3.1",
561 "json-parse-better-errors": "^1.0.1",
562 "lines-and-columns": "^1.1.6"
563 },
564 "devDependencies": {
565 "ava": "^1.4.1",
566 "nyc": "^14.1.1",
567 "xo": "^0.24.0"
568 },
569 "gitHead": "b5dca23e12a0a3dc9d2f706a24a6f569b23b2c40",
570 "bugs": {
571 "url": "https://github.com/sindresorhus/parse-json/issues"
572 },
573 "homepage": "https://github.com/sindresorhus/parse-json#readme",
574 "_id": "[email protected]",
575 "_nodeVersion": "10.16.0",
576 "_npmVersion": "6.9.0",
577 "_npmUser": {
578 "name": "sindresorhus",
579 "email": "[email protected]"
580 },
581 "dist": {
582 "integrity": "sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw==",
583 "shasum": "73e5114c986d143efa3712d4ea24db9a4266f60f",
584 "tarball": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.0.tgz",
585 "fileCount": 4,
586 "unpackedSize": 5067,
587 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdG5wuCRA9TVsSAnZWagAALdEP/05PCibYsIS3td6u3H2f\nQ/e68ihzQKgTcFRazUSWfXEYhNxEvj7ZjiZWlpdY/rvtRMMrTjyQHYuteiGk\n1UmE88sssHa27TWZKgukr2SoKaz/7S1PlHlmEXkjIkwq+7DJL0u4PD9xgP+X\nbo3VG9HnPaMIkgKWUQRKdvw95h9Sb8wQji6j0w0XOw9oftYHX61M7y+X3igw\na14swEeK2DhkA8rwTlnXITFSBayQkenFpeFx+ymTgTdTGZIAuWtharXUHAgO\nU0mBtNm23WicUbBEeObYC0G3+3j7TlODCzewr75ZmdD4q1Fv4+GBIKQNi6jG\ntO4nWrGjogzETDIB3Un2NSDUuGXXewZA+MEkkJvIOvHBWpri+sOpZkAmKJVm\ntA6hNTbgtfQ0To1fyJ9y2jtz6q+u2kgtKhZtiiPZp/oQq2keyo0zpVU7zTRe\nGqEB1FGwmc3MXzSWXlEviuNAtwMxmwL72LtmJAqzPZNgN34JfXxV/SIcd4Kv\nlIdSgEgU73QsYEjaxAyqhYFF5wingF1plkbtsj7dyShYhahc0eoRGfYp6RkL\n6g4ZC9y6ZZ55hiQCflZWqaZNhvwHy4z11YTXzx57SopRIv1aVsXVWJjQCOX7\nB4JgvvGDaQnIfziSmKpf+hju3c8Zng77dq3iyKmTCM/+hBqfbyMftQZ+K3mA\nQKLc\r\n=0mFk\r\n-----END PGP SIGNATURE-----\r\n"
588 },
589 "maintainers": [
590 {
591 "name": "sindresorhus",
592 "email": "[email protected]"
593 }
594 ],
595 "directories": {},
596 "_npmOperationalInternal": {
597 "host": "s3://npm-registry-packages",
598 "tmp": "tmp/parse-json_5.0.0_1562090541124_0.5214942991603031"
599 },
600 "_hasShrinkwrap": false
601 },
602 "5.0.1": {
603 "name": "parse-json",
604 "version": "5.0.1",
605 "description": "Parse JSON with more helpful errors",
606 "license": "MIT",
607 "repository": {
608 "type": "git",
609 "url": "git+https://github.com/sindresorhus/parse-json.git"
610 },
611 "funding": "https://github.com/sponsors/sindresorhus",
612 "author": {
613 "name": "Sindre Sorhus",
614 "email": "[email protected]",
615 "url": "https://sindresorhus.com"
616 },
617 "engines": {
618 "node": ">=8"
619 },
620 "scripts": {
621 "test": "xo && nyc ava"
622 },
623 "keywords": [
624 "parse",
625 "json",
626 "graceful",
627 "error",
628 "message",
629 "humanize",
630 "friendly",
631 "helpful",
632 "string"
633 ],
634 "dependencies": {
635 "@babel/code-frame": "^7.0.0",
636 "error-ex": "^1.3.1",
637 "json-parse-better-errors": "^1.0.1",
638 "lines-and-columns": "^1.1.6"
639 },
640 "devDependencies": {
641 "ava": "^1.4.1",
642 "nyc": "^14.1.1",
643 "xo": "^0.24.0"
644 },
645 "gitHead": "2c8dd7e96ede24bde310bc0238678b776d3b0b90",
646 "bugs": {
647 "url": "https://github.com/sindresorhus/parse-json/issues"
648 },
649 "homepage": "https://github.com/sindresorhus/parse-json#readme",
650 "_id": "[email protected]",
651 "_nodeVersion": "14.5.0",
652 "_npmVersion": "6.14.5",
653 "_npmUser": {
654 "name": "sindresorhus",
655 "email": "[email protected]"
656 },
657 "dist": {
658 "integrity": "sha512-ztoZ4/DYeXQq4E21v169sC8qWINGpcosGv9XhTDvg9/hWvx/zrFkc9BiWxR58OJLHGk28j5BL0SDLeV2WmFZlQ==",
659 "shasum": "7cfe35c1ccd641bce3981467e6c2ece61b3b3878",
660 "tarball": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.1.tgz",
661 "fileCount": 4,
662 "unpackedSize": 5138,
663 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfGm8tCRA9TVsSAnZWagAAdBAP/i6CUu20W68dHolLFMt+\n4tmfiLldBS98qJEWXwvQ2moLRwE8FF1vofPKXcQxmguKEXomVdWImfp8kS73\nITHAgw+F6ANpFDl9EonU/0rlL8+m9MLXm7dAhriO2K3Yh0BLx6m0idp5G/k3\nhCBa5VJE5UWnAYFWTsnWpIm9h0C51damuwOvQwLA6cJSXBb5UUqOJFoUM1Zh\nUMqZzBGo8MR5oKHaW5jh1vz3317crpztyXroBxOUOmKklRha320/pujzdteh\n6MT9Hq9C7FYaebmlBt+QcAG9hdPtfBhbDWHsFxaY4k+mjLHloRZXfdWdutLs\nVN3yrmdKA8s5x59MhKhqLNPDfa5XxGGOMEqzIeHNdR8N3+D4Y7pUxwmF875P\nV9MGMlp4yCLAdbOErVSzneUOCfCb1Z2wNTmth2IwR7XZgUOVUS5hMnm1FTTi\nUfIBK9UsknNgn08Ic03DNEMt8ph5/iM2KlzsnAeHD3o9iOnPVzUnswYymFe8\n27DIfTaH4PQ82Dk0/1G3Rhdsu7aY3Xqiqrhbz1T/J8KN71XAgneNQ+GPbnUl\n3xLvFgZQm/vT7QU8XyjDWBNfmfAEQu2araPTEPx07RKJroORvBOYtCidq8OS\nSv2QmOoLFnjTAHM58ISS3LIF6TkzehvpfsdRjL+Gu1YgSUmhQc4K6CTywScb\njqWN\r\n=r0qd\r\n-----END PGP SIGNATURE-----\r\n"
664 },
665 "maintainers": [
666 {
667 "name": "sindresorhus",
668 "email": "[email protected]"
669 }
670 ],
671 "directories": {},
672 "_npmOperationalInternal": {
673 "host": "s3://npm-registry-packages",
674 "tmp": "tmp/parse-json_5.0.1_1595567916652_0.7594929598672941"
675 },
676 "_hasShrinkwrap": false
677 },
678 "5.1.0": {
679 "name": "parse-json",
680 "version": "5.1.0",
681 "description": "Parse JSON with more helpful errors",
682 "license": "MIT",
683 "repository": {
684 "type": "git",
685 "url": "git+https://github.com/sindresorhus/parse-json.git"
686 },
687 "funding": "https://github.com/sponsors/sindresorhus",
688 "author": {
689 "name": "Sindre Sorhus",
690 "email": "[email protected]",
691 "url": "https://sindresorhus.com"
692 },
693 "engines": {
694 "node": ">=8"
695 },
696 "scripts": {
697 "test": "xo && nyc ava"
698 },
699 "keywords": [
700 "parse",
701 "json",
702 "graceful",
703 "error",
704 "message",
705 "humanize",
706 "friendly",
707 "helpful",
708 "string"
709 ],
710 "dependencies": {
711 "@babel/code-frame": "^7.0.0",
712 "error-ex": "^1.3.1",
713 "json-parse-even-better-errors": "^2.3.0",
714 "lines-and-columns": "^1.1.6"
715 },
716 "devDependencies": {
717 "ava": "^1.4.1",
718 "nyc": "^14.1.1",
719 "xo": "^0.24.0"
720 },
721 "gitHead": "0661a9c246bcec65407322126cf473dda91c0727",
722 "bugs": {
723 "url": "https://github.com/sindresorhus/parse-json/issues"
724 },
725 "homepage": "https://github.com/sindresorhus/parse-json#readme",
726 "_id": "[email protected]",
727 "_nodeVersion": "12.18.2",
728 "_npmVersion": "6.14.7",
729 "_npmUser": {
730 "name": "sindresorhus",
731 "email": "[email protected]"
732 },
733 "dist": {
734 "integrity": "sha512-+mi/lmVVNKFNVyLXV31ERiy2CY5E1/F6QtJFEzoChPRwwngMNXRDQ9GJ5WdE2Z2P4AujsOi0/+2qHID68KwfIQ==",
735 "shasum": "f96088cdf24a8faa9aea9a009f2d9d942c999646",
736 "tarball": "https://registry.npmjs.org/parse-json/-/parse-json-5.1.0.tgz",
737 "fileCount": 4,
738 "unpackedSize": 5148,
739 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfQYNcCRA9TVsSAnZWagAAW8cQAI+SAcS2dX9tXnF7a2wn\n4tptE4MDmFrq1yxeHUYRmTy+v4DWs5Re/a6IfRYPP9KLZjAL+j2iC9vVcbvl\nAbLSL6KnQ+mlzAxv8NP/C25My0bDaMkNXjAfEPgVAqaS0ha7r3KFAi0z3YZF\n+F7S0q35gm6bJRVDVAsWLcOgeMUx6dOX/HipHspYSGv55X1xq9XMK9ajTdBR\ntDaWgHdVRFKbusFZ+cNWCj/tTu+hnDhG/rMIR6BRTRtAvFlzA05yE92AFIw1\nA3hsD07359h3HnVNeiIz3wgdaP1jcXmnETTE3UPMz/0LcmJdsWFgLMnb+ScZ\ndrDfZV/Sv+0mh1EyYYmm8oSjUiXBoajAlTXX4oeIR9TKcVTTBRf2k/kTVjl1\nVEd0XMdjWOLX88IaYcuWMGURYqyfQiCq0QKhZFr3wSvW2zSQ71EyqU7N0pC4\ni/m01lo9NspavgSBsEOkZmlWzbyA/NhEzjvtIcCidtBW39b/fXb8dgvDJuzt\nLIX18QfRAgtZYBpexVS6M4jAmY+CmKMF2fmMDs7lYpqFdfC+dYdVXNDk8NP+\ndDx9dC6oq+g5XZr2wynltH2NH4PrfCxVKzszaMDNguHYyfCNbnfascl3CUPQ\n9F+h+G4J+Bh57zLhsxcsA4lYgx6uGgAomYbv4mmGjkfudyuxzfVx+6zokGdL\nVJxG\r\n=byfQ\r\n-----END PGP SIGNATURE-----\r\n"
740 },
741 "maintainers": [
742 {
743 "name": "sindresorhus",
744 "email": "[email protected]"
745 }
746 ],
747 "directories": {},
748 "_npmOperationalInternal": {
749 "host": "s3://npm-registry-packages",
750 "tmp": "tmp/parse-json_5.1.0_1598128987764_0.28417646929083196"
751 },
752 "_hasShrinkwrap": false
753 }
754 },
755 "readme": "# parse-json [![Build Status](https://travis-ci.com/sindresorhus/parse-json.svg?branch=master)](https://travis-ci.com/github/sindresorhus/parse-json)\n\n> Parse JSON with more helpful errors\n\n## Install\n\n```\n$ npm install parse-json\n```\n\n## Usage\n\n```js\nconst parseJson = require('parse-json');\n\nconst json = '{\\n\\t\"foo\": true,\\n}';\n\n\nJSON.parse(json);\n/*\nundefined:3\n}\n^\nSyntaxError: Unexpected token }\n*/\n\n\nparseJson(json);\n/*\nJSONError: Unexpected token } in JSON at position 16 while parsing near '{ \"foo\": true,}'\n\n 1 | {\n 2 | \"foo\": true,\n> 3 | }\n | ^\n*/\n\n\nparseJson(json, 'foo.json');\n/*\nJSONError: Unexpected token } in JSON at position 16 while parsing near '{ \"foo\": true,}' in foo.json\n\n 1 | {\n 2 | \"foo\": true,\n> 3 | }\n | ^\n*/\n\n\n// You can also add the filename at a later point\ntry {\n\tparseJson(json);\n} catch (error) {\n\terror.fileName = 'foo.json';\n\tthrow error;\n}\n/*\nJSONError: Unexpected token } in JSON at position 16 while parsing near '{ \"foo\": true,}' in foo.json\n\n 1 | {\n 2 | \"foo\": true,\n> 3 | }\n | ^\n*/\n```\n\n## API\n\n### parseJson(string, reviver?, filename?)\n\n#### string\n\nType: `string`\n\n#### reviver\n\nType: `Function`\n\nPrescribes how the value originally produced by parsing is transformed, before being returned. See [`JSON.parse` docs](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#Using_the_reviver_parameter\n) for more.\n\n#### filename\n\nType: `string`\n\nFilename displayed in the error message.\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-parse-json?utm_source=npm-parse-json&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",
756 "maintainers": [
757 {
758 "name": "sindresorhus",
759 "email": "[email protected]"
760 }
761 ],
762 "time": {
763 "modified": "2020-08-22T20:43:10.211Z",
764 "created": "2015-07-28T19:05:09.989Z",
765 "1.0.0": "2015-07-28T19:05:09.989Z",
766 "1.0.1": "2015-08-03T10:29:22.749Z",
767 "2.0.0": "2015-08-25T14:14:38.170Z",
768 "2.1.0": "2015-08-26T15:15:54.581Z",
769 "2.2.0": "2015-08-31T16:36:30.005Z",
770 "3.0.0": "2017-08-17T10:11:16.080Z",
771 "4.0.0": "2017-11-04T07:53:50.125Z",
772 "5.0.0": "2019-07-02T18:02:21.255Z",
773 "5.0.1": "2020-07-24T05:18:36.819Z",
774 "5.1.0": "2020-08-22T20:43:07.895Z"
775 },
776 "homepage": "https://github.com/sindresorhus/parse-json#readme",
777 "keywords": [
778 "parse",
779 "json",
780 "graceful",
781 "error",
782 "message",
783 "humanize",
784 "friendly",
785 "helpful",
786 "string"
787 ],
788 "repository": {
789 "type": "git",
790 "url": "git+https://github.com/sindresorhus/parse-json.git"
791 },
792 "author": {
793 "name": "Sindre Sorhus",
794 "email": "[email protected]",
795 "url": "https://sindresorhus.com"
796 },
797 "bugs": {
798 "url": "https://github.com/sindresorhus/parse-json/issues"
799 },
800 "license": "MIT",
801 "readmeFilename": "readme.md",
802 "users": {
803 "nexdrew": true,
804 "huhgawz": true,
805 "mightyjongyo": true,
806 "rocket0191": true,
807 "drveresh": true,
808 "kakaman": true,
809 "shuoshubao": true,
810 "pftom": true,
811 "huuduy": true,
812 "sunshine1988": true,
813 "zhenguo.zhao": true
814 }
815 }