Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/has-value.json

raw
1 {
2 "_id": "has-value",
3 "_rev": "15-52d84b3bf86abf1d6622b87eea937ccf",
4 "name": "has-value",
5 "description": "Returns true if a value exists, false if empty. Works with deeply nested values using object paths.",
6 "dist-tags": {
7 "latest": "2.0.2"
8 },
9 "versions": {
10 "0.1.0": {
11 "name": "has-value",
12 "description": "Returns true if a value exists, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays. Other libs do this, but I needed one that would optionally _not_ treat zero as empty. Also, this works with booleans and other valu",
13 "version": "0.1.0",
14 "homepage": "https://github.com/jonschlinkert/has-value",
15 "author": {
16 "name": "Jon Schlinkert",
17 "url": "https://github.com/jonschlinkert"
18 },
19 "repository": {
20 "type": "git",
21 "url": "git://github.com/jonschlinkert/has-value.git"
22 },
23 "bugs": {
24 "url": "https://github.com/jonschlinkert/has-value/issues"
25 },
26 "licenses": [
27 {
28 "type": "MIT",
29 "url": "https://github.com/jonschlinkert/has-value/blob/master/LICENSE-MIT"
30 }
31 ],
32 "main": "index.js",
33 "engines": {
34 "node": ">=0.10.0"
35 },
36 "scripts": {
37 "test": "mocha -R spec"
38 },
39 "devDependencies": {
40 "mocha": "*",
41 "should": "^4.0.4",
42 "verb": ">= 0.2.6"
43 },
44 "keywords": [
45 "array",
46 "boolean",
47 "empty",
48 "find",
49 "function",
50 "has",
51 "hasOwn",
52 "javascript",
53 "js",
54 "key",
55 "keys",
56 "node.js",
57 "null",
58 "number",
59 "object",
60 "properties",
61 "property",
62 "string",
63 "type",
64 "util",
65 "utilities",
66 "utility",
67 "value"
68 ],
69 "_id": "[email protected]",
70 "_shasum": "43d36b0019fce4f0106f77ced58fcbd9c82988c3",
71 "_from": ".",
72 "_npmVersion": "1.4.9",
73 "_npmUser": {
74 "name": "jonschlinkert",
75 "email": "[email protected]"
76 },
77 "maintainers": [
78 {
79 "name": "jonschlinkert",
80 "email": "[email protected]"
81 }
82 ],
83 "dist": {
84 "shasum": "43d36b0019fce4f0106f77ced58fcbd9c82988c3",
85 "tarball": "https://registry.npmjs.org/has-value/-/has-value-0.1.0.tgz"
86 },
87 "directories": {}
88 },
89 "0.2.0": {
90 "name": "has-value",
91 "description": "Returns true if a value exists, false if empty. Works with deeply nested values using object paths.",
92 "version": "0.2.0",
93 "homepage": "https://github.com/jonschlinkert/has-value",
94 "author": {
95 "name": "Jon Schlinkert",
96 "url": "https://github.com/jonschlinkert"
97 },
98 "repository": {
99 "type": "git",
100 "url": "git://github.com/jonschlinkert/has-value.git"
101 },
102 "bugs": {
103 "url": "https://github.com/jonschlinkert/has-value/issues"
104 },
105 "license": {
106 "type": "MIT",
107 "url": "https://github.com/jonschlinkert/has-value/blob/master/LICENSE"
108 },
109 "files": [
110 "index.js"
111 ],
112 "main": "index.js",
113 "engines": {
114 "node": ">=0.10.0"
115 },
116 "scripts": {
117 "test": "mocha"
118 },
119 "dependencies": {
120 "get-value": "^1.1.1",
121 "has-values": "^0.1.2"
122 },
123 "devDependencies": {
124 "mocha": "*",
125 "should": "^4.0.4"
126 },
127 "keywords": [
128 "array",
129 "boolean",
130 "empty",
131 "find",
132 "function",
133 "has",
134 "hasOwn",
135 "javascript",
136 "js",
137 "key",
138 "keys",
139 "node.js",
140 "null",
141 "number",
142 "object",
143 "properties",
144 "property",
145 "string",
146 "type",
147 "util",
148 "utilities",
149 "utility",
150 "value"
151 ],
152 "gitHead": "0e50bd07b986ac899a5f72e1428f1641f7bf6030",
153 "_id": "[email protected]",
154 "_shasum": "e4b036874a791eb6b80ab36d8ba5427c7319eac2",
155 "_from": ".",
156 "_npmVersion": "2.7.1",
157 "_nodeVersion": "1.6.2",
158 "_npmUser": {
159 "name": "jonschlinkert",
160 "email": "[email protected]"
161 },
162 "maintainers": [
163 {
164 "name": "jonschlinkert",
165 "email": "[email protected]"
166 }
167 ],
168 "dist": {
169 "shasum": "e4b036874a791eb6b80ab36d8ba5427c7319eac2",
170 "tarball": "https://registry.npmjs.org/has-value/-/has-value-0.2.0.tgz"
171 },
172 "directories": {}
173 },
174 "0.2.1": {
175 "name": "has-value",
176 "description": "Returns true if a value exists, false if empty. Works with deeply nested values using object paths.",
177 "version": "0.2.1",
178 "homepage": "https://github.com/jonschlinkert/has-value",
179 "author": {
180 "name": "Jon Schlinkert",
181 "url": "https://github.com/jonschlinkert"
182 },
183 "repository": {
184 "type": "git",
185 "url": "git+https://github.com/jonschlinkert/has-value.git"
186 },
187 "bugs": {
188 "url": "https://github.com/jonschlinkert/has-value/issues"
189 },
190 "license": "MIT",
191 "files": [
192 "index.js"
193 ],
194 "main": "index.js",
195 "engines": {
196 "node": ">=0.10.0"
197 },
198 "scripts": {
199 "test": "mocha"
200 },
201 "dependencies": {
202 "get-value": "^2.0.0",
203 "has-values": "^0.1.3"
204 },
205 "devDependencies": {
206 "mocha": "*",
207 "should": "^4.0.4"
208 },
209 "keywords": [
210 "array",
211 "boolean",
212 "empty",
213 "find",
214 "function",
215 "has",
216 "hasOwn",
217 "javascript",
218 "js",
219 "key",
220 "keys",
221 "node.js",
222 "null",
223 "number",
224 "object",
225 "properties",
226 "property",
227 "string",
228 "type",
229 "util",
230 "utilities",
231 "utility",
232 "value"
233 ],
234 "verb": {
235 "related": {
236 "description": "",
237 "list": [
238 "get-value",
239 "set-value",
240 "get-property",
241 "get-object"
242 ]
243 }
244 },
245 "gitHead": "0e50bd07b986ac899a5f72e1428f1641f7bf6030",
246 "_id": "[email protected]",
247 "_shasum": "dbb14da140d429a8bcd4f089bc190f7db30bef70",
248 "_from": ".",
249 "_npmVersion": "2.14.7",
250 "_nodeVersion": "4.2.1",
251 "_npmUser": {
252 "name": "jonschlinkert",
253 "email": "[email protected]"
254 },
255 "maintainers": [
256 {
257 "name": "jonschlinkert",
258 "email": "[email protected]"
259 }
260 ],
261 "dist": {
262 "shasum": "dbb14da140d429a8bcd4f089bc190f7db30bef70",
263 "tarball": "https://registry.npmjs.org/has-value/-/has-value-0.2.1.tgz"
264 },
265 "directories": {}
266 },
267 "0.3.0": {
268 "name": "has-value",
269 "description": "Returns true if a value exists, false if empty. Works with deeply nested values using object paths.",
270 "version": "0.3.0",
271 "homepage": "https://github.com/jonschlinkert/has-value",
272 "author": {
273 "name": "Jon Schlinkert",
274 "url": "https://github.com/jonschlinkert"
275 },
276 "repository": {
277 "type": "git",
278 "url": "git+https://github.com/jonschlinkert/has-value.git"
279 },
280 "bugs": {
281 "url": "https://github.com/jonschlinkert/has-value/issues"
282 },
283 "license": "MIT",
284 "files": [
285 "index.js"
286 ],
287 "main": "index.js",
288 "engines": {
289 "node": ">=0.10.0"
290 },
291 "scripts": {
292 "test": "mocha"
293 },
294 "dependencies": {
295 "get-value": "^2.0.0",
296 "has-values": "^0.1.3",
297 "isobject": "^2.0.0"
298 },
299 "devDependencies": {
300 "mocha": "*"
301 },
302 "keywords": [
303 "array",
304 "boolean",
305 "empty",
306 "find",
307 "function",
308 "has",
309 "hasOwn",
310 "javascript",
311 "js",
312 "key",
313 "keys",
314 "node.js",
315 "null",
316 "number",
317 "object",
318 "properties",
319 "property",
320 "string",
321 "type",
322 "util",
323 "utilities",
324 "utility",
325 "value"
326 ],
327 "verb": {
328 "related": {
329 "list": [
330 "get-value",
331 "set-value",
332 "get-property",
333 "get-object"
334 ],
335 "description": ""
336 }
337 },
338 "gitHead": "7db732eb679e22fd058b64f70755389ed3b1cbb4",
339 "_id": "[email protected]",
340 "_shasum": "e63297a4d45ca7c8647337e1ba7be9f18e27ee3c",
341 "_from": ".",
342 "_npmVersion": "3.3.6",
343 "_nodeVersion": "5.0.0",
344 "_npmUser": {
345 "name": "jonschlinkert",
346 "email": "[email protected]"
347 },
348 "maintainers": [
349 {
350 "name": "jonschlinkert",
351 "email": "[email protected]"
352 }
353 ],
354 "dist": {
355 "shasum": "e63297a4d45ca7c8647337e1ba7be9f18e27ee3c",
356 "tarball": "https://registry.npmjs.org/has-value/-/has-value-0.3.0.tgz"
357 },
358 "directories": {}
359 },
360 "0.3.1": {
361 "name": "has-value",
362 "version": "0.3.1",
363 "description": "Returns true if a value exists, false if empty. Works with deeply nested values using object paths.",
364 "homepage": "https://github.com/jonschlinkert/has-value",
365 "author": {
366 "name": "Jon Schlinkert",
367 "url": "https://github.com/jonschlinkert"
368 },
369 "repository": {
370 "type": "git",
371 "url": "git+https://github.com/jonschlinkert/has-value.git"
372 },
373 "bugs": {
374 "url": "https://github.com/jonschlinkert/has-value/issues"
375 },
376 "license": "MIT",
377 "files": [
378 "index.js"
379 ],
380 "main": "index.js",
381 "engines": {
382 "node": ">=0.10.0"
383 },
384 "scripts": {
385 "test": "mocha"
386 },
387 "dependencies": {
388 "get-value": "^2.0.3",
389 "has-values": "^0.1.4",
390 "isobject": "^2.0.0"
391 },
392 "devDependencies": {
393 "gulp-format-md": "^0.1.7",
394 "mocha": "^2.4.5"
395 },
396 "keywords": [
397 "array",
398 "boolean",
399 "empty",
400 "find",
401 "function",
402 "has",
403 "hasOwn",
404 "javascript",
405 "js",
406 "key",
407 "keys",
408 "node.js",
409 "null",
410 "number",
411 "object",
412 "properties",
413 "property",
414 "string",
415 "type",
416 "util",
417 "utilities",
418 "utility",
419 "value"
420 ],
421 "verb": {
422 "run": true,
423 "toc": false,
424 "layout": "default",
425 "tasks": [
426 "readme"
427 ],
428 "plugins": [
429 "gulp-format-md"
430 ],
431 "related": {
432 "list": [
433 "get-object",
434 "get-property",
435 "get-value",
436 "set-value"
437 ]
438 },
439 "reflinks": [
440 "verb"
441 ],
442 "lint": {
443 "reflinks": true
444 }
445 },
446 "gitHead": "adecb27b13b7e99688694e228a946e6e635fcc64",
447 "_id": "[email protected]",
448 "_shasum": "7b1f58bada62ca827ec0a2078025654845995e1f",
449 "_from": ".",
450 "_npmVersion": "3.6.0",
451 "_nodeVersion": "5.5.0",
452 "_npmUser": {
453 "name": "jonschlinkert",
454 "email": "[email protected]"
455 },
456 "maintainers": [
457 {
458 "name": "jonschlinkert",
459 "email": "[email protected]"
460 }
461 ],
462 "dist": {
463 "shasum": "7b1f58bada62ca827ec0a2078025654845995e1f",
464 "tarball": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz"
465 },
466 "_npmOperationalInternal": {
467 "host": "packages-16-east.internal.npmjs.com",
468 "tmp": "tmp/has-value-0.3.1.tgz_1459091935592_0.006853065919131041"
469 },
470 "directories": {}
471 },
472 "1.0.0": {
473 "name": "has-value",
474 "description": "Returns true if a value exists, false if empty. Works with deeply nested values using object paths.",
475 "version": "1.0.0",
476 "homepage": "https://github.com/jonschlinkert/has-value",
477 "author": {
478 "name": "Jon Schlinkert",
479 "url": "https://github.com/jonschlinkert"
480 },
481 "contributors": [
482 {
483 "name": "Jon Schlinkert",
484 "url": "http://twitter.com/jonschlinkert"
485 },
486 {
487 "name": "Ryan M Harrison",
488 "url": "https://linkedin.com/in/harrisonrm"
489 }
490 ],
491 "repository": {
492 "type": "git",
493 "url": "git+https://github.com/jonschlinkert/has-value.git"
494 },
495 "bugs": {
496 "url": "https://github.com/jonschlinkert/has-value/issues"
497 },
498 "license": "MIT",
499 "files": [
500 "index.js"
501 ],
502 "main": "index.js",
503 "engines": {
504 "node": ">=0.10.0"
505 },
506 "scripts": {
507 "test": "mocha"
508 },
509 "dependencies": {
510 "get-value": "^2.0.6",
511 "has-values": "^1.0.0",
512 "isobject": "^3.0.0"
513 },
514 "devDependencies": {
515 "gulp-format-md": "^0.1.12",
516 "mocha": "^3.4.1"
517 },
518 "keywords": [
519 "array",
520 "boolean",
521 "empty",
522 "find",
523 "function",
524 "has",
525 "hasOwn",
526 "javascript",
527 "js",
528 "key",
529 "keys",
530 "node.js",
531 "null",
532 "number",
533 "object",
534 "properties",
535 "property",
536 "string",
537 "type",
538 "util",
539 "utilities",
540 "utility",
541 "value"
542 ],
543 "verb": {
544 "run": true,
545 "toc": false,
546 "layout": "default",
547 "tasks": [
548 "readme"
549 ],
550 "plugins": [
551 "gulp-format-md"
552 ],
553 "related": {
554 "list": [
555 "define-property",
556 "get-value",
557 "set-value",
558 "unset-value"
559 ]
560 },
561 "reflinks": [],
562 "lint": {
563 "reflinks": true
564 }
565 },
566 "gitHead": "61b5671a48ac40206eb33b4ea75dc2507168d687",
567 "_id": "[email protected]",
568 "_shasum": "18b281da585b1c5c51def24c930ed29a0be6b177",
569 "_from": ".",
570 "_npmVersion": "4.6.1",
571 "_nodeVersion": "7.7.3",
572 "_npmUser": {
573 "name": "jonschlinkert",
574 "email": "[email protected]"
575 },
576 "maintainers": [
577 {
578 "name": "jonschlinkert",
579 "email": "[email protected]"
580 }
581 ],
582 "dist": {
583 "shasum": "18b281da585b1c5c51def24c930ed29a0be6b177",
584 "tarball": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz"
585 },
586 "_npmOperationalInternal": {
587 "host": "s3://npm-registry-packages",
588 "tmp": "tmp/has-value-1.0.0.tgz_1495221082986_0.06325704883784056"
589 },
590 "directories": {}
591 },
592 "2.0.0": {
593 "name": "has-value",
594 "description": "Returns true if a value exists, false if empty. Works with deeply nested values using object paths.",
595 "version": "2.0.0",
596 "homepage": "https://github.com/jonschlinkert/has-value",
597 "author": {
598 "name": "Jon Schlinkert",
599 "url": "https://github.com/jonschlinkert"
600 },
601 "contributors": [
602 {
603 "name": "Jon Schlinkert",
604 "url": "http://twitter.com/jonschlinkert"
605 },
606 {
607 "name": "Ryan M Harrison",
608 "url": "https://linkedin.com/in/harrisonrm"
609 },
610 {
611 "url": "https://github.com/wtgtybhertgeghgtwtg"
612 }
613 ],
614 "repository": {
615 "type": "git",
616 "url": "git+https://github.com/jonschlinkert/has-value.git"
617 },
618 "bugs": {
619 "url": "https://github.com/jonschlinkert/has-value/issues"
620 },
621 "license": "MIT",
622 "files": [
623 "index.js"
624 ],
625 "main": "index.js",
626 "engines": {
627 "node": ">=6"
628 },
629 "scripts": {
630 "test": "mocha"
631 },
632 "dependencies": {
633 "get-value": "^3.0.0",
634 "has-values": "^2.0.0"
635 },
636 "devDependencies": {
637 "gulp-format-md": "^1.0.0",
638 "mocha": "^3.5.3"
639 },
640 "keywords": [
641 "array",
642 "boolean",
643 "check",
644 "deep",
645 "empty",
646 "function",
647 "has",
648 "hasOwn",
649 "is-empty",
650 "nested",
651 "null",
652 "number",
653 "object",
654 "object path",
655 "properties",
656 "property",
657 "string",
658 "type",
659 "value"
660 ],
661 "verb": {
662 "run": true,
663 "toc": false,
664 "layout": "default",
665 "tasks": [
666 "readme"
667 ],
668 "plugins": [
669 "gulp-format-md"
670 ],
671 "related": {
672 "list": [
673 "define-property",
674 "get-value",
675 "set-value",
676 "unset-value"
677 ]
678 },
679 "lint": {
680 "reflinks": true
681 }
682 },
683 "gitHead": "b7f8d300f40fb4d5502a2b9b9663d6149f061f35",
684 "_id": "[email protected]",
685 "_npmVersion": "5.6.0",
686 "_nodeVersion": "9.1.0",
687 "_npmUser": {
688 "name": "jonschlinkert",
689 "email": "[email protected]"
690 },
691 "dist": {
692 "integrity": "sha512-xtebC5A+YFrlfEIQHYBflcgECx375VotcuNjT8+U0zQDNSFiUe/zA3FX9gSdx9CwoNBFeSL9icj2V4Ps0oNvHg==",
693 "shasum": "aae2c3f2c1001313c382948a9baa77f3b28ef9be",
694 "tarball": "https://registry.npmjs.org/has-value/-/has-value-2.0.0.tgz"
695 },
696 "maintainers": [
697 {
698 "name": "jonschlinkert",
699 "email": "[email protected]"
700 }
701 ],
702 "_npmOperationalInternal": {
703 "host": "s3://npm-registry-packages",
704 "tmp": "tmp/has-value-2.0.0.tgz_1517360751813_0.23941618809476495"
705 },
706 "directories": {}
707 },
708 "2.0.1": {
709 "name": "has-value",
710 "description": "Returns true if a value exists, false if empty. Works with deeply nested values using object paths.",
711 "version": "2.0.1",
712 "homepage": "https://github.com/jonschlinkert/has-value",
713 "author": {
714 "name": "Jon Schlinkert",
715 "url": "https://github.com/jonschlinkert"
716 },
717 "contributors": [
718 {
719 "name": "Jon Schlinkert",
720 "url": "http://twitter.com/jonschlinkert"
721 },
722 {
723 "name": "Ryan M Harrison",
724 "url": "https://linkedin.com/in/harrisonrm"
725 },
726 {
727 "url": "https://github.com/wtgtybhertgeghgtwtg"
728 }
729 ],
730 "repository": {
731 "type": "git",
732 "url": "git+https://github.com/jonschlinkert/has-value.git"
733 },
734 "bugs": {
735 "url": "https://github.com/jonschlinkert/has-value/issues"
736 },
737 "license": "MIT",
738 "files": [
739 "index.js"
740 ],
741 "main": "index.js",
742 "engines": {
743 "node": ">=6"
744 },
745 "scripts": {
746 "test": "mocha"
747 },
748 "dependencies": {
749 "get-value": "^3.0.0",
750 "has-values": "^2.0.0"
751 },
752 "devDependencies": {
753 "gulp-format-md": "^1.0.0",
754 "mocha": "^3.5.3"
755 },
756 "keywords": [
757 "array",
758 "boolean",
759 "check",
760 "deep",
761 "empty",
762 "function",
763 "has",
764 "hasOwn",
765 "is-empty",
766 "nested",
767 "null",
768 "number",
769 "object",
770 "object path",
771 "properties",
772 "property",
773 "string",
774 "type",
775 "value"
776 ],
777 "verb": {
778 "run": true,
779 "toc": false,
780 "layout": "default",
781 "tasks": [
782 "readme"
783 ],
784 "plugins": [
785 "gulp-format-md"
786 ],
787 "related": {
788 "list": [
789 "define-property",
790 "get-value",
791 "set-value",
792 "unset-value"
793 ]
794 },
795 "lint": {
796 "reflinks": true
797 }
798 },
799 "gitHead": "b2385563add4bfd7d0ebf4496adb23ec5459175a",
800 "_id": "[email protected]",
801 "_npmVersion": "5.6.0",
802 "_nodeVersion": "9.1.0",
803 "_npmUser": {
804 "name": "jonschlinkert",
805 "email": "[email protected]"
806 },
807 "dist": {
808 "integrity": "sha512-oCDVCcqagvg7sJFMuzwZjLaWPey4yF1NjSZ3Ch+ONuxDL+tdmTSIsNZZyTjZxPzef3FIB0YDeLqn7XUyzwcg2g==",
809 "shasum": "749e1e53104af6b73554e079c1871991be1a7895",
810 "tarball": "https://registry.npmjs.org/has-value/-/has-value-2.0.1.tgz"
811 },
812 "maintainers": [
813 {
814 "name": "jonschlinkert",
815 "email": "[email protected]"
816 }
817 ],
818 "_npmOperationalInternal": {
819 "host": "s3://npm-registry-packages",
820 "tmp": "tmp/has-value-2.0.1.tgz_1517360804545_0.8370905774645507"
821 },
822 "directories": {}
823 },
824 "2.0.2": {
825 "name": "has-value",
826 "description": "Returns true if a value exists, false if empty. Works with deeply nested values using object paths.",
827 "version": "2.0.2",
828 "homepage": "https://github.com/jonschlinkert/has-value",
829 "author": {
830 "name": "Jon Schlinkert",
831 "url": "https://github.com/jonschlinkert"
832 },
833 "contributors": [
834 {
835 "name": "Jon Schlinkert",
836 "url": "http://twitter.com/jonschlinkert"
837 },
838 {
839 "name": "Ryan M Harrison",
840 "url": "https://linkedin.com/in/harrisonrm"
841 },
842 {
843 "url": "https://github.com/wtgtybhertgeghgtwtg"
844 }
845 ],
846 "repository": {
847 "type": "git",
848 "url": "git+https://github.com/jonschlinkert/has-value.git"
849 },
850 "bugs": {
851 "url": "https://github.com/jonschlinkert/has-value/issues"
852 },
853 "license": "MIT",
854 "files": [
855 "index.js"
856 ],
857 "main": "index.js",
858 "engines": {
859 "node": ">=6"
860 },
861 "scripts": {
862 "test": "mocha"
863 },
864 "dependencies": {
865 "get-value": "^3.0.0",
866 "has-values": "^2.0.1"
867 },
868 "devDependencies": {
869 "gulp-format-md": "^1.0.0",
870 "mocha": "^3.5.3"
871 },
872 "keywords": [
873 "array",
874 "boolean",
875 "check",
876 "deep",
877 "empty",
878 "function",
879 "has",
880 "hasOwn",
881 "is-empty",
882 "nested",
883 "null",
884 "number",
885 "object",
886 "object path",
887 "properties",
888 "property",
889 "string",
890 "type",
891 "value"
892 ],
893 "verb": {
894 "run": true,
895 "toc": false,
896 "layout": "default",
897 "tasks": [
898 "readme"
899 ],
900 "plugins": [
901 "gulp-format-md"
902 ],
903 "related": {
904 "list": [
905 "define-property",
906 "get-value",
907 "set-value",
908 "unset-value"
909 ]
910 },
911 "lint": {
912 "reflinks": true
913 }
914 },
915 "gitHead": "db042177595bde65af9286566190ce10f86b1edf",
916 "_id": "[email protected]",
917 "_npmVersion": "5.6.0",
918 "_nodeVersion": "9.7.1",
919 "_npmUser": {
920 "name": "jonschlinkert",
921 "email": "[email protected]"
922 },
923 "dist": {
924 "integrity": "sha512-ybKOlcRsK2MqrM3Hmz/lQxXHZ6ejzSPzpNabKB45jb5qDgJvKPa3SdapTsTLwEb9WltgWpOmNax7i+DzNOk4TA==",
925 "shasum": "d0f12e8780ba8e90e66ad1a21c707fdb67c25658",
926 "tarball": "https://registry.npmjs.org/has-value/-/has-value-2.0.2.tgz",
927 "fileCount": 4,
928 "unpackedSize": 10680
929 },
930 "maintainers": [
931 {
932 "name": "jonschlinkert",
933 "email": "[email protected]"
934 }
935 ],
936 "directories": {},
937 "_npmOperationalInternal": {
938 "host": "s3://npm-registry-packages",
939 "tmp": "tmp/has-value_2.0.2_1520110149506_0.9471665906446345"
940 }
941 }
942 },
943 "readme": "# has-value [![NPM version](https://img.shields.io/npm/v/has-value.svg?style=flat)](https://www.npmjs.com/package/has-value) [![NPM monthly downloads](https://img.shields.io/npm/dm/has-value.svg?style=flat)](https://npmjs.org/package/has-value) [![NPM total downloads](https://img.shields.io/npm/dt/has-value.svg?style=flat)](https://npmjs.org/package/has-value) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/has-value.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/has-value)\n\n> Returns true if a value exists, false if empty. Works with deeply nested values using object paths.\n\nPlease consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save has-value\n```\n\n## Heads up!\n\nBreaking changes in v2.0! See the [release history](#release-history) for details.\n\n## Usage\n\n```js\nconst has = require('has-value');\n\nconsole.log(has()) //=> true\nconsole.log(has('foo')) //=> true\n```\n\n**Works for:**\n\n* booleans\n* functions\n* numbers\n* strings\n* nulls\n* object\n* arrays\n\n**isEmpty**\n\nTo do the opposite and test for empty values, do:\n\n```js\nconst isEmpty = (...args) => !has(...args);\n```\n\n## Supported types\n\n### Arrays\n\n```js\nconsole.log(has({ foo: { bar: ['a'] } }, 'foo.bar')); //=> true\nconsole.log(has({ foo: { bar: [0] } }, 'foo.bar')); //=> true\nconsole.log(has({ foo: { bar: [[[]]] } }, 'foo.bar')); //=> false\nconsole.log(has({ foo: { bar: [[], []] } }, 'foo.bar')); //=> false\nconsole.log(has({ foo: { bar: [] } }, 'foo.bar')); //=> false\n```\n\n### Booleans\n\n```js\nconsole.log(has({ foo: { bar: true } }, 'foo.bar')); //=> true\nconsole.log(has({ foo: { bar: false } }, 'foo.bar')); //=> true\n```\n\n### Buffers\n\n```js\nconsole.log(has({ foo: { bar: new Buffer() } }, 'foo.bar')); //=> false\nconsole.log(has({ foo: { bar: new Buffer('foo') } }, 'foo.bar')); //=> true\n```\n\n### Dates\n\nDates are always true.\n\n```js\nconsole.log(has({ foo: { bar: new Date() } }, 'foo.bar')); //=> true\n```\n\n### Errors\n\nReturns `false` if `err.message` is an empty string.\n\n```js\nconsole.log(has({ foo: { bar: new Error() } }, 'foo.bar')); //=> false\nconsole.log(has({ foo: { bar: new Error('foo') } }, 'foo.bar')); //=> true\n```\n\n### Functions\n\nFunctions are always true.\n\n```js\nconsole.log(has({ foo: { bar: function(foo) {} } }, 'foo.bar')); //=> true\nconsole.log(has({ foo: { bar: function() {} } }, 'foo.bar')); //=> true\n```\n\n### Maps\n\n```js\nconsole.log(has({ foo: { bar: new Map() } }, 'foo.bar')); //=> false\nconsole.log(has({ foo: { bar: new Map([['foo', 'bar']]) } }, 'foo.bar')); //=> true\n```\n\n### Null\n\n`null` is always true, as it's assumed that this is a user-defined value, versus `undefined` which is not.\n\n```js\nconsole.log(has({ foo: { bar: null } }, 'foo.bar')); //=> true\n```\n\n### Objects\n\n```js\nconsole.log(has({ foo: { bar: {} } }, 'foo.bar')); //=> false\nconsole.log(has({ foo: { bar: { a: 'a' }} } }, 'foo.bar')); //=> true\nconsole.log(has({ foo: { bar: { foo: undefined } } }, 'foo.bar')); //=> false\nconsole.log(has({ foo: { bar: { foo: null } } }, 'foo.bar')); //=> true\n```\n\n### Numbers\n\n```js\nconsole.log(has({ foo: { bar: 1 } }, 'foo.bar')); //=> true\nconsole.log(has({ foo: { bar: 0 } }, 'foo.bar')); //=> true\n```\n\n### Regular expressions\n\n```js\nconsole.log(has({ foo: { bar: new RegExp() } }, 'foo.bar')); //=> false\nconsole.log(has({ foo: { bar: new RegExp('foo') } }, 'foo.bar')); //=> true\n```\n\n### Sets\n\n```js\nconsole.log(has({ foo: { bar: new Set() } }, 'foo.bar')); //=> false\nconsole.log(has({ foo: { bar: new Set(['foo', 'bar']) } }, 'foo.bar')); //=> true\n```\n\n### Strings\n\n```js\nconsole.log(has({ foo: { bar: 'a' } }, 'foo.bar')); //=> true\nconsole.log(has({ foo: { bar: '' } }, 'foo.bar')); //=> false\n```\n\n## Undefined\n\n```js\nconsole.log(has({ foo: { bar: } }, 'foo.bar')); //=> false\nconsole.log(has({ foo: { bar: void 0 } }, 'foo.bar')); //=> false\nconsole.log(has({ foo: { bar: undefined } }, 'foo.bar')); //=> false\n```\n\n## Release history\n\n### v2.0.0\n\n**Breaking changes**\n\n* Now returns false if the first argument is not an object, function or array, and the second argument is not a string or array.\n\n### v1.0.0\n\n* `zero` always returns true\n* `array` now recurses, so that an array of empty arrays will return `false`\n* `null` now returns true\n\n## About\n\n<details>\n<summary><strong>Contributing</strong></summary>\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n</details>\n\n<details>\n<summary><strong>Running Tests</strong></summary>\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install && npm test\n```\n\n</details>\n\n<details>\n<summary><strong>Building docs</strong></summary>\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme && verb\n```\n\n</details>\n\n### Related projects\n\nYou might also be interested in these projects:\n\n* [define-property](https://www.npmjs.com/package/define-property): Define a non-enumerable property on an object. Uses Reflect.defineProperty when available, otherwise Object.defineProperty. | [homepage](https://github.com/jonschlinkert/define-property \"Define a non-enumerable property on an object. Uses Reflect.defineProperty when available, otherwise Object.defineProperty.\")\n* [get-value](https://www.npmjs.com/package/get-value): Use property paths like 'a.b.c' to get a nested value from an object. Even works… [more](https://github.com/jonschlinkert/get-value) | [homepage](https://github.com/jonschlinkert/get-value \"Use property paths like 'a.b.c' to get a nested value from an object. Even works when keys have dots in them (no other dot-prop library can do this!).\")\n* [set-value](https://www.npmjs.com/package/set-value): Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths. | [homepage](https://github.com/jonschlinkert/set-value \"Create nested values and any intermediaries using dot notation (`'a.b.c'`) paths.\")\n* [unset-value](https://www.npmjs.com/package/unset-value): Delete nested properties from an object using dot notation. | [homepage](https://github.com/jonschlinkert/unset-value \"Delete nested properties from an object using dot notation.\")\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 32 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 2 | [rmharrison](https://github.com/rmharrison) |\n| 1 | [wtgtybhertgeghgtwtg](https://github.com/wtgtybhertgeghgtwtg) |\n\n### Author\n\n**Jon Schlinkert**\n\n* [LinkedIn Profile](https://linkedin.com/in/jonschlinkert)\n* [GitHub Profile](https://github.com/jonschlinkert)\n* [Twitter Profile](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2018, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on March 03, 2018._",
944 "maintainers": [
945 {
946 "name": "jonschlinkert",
947 "email": "[email protected]"
948 }
949 ],
950 "time": {
951 "modified": "2018-03-03T20:49:10.735Z",
952 "created": "2014-09-22T01:44:49.852Z",
953 "0.1.0": "2014-09-22T01:44:49.852Z",
954 "0.2.0": "2015-03-25T19:47:23.519Z",
955 "0.2.1": "2015-10-30T19:53:26.993Z",
956 "0.3.0": "2015-11-24T02:22:33.282Z",
957 "0.3.1": "2016-03-27T15:18:56.829Z",
958 "1.0.0": "2017-05-19T19:11:24.026Z",
959 "2.0.0": "2018-01-31T01:05:52.860Z",
960 "2.0.1": "2018-01-31T01:06:45.561Z",
961 "2.0.2": "2018-03-03T20:49:09.585Z"
962 },
963 "homepage": "https://github.com/jonschlinkert/has-value",
964 "keywords": [
965 "array",
966 "boolean",
967 "check",
968 "deep",
969 "empty",
970 "function",
971 "has",
972 "hasOwn",
973 "is-empty",
974 "nested",
975 "null",
976 "number",
977 "object",
978 "object path",
979 "properties",
980 "property",
981 "string",
982 "type",
983 "value"
984 ],
985 "repository": {
986 "type": "git",
987 "url": "git+https://github.com/jonschlinkert/has-value.git"
988 },
989 "author": {
990 "name": "Jon Schlinkert",
991 "url": "https://github.com/jonschlinkert"
992 },
993 "bugs": {
994 "url": "https://github.com/jonschlinkert/has-value/issues"
995 },
996 "readmeFilename": "README.md",
997 "license": "MIT",
998 "users": {
999 "ninozhang": true,
1000 "456wyc": true,
1001 "rocket0191": true,
1002 "bsara": true,
1003 "rahulraghavankklm": true
1004 },
1005 "contributors": [
1006 {
1007 "name": "Jon Schlinkert",
1008 "url": "http://twitter.com/jonschlinkert"
1009 },
1010 {
1011 "name": "Ryan M Harrison",
1012 "url": "https://linkedin.com/in/harrisonrm"
1013 },
1014 {
1015 "url": "https://github.com/wtgtybhertgeghgtwtg"
1016 }
1017 ],
1018 "_attachments": {}
1019 }