Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/stack-utils.json

raw
1 {
2 "_id": "stack-utils",
3 "_rev": "15-c94731879b8e4a8dc01afe3315f25520",
4 "name": "stack-utils",
5 "description": "Captures and cleans stack traces",
6 "dist-tags": {
7 "latest": "2.0.2"
8 },
9 "versions": {
10 "0.0.1": {
11 "name": "stack-utils",
12 "version": "0.0.1",
13 "description": "Captures and cleans stack traces",
14 "license": "MIT",
15 "repository": {
16 "type": "git",
17 "url": "git+https://github.com/jamestalmage/stack-utils.git"
18 },
19 "author": {
20 "name": "James Talmage",
21 "email": "[email protected]",
22 "url": "github.com/jamestalmage"
23 },
24 "engines": {
25 "node": ">=0.10.0"
26 },
27 "scripts": {
28 "test": "xo && nyc --reporter lcov --reporter text --cache ava --verbose"
29 },
30 "files": [
31 "index.js"
32 ],
33 "keywords": [],
34 "config": {
35 "nyc": {
36 "exclude": [
37 "fixtures/*"
38 ]
39 }
40 },
41 "dependencies": {},
42 "devDependencies": {
43 "ava": "^0.8.0",
44 "coveralls": "^2.11.6",
45 "flatten": "0.0.1",
46 "nyc": "^5.2.0",
47 "xo": "^0.12.1"
48 },
49 "gitHead": "f0d147cc28c5aacaf6712ea4cdbf8cccfe3ba79c",
50 "bugs": {
51 "url": "https://github.com/jamestalmage/stack-utils/issues"
52 },
53 "homepage": "https://github.com/jamestalmage/stack-utils#readme",
54 "_id": "[email protected]",
55 "_shasum": "5c7f358e79d45dedff43e8affb9fd905b33bd65c",
56 "_from": ".",
57 "_npmVersion": "3.3.12",
58 "_nodeVersion": "5.3.0",
59 "_npmUser": {
60 "name": "jamestalmage",
61 "email": "[email protected]"
62 },
63 "dist": {
64 "shasum": "5c7f358e79d45dedff43e8affb9fd905b33bd65c",
65 "tarball": "https://registry.npmjs.org/stack-utils/-/stack-utils-0.0.1.tgz"
66 },
67 "maintainers": [
68 {
69 "name": "jamestalmage",
70 "email": "[email protected]"
71 }
72 ],
73 "directories": {}
74 },
75 "0.1.0": {
76 "name": "stack-utils",
77 "version": "0.1.0",
78 "description": "Captures and cleans stack traces",
79 "license": "MIT",
80 "repository": {
81 "type": "git",
82 "url": "git+https://github.com/jamestalmage/stack-utils.git"
83 },
84 "author": {
85 "name": "James Talmage",
86 "email": "[email protected]",
87 "url": "github.com/jamestalmage"
88 },
89 "engines": {
90 "node": ">=0.10.0"
91 },
92 "scripts": {
93 "test": "xo && nyc --reporter lcov --reporter text --cache ava --verbose",
94 "test-win": "ava --verbose"
95 },
96 "files": [
97 "index.js"
98 ],
99 "keywords": [],
100 "config": {
101 "nyc": {
102 "exclude": [
103 "fixtures/*"
104 ]
105 }
106 },
107 "dependencies": {},
108 "devDependencies": {
109 "ava": "^0.8.0",
110 "coveralls": "^2.11.6",
111 "flatten": "0.0.1",
112 "nyc": "^5.2.0",
113 "xo": "^0.12.1"
114 },
115 "gitHead": "772ffe6894b42d450e7aef2fd9a379b822993572",
116 "bugs": {
117 "url": "https://github.com/jamestalmage/stack-utils/issues"
118 },
119 "homepage": "https://github.com/jamestalmage/stack-utils#readme",
120 "_id": "[email protected]",
121 "_shasum": "9b2de559f5d1940c3eb40b480ff8c6d9ff6a1b1b",
122 "_from": ".",
123 "_npmVersion": "3.5.2",
124 "_nodeVersion": "0.12.7",
125 "_npmUser": {
126 "name": "jamestalmage",
127 "email": "[email protected]"
128 },
129 "dist": {
130 "shasum": "9b2de559f5d1940c3eb40b480ff8c6d9ff6a1b1b",
131 "tarball": "https://registry.npmjs.org/stack-utils/-/stack-utils-0.1.0.tgz"
132 },
133 "maintainers": [
134 {
135 "name": "jamestalmage",
136 "email": "[email protected]"
137 }
138 ],
139 "directories": {}
140 },
141 "0.2.0": {
142 "name": "stack-utils",
143 "version": "0.2.0",
144 "description": "Captures and cleans stack traces",
145 "license": "MIT",
146 "repository": {
147 "type": "git",
148 "url": "git+https://github.com/jamestalmage/stack-utils.git"
149 },
150 "author": {
151 "name": "James Talmage",
152 "email": "[email protected]",
153 "url": "github.com/jamestalmage"
154 },
155 "engines": {
156 "node": ">=0.10.0"
157 },
158 "scripts": {
159 "test": "xo && nyc --reporter lcov --reporter text --cache ava --verbose",
160 "test-win": "ava --verbose"
161 },
162 "files": [
163 "index.js"
164 ],
165 "keywords": [],
166 "config": {
167 "nyc": {
168 "exclude": [
169 "fixtures/*"
170 ]
171 }
172 },
173 "dependencies": {},
174 "devDependencies": {
175 "ava": "^0.8.0",
176 "coveralls": "^2.11.6",
177 "flatten": "0.0.1",
178 "nyc": "^5.2.0",
179 "xo": "^0.12.1"
180 },
181 "gitHead": "64fa2c1f51caaeec57fec4843e8a65a4ed41fd8e",
182 "bugs": {
183 "url": "https://github.com/jamestalmage/stack-utils/issues"
184 },
185 "homepage": "https://github.com/jamestalmage/stack-utils#readme",
186 "_id": "[email protected]",
187 "_shasum": "2e7a45dc67131a0e7bcf472caef3ff1f394b091d",
188 "_from": ".",
189 "_npmVersion": "3.5.2",
190 "_nodeVersion": "0.12.7",
191 "_npmUser": {
192 "name": "jamestalmage",
193 "email": "[email protected]"
194 },
195 "dist": {
196 "shasum": "2e7a45dc67131a0e7bcf472caef3ff1f394b091d",
197 "tarball": "https://registry.npmjs.org/stack-utils/-/stack-utils-0.2.0.tgz"
198 },
199 "maintainers": [
200 {
201 "name": "jamestalmage",
202 "email": "[email protected]"
203 }
204 ],
205 "directories": {}
206 },
207 "0.3.0": {
208 "name": "stack-utils",
209 "version": "0.3.0",
210 "description": "Captures and cleans stack traces",
211 "license": "MIT",
212 "repository": {
213 "type": "git",
214 "url": "git+https://github.com/tapjs/stack-utils.git"
215 },
216 "author": {
217 "name": "James Talmage",
218 "email": "[email protected]",
219 "url": "github.com/jamestalmage"
220 },
221 "engines": {
222 "node": ">=0.10.0"
223 },
224 "scripts": {
225 "test": "xo && nyc --reporter lcov --reporter text --cache ava --verbose",
226 "test-win": "ava --verbose"
227 },
228 "files": [
229 "index.js"
230 ],
231 "keywords": [],
232 "dependencies": {},
233 "devDependencies": {
234 "ava": "^0.8.0",
235 "bluebird": "^3.1.1",
236 "coveralls": "^2.11.6",
237 "flatten": "0.0.1",
238 "nested-error-stacks": "^1.0.2",
239 "nyc": "^5.2.0",
240 "pify": "^2.3.0",
241 "q": "^1.4.1",
242 "xo": "^0.12.1"
243 },
244 "gitHead": "cc2fe4c667ddd9e9f11c633e6ef6397d689016be",
245 "bugs": {
246 "url": "https://github.com/tapjs/stack-utils/issues"
247 },
248 "homepage": "https://github.com/tapjs/stack-utils#readme",
249 "_id": "[email protected]",
250 "_shasum": "cddc6cec2ed9a5ce65f1ac05c90243b7a0ce325d",
251 "_from": ".",
252 "_npmVersion": "3.5.3",
253 "_nodeVersion": "5.3.0",
254 "_npmUser": {
255 "name": "jamestalmage",
256 "email": "[email protected]"
257 },
258 "dist": {
259 "shasum": "cddc6cec2ed9a5ce65f1ac05c90243b7a0ce325d",
260 "tarball": "https://registry.npmjs.org/stack-utils/-/stack-utils-0.3.0.tgz"
261 },
262 "maintainers": [
263 {
264 "name": "jamestalmage",
265 "email": "[email protected]"
266 }
267 ],
268 "directories": {}
269 },
270 "0.4.0": {
271 "name": "stack-utils",
272 "version": "0.4.0",
273 "description": "Captures and cleans stack traces",
274 "license": "MIT",
275 "repository": {
276 "type": "git",
277 "url": "git+https://github.com/tapjs/stack-utils.git"
278 },
279 "author": {
280 "name": "James Talmage",
281 "email": "[email protected]",
282 "url": "github.com/jamestalmage"
283 },
284 "engines": {
285 "node": ">=0.10.0"
286 },
287 "scripts": {
288 "test": "xo && nyc --reporter lcov --reporter text --cache ava --verbose",
289 "test-win": "ava --verbose"
290 },
291 "files": [
292 "index.js"
293 ],
294 "keywords": [],
295 "dependencies": {},
296 "devDependencies": {
297 "ava": "^0.8.0",
298 "bluebird": "^3.1.1",
299 "coveralls": "^2.11.6",
300 "flatten": "0.0.1",
301 "nested-error-stacks": "^1.0.2",
302 "nyc": "^5.2.0",
303 "pify": "^2.3.0",
304 "q": "^1.4.1",
305 "xo": "^0.12.1"
306 },
307 "gitHead": "8701171af041a235bae83a6da4ea516a815bb66a",
308 "bugs": {
309 "url": "https://github.com/tapjs/stack-utils/issues"
310 },
311 "homepage": "https://github.com/tapjs/stack-utils#readme",
312 "_id": "[email protected]",
313 "_shasum": "940cb82fccfa84e8ff2f3fdf293fe78016beccd1",
314 "_from": ".",
315 "_npmVersion": "3.5.3",
316 "_nodeVersion": "5.4.1",
317 "_npmUser": {
318 "name": "jamestalmage",
319 "email": "[email protected]"
320 },
321 "dist": {
322 "shasum": "940cb82fccfa84e8ff2f3fdf293fe78016beccd1",
323 "tarball": "https://registry.npmjs.org/stack-utils/-/stack-utils-0.4.0.tgz"
324 },
325 "maintainers": [
326 {
327 "name": "jamestalmage",
328 "email": "[email protected]"
329 }
330 ],
331 "_npmOperationalInternal": {
332 "host": "packages-6-west.internal.npmjs.com",
333 "tmp": "tmp/stack-utils-0.4.0.tgz_1454711753671_0.9951272297184914"
334 },
335 "directories": {}
336 },
337 "1.0.0": {
338 "name": "stack-utils",
339 "version": "1.0.0",
340 "description": "Captures and cleans stack traces",
341 "license": "MIT",
342 "repository": {
343 "type": "git",
344 "url": "git+https://github.com/tapjs/stack-utils.git"
345 },
346 "author": {
347 "name": "James Talmage",
348 "email": "[email protected]",
349 "url": "github.com/jamestalmage"
350 },
351 "engines": {
352 "node": ">=0.10.0"
353 },
354 "scripts": {
355 "test": "tap test/*.js --cov"
356 },
357 "files": [
358 "index.js"
359 ],
360 "keywords": [],
361 "dependencies": {},
362 "devDependencies": {
363 "bluebird": "^3.1.1",
364 "coveralls": "^2.11.6",
365 "flatten": "0.0.1",
366 "nested-error-stacks": "^2.0.0",
367 "pify": "^2.3.0",
368 "q": "^1.4.1",
369 "tap": "^10.0.0"
370 },
371 "gitHead": "faa81f19c8fd23cb5c9b13dfd7b26df6be7d7b1e",
372 "bugs": {
373 "url": "https://github.com/tapjs/stack-utils/issues"
374 },
375 "homepage": "https://github.com/tapjs/stack-utils#readme",
376 "_id": "[email protected]",
377 "_shasum": "2392cd8ddbd222492ed6c047960f7414b46c0f83",
378 "_from": ".",
379 "_npmVersion": "3.10.9",
380 "_nodeVersion": "8.0.0-pre",
381 "_npmUser": {
382 "name": "isaacs",
383 "email": "[email protected]"
384 },
385 "dist": {
386 "shasum": "2392cd8ddbd222492ed6c047960f7414b46c0f83",
387 "tarball": "https://registry.npmjs.org/stack-utils/-/stack-utils-1.0.0.tgz"
388 },
389 "maintainers": [
390 {
391 "name": "isaacs",
392 "email": "[email protected]"
393 },
394 {
395 "name": "jamestalmage",
396 "email": "[email protected]"
397 }
398 ],
399 "_npmOperationalInternal": {
400 "host": "packages-12-west.internal.npmjs.com",
401 "tmp": "tmp/stack-utils-1.0.0.tgz_1486016285424_0.8635052388999611"
402 },
403 "directories": {}
404 },
405 "1.0.1": {
406 "name": "stack-utils",
407 "version": "1.0.1",
408 "description": "Captures and cleans stack traces",
409 "license": "MIT",
410 "repository": {
411 "type": "git",
412 "url": "git+https://github.com/tapjs/stack-utils.git"
413 },
414 "author": {
415 "name": "James Talmage",
416 "email": "[email protected]",
417 "url": "github.com/jamestalmage"
418 },
419 "engines": {
420 "node": ">=0.10.0"
421 },
422 "scripts": {
423 "test": "tap test/*.js --100 -J",
424 "preversion": "npm test",
425 "postversion": "npm publish",
426 "postpublish": "git push origin --all; git push origin --tags"
427 },
428 "files": [
429 "index.js"
430 ],
431 "keywords": [],
432 "dependencies": {},
433 "devDependencies": {
434 "bluebird": "^3.1.1",
435 "coveralls": "^2.11.6",
436 "flatten": "0.0.1",
437 "nested-error-stacks": "^2.0.0",
438 "pify": "^2.3.0",
439 "q": "^1.4.1",
440 "tap": "^10.3.2"
441 },
442 "gitHead": "f080bcb2ee9be20520cfb312837d6056011e9094",
443 "bugs": {
444 "url": "https://github.com/tapjs/stack-utils/issues"
445 },
446 "homepage": "https://github.com/tapjs/stack-utils#readme",
447 "_id": "[email protected]",
448 "_shasum": "d4f33ab54e8e38778b0ca5cfd3b3afb12db68620",
449 "_from": ".",
450 "_npmVersion": "4.5.0",
451 "_nodeVersion": "8.0.0-pre",
452 "_npmUser": {
453 "name": "isaacs",
454 "email": "[email protected]"
455 },
456 "dist": {
457 "shasum": "d4f33ab54e8e38778b0ca5cfd3b3afb12db68620",
458 "tarball": "https://registry.npmjs.org/stack-utils/-/stack-utils-1.0.1.tgz"
459 },
460 "maintainers": [
461 {
462 "name": "isaacs",
463 "email": "[email protected]"
464 },
465 {
466 "name": "jamestalmage",
467 "email": "[email protected]"
468 }
469 ],
470 "_npmOperationalInternal": {
471 "host": "packages-18-east.internal.npmjs.com",
472 "tmp": "tmp/stack-utils-1.0.1.tgz_1492979544062_0.2575548014137894"
473 },
474 "directories": {}
475 },
476 "1.0.2": {
477 "name": "stack-utils",
478 "version": "1.0.2",
479 "description": "Captures and cleans stack traces",
480 "license": "MIT",
481 "repository": {
482 "type": "git",
483 "url": "git+https://github.com/tapjs/stack-utils.git"
484 },
485 "author": {
486 "name": "James Talmage",
487 "email": "[email protected]",
488 "url": "github.com/jamestalmage"
489 },
490 "engines": {
491 "node": ">=0.10.0"
492 },
493 "scripts": {
494 "test": "tap test/*.js --100 -J",
495 "preversion": "npm test",
496 "postversion": "npm publish",
497 "postpublish": "git push origin --all; git push origin --tags"
498 },
499 "keywords": [],
500 "dependencies": {},
501 "devDependencies": {
502 "bluebird": "^3.1.1",
503 "coveralls": "^2.11.6",
504 "flatten": "0.0.1",
505 "nested-error-stacks": "^2.0.0",
506 "pify": "^2.3.0",
507 "q": "^1.4.1",
508 "tap": "^10.3.2"
509 },
510 "gitHead": "2d238dfac8c39ab85997b90a1e48ca51c096adc0",
511 "bugs": {
512 "url": "https://github.com/tapjs/stack-utils/issues"
513 },
514 "homepage": "https://github.com/tapjs/stack-utils#readme",
515 "_id": "[email protected]",
516 "_npmVersion": "6.4.1",
517 "_nodeVersion": "10.12.0",
518 "_npmUser": {
519 "name": "isaacs",
520 "email": "[email protected]"
521 },
522 "dist": {
523 "integrity": "sha512-MTX+MeG5U994cazkjd/9KNAapsHnibjMLnfXodlkXw76JEea0UiNzrqidzo1emMwk7w5Qhc9jd4Bn9TBb1MFwA==",
524 "shasum": "33eba3897788558bebfc2db059dc158ec36cebb8",
525 "tarball": "https://registry.npmjs.org/stack-utils/-/stack-utils-1.0.2.tgz",
526 "fileCount": 4,
527 "unpackedSize": 13721,
528 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7HAVCRA9TVsSAnZWagAA3ZkQAJ9+8f44fXIaG8+XPTW/\neyaJyPZ98COh665eiFo+9rzambeKm8CLZWlKuQDBEp5Y8bCGoF+ZEVuPzo5C\nz2G+4sVLaT9HzAedIYiXDzxN7LvICsDZhqj9lYdBk/PABZCfYNSQmQ4fzHXy\nkVmCaRmyg3E8nqnoiDf4IciuejRs70A3zN8OFk85ecAZ3p+8Q+aXAdV0UJKP\n0nzb5OgrdlZvL54de0NzxuGmiYPJRxej+J9x/9jLbkgRdG5K7x1BNA9qWbGW\nOybR9iBhrsv6qSr0WQqceVVHZn2naHjwAlYHftXp+uJ+gKoIY9iQW3s5cbIL\nkpG70/VJC/qkxATKygJaM2A5QUmB+3nLJ5JIE3b/QfaB6gvYfK329xcSLUG/\nR9UZBgrkm7n94NPq09bILMj9502zpsZyyMH4rIdGGaabqyyBHkQ7oR97Gqs/\nBh9/ilX/72KvAxnygZMcNorq30pEJ7n1qwvF9M9nEswhRx/he2CJgWL+7oRl\nzSUCBSKx1Uob/gHFyY7tjYuQ8J+nIKzHj1tcJHBzlbdQb9qcWGOKXlTDTULD\nkUjnlZCarjbjRducFB0WKbfnQn4W+8ifradXXec7R7u1zl8kTOyz7XhRKAFZ\ngfLYsP0ZJfFuM67V+d4qCq/39YYWqXyDNWtt839koivo8kg4TTY6PhJyiZ9z\nkGhB\r\n=3a8G\r\n-----END PGP SIGNATURE-----\r\n"
529 },
530 "maintainers": [
531 {
532 "name": "isaacs",
533 "email": "[email protected]"
534 },
535 {
536 "name": "jamestalmage",
537 "email": "[email protected]"
538 }
539 ],
540 "directories": {},
541 "_npmOperationalInternal": {
542 "host": "s3://npm-registry-packages",
543 "tmp": "tmp/stack-utils_1.0.2_1542221844258_0.8869018687314081"
544 },
545 "_hasShrinkwrap": false
546 },
547 "2.0.0": {
548 "name": "stack-utils",
549 "version": "2.0.0",
550 "description": "Captures and cleans stack traces",
551 "license": "MIT",
552 "repository": {
553 "type": "git",
554 "url": "git+https://github.com/tapjs/stack-utils.git"
555 },
556 "author": {
557 "name": "James Talmage",
558 "email": "[email protected]",
559 "url": "github.com/jamestalmage"
560 },
561 "engines": {
562 "node": ">=10"
563 },
564 "scripts": {
565 "test": "tap --no-esm --100",
566 "preversion": "npm test",
567 "postversion": "npm publish",
568 "prepublish": "git push origin --follow-tags"
569 },
570 "dependencies": {
571 "escape-string-regexp": "^2.0.0"
572 },
573 "devDependencies": {
574 "bluebird": "^3.7.2",
575 "coveralls": "^3.0.9",
576 "nested-error-stacks": "^2.1.0",
577 "pify": "^4.0.1",
578 "q": "^1.5.1",
579 "tap": "=14.10.2-unbundled"
580 },
581 "gitHead": "27d78e9b237f959e51452459d97ab0b23c5dfc08",
582 "bugs": {
583 "url": "https://github.com/tapjs/stack-utils/issues"
584 },
585 "homepage": "https://github.com/tapjs/stack-utils#readme",
586 "_id": "[email protected]",
587 "_nodeVersion": "13.3.0",
588 "_npmVersion": "6.13.4",
589 "dist": {
590 "integrity": "sha512-4v/rS/yaVwqoELB+izpdHL94S8SC7S+u1+MaiJqsavAxoXP601sTuP7AJh/9qX4IeeXFnLQOuZ4zFhhfPL6C+g==",
591 "shasum": "eeaf8bf4d0e343b98cf64781121b189570203ba0",
592 "tarball": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.0.tgz",
593 "fileCount": 4,
594 "unpackedSize": 14356,
595 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8zRlCRA9TVsSAnZWagAAe/YP/jUiIQ5tfPMn7P0Ox5+p\npNiWmgXS7r79Nc6wRlwhZiYuNs1+y9Au2ZR71du9OtBK7zIZA6NSMNT78vl/\nG64gM7UGnqCY29jTDY+0bhyXr2dYHjB4Ur1HbC10Zqo0bb3CQpBI8oc3tjpi\n56CCReebzEfOO4HaXij8GLObTgL29vQ/kVeypCo6YrKiP1XyjfiHoi24DV0z\n3ovi2DdtvysH/oWlaW/WkpwDE3kW3nV31+c5Q1UusfzSJ4UaRwqbLUdS8keH\n0PglY3v7/G1jEUspZbWOlOMRkStPNaw2dBD0FucUy8Vht3OMi7YSuA8RDCXi\nOib8g7dbeDwucedPdtS+7yFqfZ0GIlLErZFhNIbXDSb6v7j9XR9M4r18ToGY\n+laB3VNhJ3EXGQN6tBsXVwDBiSHfJEq0A/NldFMTEbicWfVW9QmS2exhA8QN\nMeU1DXGi6MwbA83DLygZwT8Qi5MwC00nPv1OMhEpyJlQwk7Q5bC2ee+BQ2M1\nJz/ySC7/3PiULLy5LHrzQ3mSMHQOP4wsk+/WjV8u3kdNT/4auNJ5VUHZCaT9\npGCK6NlYC9j5Ic+I1zEVHwLK4n1tkpEhs6T1mH5S7HxnzoYjk7FxmmqRWgXE\ny2FV7vY1nFiT2IpPszphx0Wbiv1i/Rgys8npfArsU1FmSkd7yb5hYuC/IPC3\ny965\r\n=V+ye\r\n-----END PGP SIGNATURE-----\r\n"
596 },
597 "maintainers": [
598 {
599 "name": "isaacs",
600 "email": "[email protected]"
601 },
602 {
603 "name": "jamestalmage",
604 "email": "[email protected]"
605 }
606 ],
607 "_npmUser": {
608 "name": "isaacs",
609 "email": "[email protected]"
610 },
611 "directories": {},
612 "_npmOperationalInternal": {
613 "host": "s3://npm-registry-packages",
614 "tmp": "tmp/stack-utils_2.0.0_1576219748802_0.6404410148032522"
615 },
616 "_hasShrinkwrap": false
617 },
618 "2.0.1": {
619 "name": "stack-utils",
620 "version": "2.0.1",
621 "description": "Captures and cleans stack traces",
622 "license": "MIT",
623 "repository": {
624 "type": "git",
625 "url": "git+https://github.com/tapjs/stack-utils.git"
626 },
627 "author": {
628 "name": "James Talmage",
629 "email": "[email protected]",
630 "url": "github.com/jamestalmage"
631 },
632 "engines": {
633 "node": ">=10"
634 },
635 "scripts": {
636 "test": "tap --no-esm --100",
637 "preversion": "npm test",
638 "postversion": "npm publish",
639 "prepublishOnly": "git push origin --follow-tags"
640 },
641 "dependencies": {
642 "escape-string-regexp": "^2.0.0"
643 },
644 "devDependencies": {
645 "bluebird": "^3.7.2",
646 "coveralls": "^3.0.9",
647 "nested-error-stacks": "^2.1.0",
648 "pify": "^4.0.1",
649 "q": "^1.5.1",
650 "tap": "=14.10.2-unbundled"
651 },
652 "gitHead": "d3c7ee2a7d46744c271a36ce3acfd69465f36df5",
653 "bugs": {
654 "url": "https://github.com/tapjs/stack-utils/issues"
655 },
656 "homepage": "https://github.com/tapjs/stack-utils#readme",
657 "_id": "[email protected]",
658 "_nodeVersion": "13.3.0",
659 "_npmVersion": "6.13.4",
660 "dist": {
661 "integrity": "sha512-BvBTnHGm8boe+HiJFqP19ywEsGlfQAKqW78pbfvUuzCbUuxPPUyLrH5dYFY+Xn9IpLY3b5ZmMcl8jAqXB4wddg==",
662 "shasum": "3df48345a3b92adc06038f0e95782df61beff742",
663 "tarball": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.1.tgz",
664 "fileCount": 4,
665 "unpackedSize": 14360,
666 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8zS4CRA9TVsSAnZWagAAonIP/ikwm8hbgEJNwE9eqjwu\nRVOa5R0l+ioj7mL8AIl9hoJvh1T6jzjTEUa+NSVp9COCI8nWpiQdiEefnywV\ndyHRdCOLuAnXzvKqwLiaWpcYiNYU5goanNtbfMaX2CreB22iiAu7wDQ4wDCT\nQTr71DQWz95BspZ/eabL+oxKErLZNVIGsxDCbAFo/SHxhOXcfAi3SuIkEygR\n7KQbLFxTl+npD3raWR3zakONYUBKFt/6tYTX1bteN1qARxqk0KGY3EJ8jhxg\n4BsJu5lrVVYaoEKSCfsZ+ttBkS/d4fsobVxzYXYnDpD5RFB7b6HJAZ653j5E\nWQiRgLEYDVp3sLxFWAstCuRQ2bYfHILCODwpWVmPOtA5EjBZWP/cbB8zDTHG\neP2RQcz4sEJGDZCRWE8RSdKGrd8ZJWADNGiZA5Aoaswe8k5shS3To1xwLq2y\nDvsP96f+GVjJFFyHtlPb17abAOrOqInU4zpjxWRHWNfQ0k2plUoBMQGFQna5\n116M0jbs1GeHiJ+4ADcuEqnORQK4Y/IMeX389EbKjyKWJW3Ig1el5C134XwM\nFOqsFwieOsoqRLvl9QWy6o73gi0dS1iprdxtICchAlLTbIZv7inEAdbSiFee\nsSDImu9/UvJDBCe/EmQKNUQ6GdlASWjnXy+9wvZpA7dRNH/c7fF7M9tMsvnX\nwB41\r\n=P8Se\r\n-----END PGP SIGNATURE-----\r\n"
667 },
668 "maintainers": [
669 {
670 "name": "isaacs",
671 "email": "[email protected]"
672 },
673 {
674 "name": "jamestalmage",
675 "email": "[email protected]"
676 }
677 ],
678 "_npmUser": {
679 "name": "isaacs",
680 "email": "[email protected]"
681 },
682 "directories": {},
683 "_npmOperationalInternal": {
684 "host": "s3://npm-registry-packages",
685 "tmp": "tmp/stack-utils_2.0.1_1576219832040_0.7200474147237628"
686 },
687 "_hasShrinkwrap": false
688 },
689 "2.0.2": {
690 "name": "stack-utils",
691 "version": "2.0.2",
692 "description": "Captures and cleans stack traces",
693 "license": "MIT",
694 "repository": {
695 "type": "git",
696 "url": "git+https://github.com/tapjs/stack-utils.git"
697 },
698 "author": {
699 "name": "James Talmage",
700 "email": "[email protected]",
701 "url": "github.com/jamestalmage"
702 },
703 "engines": {
704 "node": ">=10"
705 },
706 "scripts": {
707 "test": "tap --no-esm --100",
708 "preversion": "npm test",
709 "postversion": "npm publish",
710 "prepublishOnly": "git push origin --follow-tags"
711 },
712 "dependencies": {
713 "escape-string-regexp": "^2.0.0"
714 },
715 "devDependencies": {
716 "bluebird": "^3.7.2",
717 "coveralls": "^3.0.9",
718 "nested-error-stacks": "^2.1.0",
719 "pify": "^4.0.1",
720 "q": "^1.5.1",
721 "tap": "=14.10.2-unbundled"
722 },
723 "gitHead": "b3c146e3f157aceebe830e858eb41f1df9387f79",
724 "bugs": {
725 "url": "https://github.com/tapjs/stack-utils/issues"
726 },
727 "homepage": "https://github.com/tapjs/stack-utils#readme",
728 "_id": "[email protected]",
729 "_nodeVersion": "13.10.1",
730 "_npmVersion": "6.14.4",
731 "dist": {
732 "integrity": "sha512-0H7QK2ECz3fyZMzQ8rH0j2ykpfbnd20BFtfg/SqVC2+sCTtcw0aDTGB7dk+de4U4uUeuz6nOtJcrkFFLG1B0Rg==",
733 "shasum": "5cf48b4557becb4638d0bc4f21d23f5d19586593",
734 "tarball": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.2.tgz",
735 "fileCount": 4,
736 "unpackedSize": 14223,
737 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeqEjBCRA9TVsSAnZWagAAousQAKKZPqlbu5SgG2TUAiM9\nk04+U5X7w/30OBcL8WdhEEH4LqsRAljlbVRacdBtTyk+SmsjZtb9aJgBR3tO\nL6EIrhd4zmAVTE67BT4pBBxdi3iJBPAlBqAFQzBYcRmLCxOT9Uj8U92L4WC/\np3Yb2He+HDw7NC1Jk9vU5A9xqBnB2kKsoxyBLUwg4FUdGGd2GTUU2XX05eC1\nXcSkcmFsPIJSn/4oENtaDcI/1bxhik2y0sSCgZQhQTrY8DZzkg41KK+u45qv\nN/f0Twzc/GFQLe1kJPHXEZ0LaSz4L5hH1UTXW0kPA1oiLl1W0hWgDE4ZvAnK\nokAY/iGbxK+oKk5rRF8p19CKjONeb4zQZuSuJw/uUQcPaMyEKxNWuB6Z/u6F\n1ZtMm1vXHahCLccQEJRsarRBBSMCN1R4ooNvcTySRJ3CeWu+A8sN6rbqRM0e\n9EeFmIN5aDu/LflvwQVCe9uYdz9GAFloVetPtiAWwNODQruHTX7h8zhGTDhM\niIm8yr/E3Gy5rC5iwWs1yxZUxzm1niTrO08VZiXT4Z9vcJ6O1o24WUAgxZrP\nxBwYa/oxBFqzOTgHTTQg+WQmJnK/6IJimzYUk0EMD1mgztSHKFmKUONwJuEC\nCBbZ/A/lCSS+P7bM0IzjRyksu/52cihXl+/qCLYMMUQQq9XImuUDQdXQIOtT\noC0e\r\n=FjL8\r\n-----END PGP SIGNATURE-----\r\n"
738 },
739 "maintainers": [
740 {
741 "name": "isaacs",
742 "email": "[email protected]"
743 },
744 {
745 "name": "jamestalmage",
746 "email": "[email protected]"
747 }
748 ],
749 "_npmUser": {
750 "name": "isaacs",
751 "email": "[email protected]"
752 },
753 "directories": {},
754 "_npmOperationalInternal": {
755 "host": "s3://npm-registry-packages",
756 "tmp": "tmp/stack-utils_2.0.2_1588086977285_0.5869045456973836"
757 },
758 "_hasShrinkwrap": false
759 }
760 },
761 "readme": "# stack-utils \n\n> Captures and cleans stack traces.\n\n[![Linux Build](https://travis-ci.org/tapjs/stack-utils.svg?branch=master)](https://travis-ci.org/tapjs/stack-utils) [![Build status](https://ci.appveyor.com/api/projects/status/fb9i157knoixe3iq/branch/master?svg=true)](https://ci.appveyor.com/project/jamestalmage/stack-utils-oiw96/branch/master) [![Coverage](https://coveralls.io/repos/tapjs/stack-utils/badge.svg?branch=master&service=github)](https://coveralls.io/github/tapjs/stack-utils?branch=master)\n\n\nExtracted from `lib/stack.js` in the [`node-tap` project](https://github.com/tapjs/node-tap)\n\n## Install\n\n```\n$ npm install --save stack-utils\n```\n\n\n## Usage\n\n```js\nconst StackUtils = require('stack-utils');\nconst stack = new StackUtils({cwd: process.cwd(), internals: StackUtils.nodeInternals()});\n\nconsole.log(stack.clean(new Error().stack));\n// outputs a beautified stack trace\n```\n\n\n## API\n\n\n### new StackUtils([options])\n\nCreates a new `stackUtils` instance.\n\n#### options\n\n##### internals\n\nType: `array` of `RegularExpression`s \n\nA set of regular expressions that match internal stack stack trace lines which should be culled from the stack trace.\nThe default is `StackUtils.nodeInternals()`, this can be disabled by setting `[]` or appended using\n`StackUtils.nodeInternals().concat(additionalRegExp)`. See also `ignoredPackages`.\n\n##### ignoredPackages\n\nType: `array` of `string`s\n\nAn array of npm modules to be culled from the stack trace. This list will mapped to regular\nexpressions and merged with the `internals`.\n\nDefault `''`.\n\n##### cwd\n\nType: `string`\n\nThe path to the current working directory. File names in the stack trace will be shown relative to this directory.\n\n##### wrapCallSite\n\nType: `function(CallSite)`\n\nA mapping function for manipulating CallSites before processing. The first argument is a CallSite instance, and the function should return a modified CallSite. This is useful for providing source map support.\n\n\n### StackUtils.nodeInternals()\n\nReturns an array of regular expressions that be used to cull lines from the stack trace that reference common Node.js internal files.\n\n\n### stackUtils.clean(stack, indent = 0)\n\nCleans up a stack trace by deleting any lines that match the `internals` passed to the constructor, and shortening file names relative to `cwd`.\n\nReturns a `string` with the cleaned up stack (always terminated with a `\\n` newline character).\nSpaces at the start of each line are trimmed, indentation can be added by setting `indent` to the desired number of spaces.\n\n#### stack\n\n*Required* \nType: `string` or an `array` of `string`s\n\n\n### stackUtils.capture([limit], [startStackFunction])\n\nCaptures the current stack trace, returning an array of `CallSite`s. There are good overviews of the available CallSite methods [here](https://github.com/v8/v8/wiki/Stack%20Trace%20API#customizing-stack-traces), and [here](https://github.com/sindresorhus/callsites#api).\n\n#### limit\n\nType: `number`\nDefault: `Infinity`\n\nLimits the number of lines returned by dropping all lines in excess of the limit. This removes lines from the stack trace.\n\n#### startStackFunction\n\nType: `function`\n\nThe function where the stack trace should start. The first line of the stack trace will be the function that called `startStackFunction`. This removes lines from the end of the stack trace.\n\n\n### stackUtils.captureString([limit], [startStackFunction])\n\nCaptures the current stack trace, cleans it using `stackUtils.clean(stack)`, and returns a string with the cleaned stack trace. It takes the same arguments as `stackUtils.capture`.\n\n\n### stackUtils.at([startStackFunction])\n\nCaptures the first line of the stack trace (or the first line after `startStackFunction` if supplied), and returns a `CallSite` like object that is serialization friendly (properties are actual values instead of getter functions). \n\nThe available properties are:\n\n - `line`: `number` \n - `column`: `number`\n - `file`: `string`\n - `constructor`: `boolean`\n - `evalOrigin`: `string`\n - `native`: `boolean`\n - `type`: `string`\n - `function`: `string`\n - `method`: `string`\n\n### stackUtils.parseLine(line)\n\nParses a `string` (which should be a single line from a stack trace), and generates an object with the following properties:\n\n - `line`: `number` \n - `column`: `number`\n - `file`: `string`\n - `constructor`: `boolean`\n - `evalOrigin`: `string`\n - `evalLine`: `number`\n - `evalColumn`: `number`\n - `evalFile`: `string`\n - `native`: `boolean`\n - `function`: `string`\n - `method`: `string`\n\n\n## License\n\nMIT © [Isaac Z. Schlueter](http://github.com/isaacs), [James Talmage](http://github.com/jamestalmage)\n",
762 "maintainers": [
763 {
764 "name": "isaacs",
765 "email": "[email protected]"
766 },
767 {
768 "name": "jamestalmage",
769 "email": "[email protected]"
770 }
771 ],
772 "time": {
773 "modified": "2020-04-28T15:16:21.081Z",
774 "created": "2016-01-04T05:15:37.432Z",
775 "0.0.1": "2016-01-04T05:15:37.432Z",
776 "0.1.0": "2016-01-07T20:24:53.362Z",
777 "0.2.0": "2016-01-07T21:19:49.097Z",
778 "0.3.0": "2016-01-14T03:54:58.328Z",
779 "0.4.0": "2016-02-05T22:35:56.320Z",
780 "1.0.0": "2017-02-02T06:18:07.294Z",
781 "1.0.1": "2017-04-23T20:32:26.102Z",
782 "1.0.2": "2018-11-14T18:57:24.505Z",
783 "2.0.0": "2019-12-13T06:49:08.966Z",
784 "2.0.1": "2019-12-13T06:50:32.156Z",
785 "2.0.2": "2020-04-28T15:16:17.414Z"
786 },
787 "homepage": "https://github.com/tapjs/stack-utils#readme",
788 "repository": {
789 "type": "git",
790 "url": "git+https://github.com/tapjs/stack-utils.git"
791 },
792 "author": {
793 "name": "James Talmage",
794 "email": "[email protected]",
795 "url": "github.com/jamestalmage"
796 },
797 "bugs": {
798 "url": "https://github.com/tapjs/stack-utils/issues"
799 },
800 "license": "MIT",
801 "readmeFilename": "readme.md",
802 "users": {
803 "timdp": true,
804 "monsterkodi": true,
805 "lukvonstrom": true
806 }
807 }