Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/resolve-from.json

raw
1 {
2 "_id": "resolve-from",
3 "_rev": "15-556292d5cb456e101a55b78957e62018",
4 "name": "resolve-from",
5 "description": "Resolve the path of a module like `require.resolve()` but from a given path",
6 "dist-tags": {
7 "latest": "5.0.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "resolve-from",
12 "version": "1.0.0",
13 "description": "Resolve the path of a module like require.resolve() but from a given path",
14 "license": "MIT",
15 "repository": {
16 "type": "git",
17 "url": "git://github.com/sindresorhus/resolve-from"
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 "require",
35 "resolve",
36 "path",
37 "module",
38 "from",
39 "like",
40 "path"
41 ],
42 "devDependencies": {
43 "ava": "0.0.3"
44 },
45 "bugs": {
46 "url": "https://github.com/sindresorhus/resolve-from/issues"
47 },
48 "homepage": "https://github.com/sindresorhus/resolve-from",
49 "_id": "[email protected]",
50 "_shasum": "dedda6f6f6346f0211ce4bc25aca0ca7826bb367",
51 "_from": ".",
52 "_npmVersion": "1.4.9",
53 "_npmUser": {
54 "name": "sindresorhus",
55 "email": "[email protected]"
56 },
57 "maintainers": [
58 {
59 "name": "sindresorhus",
60 "email": "[email protected]"
61 }
62 ],
63 "dist": {
64 "shasum": "dedda6f6f6346f0211ce4bc25aca0ca7826bb367",
65 "tarball": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.0.tgz"
66 },
67 "directories": {}
68 },
69 "1.0.1": {
70 "name": "resolve-from",
71 "version": "1.0.1",
72 "description": "Resolve the path of a module like require.resolve() but from a given path",
73 "license": "MIT",
74 "repository": {
75 "type": "git",
76 "url": "https://github.com/sindresorhus/resolve-from"
77 },
78 "author": {
79 "name": "Sindre Sorhus",
80 "email": "[email protected]",
81 "url": "sindresorhus.com"
82 },
83 "engines": {
84 "node": ">=0.10.0"
85 },
86 "scripts": {
87 "test": "xo && ava"
88 },
89 "files": [
90 "index.js"
91 ],
92 "keywords": [
93 "require",
94 "resolve",
95 "path",
96 "module",
97 "from",
98 "like",
99 "path"
100 ],
101 "devDependencies": {
102 "ava": "*",
103 "xo": "*"
104 },
105 "gitHead": "bae2cf1d66c616ad2eb27e0fe85a10ff0f2dfc92",
106 "bugs": {
107 "url": "https://github.com/sindresorhus/resolve-from/issues"
108 },
109 "homepage": "https://github.com/sindresorhus/resolve-from",
110 "_id": "[email protected]",
111 "_shasum": "26cbfe935d1aeeeabb29bc3fe5aeb01e93d44226",
112 "_from": ".",
113 "_npmVersion": "2.14.4",
114 "_nodeVersion": "4.1.1",
115 "_npmUser": {
116 "name": "sindresorhus",
117 "email": "[email protected]"
118 },
119 "dist": {
120 "shasum": "26cbfe935d1aeeeabb29bc3fe5aeb01e93d44226",
121 "tarball": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz"
122 },
123 "maintainers": [
124 {
125 "name": "sindresorhus",
126 "email": "[email protected]"
127 }
128 ],
129 "directories": {}
130 },
131 "2.0.0": {
132 "name": "resolve-from",
133 "version": "2.0.0",
134 "description": "Resolve the path of a module like require.resolve() but from a given path",
135 "license": "MIT",
136 "repository": {
137 "type": "git",
138 "url": "https://github.com/sindresorhus/resolve-from"
139 },
140 "author": {
141 "name": "Sindre Sorhus",
142 "email": "[email protected]",
143 "url": "sindresorhus.com"
144 },
145 "engines": {
146 "node": ">=0.10.0"
147 },
148 "scripts": {
149 "test": "xo && ava"
150 },
151 "files": [
152 "index.js"
153 ],
154 "keywords": [
155 "require",
156 "resolve",
157 "path",
158 "module",
159 "from",
160 "like",
161 "path"
162 ],
163 "devDependencies": {
164 "ava": "*",
165 "xo": "*"
166 },
167 "gitHead": "583e0f8df06e1bc4d1c96d8d4f2484c745f522c3",
168 "bugs": {
169 "url": "https://github.com/sindresorhus/resolve-from/issues"
170 },
171 "homepage": "https://github.com/sindresorhus/resolve-from",
172 "_id": "[email protected]",
173 "_shasum": "9480ab20e94ffa1d9e80a804c7ea147611966b57",
174 "_from": ".",
175 "_npmVersion": "2.14.7",
176 "_nodeVersion": "4.2.1",
177 "_npmUser": {
178 "name": "sindresorhus",
179 "email": "[email protected]"
180 },
181 "dist": {
182 "shasum": "9480ab20e94ffa1d9e80a804c7ea147611966b57",
183 "tarball": "https://registry.npmjs.org/resolve-from/-/resolve-from-2.0.0.tgz"
184 },
185 "maintainers": [
186 {
187 "name": "sindresorhus",
188 "email": "[email protected]"
189 }
190 ],
191 "directories": {}
192 },
193 "3.0.0": {
194 "name": "resolve-from",
195 "version": "3.0.0",
196 "description": "Resolve the path of a module like `require.resolve()` but from a given path",
197 "license": "MIT",
198 "repository": {
199 "type": "git",
200 "url": "git+https://github.com/sindresorhus/resolve-from.git"
201 },
202 "author": {
203 "name": "Sindre Sorhus",
204 "email": "[email protected]",
205 "url": "sindresorhus.com"
206 },
207 "engines": {
208 "node": ">=4"
209 },
210 "scripts": {
211 "test": "xo && ava"
212 },
213 "files": [
214 "index.js"
215 ],
216 "keywords": [
217 "require",
218 "resolve",
219 "path",
220 "module",
221 "from",
222 "like",
223 "import",
224 "path"
225 ],
226 "devDependencies": {
227 "ava": "*",
228 "xo": "*"
229 },
230 "gitHead": "c3a318d7144b9cc22488f5d2f3884b6c8c05a05a",
231 "bugs": {
232 "url": "https://github.com/sindresorhus/resolve-from/issues"
233 },
234 "homepage": "https://github.com/sindresorhus/resolve-from#readme",
235 "_id": "[email protected]",
236 "_shasum": "b22c7af7d9d6881bc8b6e653335eebcb0a188748",
237 "_from": ".",
238 "_npmVersion": "2.15.11",
239 "_nodeVersion": "4.7.3",
240 "_npmUser": {
241 "name": "sindresorhus",
242 "email": "[email protected]"
243 },
244 "dist": {
245 "shasum": "b22c7af7d9d6881bc8b6e653335eebcb0a188748",
246 "tarball": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz"
247 },
248 "maintainers": [
249 {
250 "name": "sindresorhus",
251 "email": "[email protected]"
252 }
253 ],
254 "_npmOperationalInternal": {
255 "host": "packages-18-east.internal.npmjs.com",
256 "tmp": "tmp/resolve-from-3.0.0.tgz_1493366293559_0.5914990743622184"
257 },
258 "directories": {}
259 },
260 "4.0.0": {
261 "name": "resolve-from",
262 "version": "4.0.0",
263 "description": "Resolve the path of a module like `require.resolve()` but from a given path",
264 "license": "MIT",
265 "repository": {
266 "type": "git",
267 "url": "git+https://github.com/sindresorhus/resolve-from.git"
268 },
269 "author": {
270 "name": "Sindre Sorhus",
271 "email": "[email protected]",
272 "url": "sindresorhus.com"
273 },
274 "engines": {
275 "node": ">=4"
276 },
277 "scripts": {
278 "test": "xo && ava"
279 },
280 "files": [
281 "index.js"
282 ],
283 "keywords": [
284 "require",
285 "resolve",
286 "path",
287 "module",
288 "from",
289 "like",
290 "import"
291 ],
292 "devDependencies": {
293 "ava": "*",
294 "xo": "*"
295 },
296 "gitHead": "60cd04e69135b96b98b848fff719b1276a5610c0",
297 "bugs": {
298 "url": "https://github.com/sindresorhus/resolve-from/issues"
299 },
300 "homepage": "https://github.com/sindresorhus/resolve-from#readme",
301 "_id": "[email protected]",
302 "_npmVersion": "5.3.0",
303 "_nodeVersion": "8.5.0",
304 "_npmUser": {
305 "name": "sindresorhus",
306 "email": "[email protected]"
307 },
308 "dist": {
309 "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
310 "shasum": "4abcd852ad32dd7baabfe9b40e00a36db5f392e6",
311 "tarball": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz"
312 },
313 "maintainers": [
314 {
315 "name": "sindresorhus",
316 "email": "[email protected]"
317 }
318 ],
319 "_npmOperationalInternal": {
320 "host": "s3://npm-registry-packages",
321 "tmp": "tmp/resolve-from-4.0.0.tgz_1506160096801_0.3549803947098553"
322 },
323 "directories": {}
324 },
325 "5.0.0": {
326 "name": "resolve-from",
327 "version": "5.0.0",
328 "description": "Resolve the path of a module like `require.resolve()` but from a given path",
329 "license": "MIT",
330 "repository": {
331 "type": "git",
332 "url": "git+https://github.com/sindresorhus/resolve-from.git"
333 },
334 "author": {
335 "name": "Sindre Sorhus",
336 "email": "[email protected]",
337 "url": "sindresorhus.com"
338 },
339 "engines": {
340 "node": ">=8"
341 },
342 "scripts": {
343 "test": "xo && ava && tsd"
344 },
345 "keywords": [
346 "require",
347 "resolve",
348 "path",
349 "module",
350 "from",
351 "like",
352 "import"
353 ],
354 "devDependencies": {
355 "ava": "^1.4.1",
356 "tsd": "^0.7.2",
357 "xo": "^0.24.0"
358 },
359 "gitHead": "53f4a1b40f972dbfc4dda9627d24068000eae897",
360 "bugs": {
361 "url": "https://github.com/sindresorhus/resolve-from/issues"
362 },
363 "homepage": "https://github.com/sindresorhus/resolve-from#readme",
364 "_id": "[email protected]",
365 "_nodeVersion": "8.15.0",
366 "_npmVersion": "6.9.0",
367 "_npmUser": {
368 "name": "sindresorhus",
369 "email": "[email protected]"
370 },
371 "dist": {
372 "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
373 "shasum": "c35225843df8f776df21c57557bc087e9dfdfc69",
374 "tarball": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz",
375 "fileCount": 5,
376 "unpackedSize": 5824,
377 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctANCCRA9TVsSAnZWagAAk7AQAIcOATtZd/Q0bDCROwwr\ne0iFyIuXPepEyjRgUuflYglfxBa4zg8z6LEKV2PIlVBryh+nw3bv8HIb0I1+\n9CLHFLwRrmjoDAttsm5EU8wY9wqTGzxoY/n72jnq5Nekpw0ENKkXsElZHaiG\ny3abQy+PAI1jtNhlZwxYMPm5v43JnIscxLKIe2+D4Glfy05779edS7BrrPYw\nKLn8bWgijuc27FIXKwoRKvysyH7Rp+7A45UE2MoWemLuPIPoGv0HI9/qUgrW\n3M1wWqLU3jwPvfa8lshrJ4SESHRxZlOCqOStDJqRP8xV80Us4hTfiPDg9MHx\n2MKoAtB7X4dhaqWXg489O3pUzxNazl9euxFRFybq30O/S8git4b2v0ETHpEt\nPLJZBO4p6Qw8x26CjspGbHTJMbMgQsdvR18FiTvq5Pg74ZkXCDEAH5mQcLUr\nPofEpd/QwQGxfM+Y+/q4y4/Z4fKp7M+1fpbCLHwn5c5TIUNc253CvbXhy+Oc\nZNhafcMsudm2NRYQlMLnWnShztMes2wFk+XRFO1S8E2QWktBHh4s1FIoSuYY\nilRxr3BHtf4g8j5gFBorgUx0RyDMrStlNJQG89HQTtEewrOyboUeUfoJl1Un\nAscCCCLsiSjZNyHT/KZmgfMAJP1go8taMEzmfFDllsYy1rg6GJxQpftyA02V\nCkJD\r\n=95CN\r\n-----END PGP SIGNATURE-----\r\n"
378 },
379 "maintainers": [
380 {
381 "name": "sindresorhus",
382 "email": "[email protected]"
383 }
384 ],
385 "directories": {},
386 "_npmOperationalInternal": {
387 "host": "s3://npm-registry-packages",
388 "tmp": "tmp/resolve-from_5.0.0_1555301185445_0.996189064165252"
389 },
390 "_hasShrinkwrap": false
391 }
392 },
393 "readme": "# resolve-from [![Build Status](https://travis-ci.org/sindresorhus/resolve-from.svg?branch=master)](https://travis-ci.org/sindresorhus/resolve-from)\n\n> Resolve the path of a module like [`require.resolve()`](https://nodejs.org/api/globals.html#globals_require_resolve) but from a given path\n\n\n## Install\n\n```\n$ npm install resolve-from\n```\n\n\n## Usage\n\n```js\nconst resolveFrom = require('resolve-from');\n\n// There is a file at `./foo/bar.js`\n\nresolveFrom('foo', './bar');\n//=> '/Users/sindresorhus/dev/test/foo/bar.js'\n```\n\n\n## API\n\n### resolveFrom(fromDirectory, moduleId)\n\nLike `require()`, throws when the module can't be found.\n\n### resolveFrom.silent(fromDirectory, moduleId)\n\nReturns `undefined` instead of throwing when the module can't be found.\n\n#### fromDirectory\n\nType: `string`\n\nDirectory to resolve from.\n\n#### moduleId\n\nType: `string`\n\nWhat you would use in `require()`.\n\n\n## Tip\n\nCreate a partial using a bound function if you want to resolve from the same `fromDirectory` multiple times:\n\n```js\nconst resolveFromFoo = resolveFrom.bind(null, 'foo');\n\nresolveFromFoo('./bar');\nresolveFromFoo('./baz');\n```\n\n\n## Related\n\n- [resolve-cwd](https://github.com/sindresorhus/resolve-cwd) - Resolve the path of a module from the current working directory\n- [import-from](https://github.com/sindresorhus/import-from) - Import a module from a given path\n- [import-cwd](https://github.com/sindresorhus/import-cwd) - Import a module from the current working directory\n- [resolve-pkg](https://github.com/sindresorhus/resolve-pkg) - Resolve the path of a package regardless of it having an entry point\n- [import-lazy](https://github.com/sindresorhus/import-lazy) - Import a module lazily\n- [resolve-global](https://github.com/sindresorhus/resolve-global) - Resolve the path of a globally installed module\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
394 "maintainers": [
395 {
396 "name": "sindresorhus",
397 "email": "[email protected]"
398 }
399 ],
400 "time": {
401 "modified": "2019-04-15T04:06:28.217Z",
402 "created": "2014-07-20T00:34:24.210Z",
403 "1.0.0": "2014-07-20T00:34:24.210Z",
404 "1.0.1": "2015-10-05T14:33:18.756Z",
405 "2.0.0": "2015-11-29T05:09:13.029Z",
406 "3.0.0": "2017-04-28T07:58:15.268Z",
407 "4.0.0": "2017-09-23T09:48:16.876Z",
408 "5.0.0": "2019-04-15T04:06:25.601Z"
409 },
410 "homepage": "https://github.com/sindresorhus/resolve-from#readme",
411 "keywords": [
412 "require",
413 "resolve",
414 "path",
415 "module",
416 "from",
417 "like",
418 "import"
419 ],
420 "repository": {
421 "type": "git",
422 "url": "git+https://github.com/sindresorhus/resolve-from.git"
423 },
424 "author": {
425 "name": "Sindre Sorhus",
426 "email": "[email protected]",
427 "url": "sindresorhus.com"
428 },
429 "bugs": {
430 "url": "https://github.com/sindresorhus/resolve-from/issues"
431 },
432 "license": "MIT",
433 "readmeFilename": "readme.md",
434 "users": {
435 "stringparser": true,
436 "max_devjs": true,
437 "gggauravgandhi": true,
438 "jlsjonas": true,
439 "robmcguinness": true,
440 "arcticicestudio": true
441 }
442 }