Debian Codegraph @

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

raw
1 {
2 "_id": "json-parse-even-better-errors",
3 "_rev": "13-9db62c5ea98004b6b231343f8e707410",
4 "name": "json-parse-even-better-errors",
5 "dist-tags": {
6 "latest": "2.3.1"
7 },
8 "versions": {
9 "2.0.0": {
10 "name": "json-parse-even-better-errors",
11 "version": "2.0.0",
12 "description": "JSON.parse with context information on error",
13 "main": "index.js",
14 "scripts": {
15 "preversion": "npm t",
16 "postversion": "npm publish",
17 "postpublish": "git push --follow-tags",
18 "test": "tap",
19 "snap": "tap"
20 },
21 "repository": {
22 "type": "git",
23 "url": "git+https://github.com/npm/json-parse-even-better-errors.git"
24 },
25 "keywords": [
26 "JSON",
27 "parser"
28 ],
29 "author": {
30 "name": "Kat Marchán",
31 "email": "[email protected]"
32 },
33 "license": "MIT",
34 "devDependencies": {
35 "tap": "^14.6.5"
36 },
37 "tap": {
38 "check-coverage": true
39 },
40 "gitHead": "56f2af8f93c19ade11f4cfb2d47232e8e4fc6fa1",
41 "bugs": {
42 "url": "https://github.com/npm/json-parse-even-better-errors/issues"
43 },
44 "homepage": "https://github.com/npm/json-parse-even-better-errors#readme",
45 "_id": "[email protected]",
46 "_nodeVersion": "12.8.1",
47 "_npmVersion": "6.11.3",
48 "dist": {
49 "integrity": "sha512-2tmDEuXncqeXo2KX6DHJKs0X8nHu+zezlp8wFmpEgQSpdKuqRsXYF33qW3OSbLQbKveL/5jcFCQVD1jD11TCNg==",
50 "shasum": "20adeb0d829d7a576c8b14487546fb4998420f0a",
51 "tarball": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.0.0.tgz",
52 "fileCount": 5,
53 "unpackedSize": 7268,
54 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjmryCRA9TVsSAnZWagAARjAQAISRs8pPgEAMGOeyTiFy\nHUkzJn/jwkM6Yzv8gPaYSfxd6isIRPjW+bXfh5c59xEoFUfzJOiqpNp+DOEU\nHq1WfeKXcewxKJJevmlu4XZttW2pke79zmdixhI1gDasKzYeiSWVIn2jaKks\nUPZCAp+xOkDoK0egXsltdA9bjwdEH7uA5NqDHlp/c6DKXFgPAnlNg/cN5C6R\nP6e01Hd3V/lENVTFtNOwFbS6kq6ljR0SSKE+rSqDwKk1qC0KJYnRPDC79Ec0\nSvF0FHOpgHwlrKogv1XZS+LoC/h8TqYfyJZaZ94WBGAo02chRBlmek8pKcrB\nKNBpkUydhWpml08loSVW6haxGXw0fe2xqG9DjgRmUchxJU/IeiS3796YsKr9\nx1XsyqWvTkQKrufliid2nkX1UQOJ1I89IJkvPhBU2k+E37k8tHsDObqF1SHK\nPDKBqpTvHaQLW5Nhx4Gc29p8crvrGEidmPTNqMB9wx1JR7pwDQvjo6XLgeCu\nxmPjr980ScI/PRApPPz+zvfyUrmu0x2tcW7Tp6AdWw/1vInPQEiicnbNC854\nq0q2g6kHKEi6SHbV2bQbt0wjm2tSe0CuNuPYLizQa/v95PDdqAw9UFMkDqUy\nG0dYmcB5RJxILpFMwgmWUJ5DpAZVXZC2ILGHF6ggpKFOq1M4VjjD/znnD+nP\nd+2t\r\n=lDGc\r\n-----END PGP SIGNATURE-----\r\n"
55 },
56 "maintainers": [
57 {
58 "name": "isaacs",
59 "email": "[email protected]"
60 }
61 ],
62 "_npmUser": {
63 "name": "isaacs",
64 "email": "[email protected]"
65 },
66 "directories": {},
67 "_npmOperationalInternal": {
68 "host": "s3://npm-registry-packages",
69 "tmp": "tmp/json-parse-even-better-errors_2.0.0_1569614577520_0.7998008755295973"
70 },
71 "_hasShrinkwrap": false
72 },
73 "2.0.1": {
74 "name": "json-parse-even-better-errors",
75 "version": "2.0.1",
76 "description": "JSON.parse with context information on error",
77 "main": "index.js",
78 "scripts": {
79 "preversion": "npm t",
80 "postversion": "npm publish",
81 "postpublish": "git push --follow-tags",
82 "test": "tap",
83 "snap": "tap"
84 },
85 "repository": {
86 "type": "git",
87 "url": "git+https://github.com/npm/json-parse-even-better-errors.git"
88 },
89 "keywords": [
90 "JSON",
91 "parser"
92 ],
93 "author": {
94 "name": "Kat Marchán",
95 "email": "[email protected]"
96 },
97 "license": "MIT",
98 "devDependencies": {
99 "tap": "^14.6.5"
100 },
101 "tap": {
102 "check-coverage": true
103 },
104 "gitHead": "7037a936cf0fcde35473a9a00bb987535e7ada76",
105 "bugs": {
106 "url": "https://github.com/npm/json-parse-even-better-errors/issues"
107 },
108 "homepage": "https://github.com/npm/json-parse-even-better-errors#readme",
109 "_id": "[email protected]",
110 "_nodeVersion": "12.8.1",
111 "_npmVersion": "6.11.3",
112 "dist": {
113 "integrity": "sha512-XFY2Mbnmg+8r7MRsxfArVkZcfjxGlF/NjM3LsPXVeCX/GBF/1FTCv+idHBYC4qLPtK7q8HC8bapLoWqnhP/bXw==",
114 "shasum": "ed0009e0f5e7eb21ae0675d0d34782cc7a53c60e",
115 "tarball": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.0.1.tgz",
116 "fileCount": 5,
117 "unpackedSize": 7432,
118 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjm0oCRA9TVsSAnZWagAASJ4P/jcg4bfhCOSmTuW71wEK\nwbm9b+peLosC7BSADc1Sd4PRbLPIDrheDom8Pi6AwDJaEKv8trpxhBYR2ZGP\nPTikbQUNU3IeAkExyYLuPDfpvzuWvKaZUBPu8TnOn04J7k7Gh94xg8GSgK/O\nthpClgRLeEpQD7S5/GmAkNeJd6xZjq3FHT+2QTZAG5jZy6em8bttiUjufExc\nXq8nRPZxHkLZBB82A7Hw7XJXZvZjz3+WHBCmeYsLFqFiVMtToKarS7b/1m7+\nzsibK8lS4qbAdJcI0uG9kXbvFW/OPldU6E2JGXCc6TYZfMg/ttl81vLFJOII\n8nKjGZUlazPz9hDUmtuXRwHGYmduzM0J55fOG0eWGg6ucjdlpnnsp9EGfytj\njv1nS2yqYsNqiWOhkLFBiDD9Ds6Ia/3bKGObPIvNyfwMoSdBqVoPrK6K02k8\nZ/z8km+yYp4eVZGTcrunMudfw/1sWHnzjLp+I+SInQ94uuvFPu3RpT6I8oGM\nhDK78OL7B05AznoRkO5ZqCVMnucoJHjnRUdsI9tHTJmtlJbOZM+IppW8mS9E\nJYF17u/iCM5exZQ6u/29pxzMJU396nvC8o0pFzOBuuRdUqMRxtaFKGHECluJ\nZM7y3OmfjwSMGZo8giDGfPVNajB7l0/ilKErNwl+ksRYGnr+zfLC7ZNNj246\njfMY\r\n=pPyj\r\n-----END PGP SIGNATURE-----\r\n"
119 },
120 "maintainers": [
121 {
122 "name": "isaacs",
123 "email": "[email protected]"
124 }
125 ],
126 "_npmUser": {
127 "name": "isaacs",
128 "email": "[email protected]"
129 },
130 "directories": {},
131 "_npmOperationalInternal": {
132 "host": "s3://npm-registry-packages",
133 "tmp": "tmp/json-parse-even-better-errors_2.0.1_1569615143740_0.6561319283993847"
134 },
135 "_hasShrinkwrap": false
136 },
137 "2.1.0": {
138 "name": "json-parse-even-better-errors",
139 "version": "2.1.0",
140 "description": "JSON.parse with context information on error",
141 "main": "index.js",
142 "scripts": {
143 "preversion": "npm t",
144 "postversion": "npm publish",
145 "postpublish": "git push --follow-tags",
146 "test": "tap",
147 "snap": "tap"
148 },
149 "repository": {
150 "type": "git",
151 "url": "git+https://github.com/npm/json-parse-even-better-errors.git"
152 },
153 "keywords": [
154 "JSON",
155 "parser"
156 ],
157 "author": {
158 "name": "Kat Marchán",
159 "email": "[email protected]"
160 },
161 "license": "MIT",
162 "devDependencies": {
163 "tap": "^14.6.5"
164 },
165 "tap": {
166 "check-coverage": true
167 },
168 "gitHead": "24d475d7987bc28ff3172fa3378b2cbf4b02aa95",
169 "bugs": {
170 "url": "https://github.com/npm/json-parse-even-better-errors/issues"
171 },
172 "homepage": "https://github.com/npm/json-parse-even-better-errors#readme",
173 "_id": "[email protected]",
174 "_nodeVersion": "13.9.0",
175 "_npmVersion": "6.14.2",
176 "dist": {
177 "integrity": "sha512-pbAhg+qUUH9J7DdiUoX4XstXDya6GWJGnb/08YWnhNiIJr5fvAcF6wPtIWZQyutcxrWR++1nAv9lmEIikQCfFw==",
178 "shasum": "a72dffaa47924e65fbfe8368d0424bd686076b82",
179 "tarball": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.1.0.tgz",
180 "fileCount": 5,
181 "unpackedSize": 8048,
182 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYJYSCRA9TVsSAnZWagAAT88P/Rv1j048oWuSuSYydC7g\n9mzNJSSJCBG6n7YyPW+lByXb8QFKGC+Nj8NTfaFMUkN9zUfkkfg+YFwGHFs9\nXoyU560XaVlUPElaqLm3TyzX6VCpJlhCR5ci73cNTRK2pxZULjfriKAP2HfE\n9qlne3tHfVvqgHCrLDQ+dnHdhZsRCxcpN6obKAYs90jzXn5WIq2uGVmDt45a\nvnABS8c3TQ2OdljVTDs3TGHjJdHLU26h30bijkKKAjR1r9exZOQO5lp+e3Kp\nJfC2XY4ujWE8f1iur7/8Lc3kMlk6ipiKp9Mxx6sq/0iFTPJh/htYV2fcXd0B\nGNwkMwQplEmSNQlXul0JtqjaK9vm8IIUKmuiRzhQ24wPSkbcgPEYyeOd2Q1k\ns/8SU106QfqSAI7MZkbTZL0akhPKZMDi/Df6mWeux3dw2jXSOgk5CbzdT6E4\n6VPe7g+jgbTWFqeO7WMVR1ZvWNfPoxBRhWPjpAGQ1HI9t6ajaUUjMdNsEtiQ\nrwt5LI+4Kp6OLuDB3+VwCJn8/SZDCnxn8qZdXFtBmx4yZPPF4R4prWZ4rkvX\n4HiHY2gXNQrQQs3Dh49z4kLYtVeifT0amWsaMSc4UloGlA1HC61tcSbUSPU1\nk0FiX2HQNsMpzc+5Gm1p+dzBQD6f+Kx/FE6ZKEAsv48OlPOqwEPuGQ0i0PwV\nF5uL\r\n=XQaz\r\n-----END PGP SIGNATURE-----\r\n"
183 },
184 "maintainers": [
185 {
186 "email": "[email protected]",
187 "name": "adam_baldwin"
188 },
189 {
190 "email": "[email protected]",
191 "name": "ahmadnassri"
192 },
193 {
194 "email": "[email protected]",
195 "name": "claudiahdz"
196 },
197 {
198 "email": "[email protected]",
199 "name": "darcyclarke"
200 },
201 {
202 "email": "[email protected]",
203 "name": "isaacs"
204 },
205 {
206 "email": "[email protected]",
207 "name": "mikemimik"
208 },
209 {
210 "email": "[email protected]",
211 "name": "ruyadorno"
212 }
213 ],
214 "_npmUser": {
215 "name": "isaacs",
216 "email": "[email protected]"
217 },
218 "directories": {},
219 "_npmOperationalInternal": {
220 "host": "s3://npm-registry-packages",
221 "tmp": "tmp/json-parse-even-better-errors_2.1.0_1583388178074_0.0038880499319304818"
222 },
223 "_hasShrinkwrap": false
224 },
225 "2.2.0": {
226 "name": "json-parse-even-better-errors",
227 "version": "2.2.0",
228 "description": "JSON.parse with context information on error",
229 "main": "index.js",
230 "scripts": {
231 "preversion": "npm t",
232 "postversion": "npm publish",
233 "prepublishOnly": "git push --follow-tags",
234 "test": "tap",
235 "snap": "tap"
236 },
237 "repository": {
238 "type": "git",
239 "url": "git+https://github.com/npm/json-parse-even-better-errors.git"
240 },
241 "keywords": [
242 "JSON",
243 "parser"
244 ],
245 "author": {
246 "name": "Kat Marchán",
247 "email": "[email protected]"
248 },
249 "license": "MIT",
250 "devDependencies": {
251 "tap": "^14.6.5"
252 },
253 "tap": {
254 "check-coverage": true
255 },
256 "gitHead": "7cbe266abff557e443e528b6ec2ef39900836cfe",
257 "bugs": {
258 "url": "https://github.com/npm/json-parse-even-better-errors/issues"
259 },
260 "homepage": "https://github.com/npm/json-parse-even-better-errors#readme",
261 "_id": "[email protected]",
262 "_nodeVersion": "13.9.0",
263 "_npmVersion": "6.14.2",
264 "dist": {
265 "integrity": "sha512-2tLgY7LRNZ9Hd6gmCuBG5/OjRHQpSgJQqJoYyLLOhUgn8LdOYrjaZLcxkWnDads+AD/haWWioPNziXQcgvQJ/g==",
266 "shasum": "304d29aa54bb01156a1328c454034ff0ac8a7bf4",
267 "tarball": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.2.0.tgz",
268 "fileCount": 5,
269 "unpackedSize": 8560,
270 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYJo8CRA9TVsSAnZWagAAyGwP/3wvLDiBjHSwUIJWpn+A\nirgtv/gNew7NZNqyFWVOry/cah+3aowPsoVwq2iRvlXRGTx2pYMX2m1reONe\nCd4TW6Snlq1YvVuzG6FoU5hvmk+BNiUDFmI70vdLq4pxog9KYd1PCcqxTtQC\n+W6iSnoDK+ACcUFWENKjZvl3E24Xp8oSIjeh/TKHU4JcbJ43l0dV88E6YV9Y\nP7m14OB2p0objhE5YbBIwz06ZuXXyaZbzUxaMCVWsqMfZJRKzkoG9EfEcPnp\nZa7ZZG99Pe47QPNRfaQ5rUMAPcIJniGpFdF6ayUPiqGXkZ5RqgvtxTp9AU6+\nxIb0UGpXF8wDc5uSiOVGW+2d4ENDLAf8T1bknDj2+VQEawYs3GePQWl7fmcz\ncLORfy3wVoDmyGvkPZZK/nA6fHti8SUYUXnVVOMO/HlU19v3XeyPDUEPlR5v\nj3WVmScJtxktST5fZt9MpSOGz2kxU//hm7Z7EriRvFi4C7xTNAIJnlW8oakm\nWGoVU1s0z8SwuWQG9HE/DxE2Fsb8KHujyhvSn9uJx1StVNglvwKO7oaY2lUk\ngEhgffdn3YwTw+f4HhEsZrrFiU4ip2NR5xJfCY7T0vILPeezgv7FEzLHOsiy\nvREyvUdbB5Cs3RHFk+yOK3PjL9CaE1mfXC00uLFYEh/FJwm4V8EnTy3+MsED\nFCsr\r\n=K9xL\r\n-----END PGP SIGNATURE-----\r\n"
271 },
272 "maintainers": [
273 {
274 "email": "[email protected]",
275 "name": "adam_baldwin"
276 },
277 {
278 "email": "[email protected]",
279 "name": "ahmadnassri"
280 },
281 {
282 "email": "[email protected]",
283 "name": "claudiahdz"
284 },
285 {
286 "email": "[email protected]",
287 "name": "darcyclarke"
288 },
289 {
290 "email": "[email protected]",
291 "name": "isaacs"
292 },
293 {
294 "email": "[email protected]",
295 "name": "mikemimik"
296 },
297 {
298 "email": "[email protected]",
299 "name": "ruyadorno"
300 }
301 ],
302 "_npmUser": {
303 "name": "isaacs",
304 "email": "[email protected]"
305 },
306 "directories": {},
307 "_npmOperationalInternal": {
308 "host": "s3://npm-registry-packages",
309 "tmp": "tmp/json-parse-even-better-errors_2.2.0_1583389243769_0.6382174691017821"
310 },
311 "_hasShrinkwrap": false
312 },
313 "2.3.0": {
314 "name": "json-parse-even-better-errors",
315 "version": "2.3.0",
316 "description": "JSON.parse with context information on error",
317 "main": "index.js",
318 "scripts": {
319 "preversion": "npm t",
320 "postversion": "npm publish",
321 "prepublishOnly": "git push --follow-tags",
322 "test": "tap",
323 "snap": "tap"
324 },
325 "repository": {
326 "type": "git",
327 "url": "git+https://github.com/npm/json-parse-even-better-errors.git"
328 },
329 "keywords": [
330 "JSON",
331 "parser"
332 ],
333 "author": {
334 "name": "Kat Marchán",
335 "email": "[email protected]"
336 },
337 "license": "MIT",
338 "devDependencies": {
339 "tap": "^14.6.5"
340 },
341 "tap": {
342 "check-coverage": true
343 },
344 "gitHead": "004d34c961d2763a5da34c803a973cb1dd34dc26",
345 "bugs": {
346 "url": "https://github.com/npm/json-parse-even-better-errors/issues"
347 },
348 "homepage": "https://github.com/npm/json-parse-even-better-errors#readme",
349 "_id": "[email protected]",
350 "_nodeVersion": "14.8.0",
351 "_npmVersion": "7.0.0-beta.5",
352 "dist": {
353 "integrity": "sha512-o3aP+RsWDJZayj1SbHNQAI8x0v3T3SKiGoZlNYfbUP1S3omJQ6i9CnqADqkSPaOAxwua4/1YWx5CM7oiChJt2Q==",
354 "shasum": "371873c5ffa44304a6ba12419bcfa95f404ae081",
355 "tarball": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.0.tgz",
356 "fileCount": 5,
357 "unpackedSize": 10119,
358 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfPrrQCRA9TVsSAnZWagAAJAEP+gPHr1zmySw7YK2r8o0a\nn84wrKT34qIX6bIjWdbzpZZAMKpLnmU12x+YYfgHKw0EqMFK9hkmAcWpSzOY\nqo9bEpToJNOEa+yiamicM1D9tvk7vHBHAH0+JwT/lPOXUbiouxBmrUdJliiQ\nOQWy7XIB+TiASZgKHIfnybG1eR2dx0C7mFXNtLU+gzbd0lr2UHn/OLg0BTAS\ngpDZDFttV9nvD0BNogstbht5fSXRv68CB/uqnLGaoYnb37gHuiy377SqTkdW\nJVy7QxugPLv9QgFQhNRiEM2kvAzp6N6vXHkJ9ncZD46WumO3xkpHt5fcT7wK\nqa0xgj0+0tZfKjXoe0QPOfFP8GMv73u69GC6Jze3cKdX3oteIR9yN1iTVXq7\nJUwRLo8PyOn/BcEBVKcu9nu33Q/CzJdbcpgew8VSNq0q/m7jBOTkMhZhL96w\nKqWXVCEfXsDFNQ2yJIagnWac6Dg63MsmEL+biCIqfKoO/a4rd3DBmM7sHHbi\n57r+O4Zpd9JMWcbje2/ockDJKRZ55a/WIKprC6F4wDAdIZhlFoHk7q0YfI2k\nowCFpbUDjI14M8u+k5BbDD/WKw5Yt/QF+9Jun4S54ljhJJQpWcPipnACYvXE\nCefzJyoOBHQNlIsayS7rscEY6l/lyeiOchtytuNxktIwLbPDmAZKROR47qz+\nejWg\r\n=QOa/\r\n-----END PGP SIGNATURE-----\r\n"
359 },
360 "maintainers": [
361 {
362 "email": "[email protected]",
363 "name": "adam_baldwin"
364 },
365 {
366 "email": "[email protected]",
367 "name": "claudiahdz"
368 },
369 {
370 "email": "[email protected]",
371 "name": "darcyclarke"
372 },
373 {
374 "email": "[email protected]",
375 "name": "isaacs"
376 },
377 {
378 "email": "[email protected]",
379 "name": "mylesborins"
380 },
381 {
382 "email": "[email protected]",
383 "name": "ruyadorno"
384 }
385 ],
386 "_npmUser": {
387 "name": "isaacs",
388 "email": "[email protected]"
389 },
390 "directories": {},
391 "_npmOperationalInternal": {
392 "host": "s3://npm-registry-packages",
393 "tmp": "tmp/json-parse-even-better-errors_2.3.0_1597946575507_0.9568389077725838"
394 },
395 "_hasShrinkwrap": false
396 },
397 "2.3.1": {
398 "name": "json-parse-even-better-errors",
399 "version": "2.3.1",
400 "description": "JSON.parse with context information on error",
401 "main": "index.js",
402 "scripts": {
403 "preversion": "npm t",
404 "postversion": "npm publish",
405 "prepublishOnly": "git push --follow-tags",
406 "test": "tap",
407 "snap": "tap"
408 },
409 "repository": {
410 "type": "git",
411 "url": "git+https://github.com/npm/json-parse-even-better-errors.git"
412 },
413 "keywords": [
414 "JSON",
415 "parser"
416 ],
417 "author": {
418 "name": "Kat Marchán",
419 "email": "[email protected]"
420 },
421 "license": "MIT",
422 "devDependencies": {
423 "tap": "^14.6.5"
424 },
425 "tap": {
426 "check-coverage": true
427 },
428 "gitHead": "74c9a7e27cf4884568c8e956f37f5911f1cbec8f",
429 "bugs": {
430 "url": "https://github.com/npm/json-parse-even-better-errors/issues"
431 },
432 "homepage": "https://github.com/npm/json-parse-even-better-errors#readme",
433 "_id": "[email protected]",
434 "_nodeVersion": "14.8.0",
435 "_npmVersion": "7.0.0-beta.8",
436 "dist": {
437 "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
438 "shasum": "7c47805a94319928e05777405dc12e1f7a4ee02d",
439 "tarball": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
440 "fileCount": 5,
441 "unpackedSize": 10426,
442 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfT8pnCRA9TVsSAnZWagAAXmQP/jlDVVHaZveAjkQwCa2p\nATzj7ZQzyCxxYh2D4I3x1BQTY9T/6ds+7dB/8c6b+r9oSgQyC+5i0DjxQpOP\nkRV6jOQ4qlggEkYOoig0Zr0EpZOwB0E3GtMuwVlbGOB7rFM8Iu1cdkAIQTjq\nnQGYj5eQammyC405dlrEqEhWjCcgOY7B8u1hTnmyknyMnnzi6nWqHljZFxNi\neo1PlfhEnZz5AMT+1hSJq38sXuTfYAtXnKhtgWIyJeoLM/H+2XbJL6pCCHi7\ne0zaWqY4yjrCDSaV1Q+D6gqiFaX1iQMRTtCKGiTzuhHsRoGBsQ5S+uyptpqt\nlsTpnxP0XskPz9EnB8WN3eNIOfzhFjoaabGJwuE8KLYNze/VwuCNE6e+FGDZ\nikRVVHMkdHx5lo9MOrkEzp2ibUJm9fmnepFC0P/g1bOcIK+ooJVGIsH+wiaL\nwrv8nxU/DHdnuaEefE4AtWazo51xe/4AGFg8RAcUWWAncKx8zwXiDoHksfVn\nHM3V00vfD664I6JrvQpXp19AwC4ETfJm5W6eeTHOeuhAjBs63rIg0n7zS6kQ\n62hqjr9/0qM7+kF9tRuprNKARoTk8Xu89c08n5AvI36LiebEh0N0ODs3LtSz\nNVDalcYAU+4dMHAYtGMr1r1+iGXStdRo18uJvxGA2Mr71o2hqYCg2MUtOCLW\niQ+X\r\n=ET/d\r\n-----END PGP SIGNATURE-----\r\n"
443 },
444 "maintainers": [
445 {
446 "email": "[email protected]",
447 "name": "adam_baldwin"
448 },
449 {
450 "email": "[email protected]",
451 "name": "claudiahdz"
452 },
453 {
454 "email": "[email protected]",
455 "name": "darcyclarke"
456 },
457 {
458 "email": "[email protected]",
459 "name": "isaacs"
460 },
461 {
462 "email": "[email protected]",
463 "name": "mylesborins"
464 },
465 {
466 "email": "[email protected]",
467 "name": "ruyadorno"
468 }
469 ],
470 "_npmUser": {
471 "name": "isaacs",
472 "email": "[email protected]"
473 },
474 "directories": {},
475 "_npmOperationalInternal": {
476 "host": "s3://npm-registry-packages",
477 "tmp": "tmp/json-parse-even-better-errors_2.3.1_1599064678245_0.9212850466046945"
478 },
479 "_hasShrinkwrap": false
480 }
481 },
482 "time": {
483 "created": "2019-09-27T20:02:57.518Z",
484 "2.0.0": "2019-09-27T20:02:57.669Z",
485 "modified": "2020-10-13T05:04:29.851Z",
486 "2.0.1": "2019-09-27T20:12:23.983Z",
487 "2.1.0": "2020-03-05T06:02:58.186Z",
488 "2.2.0": "2020-03-05T06:20:43.895Z",
489 "2.3.0": "2020-08-20T18:02:55.630Z",
490 "2.3.1": "2020-09-02T16:37:58.371Z"
491 },
492 "maintainers": [
493 {
494 "email": "[email protected]",
495 "name": "nlf"
496 },
497 {
498 "email": "[email protected]",
499 "name": "ruyadorno"
500 },
501 {
502 "email": "[email protected]",
503 "name": "darcyclarke"
504 },
505 {
506 "email": "[email protected]",
507 "name": "adam_baldwin"
508 },
509 {
510 "email": "[email protected]",
511 "name": "isaacs"
512 }
513 ],
514 "description": "JSON.parse with context information on error",
515 "homepage": "https://github.com/npm/json-parse-even-better-errors#readme",
516 "keywords": [
517 "JSON",
518 "parser"
519 ],
520 "repository": {
521 "type": "git",
522 "url": "git+https://github.com/npm/json-parse-even-better-errors.git"
523 },
524 "author": {
525 "name": "Kat Marchán",
526 "email": "[email protected]"
527 },
528 "bugs": {
529 "url": "https://github.com/npm/json-parse-even-better-errors/issues"
530 },
531 "license": "MIT",
532 "readme": "# json-parse-even-better-errors\n\n[`json-parse-even-better-errors`](https://github.com/npm/json-parse-even-better-errors)\nis a Node.js library for getting nicer errors out of `JSON.parse()`,\nincluding context and position of the parse errors.\n\nIt also preserves the newline and indentation styles of the JSON data, by\nputting them in the object or array in the `Symbol.for('indent')` and\n`Symbol.for('newline')` properties.\n\n## Install\n\n`$ npm install --save json-parse-even-better-errors`\n\n## Table of Contents\n\n* [Example](#example)\n* [Features](#features)\n* [Contributing](#contributing)\n* [API](#api)\n * [`parse`](#parse)\n\n### Example\n\n```javascript\nconst parseJson = require('json-parse-even-better-errors')\n\nparseJson('\"foo\"') // returns the string 'foo'\nparseJson('garbage') // more useful error message\nparseJson.noExceptions('garbage') // returns undefined\n```\n\n### Features\n\n* Like JSON.parse, but the errors are better.\n* Strips a leading byte-order-mark that you sometimes get reading files.\n* Has a `noExceptions` method that returns undefined rather than throwing.\n* Attaches the newline character(s) used to the `Symbol.for('newline')`\n property on objects and arrays.\n* Attaches the indentation character(s) used to the `Symbol.for('indent')`\n property on objects and arrays.\n\n## Indentation\n\nTo preserve indentation when the file is saved back to disk, use\n`data[Symbol.for('indent')]` as the third argument to `JSON.stringify`, and\nif you want to preserve windows `\\r\\n` newlines, replace the `\\n` chars in\nthe string with `data[Symbol.for('newline')]`.\n\nFor example:\n\n```js\nconst txt = await readFile('./package.json', 'utf8')\nconst data = parseJsonEvenBetterErrors(txt)\nconst indent = Symbol.for('indent')\nconst newline = Symbol.for('newline')\n// .. do some stuff to the data ..\nconst string = JSON.stringify(data, null, data[indent]) + '\\n'\nconst eolFixed = data[newline] === '\\n' ? string\n : string.replace(/\\n/g, data[newline])\nawait writeFile('./package.json', eolFixed)\n```\n\nIndentation is determined by looking at the whitespace between the initial\n`{` and `[` and the character that follows it. If you have lots of weird\ninconsistent indentation, then it won't track that or give you any way to\npreserve it. Whether this is a bug or a feature is debatable ;)\n\n### API\n\n#### <a name=\"parse\"></a> `parse(txt, reviver = null, context = 20)`\n\nWorks just like `JSON.parse`, but will include a bit more information when\nan error happens, and attaches a `Symbol.for('indent')` and\n`Symbol.for('newline')` on objects and arrays. This throws a\n`JSONParseError`.\n\n#### <a name=\"parse\"></a> `parse.noExceptions(txt, reviver = null)`\n\nWorks just like `JSON.parse`, but will return `undefined` rather than\nthrowing an error.\n\n#### <a name=\"jsonparseerror\"></a> `class JSONParseError(er, text, context = 20, caller = null)`\n\nExtends the JavaScript `SyntaxError` class to parse the message and provide\nbetter metadata.\n\nPass in the error thrown by the built-in `JSON.parse`, and the text being\nparsed, and it'll parse out the bits needed to be helpful.\n\n`context` defaults to 20.\n\nSet a `caller` function to trim internal implementation details out of the\nstack trace. When calling `parseJson`, this is set to the `parseJson`\nfunction. If not set, then the constructor defaults to itself, so the\nstack trace will point to the spot where you call `new JSONParseError`.\n",
533 "readmeFilename": "README.md"
534 }