Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/xdg-basedir.json

raw
1 {
2 "_id": "xdg-basedir",
3 "_rev": "14-4a0fbb3a0858e284ec0ee473ef74741c",
4 "name": "xdg-basedir",
5 "description": "Get XDG Base Directory paths",
6 "dist-tags": {
7 "latest": "4.0.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "xdg-basedir",
12 "version": "1.0.0",
13 "description": "Get XDG Base Directory paths",
14 "license": "MIT",
15 "repository": {
16 "type": "git",
17 "url": "https://github.com/sindresorhus/xdg-basedir"
18 },
19 "author": {
20 "name": "Sindre Sorhus",
21 "email": "[email protected]",
22 "url": "http://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 "xdg",
35 "base",
36 "directory",
37 "dir",
38 "basedir",
39 "path",
40 "data",
41 "config",
42 "cache"
43 ],
44 "dependencies": {
45 "user-home": "^1.0.0"
46 },
47 "devDependencies": {
48 "ava": "0.0.4",
49 "require-uncached": "^1.0.2"
50 },
51 "gitHead": "8116a2fd05718de88b740861764739dc1879916f",
52 "bugs": {
53 "url": "https://github.com/sindresorhus/xdg-basedir/issues"
54 },
55 "homepage": "https://github.com/sindresorhus/xdg-basedir",
56 "_id": "[email protected]",
57 "_shasum": "95ea42a738d98a9470fd5a21d08556dbd61dc74a",
58 "_from": ".",
59 "_npmVersion": "2.1.2",
60 "_nodeVersion": "0.10.32",
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": "95ea42a738d98a9470fd5a21d08556dbd61dc74a",
73 "tarball": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-1.0.0.tgz"
74 },
75 "directories": {}
76 },
77 "1.0.1": {
78 "name": "xdg-basedir",
79 "version": "1.0.1",
80 "description": "Get XDG Base Directory paths",
81 "license": "MIT",
82 "repository": {
83 "type": "git",
84 "url": "https://github.com/sindresorhus/xdg-basedir"
85 },
86 "author": {
87 "name": "Sindre Sorhus",
88 "email": "[email protected]",
89 "url": "http://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 "xdg",
102 "base",
103 "directory",
104 "dir",
105 "basedir",
106 "path",
107 "data",
108 "config",
109 "cache"
110 ],
111 "dependencies": {
112 "user-home": "^1.0.0"
113 },
114 "devDependencies": {
115 "ava": "0.0.4",
116 "require-uncached": "^1.0.2"
117 },
118 "gitHead": "2eaf176e5d0c9c1bd64e6fc8a60a3a8e3dba4e79",
119 "bugs": {
120 "url": "https://github.com/sindresorhus/xdg-basedir/issues"
121 },
122 "homepage": "https://github.com/sindresorhus/xdg-basedir",
123 "_id": "[email protected]",
124 "_shasum": "14ff8f63a4fdbcb05d5b6eea22b36f3033b9f04e",
125 "_from": ".",
126 "_npmVersion": "2.1.16",
127 "_nodeVersion": "0.10.32",
128 "_npmUser": {
129 "name": "sindresorhus",
130 "email": "[email protected]"
131 },
132 "maintainers": [
133 {
134 "name": "sindresorhus",
135 "email": "[email protected]"
136 }
137 ],
138 "dist": {
139 "shasum": "14ff8f63a4fdbcb05d5b6eea22b36f3033b9f04e",
140 "tarball": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-1.0.1.tgz"
141 },
142 "directories": {}
143 },
144 "2.0.0": {
145 "name": "xdg-basedir",
146 "version": "2.0.0",
147 "description": "Get XDG Base Directory paths",
148 "license": "MIT",
149 "repository": {
150 "type": "git",
151 "url": "https://github.com/sindresorhus/xdg-basedir"
152 },
153 "author": {
154 "name": "Sindre Sorhus",
155 "email": "[email protected]",
156 "url": "sindresorhus.com"
157 },
158 "engines": {
159 "node": ">=0.10.0"
160 },
161 "scripts": {
162 "test": "node test.js"
163 },
164 "files": [
165 "index.js"
166 ],
167 "keywords": [
168 "xdg",
169 "base",
170 "directory",
171 "dir",
172 "basedir",
173 "path",
174 "data",
175 "config",
176 "cache",
177 "linux",
178 "unix",
179 "spec"
180 ],
181 "dependencies": {
182 "os-homedir": "^1.0.0"
183 },
184 "devDependencies": {
185 "ava": "0.0.4",
186 "require-uncached": "^1.0.2"
187 },
188 "gitHead": "0ad9e461ca531fcc1532c66932df386739aeffb2",
189 "bugs": {
190 "url": "https://github.com/sindresorhus/xdg-basedir/issues"
191 },
192 "homepage": "https://github.com/sindresorhus/xdg-basedir",
193 "_id": "[email protected]",
194 "_shasum": "edbc903cc385fc04523d966a335504b5504d1bd2",
195 "_from": ".",
196 "_npmVersion": "2.10.1",
197 "_nodeVersion": "0.12.4",
198 "_npmUser": {
199 "name": "sindresorhus",
200 "email": "[email protected]"
201 },
202 "dist": {
203 "shasum": "edbc903cc385fc04523d966a335504b5504d1bd2",
204 "tarball": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-2.0.0.tgz"
205 },
206 "maintainers": [
207 {
208 "name": "sindresorhus",
209 "email": "[email protected]"
210 }
211 ],
212 "directories": {}
213 },
214 "3.0.0": {
215 "name": "xdg-basedir",
216 "version": "3.0.0",
217 "description": "Get XDG Base Directory paths",
218 "license": "MIT",
219 "repository": {
220 "type": "git",
221 "url": "git+https://github.com/sindresorhus/xdg-basedir.git"
222 },
223 "author": {
224 "name": "Sindre Sorhus",
225 "email": "[email protected]",
226 "url": "sindresorhus.com"
227 },
228 "engines": {
229 "node": ">=4"
230 },
231 "scripts": {
232 "test": "xo && ava"
233 },
234 "files": [
235 "index.js"
236 ],
237 "keywords": [
238 "xdg",
239 "base",
240 "directory",
241 "dir",
242 "basedir",
243 "path",
244 "data",
245 "config",
246 "cache",
247 "linux",
248 "unix",
249 "spec"
250 ],
251 "devDependencies": {
252 "ava": "*",
253 "require-uncached": "^1.0.2",
254 "xo": "*"
255 },
256 "gitHead": "d441833e9dad9694b04495905ab8fe484e3b8b99",
257 "bugs": {
258 "url": "https://github.com/sindresorhus/xdg-basedir/issues"
259 },
260 "homepage": "https://github.com/sindresorhus/xdg-basedir#readme",
261 "_id": "[email protected]",
262 "_shasum": "496b2cc109eca8dbacfe2dc72b603c17c5870ad4",
263 "_from": ".",
264 "_npmVersion": "2.15.11",
265 "_nodeVersion": "4.6.2",
266 "_npmUser": {
267 "name": "sindresorhus",
268 "email": "[email protected]"
269 },
270 "dist": {
271 "shasum": "496b2cc109eca8dbacfe2dc72b603c17c5870ad4",
272 "tarball": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-3.0.0.tgz"
273 },
274 "maintainers": [
275 {
276 "name": "sindresorhus",
277 "email": "[email protected]"
278 }
279 ],
280 "_npmOperationalInternal": {
281 "host": "packages-12-west.internal.npmjs.com",
282 "tmp": "tmp/xdg-basedir-3.0.0.tgz_1486978344594_0.5195651547983289"
283 },
284 "directories": {}
285 },
286 "4.0.0": {
287 "name": "xdg-basedir",
288 "version": "4.0.0",
289 "description": "Get XDG Base Directory paths",
290 "license": "MIT",
291 "repository": {
292 "type": "git",
293 "url": "git+https://github.com/sindresorhus/xdg-basedir.git"
294 },
295 "author": {
296 "name": "Sindre Sorhus",
297 "email": "[email protected]",
298 "url": "sindresorhus.com"
299 },
300 "engines": {
301 "node": ">=8"
302 },
303 "scripts": {
304 "test": "xo && ava && tsd"
305 },
306 "keywords": [
307 "xdg",
308 "base",
309 "directory",
310 "basedir",
311 "path",
312 "data",
313 "config",
314 "cache",
315 "linux",
316 "unix",
317 "spec"
318 ],
319 "devDependencies": {
320 "ava": "^1.4.1",
321 "import-fresh": "^3.0.0",
322 "tsd": "^0.7.2",
323 "xo": "^0.24.0"
324 },
325 "gitHead": "bc65ded91e797cbdedbe3e5e1a2882372e3ba983",
326 "bugs": {
327 "url": "https://github.com/sindresorhus/xdg-basedir/issues"
328 },
329 "homepage": "https://github.com/sindresorhus/xdg-basedir#readme",
330 "_id": "[email protected]",
331 "_nodeVersion": "10.15.3",
332 "_npmVersion": "6.9.0",
333 "_npmUser": {
334 "name": "sindresorhus",
335 "email": "[email protected]"
336 },
337 "dist": {
338 "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==",
339 "shasum": "4bc8d9984403696225ef83a1573cbbcb4e79db13",
340 "tarball": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz",
341 "fileCount": 5,
342 "unpackedSize": 5693,
343 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcx8qMCRA9TVsSAnZWagAAXYcQAJBYvVO5Ga+5eLBnXIoN\n9S7SxuKKQlMPGsyAzVVwNiKCqN4rb0EZ8MRiVvZbqdccaqTP/Zk0X3SxXyCZ\nRxNpYAA+uIDNkcf0NbzF49svPw6493dJp7qdCPcVzfzSegjLBaFKadglDEg9\nL7d1zQ+muR7/FWstWr8nUhezpOKn9Di6Rw5ngmUDQ/uqWppqk6vqpcz2yPKW\nVmUvRyYsUIoyTF9Xb4YOlhtmI/VI8n7iT4/0/1Uy1+P81+JN8ROJP1bF2Pca\npKuuQ7XoZpd5AJSWeJwpAjLHzHkc73YjQ+i7BN+wkQXBoI3zkMXWY4OgKV/i\nm7cp+hF3/+1AHSd7gQ+2w8wYrjpg+s7a3PQxGE+Yz6V0lO/jZ7w+7qj5m5Aa\nDTmWig9SbCoMjW7/0JLQfEAtOvUw1qidrj59/rJlQRJ+16/kzpC8qz4k+0J8\nNQR8CjYi/E+WyllqrIIDp7W3aOrlq5YEjzpEGAWuLaZr2QQsMCQm4pTIC+v1\nImgr+GFPoZxpl8JuU9iWbp2fv16ESMhRgUsb5iR6TN1KVittjLHrn36cban1\nm0R/5colnO/1Oh3bFtoekXJ1AeDpNUCIHM/3k4qPm+j5wT2DfMXieykN846x\nBT2Stjbf64PkuCcrT10fHnQd8Sv7g0RL/EP7HBOFBHJbFqMxRAwTP/7Tw761\nUAZJ\r\n=zFLM\r\n-----END PGP SIGNATURE-----\r\n"
344 },
345 "maintainers": [
346 {
347 "name": "sindresorhus",
348 "email": "[email protected]"
349 }
350 ],
351 "directories": {},
352 "_npmOperationalInternal": {
353 "host": "s3://npm-registry-packages",
354 "tmp": "tmp/xdg-basedir_4.0.0_1556597386863_0.809265814738712"
355 },
356 "_hasShrinkwrap": false
357 }
358 },
359 "readme": "# xdg-basedir [![Build Status](https://travis-ci.org/sindresorhus/xdg-basedir.svg?branch=master)](https://travis-ci.org/sindresorhus/xdg-basedir)\n\n> Get [XDG Base Directory](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) paths\n\n\n## Install\n\n```\n$ npm install xdg-basedir\n```\n\n\n## Usage\n\n```js\nconst xdgBasedir = require('xdg-basedir');\n\nxdgBasedir.data;\n//=> '/home/sindresorhus/.local/share'\n\nxdgBasedir.config;\n//=> '/home/sindresorhus/.config'\n\nxdgBasedir.dataDirs\n//=> ['/home/sindresorhus/.local/share', '/usr/local/share/', '/usr/share/']\n```\n\n\n## API\n\nThe properties `.data`, `.config`, `.cache`, `.runtime` will return `null` in the uncommon case that both the XDG environment variable is not set and the users home directory can't be found. You need to handle this case. A common solution is to [fall back to a temp directory](https://github.com/yeoman/configstore/blob/b82690fc401318ad18dcd7d151a0003a4898a314/index.js#L15).\n\n### .data\n\nDirectory for user-specific data files.\n\n### .config\n\nDirectory for user-specific configuration files.\n\n### .cache\n\nDirectory for user-specific non-essential data files.\n\n### .runtime\n\nDirectory for user-specific non-essential runtime files and other file objects (such as sockets, named pipes, etc).\n\n### .dataDirs\n\nPreference-ordered array of base directories to search for data files in addition to `.data`.\n\n### .configDirs\n\nPreference-ordered array of base directories to search for configuration files in addition to `.config`.\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
360 "maintainers": [
361 {
362 "name": "sindresorhus",
363 "email": "[email protected]"
364 }
365 ],
366 "time": {
367 "modified": "2019-04-30T04:09:50.100Z",
368 "created": "2014-10-06T12:42:04.417Z",
369 "1.0.0": "2014-10-06T12:42:04.417Z",
370 "1.0.1": "2015-01-13T17:57:21.801Z",
371 "2.0.0": "2015-06-13T12:47:10.440Z",
372 "3.0.0": "2017-02-13T09:32:24.818Z",
373 "4.0.0": "2019-04-30T04:09:47.550Z"
374 },
375 "homepage": "https://github.com/sindresorhus/xdg-basedir#readme",
376 "keywords": [
377 "xdg",
378 "base",
379 "directory",
380 "basedir",
381 "path",
382 "data",
383 "config",
384 "cache",
385 "linux",
386 "unix",
387 "spec"
388 ],
389 "repository": {
390 "type": "git",
391 "url": "git+https://github.com/sindresorhus/xdg-basedir.git"
392 },
393 "author": {
394 "name": "Sindre Sorhus",
395 "email": "[email protected]",
396 "url": "sindresorhus.com"
397 },
398 "bugs": {
399 "url": "https://github.com/sindresorhus/xdg-basedir/issues"
400 },
401 "license": "MIT",
402 "readmeFilename": "readme.md",
403 "users": {
404 "julien-f": true,
405 "itonyyo": true,
406 "chocolateboy": true,
407 "akiva": true,
408 "jessaustin": true
409 }
410 }