Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/import-lazy.json

raw
1 {
2 "_id": "import-lazy",
3 "_rev": "3-57ab2b0480fb2378d63bc262b67a7bbd",
4 "name": "import-lazy",
5 "description": "Import a module lazily",
6 "dist-tags": {
7 "latest": "4.0.0"
8 },
9 "versions": {
10 "2.1.0": {
11 "name": "import-lazy",
12 "version": "2.1.0",
13 "description": "Import modules lazily",
14 "license": "MIT",
15 "repository": {
16 "type": "git",
17 "url": "git+https://github.com/sindresorhus/import-lazy.git"
18 },
19 "author": {
20 "name": "Sindre Sorhus",
21 "email": "[email protected]",
22 "url": "sindresorhus.com"
23 },
24 "contributors": [
25 {
26 "name": "Jorge Bucaran",
27 "email": "[email protected]"
28 }
29 ],
30 "engines": {
31 "node": ">=4"
32 },
33 "scripts": {
34 "test": "xo && ava"
35 },
36 "files": [
37 "index.js"
38 ],
39 "keywords": [
40 "import",
41 "require",
42 "load",
43 "module",
44 "modules",
45 "lazy",
46 "lazily",
47 "defer",
48 "deferred",
49 "proxy",
50 "proxies"
51 ],
52 "devDependencies": {
53 "ava": "*",
54 "xo": "*"
55 },
56 "gitHead": "ed6c2fac31aaf8a7d91a27295756383487f3965d",
57 "bugs": {
58 "url": "https://github.com/sindresorhus/import-lazy/issues"
59 },
60 "homepage": "https://github.com/sindresorhus/import-lazy#readme",
61 "_id": "[email protected]",
62 "_shasum": "05698e3d45c88e8d7e9d92cb0584e77f096f3e43",
63 "_from": ".",
64 "_npmVersion": "2.15.11",
65 "_nodeVersion": "4.8.3",
66 "_npmUser": {
67 "name": "sindresorhus",
68 "email": "[email protected]"
69 },
70 "dist": {
71 "shasum": "05698e3d45c88e8d7e9d92cb0584e77f096f3e43",
72 "tarball": "https://registry.npmjs.org/import-lazy/-/import-lazy-2.1.0.tgz"
73 },
74 "maintainers": [
75 {
76 "name": "sindresorhus",
77 "email": "[email protected]"
78 }
79 ],
80 "_npmOperationalInternal": {
81 "host": "s3://npm-registry-packages",
82 "tmp": "tmp/import-lazy-2.1.0.tgz_1495360148006_0.7086837058886886"
83 },
84 "directories": {}
85 },
86 "3.0.0": {
87 "name": "import-lazy",
88 "version": "3.0.0",
89 "description": "Import a module lazily",
90 "license": "MIT",
91 "repository": {
92 "type": "git",
93 "url": "git+https://github.com/sindresorhus/import-lazy.git"
94 },
95 "author": {
96 "name": "Sindre Sorhus",
97 "email": "[email protected]",
98 "url": "sindresorhus.com"
99 },
100 "contributors": [
101 {
102 "name": "Jorge Bucaran",
103 "email": "[email protected]"
104 }
105 ],
106 "engines": {
107 "node": ">=6"
108 },
109 "scripts": {
110 "test": "xo && ava"
111 },
112 "files": [
113 "index.js"
114 ],
115 "keywords": [
116 "import",
117 "require",
118 "load",
119 "module",
120 "modules",
121 "lazy",
122 "lazily",
123 "defer",
124 "deferred",
125 "proxy",
126 "proxies"
127 ],
128 "devDependencies": {
129 "ava": "*",
130 "xo": "*"
131 },
132 "gitHead": "e2fb3c26c104322690d84668bcde193bec7b14fa",
133 "bugs": {
134 "url": "https://github.com/sindresorhus/import-lazy/issues"
135 },
136 "homepage": "https://github.com/sindresorhus/import-lazy#readme",
137 "_id": "[email protected]",
138 "_shasum": "aac9d230dd073097ba05c34bc39b8b03c586c064",
139 "_from": ".",
140 "_npmVersion": "3.10.8",
141 "_nodeVersion": "6.9.1",
142 "_npmUser": {
143 "name": "sindresorhus",
144 "email": "[email protected]"
145 },
146 "dist": {
147 "shasum": "aac9d230dd073097ba05c34bc39b8b03c586c064",
148 "tarball": "https://registry.npmjs.org/import-lazy/-/import-lazy-3.0.0.tgz"
149 },
150 "maintainers": [
151 {
152 "name": "sindresorhus",
153 "email": "[email protected]"
154 }
155 ],
156 "_npmOperationalInternal": {
157 "host": "s3://npm-registry-packages",
158 "tmp": "tmp/import-lazy-3.0.0.tgz_1497466243296_0.5274067285936326"
159 },
160 "directories": {}
161 },
162 "3.1.0": {
163 "name": "import-lazy",
164 "version": "3.1.0",
165 "description": "Import a module lazily",
166 "license": "MIT",
167 "repository": {
168 "type": "git",
169 "url": "git+https://github.com/sindresorhus/import-lazy.git"
170 },
171 "author": {
172 "name": "Sindre Sorhus",
173 "email": "[email protected]",
174 "url": "sindresorhus.com"
175 },
176 "engines": {
177 "node": ">=6"
178 },
179 "scripts": {
180 "test": "xo && ava"
181 },
182 "files": [
183 "index.js"
184 ],
185 "keywords": [
186 "import",
187 "require",
188 "load",
189 "module",
190 "modules",
191 "lazy",
192 "lazily",
193 "defer",
194 "deferred",
195 "proxy",
196 "proxies"
197 ],
198 "devDependencies": {
199 "ava": "*",
200 "xo": "*"
201 },
202 "gitHead": "9a1bbfe4f7e3618f8e6934372417251b5f219554",
203 "bugs": {
204 "url": "https://github.com/sindresorhus/import-lazy/issues"
205 },
206 "homepage": "https://github.com/sindresorhus/import-lazy#readme",
207 "_id": "[email protected]",
208 "_npmVersion": "5.4.2",
209 "_nodeVersion": "8.7.0",
210 "_npmUser": {
211 "name": "sindresorhus",
212 "email": "[email protected]"
213 },
214 "dist": {
215 "integrity": "sha512-8/gvXvX2JMn0F+CDlSC4l6kOmVaLOO3XLkksI7CI3Ud95KDYJuYur2b9P/PUt/i/pDAMd/DulQsNbbbmRRsDIQ==",
216 "shasum": "891279202c8a2280fdbd6674dbd8da1a1dfc67cc",
217 "tarball": "https://registry.npmjs.org/import-lazy/-/import-lazy-3.1.0.tgz"
218 },
219 "maintainers": [
220 {
221 "name": "sindresorhus",
222 "email": "[email protected]"
223 }
224 ],
225 "_npmOperationalInternal": {
226 "host": "s3://npm-registry-packages",
227 "tmp": "tmp/import-lazy-3.1.0.tgz_1509719453349_0.6365024524275213"
228 },
229 "directories": {}
230 },
231 "4.0.0": {
232 "name": "import-lazy",
233 "version": "4.0.0",
234 "description": "Import a module lazily",
235 "license": "MIT",
236 "repository": {
237 "type": "git",
238 "url": "git+https://github.com/sindresorhus/import-lazy.git"
239 },
240 "author": {
241 "name": "Sindre Sorhus",
242 "email": "[email protected]",
243 "url": "sindresorhus.com"
244 },
245 "engines": {
246 "node": ">=8"
247 },
248 "scripts": {
249 "test": "xo && ava && tsd"
250 },
251 "keywords": [
252 "import",
253 "require",
254 "load",
255 "module",
256 "modules",
257 "lazy",
258 "lazily",
259 "defer",
260 "deferred",
261 "proxy",
262 "proxies"
263 ],
264 "devDependencies": {
265 "ava": "^1.4.1",
266 "tsd": "^0.7.2",
267 "xo": "^0.24.0"
268 },
269 "gitHead": "eb40edcf6242280c68289758db9c22c5ecb455d6",
270 "bugs": {
271 "url": "https://github.com/sindresorhus/import-lazy/issues"
272 },
273 "homepage": "https://github.com/sindresorhus/import-lazy#readme",
274 "_id": "[email protected]",
275 "_nodeVersion": "10.15.3",
276 "_npmVersion": "6.9.0",
277 "_npmUser": {
278 "name": "sindresorhus",
279 "email": "[email protected]"
280 },
281 "dist": {
282 "integrity": "sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw==",
283 "shasum": "e8eb627483a0a43da3c03f3e35548be5cb0cc153",
284 "tarball": "https://registry.npmjs.org/import-lazy/-/import-lazy-4.0.0.tgz",
285 "fileCount": 5,
286 "unpackedSize": 4898,
287 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxDIECRA9TVsSAnZWagAAl9QQAKTyAOspwQDeUAfngBFV\n1l4bOvKuO99sx6jtR3l6SRbpQr5eo1wGO2OtnM3s+rsEb6O7iK7AN9tSWXhy\nbSrCm5gwU22sjqYWkUfamrouubYpP6Q5OZ7caBZVITFtfUSfOhXYNLktIdVp\nccMN7Wwh2yrw7cAcF6g7oGpvON+aifJ8tXErp9DV1z6Db5shWWdBBIDUbVfj\nnW+wnlC8TV6oDkwdasbKOCHSU4Yo7iD/PzzQC3sd9/3hHA9u8PjIrz916WPS\nHD3wBJsvMcxYIYd3bmNaP0zvIe6VtFRZYiTU+j4NkvhlQ4+kiAVMVhotqtzM\ntBiLK21Fs7iPILHW/lUOAyCqWjBJbmFRIInlaruhh9+btvHHqt2znqidJT0G\nhXRiLnbR4kKnW2xzmN43+JJKEWno26s/axVF/EMHT+EA7do/zEjk5Mo10atM\nk0Io9h4L2Ll9PYT1GR1SP8TWHXsRMjihEaVWHC64a2XcucHlzorUQeToww7m\nVVc1+oLA3qGw9r/UxiLg8QXVbdBlpoaMUtoPc6jbymiFTXzaRKaC9Yzo2vUm\nIWlzVS5lDc11Ak9+478wfrzojzOD5vFnFVK6GB3WYJYU7GrxPxAGHhs+QNS2\nkFI3n4Gd4dFrvvD4Qvhnl6CNst7B2MN+xY6W7L/vRR2Q9KhZMINVODDCG6ZV\nrZ8/\r\n=+VI4\r\n-----END PGP SIGNATURE-----\r\n"
288 },
289 "maintainers": [
290 {
291 "name": "sindresorhus",
292 "email": "[email protected]"
293 }
294 ],
295 "directories": {},
296 "_npmOperationalInternal": {
297 "host": "s3://npm-registry-packages",
298 "tmp": "tmp/import-lazy_4.0.0_1556361731280_0.9162848531790553"
299 },
300 "_hasShrinkwrap": false
301 }
302 },
303 "readme": "# import-lazy [![Build Status](https://travis-ci.org/sindresorhus/import-lazy.svg?branch=master)](https://travis-ci.org/sindresorhus/import-lazy)\n\n> Import a module lazily\n\n\n## Install\n\n```\n$ npm install import-lazy\n```\n\n\n## Usage\n\n```js\n// Pass in `require` or a custom import function\nconst importLazy = require('import-lazy')(require);\nconst _ = importLazy('lodash');\n\n// Instead of referring to its exported properties directly…\n_.isNumber(2);\n\n// …it's cached on consecutive calls\n_.isNumber('unicorn');\n\n// Works out of the box for functions and regular properties\nconst stuff = importLazy('./math-lib');\nconsole.log(stuff.sum(1, 2)); // => 3\nconsole.log(stuff.PHI); // => 1.618033\n```\n\n### Warning: Destructuring will cause it to fetch eagerly\n\nWhile you may be tempted to do leverage destructuring, like this:\n\n```js\nconst {isNumber, isString} = importLazy('lodash');\n```\n\nNote that this will cause immediate property access, negating the lazy loading, and is equivalent to:\n\n```js\nimport {isNumber, isString} from 'lodash';\n```\n\n## Related\n\n- [resolve-from](https://github.com/sindresorhus/resolve-from) - Resolve the path of a module from a given path\n- [import-from](https://github.com/sindresorhus/import-from) - Import a module from a given path\n- [resolve-pkg](https://github.com/sindresorhus/resolve-pkg) - Resolve the path of a package regardless of it having an entry point\n- [lazy-value](https://github.com/sindresorhus/lazy-value) - Create a lazily evaluated value\n- [define-lazy-prop](https://github.com/sindresorhus/define-lazy-prop) - Define a lazily evaluated property on an object\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
304 "maintainers": [
305 {
306 "name": "sindresorhus",
307 "email": "[email protected]"
308 }
309 ],
310 "time": {
311 "modified": "2019-04-27T10:42:14.005Z",
312 "created": "2017-05-21T09:49:08.163Z",
313 "2.1.0": "2017-05-21T09:49:08.163Z",
314 "3.0.0": "2017-06-14T18:50:44.279Z",
315 "3.1.0": "2017-11-03T14:30:53.408Z",
316 "4.0.0": "2019-04-27T10:42:11.495Z"
317 },
318 "homepage": "https://github.com/sindresorhus/import-lazy#readme",
319 "keywords": [
320 "import",
321 "require",
322 "load",
323 "module",
324 "modules",
325 "lazy",
326 "lazily",
327 "defer",
328 "deferred",
329 "proxy",
330 "proxies"
331 ],
332 "repository": {
333 "type": "git",
334 "url": "git+https://github.com/sindresorhus/import-lazy.git"
335 },
336 "author": {
337 "name": "Sindre Sorhus",
338 "email": "[email protected]",
339 "url": "sindresorhus.com"
340 },
341 "bugs": {
342 "url": "https://github.com/sindresorhus/import-lazy/issues"
343 },
344 "license": "MIT",
345 "readmeFilename": "readme.md"
346 }