Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/path-exists.json

raw
1 {
2 "_id": "path-exists",
3 "_rev": "19-6c3573709f7357a865ffc6dca2fd564b",
4 "name": "path-exists",
5 "description": "Check if a path exists",
6 "dist-tags": {
7 "latest": "4.0.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "path-exists",
12 "version": "1.0.0",
13 "description": "Check if a path exists",
14 "license": "MIT",
15 "repository": {
16 "type": "git",
17 "url": "https://github.com/sindresorhus/path-exists"
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 "path",
35 "exists",
36 "exist",
37 "file",
38 "filepath",
39 "fs",
40 "filesystem",
41 "file-system",
42 "access",
43 "stat"
44 ],
45 "devDependencies": {
46 "ava": "0.0.4"
47 },
48 "gitHead": "be563ef9f750ec4fcbd5cc77603c869bdee05658",
49 "bugs": {
50 "url": "https://github.com/sindresorhus/path-exists/issues"
51 },
52 "homepage": "https://github.com/sindresorhus/path-exists",
53 "_id": "[email protected]",
54 "_shasum": "d5a8998eb71ef37a74c34eb0d9eba6e878eea081",
55 "_from": ".",
56 "_npmVersion": "2.7.4",
57 "_nodeVersion": "0.12.2",
58 "_npmUser": {
59 "name": "sindresorhus",
60 "email": "[email protected]"
61 },
62 "dist": {
63 "shasum": "d5a8998eb71ef37a74c34eb0d9eba6e878eea081",
64 "tarball": "https://registry.npmjs.org/path-exists/-/path-exists-1.0.0.tgz"
65 },
66 "maintainers": [
67 {
68 "name": "sindresorhus",
69 "email": "[email protected]"
70 }
71 ],
72 "directories": {}
73 },
74 "2.0.0": {
75 "name": "path-exists",
76 "version": "2.0.0",
77 "description": "Check if a path exists",
78 "license": "MIT",
79 "repository": {
80 "type": "git",
81 "url": "https://github.com/sindresorhus/path-exists"
82 },
83 "author": {
84 "name": "Sindre Sorhus",
85 "email": "[email protected]",
86 "url": "sindresorhus.com"
87 },
88 "engines": {
89 "node": ">=0.10.0"
90 },
91 "scripts": {
92 "test": "xo && ava"
93 },
94 "files": [
95 "index.js"
96 ],
97 "keywords": [
98 "path",
99 "exists",
100 "exist",
101 "file",
102 "filepath",
103 "fs",
104 "filesystem",
105 "file-system",
106 "access",
107 "stat"
108 ],
109 "dependencies": {
110 "pinkie-promise": "^1.0.0"
111 },
112 "devDependencies": {
113 "ava": "*",
114 "xo": "*"
115 },
116 "gitHead": "a8d30de3a24e7d71ae2c30a057525e603205447d",
117 "bugs": {
118 "url": "https://github.com/sindresorhus/path-exists/issues"
119 },
120 "homepage": "https://github.com/sindresorhus/path-exists",
121 "_id": "[email protected]",
122 "_shasum": "c4efe37d7fdc792f9a029ce7906e095e169f9be1",
123 "_from": ".",
124 "_npmVersion": "2.11.3",
125 "_nodeVersion": "0.12.7",
126 "_npmUser": {
127 "name": "sindresorhus",
128 "email": "[email protected]"
129 },
130 "dist": {
131 "shasum": "c4efe37d7fdc792f9a029ce7906e095e169f9be1",
132 "tarball": "https://registry.npmjs.org/path-exists/-/path-exists-2.0.0.tgz"
133 },
134 "maintainers": [
135 {
136 "name": "sindresorhus",
137 "email": "[email protected]"
138 }
139 ],
140 "directories": {}
141 },
142 "2.1.0": {
143 "name": "path-exists",
144 "version": "2.1.0",
145 "description": "Check if a path exists",
146 "license": "MIT",
147 "repository": {
148 "type": "git",
149 "url": "https://github.com/sindresorhus/path-exists"
150 },
151 "author": {
152 "name": "Sindre Sorhus",
153 "email": "[email protected]",
154 "url": "sindresorhus.com"
155 },
156 "engines": {
157 "node": ">=0.10.0"
158 },
159 "scripts": {
160 "test": "xo && ava"
161 },
162 "files": [
163 "index.js"
164 ],
165 "keywords": [
166 "path",
167 "exists",
168 "exist",
169 "file",
170 "filepath",
171 "fs",
172 "filesystem",
173 "file-system",
174 "access",
175 "stat"
176 ],
177 "dependencies": {
178 "pinkie-promise": "^2.0.0"
179 },
180 "devDependencies": {
181 "ava": "*",
182 "xo": "*"
183 },
184 "gitHead": "3af423661e78466764f87c5712263c5d7a1ce5b7",
185 "bugs": {
186 "url": "https://github.com/sindresorhus/path-exists/issues"
187 },
188 "homepage": "https://github.com/sindresorhus/path-exists",
189 "_id": "[email protected]",
190 "_shasum": "0feb6c64f0fc518d9a754dd5efb62c7022761f4b",
191 "_from": ".",
192 "_npmVersion": "2.14.7",
193 "_nodeVersion": "4.2.1",
194 "_npmUser": {
195 "name": "sindresorhus",
196 "email": "[email protected]"
197 },
198 "dist": {
199 "shasum": "0feb6c64f0fc518d9a754dd5efb62c7022761f4b",
200 "tarball": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz"
201 },
202 "maintainers": [
203 {
204 "name": "sindresorhus",
205 "email": "[email protected]"
206 }
207 ],
208 "directories": {}
209 },
210 "3.0.0": {
211 "name": "path-exists",
212 "version": "3.0.0",
213 "description": "Check if a path exists",
214 "license": "MIT",
215 "repository": {
216 "type": "git",
217 "url": "git+https://github.com/sindresorhus/path-exists.git"
218 },
219 "author": {
220 "name": "Sindre Sorhus",
221 "email": "[email protected]",
222 "url": "sindresorhus.com"
223 },
224 "engines": {
225 "node": ">=4"
226 },
227 "scripts": {
228 "test": "xo && ava"
229 },
230 "files": [
231 "index.js"
232 ],
233 "keywords": [
234 "path",
235 "exists",
236 "exist",
237 "file",
238 "filepath",
239 "fs",
240 "filesystem",
241 "file-system",
242 "access",
243 "stat"
244 ],
245 "devDependencies": {
246 "ava": "*",
247 "xo": "*"
248 },
249 "xo": {
250 "esnext": true
251 },
252 "gitHead": "4696c60a8b2b9ac61902aa9eab7cb326ab6005c8",
253 "bugs": {
254 "url": "https://github.com/sindresorhus/path-exists/issues"
255 },
256 "homepage": "https://github.com/sindresorhus/path-exists#readme",
257 "_id": "[email protected]",
258 "_shasum": "ce0ebeaa5f78cb18925ea7d810d7b59b010fd515",
259 "_from": ".",
260 "_npmVersion": "3.8.9",
261 "_nodeVersion": "4.4.2",
262 "_npmUser": {
263 "name": "sindresorhus",
264 "email": "[email protected]"
265 },
266 "dist": {
267 "shasum": "ce0ebeaa5f78cb18925ea7d810d7b59b010fd515",
268 "tarball": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz"
269 },
270 "maintainers": [
271 {
272 "name": "sindresorhus",
273 "email": "[email protected]"
274 }
275 ],
276 "_npmOperationalInternal": {
277 "host": "packages-16-east.internal.npmjs.com",
278 "tmp": "tmp/path-exists-3.0.0.tgz_1462103091696_0.5805528531782329"
279 },
280 "directories": {}
281 },
282 "4.0.0": {
283 "name": "path-exists",
284 "version": "4.0.0",
285 "description": "Check if a path exists",
286 "license": "MIT",
287 "repository": {
288 "type": "git",
289 "url": "git+https://github.com/sindresorhus/path-exists.git"
290 },
291 "author": {
292 "name": "Sindre Sorhus",
293 "email": "[email protected]",
294 "url": "sindresorhus.com"
295 },
296 "engines": {
297 "node": ">=8"
298 },
299 "scripts": {
300 "test": "xo && ava && tsd"
301 },
302 "keywords": [
303 "path",
304 "exists",
305 "exist",
306 "file",
307 "filepath",
308 "fs",
309 "filesystem",
310 "file-system",
311 "access",
312 "stat"
313 ],
314 "devDependencies": {
315 "ava": "^1.4.1",
316 "tsd": "^0.7.2",
317 "xo": "^0.24.0"
318 },
319 "gitHead": "26b1adf80aa6761a7db35927a20cf59e0fd1a00d",
320 "bugs": {
321 "url": "https://github.com/sindresorhus/path-exists/issues"
322 },
323 "homepage": "https://github.com/sindresorhus/path-exists#readme",
324 "_id": "[email protected]",
325 "_nodeVersion": "8.15.0",
326 "_npmVersion": "6.9.0",
327 "_npmUser": {
328 "name": "sindresorhus",
329 "email": "[email protected]"
330 },
331 "dist": {
332 "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
333 "shasum": "513bdbe2d3b95d7762e8c1137efa195c6c61b5b3",
334 "tarball": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
335 "fileCount": 5,
336 "unpackedSize": 3919,
337 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpXoNCRA9TVsSAnZWagAAnosQAI8XSu8kmOriX6qXOsXw\nVCUJHDFHO4M5dLJdrT1o5o0SDkTQUmOSazUR/CvaA/4pE7rtPjOL58CrHqSI\nKfEF3lTitx+L3kEw3br6bPMVTo+JoSH04L+UXq7YdkfwRigrNmZpjMiIychR\ngxcgTzBfsFBYzRRUia8OUAFkIK9kvzpRorfFSMfzGGB9V+vjbMd2V+OM0N+G\nAc48nmGUsrQKknAiJpkixM5PWMd/51kV5SzO13RLCnwNOYnH/vNij/9oseSt\njO2nkixc7PDMZTD/2kOQoRQpYoKju/gUnFXCynw1A4EHxetv6QB4nbIVLt8t\nyGhu+hrhNlTgP4MBuSddj4iqJ2EY6VpVZzUNNSzI7SzF62AWTZRHoNLG80yM\naSDKS9Vu+9lkT+YOTA1dXFMol2a29Lzo6Q1PAj2vHd++SZ5A0QO5iRVQkocu\ncecYKaeP2XCa6iWaPwAfEN2rJRdnKN3LrKKr1Cbttjd9WI3Kr152uNXYLjw3\nQ4KpUo4B9rNSTArMk7AIJ1/71uDxvCB+T0OYkj+uHTEKAB/wllpUcJXE2V4Q\nnRig/oWco1+oo1qBY0b2OgiiUcTEfuYUDEyecojVV+nmDDzC/GmcO/93hFnL\nEFxqhB1yaFHuaK4+ntJRpFg+fry09I8mu145WqhggK3le4DUTyyrESAjcBOs\n6s47\r\n=Jirh\r\n-----END PGP SIGNATURE-----\r\n"
338 },
339 "maintainers": [
340 {
341 "name": "sindresorhus",
342 "email": "[email protected]"
343 }
344 ],
345 "directories": {},
346 "_npmOperationalInternal": {
347 "host": "s3://npm-registry-packages",
348 "tmp": "tmp/path-exists_4.0.0_1554348556736_0.4131618583175338"
349 },
350 "_hasShrinkwrap": false
351 }
352 },
353 "readme": "# path-exists [![Build Status](https://travis-ci.org/sindresorhus/path-exists.svg?branch=master)](https://travis-ci.org/sindresorhus/path-exists)\n\n> Check if a path exists\n\nNOTE: `fs.existsSync` has been un-deprecated in Node.js since 6.8.0. If you only need to check synchronously, this module is not needed.\n\nWhile [`fs.exists()`](https://nodejs.org/api/fs.html#fs_fs_exists_path_callback) is being [deprecated](https://github.com/iojs/io.js/issues/103), there's still a genuine use-case of being able to check if a path exists for other purposes than doing IO with it.\n\nNever use this before handling a file though:\n\n> In particular, checking if a file exists before opening it is an anti-pattern that leaves you vulnerable to race conditions: another process may remove the file between the calls to `fs.exists()` and `fs.open()`. Just open the file and handle the error when it's not there.\n\n\n## Install\n\n```\n$ npm install path-exists\n```\n\n\n## Usage\n\n```js\n// foo.js\nconst pathExists = require('path-exists');\n\n(async () => {\n\tconsole.log(await pathExists('foo.js'));\n\t//=> true\n})();\n```\n\n\n## API\n\n### pathExists(path)\n\nReturns a `Promise<boolean>` of whether the path exists.\n\n### pathExists.sync(path)\n\nReturns a `boolean` of whether the path exists.\n\n\n## Related\n\n- [path-exists-cli](https://github.com/sindresorhus/path-exists-cli) - CLI for this module\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
354 "maintainers": [
355 {
356 "name": "sindresorhus",
357 "email": "[email protected]"
358 }
359 ],
360 "time": {
361 "modified": "2019-04-04T03:29:19.419Z",
362 "created": "2015-05-02T22:43:43.950Z",
363 "1.0.0": "2015-05-02T22:43:43.950Z",
364 "2.0.0": "2015-09-01T07:09:33.519Z",
365 "2.1.0": "2015-11-14T13:55:22.456Z",
366 "3.0.0": "2016-05-01T11:44:53.762Z",
367 "4.0.0": "2019-04-04T03:29:16.887Z"
368 },
369 "homepage": "https://github.com/sindresorhus/path-exists#readme",
370 "keywords": [
371 "path",
372 "exists",
373 "exist",
374 "file",
375 "filepath",
376 "fs",
377 "filesystem",
378 "file-system",
379 "access",
380 "stat"
381 ],
382 "repository": {
383 "type": "git",
384 "url": "git+https://github.com/sindresorhus/path-exists.git"
385 },
386 "author": {
387 "name": "Sindre Sorhus",
388 "email": "[email protected]",
389 "url": "sindresorhus.com"
390 },
391 "bugs": {
392 "url": "https://github.com/sindresorhus/path-exists/issues"
393 },
394 "license": "MIT",
395 "readmeFilename": "readme.md",
396 "users": {
397 "redmonkeydf": true,
398 "timdp": true,
399 "recursion_excursion": true,
400 "banzeh": true,
401 "monjer": true,
402 "antixrist": true,
403 "deneboulton": true,
404 "hyteer": true,
405 "rocket0191": true,
406 "ognjen.jevremovic": true,
407 "serge-nikitin": true,
408 "coinoperatedgoi": true,
409 "kiinlam": true,
410 "ash": true
411 }
412 }