Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/caller-callsite.json

raw
1 {
2 "_id": "caller-callsite",
3 "_rev": "7-86ec153af3371b790be8bec4836504de",
4 "name": "caller-callsite",
5 "description": "Get the callsite of the caller function",
6 "dist-tags": {
7 "latest": "4.1.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "caller-callsite",
12 "version": "1.0.0",
13 "description": "Get the callsite of the caller function",
14 "license": "MIT",
15 "repository": {
16 "type": "git",
17 "url": "https://github.com/sindresorhus/caller-callsite"
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": "node test.js"
29 },
30 "files": [
31 "index.js"
32 ],
33 "keywords": [
34 "caller",
35 "calling",
36 "module",
37 "parent",
38 "callsites",
39 "callsite",
40 "stacktrace",
41 "stack",
42 "trace",
43 "function",
44 "file"
45 ],
46 "dependencies": {
47 "callsites": "^1.0.0"
48 },
49 "devDependencies": {
50 "ava": "0.0.4"
51 },
52 "gitHead": "365b9d2cd05c2481956dc95f2921a6adc35af6e3",
53 "bugs": {
54 "url": "https://github.com/sindresorhus/caller-callsite/issues"
55 },
56 "homepage": "https://github.com/sindresorhus/caller-callsite",
57 "_id": "[email protected]",
58 "_shasum": "188f9228bf0bdf5cf36d67a89b5cf6dff00173e9",
59 "_from": ".",
60 "_npmVersion": "1.4.28",
61 "_npmUser": {
62 "name": "sindresorhus",
63 "email": "[email protected]"
64 },
65 "maintainers": [
66 {
67 "name": "sindresorhus",
68 "email": "[email protected]"
69 }
70 ],
71 "dist": {
72 "shasum": "188f9228bf0bdf5cf36d67a89b5cf6dff00173e9",
73 "tarball": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-1.0.0.tgz"
74 },
75 "directories": {}
76 },
77 "1.0.1": {
78 "name": "caller-callsite",
79 "version": "1.0.1",
80 "description": "Get the callsite of the caller function",
81 "license": "MIT",
82 "repository": {
83 "type": "git",
84 "url": "git+https://github.com/sindresorhus/caller-callsite.git"
85 },
86 "author": {
87 "name": "Sindre Sorhus",
88 "email": "[email protected]",
89 "url": "sindresorhus.com"
90 },
91 "engines": {
92 "node": ">=0.10.0"
93 },
94 "scripts": {
95 "test": "node test.js"
96 },
97 "files": [
98 "index.js"
99 ],
100 "keywords": [
101 "caller",
102 "calling",
103 "module",
104 "parent",
105 "callsites",
106 "callsite",
107 "stacktrace",
108 "stack",
109 "trace",
110 "function",
111 "file"
112 ],
113 "dependencies": {
114 "callsites": "^1.0.0"
115 },
116 "devDependencies": {
117 "ava": "0.0.4"
118 },
119 "gitHead": "d436c7a4ddd163baf636c9dc9d5e22a29fd1c546",
120 "bugs": {
121 "url": "https://github.com/sindresorhus/caller-callsite/issues"
122 },
123 "homepage": "https://github.com/sindresorhus/caller-callsite#readme",
124 "_id": "[email protected]",
125 "_shasum": "f52372738266e22c1f42eec1e9160ed24cbd68fc",
126 "_from": ".",
127 "_npmVersion": "2.15.9",
128 "_nodeVersion": "4.5.0",
129 "_npmUser": {
130 "name": "sindresorhus",
131 "email": "[email protected]"
132 },
133 "dist": {
134 "shasum": "f52372738266e22c1f42eec1e9160ed24cbd68fc",
135 "tarball": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-1.0.1.tgz"
136 },
137 "maintainers": [
138 {
139 "name": "sindresorhus",
140 "email": "[email protected]"
141 }
142 ],
143 "_npmOperationalInternal": {
144 "host": "packages-16-east.internal.npmjs.com",
145 "tmp": "tmp/caller-callsite-1.0.1.tgz_1472342417728_0.2670957464724779"
146 },
147 "directories": {}
148 },
149 "2.0.0": {
150 "name": "caller-callsite",
151 "version": "2.0.0",
152 "description": "Get the callsite of the caller function",
153 "license": "MIT",
154 "repository": {
155 "type": "git",
156 "url": "git+https://github.com/sindresorhus/caller-callsite.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 "caller",
174 "calling",
175 "module",
176 "parent",
177 "callsites",
178 "callsite",
179 "stacktrace",
180 "stack",
181 "trace",
182 "function",
183 "file"
184 ],
185 "dependencies": {
186 "callsites": "^2.0.0"
187 },
188 "devDependencies": {
189 "ava": "*",
190 "xo": "*"
191 },
192 "xo": {
193 "esnext": true
194 },
195 "gitHead": "1ce43fc89a890a702f5da866ed151b14e2ff54e5",
196 "bugs": {
197 "url": "https://github.com/sindresorhus/caller-callsite/issues"
198 },
199 "homepage": "https://github.com/sindresorhus/caller-callsite#readme",
200 "_id": "[email protected]",
201 "_shasum": "847e0fce0a223750a9a027c54b33731ad3154134",
202 "_from": ".",
203 "_npmVersion": "2.15.9",
204 "_nodeVersion": "4.5.0",
205 "_npmUser": {
206 "name": "sindresorhus",
207 "email": "[email protected]"
208 },
209 "dist": {
210 "shasum": "847e0fce0a223750a9a027c54b33731ad3154134",
211 "tarball": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz"
212 },
213 "maintainers": [
214 {
215 "name": "sindresorhus",
216 "email": "[email protected]"
217 }
218 ],
219 "_npmOperationalInternal": {
220 "host": "packages-12-west.internal.npmjs.com",
221 "tmp": "tmp/caller-callsite-2.0.0.tgz_1472345319010_0.3864558374043554"
222 },
223 "directories": {}
224 },
225 "3.0.0": {
226 "name": "caller-callsite",
227 "version": "3.0.0",
228 "description": "Get the callsite of the caller function",
229 "license": "MIT",
230 "repository": {
231 "type": "git",
232 "url": "git+https://github.com/sindresorhus/caller-callsite.git"
233 },
234 "author": {
235 "name": "Sindre Sorhus",
236 "email": "[email protected]",
237 "url": "sindresorhus.com"
238 },
239 "engines": {
240 "node": ">=6"
241 },
242 "scripts": {
243 "test": "xo && ava"
244 },
245 "files": [
246 "index.js"
247 ],
248 "keywords": [
249 "caller",
250 "calling",
251 "module",
252 "parent",
253 "callsites",
254 "callsite",
255 "stacktrace",
256 "stack",
257 "trace",
258 "function",
259 "file"
260 ],
261 "dependencies": {
262 "callsites": "^2.0.0"
263 },
264 "devDependencies": {
265 "ava": "*",
266 "xo": "*"
267 },
268 "gitHead": "a1e1ac9d97b097a9d39237dfb48f637cafac7c3f",
269 "bugs": {
270 "url": "https://github.com/sindresorhus/caller-callsite/issues"
271 },
272 "homepage": "https://github.com/sindresorhus/caller-callsite#readme",
273 "_id": "[email protected]",
274 "_npmVersion": "5.6.0",
275 "_nodeVersion": "8.11.1",
276 "_npmUser": {
277 "name": "sindresorhus",
278 "email": "[email protected]"
279 },
280 "dist": {
281 "integrity": "sha512-/KKfFS+O210sONxwadGBiWa0SlKBOh0QcAkEpSExSw+3exLnZTOBCDsNobA+K72SZ7/U6OQfx3PXIWlJ02t0XQ==",
282 "shasum": "098183c36281310694b82c6be1ffd399211af017",
283 "tarball": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-3.0.0.tgz",
284 "fileCount": 4,
285 "unpackedSize": 2752,
286 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCE5DCRA9TVsSAnZWagAAKdAQAJGoGs2aAk6XQoj52vyl\n8n/AYe9kaTO5dQVFAmwceozz2o566FJ9Js8H7rcA4+4ViJxzc1nntwNEkrNh\nA1XlsAzoaR5araGY95KY63WVstb5vnNPbpmt3VjbdEpABZPCPNGiFC9hhzJ/\nU18MxgEx9zsqjE6GLZCqQFdfv6OqwEHpX4IpkrqcyVH0mAAWUuwZL1ggucmh\n/f7NaSKYhADp7EWqKqKkSGyvvC9sAyhb6fEK2bl+fbQsHvsjtWY5vtfx5LIY\nOVb1A7TeyzjDx9MxHvC71wQpN9jCmJ9y+qYkDo2VZvFYxOB+cXgUXP/Oc5xB\nsU0Ms/E1NRCK1YgATqbQPbyky+pxbJYGBMqShFKkxtAVukHmVjF4pOHLEzG5\nKB7+bKqotwj9obiu14k6rSMxrgGdszLnq5b+CYF0wJ4qKHKotgJ8lVFOt3Wp\ntfD5o7yQv4fc9Oyrkv/zchP/5wOKN6JWyh7Pgon900eO8O/A3lDyP9niEMML\nNYtdKN/qh6iyQFU7FisZlpyhMjaj5CxuTQr5Dsug+xBJkYYhe44/pFi0Gbkc\nsJGWBX5u9zgFW4NvDoQr1krQ5WkmSXAt3uQHlUv4qVYNqR7NANJ2IYHa8Wf9\nvM5guFVYdn5jDZSJM1vCcsJxRYcEqkkFmqgTeCrHFRSPOC3FlYQGNt3UXTbk\n8WZb\r\n=1ZiU\r\n-----END PGP SIGNATURE-----\r\n"
287 },
288 "maintainers": [
289 {
290 "name": "sindresorhus",
291 "email": "[email protected]"
292 }
293 ],
294 "directories": {},
295 "_npmOperationalInternal": {
296 "host": "s3://npm-registry-packages",
297 "tmp": "tmp/caller-callsite_3.0.0_1527270978320_0.06904103483848645"
298 },
299 "_hasShrinkwrap": false
300 },
301 "4.0.0": {
302 "name": "caller-callsite",
303 "version": "4.0.0",
304 "description": "Get the callsite of the caller function",
305 "license": "MIT",
306 "repository": {
307 "type": "git",
308 "url": "git+https://github.com/sindresorhus/caller-callsite.git"
309 },
310 "author": {
311 "name": "Sindre Sorhus",
312 "email": "[email protected]",
313 "url": "sindresorhus.com"
314 },
315 "engines": {
316 "node": ">=8"
317 },
318 "scripts": {
319 "test": "xo && ava && tsd"
320 },
321 "keywords": [
322 "caller",
323 "calling",
324 "module",
325 "parent",
326 "callsites",
327 "callsite",
328 "stacktrace",
329 "stack",
330 "trace",
331 "function",
332 "file"
333 ],
334 "dependencies": {
335 "callsites": "^3.1.0"
336 },
337 "devDependencies": {
338 "ava": "^1.4.1",
339 "tsd": "^0.7.2",
340 "xo": "^0.24.0"
341 },
342 "gitHead": "37b1b9b108c5f010f71c0529002fbaf296627b3e",
343 "bugs": {
344 "url": "https://github.com/sindresorhus/caller-callsite/issues"
345 },
346 "homepage": "https://github.com/sindresorhus/caller-callsite#readme",
347 "_id": "[email protected]",
348 "_nodeVersion": "8.16.0",
349 "_npmVersion": "6.9.0",
350 "_npmUser": {
351 "name": "sindresorhus",
352 "email": "[email protected]"
353 },
354 "dist": {
355 "integrity": "sha512-ZASXM0oX5XUaYErf39VMD2vxy49k2OR5YxMnqiLicyw6Rr3FeL8zzjBdqT5GlxRNwOcLDNVZ6+VbVeG1Ekx88Q==",
356 "shasum": "5e0a91e685a450fb311488dfee6a7f754ac1e8ed",
357 "tarball": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-4.0.0.tgz",
358 "fileCount": 5,
359 "unpackedSize": 3376,
360 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcy7X/CRA9TVsSAnZWagAAfL4P/j+JELrFtArgz6+5WYN1\nuQ3vTH79Htm7OyGDPA5ZcWFsYYb2La1qMDyHpZkJVXzU/olMDDlh8vVdzERy\nvC5N1O4pKgxcIguey6iKg5WXdCS78KXdqz5dxZOzx5Sx235TC1/Ec8C9NGiW\ngTqGeus2/WigxFcE631tvQMqUKxYtYvr2I5oqGqd0xPwi+A6xbZBPQvQxkNF\nwJIGsz0yaVkShfIL07Qx0uwdfUZa6Brmu8Cm/0AxuK8g47K7FO8U0T9CLab2\n6sf1+By9V4ZhQxlHqPeVqXrGZ7SY53oIMyf6iSjnz0KRZesbIWH56CM2pkeh\nS4WNvKJftXY7t5p27l+qu6yycYjgI9js0RtInaH0bRiz05ESzQh75a95eI2A\nBt1x4zIxJZILyssGdrijMc8GSUlzIewL3ocrvniH9IroJFJiA3EmaapBjJGC\nXCM+UIxkI8//xkEMicLbhfBrRz5kHc5NyMTwZQxwP1rFD2DZT6AxJ7TkrRLk\npcHgpMgJwSppmBz4gL/n39cIpwVxTjYCPr9xL5RfhZqxXv53Y0TUtkpBUmyR\nxyVjBE8yEafZl9OzIoO9AmLU/q7BHmObRIcFZhiyOeDp7kS0DMDBfz71uCbI\nBXTHyf+1Gvy+E7MOoVbz4jjMCevsTL8R3ktCDDvmLR95Uxhaa2/MZc7xirF5\n4fdp\r\n=Qoy/\r\n-----END PGP SIGNATURE-----\r\n"
361 },
362 "maintainers": [
363 {
364 "name": "sindresorhus",
365 "email": "[email protected]"
366 }
367 ],
368 "directories": {},
369 "_npmOperationalInternal": {
370 "host": "s3://npm-registry-packages",
371 "tmp": "tmp/caller-callsite_4.0.0_1556854270743_0.9746273336361679"
372 },
373 "_hasShrinkwrap": false
374 },
375 "4.1.0": {
376 "name": "caller-callsite",
377 "version": "4.1.0",
378 "description": "Get the callsite of the caller function",
379 "license": "MIT",
380 "repository": {
381 "type": "git",
382 "url": "git+https://github.com/sindresorhus/caller-callsite.git"
383 },
384 "author": {
385 "name": "Sindre Sorhus",
386 "email": "[email protected]",
387 "url": "sindresorhus.com"
388 },
389 "engines": {
390 "node": ">=8"
391 },
392 "scripts": {
393 "test": "xo && ava && tsd"
394 },
395 "keywords": [
396 "caller",
397 "calling",
398 "module",
399 "parent",
400 "callsites",
401 "callsite",
402 "stacktrace",
403 "stack",
404 "trace",
405 "function",
406 "file"
407 ],
408 "dependencies": {
409 "callsites": "^3.1.0"
410 },
411 "devDependencies": {
412 "ava": "^2.2.0",
413 "tsd": "^0.7.4",
414 "xo": "^0.24.0"
415 },
416 "gitHead": "6e7da58bf17f9deed697326f9ef3cf8fac4d801a",
417 "bugs": {
418 "url": "https://github.com/sindresorhus/caller-callsite/issues"
419 },
420 "homepage": "https://github.com/sindresorhus/caller-callsite#readme",
421 "_id": "[email protected]",
422 "_nodeVersion": "10.16.0",
423 "_npmVersion": "6.9.0",
424 "_npmUser": {
425 "name": "sindresorhus",
426 "email": "[email protected]"
427 },
428 "dist": {
429 "integrity": "sha512-99nnnGlJexTc41xwQTr+mWl15OI5PPczUJzM4YRE7QjkefMKCXGa5gfQjCOuVrD+1TjI/fevIDHg2nz3iYN5Ig==",
430 "shasum": "3e33cb1d910e7b09332d59a3503b9af7462f7295",
431 "tarball": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-4.1.0.tgz",
432 "fileCount": 5,
433 "unpackedSize": 5026,
434 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJG92CRA9TVsSAnZWagAAqqAP/1XlMfI30yCbJLtDBfUd\n6e3/ZdJnIYgARv43Qe0haRQy8kWRFpymUkVT1xuBTGlaaoL4kkeblmZ9lkpC\nTChK1yDxK1Iern5auEgiqrDXDayPFAIbd3gzbr5teGqnCc1qXm2p57A9WXO+\n+64sVNvzUdSMjGr0dZdDSQyzZflJsZKPI59aj0JqSSEWAlPEAd827omab360\nfZqec/ZNOmIcWQW48UID1EMXa1iIuqHbhK/sTa/xWarHL6zRmzkQszKZ92JO\nycGM0I4W3El/23H24+FebTC77KjSaRMP7J7K8saSnsN1cquXVio2qbacaPl5\nZdtE/veKgR4fEzu28gJCsBaFm23Ar+p3c3XnCD/jmDbOQFHQwDanei55FT2G\nE4MA2kVUp1IhAdPlh75rOKk3Z59jXHXJGCZQOV5yK9zVJ+JPmPrHyy8RJAar\naCXu0GwFqNRkUVDgZ/nFIL2orAG3lExi3CZx+9O1zkq9WmpsAjmWHKi6dPE+\n77It20oEuNigp1/bHa0BTlCnf8d2Q/723NPZdfIa21yxibkfXB1uKER/xiKk\nmrYpx+Zfo2FjPxSl6K5xMWu47DBAl8yI6/oVmJqOH6cokuoOkHWXsHnVhodu\nT8gIaVRB5SVB5EWKtHZK9S/IQ8OPSvbtrkFDBAkpr0YXwyOpsQYkhXLUgo1R\nytx3\r\n=oLul\r\n-----END PGP SIGNATURE-----\r\n"
435 },
436 "maintainers": [
437 {
438 "name": "sindresorhus",
439 "email": "[email protected]"
440 }
441 ],
442 "directories": {},
443 "_npmOperationalInternal": {
444 "host": "s3://npm-registry-packages",
445 "tmp": "tmp/caller-callsite_4.1.0_1562668917443_0.6392308800701345"
446 },
447 "_hasShrinkwrap": false
448 }
449 },
450 "readme": "# caller-callsite [![Build Status](https://travis-ci.org/sindresorhus/caller-callsite.svg?branch=master)](https://travis-ci.org/sindresorhus/caller-callsite)\n\n> Get the [callsite](https://github.com/sindresorhus/callsites#api) of the caller function\n\n\n## Install\n\n```\n$ npm install caller-callsite\n```\n\n\n## Usage\n\n```js\n// foo.js\nconst callerCallsite = require('caller-callsite');\n\nmodule.exports = () => {\n\tconsole.log(callerCallsite().getFileName());\n\t//=> '/Users/sindresorhus/dev/unicorn/bar.js'\n}\n```\n\n```js\n// bar.js\nconst foo = require('./foo');\nfoo();\n```\n\n\n## API\n\n### callerCallsite(options?)\n\nReturns a [`callsite`](https://github.com/sindresorhus/callsites#api) object.\n\n#### options\n\nType: `object`\n\n##### depth\n\nType: `number`<br>\nDefault: `0`\n\nThe callsite depth, meaning how many levels we follow back on the stack trace.\n\nFor example:\n\n```js\n// foo.js\nconst callerCallsite = require('caller-callsite');\n\nmodule.exports = () => {\n\tconsole.log(callerCallsite().getFileName());\n\t//=> '/Users/sindresorhus/dev/unicorn/foobar.js'\n\tconsole.log(callerCallsite({depth: 1}).getFileName());\n\t//=> '/Users/sindresorhus/dev/unicorn/bar.js'\n\tconsole.log(callerCallsite({depth: 2}).getFileName());\n\t//=> '/Users/sindresorhus/dev/unicorn/foo.js'\n}\n```\n\n```js\n// bar.js\nconst foo = require('./foo');\n\nmodule.exports = () => {\n\tfoo();\n}\n```\n\n```js\n// foobar.js\nconst bar = require('./bar');\nbar();\n```\n",
451 "maintainers": [
452 {
453 "name": "sindresorhus",
454 "email": "[email protected]"
455 }
456 ],
457 "time": {
458 "modified": "2019-07-09T10:42:00.392Z",
459 "created": "2015-01-24T16:19:16.821Z",
460 "1.0.0": "2015-01-24T16:19:16.821Z",
461 "1.0.1": "2016-08-28T00:00:18.776Z",
462 "2.0.0": "2016-08-28T00:48:40.553Z",
463 "3.0.0": "2018-05-25T17:56:18.760Z",
464 "4.0.0": "2019-05-03T03:31:10.949Z",
465 "4.1.0": "2019-07-09T10:41:57.587Z"
466 },
467 "homepage": "https://github.com/sindresorhus/caller-callsite#readme",
468 "keywords": [
469 "caller",
470 "calling",
471 "module",
472 "parent",
473 "callsites",
474 "callsite",
475 "stacktrace",
476 "stack",
477 "trace",
478 "function",
479 "file"
480 ],
481 "repository": {
482 "type": "git",
483 "url": "git+https://github.com/sindresorhus/caller-callsite.git"
484 },
485 "author": {
486 "name": "Sindre Sorhus",
487 "email": "[email protected]",
488 "url": "sindresorhus.com"
489 },
490 "bugs": {
491 "url": "https://github.com/sindresorhus/caller-callsite/issues"
492 },
493 "license": "MIT",
494 "readmeFilename": "readme.md"
495 }