Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/ip-regex.json

raw
1 {
2 "_id": "ip-regex",
3 "_rev": "21-bf117fb76c42a28cb1d777a42c855374",
4 "name": "ip-regex",
5 "description": "Regular expression for matching IP addresses (IPv4 & IPv6)",
6 "dist-tags": {
7 "latest": "4.2.0"
8 },
9 "versions": {
10 "1.0.0": {
11 "name": "ip-regex",
12 "version": "1.0.0",
13 "description": "Regular expression for matching IP addresses",
14 "license": "MIT",
15 "repository": {
16 "type": "git",
17 "url": "git://github.com/sindresorhus/ip-regex"
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 "text",
35 "regex",
36 "regexp",
37 "re",
38 "match",
39 "test",
40 "find",
41 "pattern",
42 "ip",
43 "internet",
44 "protocol",
45 "address",
46 "validate"
47 ],
48 "devDependencies": {
49 "ava": "0.0.4"
50 },
51 "bugs": {
52 "url": "https://github.com/sindresorhus/ip-regex/issues"
53 },
54 "homepage": "https://github.com/sindresorhus/ip-regex",
55 "_id": "[email protected]",
56 "_shasum": "ea90b7e1951898d36eecd24f2ab6942347b4ab28",
57 "_from": ".",
58 "_npmVersion": "1.4.9",
59 "_npmUser": {
60 "name": "sindresorhus",
61 "email": "[email protected]"
62 },
63 "maintainers": [
64 {
65 "name": "sindresorhus",
66 "email": "[email protected]"
67 }
68 ],
69 "dist": {
70 "shasum": "ea90b7e1951898d36eecd24f2ab6942347b4ab28",
71 "tarball": "https://registry.npmjs.org/ip-regex/-/ip-regex-1.0.0.tgz"
72 },
73 "directories": {}
74 },
75 "1.0.1": {
76 "name": "ip-regex",
77 "version": "1.0.1",
78 "description": "Regular expression for matching IP addresses",
79 "license": "MIT",
80 "repository": {
81 "type": "git",
82 "url": "https://github.com/sindresorhus/ip-regex"
83 },
84 "author": {
85 "name": "Sindre Sorhus",
86 "email": "[email protected]",
87 "url": "http://sindresorhus.com"
88 },
89 "engines": {
90 "node": ">=0.10.0"
91 },
92 "scripts": {
93 "test": "node test.js"
94 },
95 "files": [
96 "index.js"
97 ],
98 "keywords": [
99 "text",
100 "regex",
101 "regexp",
102 "re",
103 "match",
104 "test",
105 "find",
106 "pattern",
107 "ip",
108 "internet",
109 "protocol",
110 "address",
111 "validate"
112 ],
113 "devDependencies": {
114 "ava": "0.0.4"
115 },
116 "gitHead": "1844317d3c1adaa8848e893269fc599a54b0057e",
117 "bugs": {
118 "url": "https://github.com/sindresorhus/ip-regex/issues"
119 },
120 "homepage": "https://github.com/sindresorhus/ip-regex",
121 "_id": "[email protected]",
122 "_shasum": "3f1da464e47290591023a70617e45361b41123f7",
123 "_from": ".",
124 "_npmVersion": "2.1.5",
125 "_nodeVersion": "0.10.32",
126 "_npmUser": {
127 "name": "sindresorhus",
128 "email": "[email protected]"
129 },
130 "maintainers": [
131 {
132 "name": "sindresorhus",
133 "email": "[email protected]"
134 }
135 ],
136 "dist": {
137 "shasum": "3f1da464e47290591023a70617e45361b41123f7",
138 "tarball": "https://registry.npmjs.org/ip-regex/-/ip-regex-1.0.1.tgz"
139 },
140 "directories": {}
141 },
142 "1.0.2": {
143 "name": "ip-regex",
144 "version": "1.0.2",
145 "description": "Regular expression for matching IP addresses",
146 "license": "MIT",
147 "repository": {
148 "type": "git",
149 "url": "https://github.com/sindresorhus/ip-regex"
150 },
151 "author": {
152 "name": "Sindre Sorhus",
153 "email": "[email protected]",
154 "url": "http://sindresorhus.com"
155 },
156 "engines": {
157 "node": ">=0.10.0"
158 },
159 "scripts": {
160 "test": "node test.js"
161 },
162 "files": [
163 "index.js"
164 ],
165 "keywords": [
166 "text",
167 "regex",
168 "regexp",
169 "re",
170 "match",
171 "test",
172 "find",
173 "pattern",
174 "ip",
175 "internet",
176 "protocol",
177 "address",
178 "validate"
179 ],
180 "devDependencies": {
181 "ava": "0.0.4"
182 },
183 "gitHead": "077df3268bbad242f5b7de42b97e6d8b6165bb76",
184 "bugs": {
185 "url": "https://github.com/sindresorhus/ip-regex/issues"
186 },
187 "homepage": "https://github.com/sindresorhus/ip-regex",
188 "_id": "[email protected]",
189 "_shasum": "1e7daad2c2d0c268729ecca91f8ec463ad58f56b",
190 "_from": ".",
191 "_npmVersion": "2.1.5",
192 "_nodeVersion": "0.10.32",
193 "_npmUser": {
194 "name": "sindresorhus",
195 "email": "[email protected]"
196 },
197 "maintainers": [
198 {
199 "name": "sindresorhus",
200 "email": "[email protected]"
201 }
202 ],
203 "dist": {
204 "shasum": "1e7daad2c2d0c268729ecca91f8ec463ad58f56b",
205 "tarball": "https://registry.npmjs.org/ip-regex/-/ip-regex-1.0.2.tgz"
206 },
207 "directories": {}
208 },
209 "1.0.3": {
210 "name": "ip-regex",
211 "version": "1.0.3",
212 "description": "Regular expression for matching IP addresses",
213 "license": "MIT",
214 "repository": {
215 "type": "git",
216 "url": "https://github.com/sindresorhus/ip-regex"
217 },
218 "author": {
219 "name": "Sindre Sorhus",
220 "email": "[email protected]",
221 "url": "http://sindresorhus.com"
222 },
223 "engines": {
224 "node": ">=0.10.0"
225 },
226 "scripts": {
227 "test": "node test.js"
228 },
229 "files": [
230 "index.js"
231 ],
232 "keywords": [
233 "text",
234 "regex",
235 "regexp",
236 "re",
237 "match",
238 "test",
239 "find",
240 "pattern",
241 "ip",
242 "internet",
243 "protocol",
244 "address",
245 "validate"
246 ],
247 "devDependencies": {
248 "ava": "0.0.4"
249 },
250 "gitHead": "4237cf39da0e1b2ea883bc65bde2b69921d78ceb",
251 "bugs": {
252 "url": "https://github.com/sindresorhus/ip-regex/issues"
253 },
254 "homepage": "https://github.com/sindresorhus/ip-regex",
255 "_id": "[email protected]",
256 "_shasum": "dc589076f659f419c222039a33316f1c7387effd",
257 "_from": ".",
258 "_npmVersion": "2.5.0",
259 "_nodeVersion": "0.12.0",
260 "_npmUser": {
261 "name": "sindresorhus",
262 "email": "[email protected]"
263 },
264 "maintainers": [
265 {
266 "name": "sindresorhus",
267 "email": "[email protected]"
268 }
269 ],
270 "dist": {
271 "shasum": "dc589076f659f419c222039a33316f1c7387effd",
272 "tarball": "https://registry.npmjs.org/ip-regex/-/ip-regex-1.0.3.tgz"
273 },
274 "directories": {}
275 },
276 "2.0.0": {
277 "name": "ip-regex",
278 "version": "2.0.0",
279 "description": "Regular expression for matching IP addresses (IPv4 & IPv6)",
280 "license": "MIT",
281 "repository": {
282 "type": "git",
283 "url": "git+https://github.com/sindresorhus/ip-regex.git"
284 },
285 "author": {
286 "name": "Sindre Sorhus",
287 "email": "[email protected]",
288 "url": "sindresorhus.com"
289 },
290 "engines": {
291 "node": ">=4"
292 },
293 "scripts": {
294 "test": "xo && ava"
295 },
296 "files": [
297 "index.js"
298 ],
299 "keywords": [
300 "ip",
301 "ipv6",
302 "ipv4",
303 "regex",
304 "regexp",
305 "re",
306 "match",
307 "test",
308 "find",
309 "text",
310 "pattern",
311 "internet",
312 "protocol",
313 "address",
314 "validate"
315 ],
316 "devDependencies": {
317 "ava": "*",
318 "xo": "*"
319 },
320 "xo": {
321 "esnext": true
322 },
323 "gitHead": "425bb476fa3c1d73507047fda1586c719ae23641",
324 "bugs": {
325 "url": "https://github.com/sindresorhus/ip-regex/issues"
326 },
327 "homepage": "https://github.com/sindresorhus/ip-regex#readme",
328 "_id": "[email protected]",
329 "_shasum": "913a92db023723d6d1a38b874c543893165b24ff",
330 "_from": ".",
331 "_npmVersion": "2.15.11",
332 "_nodeVersion": "4.6.2",
333 "_npmUser": {
334 "name": "sindresorhus",
335 "email": "[email protected]"
336 },
337 "dist": {
338 "shasum": "913a92db023723d6d1a38b874c543893165b24ff",
339 "tarball": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.0.0.tgz"
340 },
341 "maintainers": [
342 {
343 "name": "sindresorhus",
344 "email": "[email protected]"
345 }
346 ],
347 "_npmOperationalInternal": {
348 "host": "packages-12-west.internal.npmjs.com",
349 "tmp": "tmp/ip-regex-2.0.0.tgz_1483952683792_0.4461984606459737"
350 },
351 "directories": {}
352 },
353 "2.1.0": {
354 "name": "ip-regex",
355 "version": "2.1.0",
356 "description": "Regular expression for matching IP addresses (IPv4 & IPv6)",
357 "license": "MIT",
358 "repository": {
359 "type": "git",
360 "url": "git+https://github.com/sindresorhus/ip-regex.git"
361 },
362 "author": {
363 "name": "Sindre Sorhus",
364 "email": "[email protected]",
365 "url": "sindresorhus.com"
366 },
367 "engines": {
368 "node": ">=4"
369 },
370 "scripts": {
371 "test": "xo && ava"
372 },
373 "files": [
374 "index.js"
375 ],
376 "keywords": [
377 "ip",
378 "ipv6",
379 "ipv4",
380 "regex",
381 "regexp",
382 "re",
383 "match",
384 "test",
385 "find",
386 "text",
387 "pattern",
388 "internet",
389 "protocol",
390 "address",
391 "validate"
392 ],
393 "devDependencies": {
394 "ava": "*",
395 "xo": "*"
396 },
397 "xo": {
398 "esnext": true
399 },
400 "gitHead": "3f6478e54773d2ad79de39da4f4e1b9df34fa9a7",
401 "bugs": {
402 "url": "https://github.com/sindresorhus/ip-regex/issues"
403 },
404 "homepage": "https://github.com/sindresorhus/ip-regex#readme",
405 "_id": "[email protected]",
406 "_shasum": "fa78bf5d2e6913c911ce9f819ee5146bb6d844e9",
407 "_from": ".",
408 "_npmVersion": "4.1.2",
409 "_nodeVersion": "7.5.0",
410 "_npmUser": {
411 "name": "sindresorhus",
412 "email": "[email protected]"
413 },
414 "dist": {
415 "shasum": "fa78bf5d2e6913c911ce9f819ee5146bb6d844e9",
416 "tarball": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz"
417 },
418 "maintainers": [
419 {
420 "name": "sindresorhus",
421 "email": "[email protected]"
422 }
423 ],
424 "_npmOperationalInternal": {
425 "host": "packages-18-east.internal.npmjs.com",
426 "tmp": "tmp/ip-regex-2.1.0.tgz_1489226167327_0.37895454838871956"
427 },
428 "directories": {}
429 },
430 "3.0.0": {
431 "name": "ip-regex",
432 "version": "3.0.0",
433 "description": "Regular expression for matching IP addresses (IPv4 & IPv6)",
434 "license": "MIT",
435 "repository": {
436 "type": "git",
437 "url": "git+https://github.com/sindresorhus/ip-regex.git"
438 },
439 "author": {
440 "name": "Sindre Sorhus",
441 "email": "[email protected]",
442 "url": "sindresorhus.com"
443 },
444 "engines": {
445 "node": ">=8"
446 },
447 "scripts": {
448 "test": "xo && ava"
449 },
450 "files": [
451 "index.js"
452 ],
453 "keywords": [
454 "ip",
455 "ipv6",
456 "ipv4",
457 "regex",
458 "regexp",
459 "re",
460 "match",
461 "test",
462 "find",
463 "text",
464 "pattern",
465 "internet",
466 "protocol",
467 "address",
468 "validate"
469 ],
470 "devDependencies": {
471 "ava": "*",
472 "xo": "*"
473 },
474 "gitHead": "605041b6a32ac7cca8b9c827bb9abc34e9336be0",
475 "bugs": {
476 "url": "https://github.com/sindresorhus/ip-regex/issues"
477 },
478 "homepage": "https://github.com/sindresorhus/ip-regex#readme",
479 "_id": "[email protected]",
480 "_npmVersion": "5.6.0",
481 "_nodeVersion": "8.10.0",
482 "_npmUser": {
483 "name": "sindresorhus",
484 "email": "[email protected]"
485 },
486 "dist": {
487 "integrity": "sha512-T8wDtjy+Qf2TAPDQmBp0eGKJ8GavlWlUnamr3wRn6vvdZlKVuJXXMlSncYFRYgVHOM3If5NR1H4+OvVQU9Idvg==",
488 "shasum": "0a934694b4066558c46294244a23cc33116bf732",
489 "tarball": "https://registry.npmjs.org/ip-regex/-/ip-regex-3.0.0.tgz",
490 "fileCount": 4,
491 "unpackedSize": 5145
492 },
493 "maintainers": [
494 {
495 "name": "sindresorhus",
496 "email": "[email protected]"
497 }
498 ],
499 "directories": {},
500 "_npmOperationalInternal": {
501 "host": "s3://npm-registry-packages",
502 "tmp": "tmp/ip-regex_3.0.0_1522739305091_0.2901866906975463"
503 },
504 "_hasShrinkwrap": false
505 },
506 "4.0.0": {
507 "name": "ip-regex",
508 "version": "4.0.0",
509 "description": "Regular expression for matching IP addresses (IPv4 & IPv6)",
510 "license": "MIT",
511 "repository": {
512 "type": "git",
513 "url": "git+https://github.com/sindresorhus/ip-regex.git"
514 },
515 "author": {
516 "name": "Sindre Sorhus",
517 "email": "[email protected]",
518 "url": "sindresorhus.com"
519 },
520 "engines": {
521 "node": ">=8"
522 },
523 "scripts": {
524 "test": "xo && ava"
525 },
526 "keywords": [
527 "ip",
528 "ipv6",
529 "ipv4",
530 "regex",
531 "regexp",
532 "re",
533 "match",
534 "test",
535 "find",
536 "text",
537 "pattern",
538 "internet",
539 "protocol",
540 "address",
541 "validate"
542 ],
543 "devDependencies": {
544 "ava": "^1.1.0",
545 "xo": "^0.24.0"
546 },
547 "gitHead": "45f4ab50a93cf129461c39494be2ed375ef9678e",
548 "bugs": {
549 "url": "https://github.com/sindresorhus/ip-regex/issues"
550 },
551 "homepage": "https://github.com/sindresorhus/ip-regex#readme",
552 "_id": "[email protected]",
553 "_npmVersion": "6.5.0",
554 "_nodeVersion": "10.13.0",
555 "_npmUser": {
556 "name": "sindresorhus",
557 "email": "[email protected]"
558 },
559 "dist": {
560 "integrity": "sha512-3WQiamA4s/EGI9WxXhSWeR7X+fYxD7LqjJ0nIjMwXYSLOuJ2/ix13QOLvy/TGRDKEhhfLzHnCduANvdCIsn/+A==",
561 "shasum": "0120e0558a355604d511709c831a19adf8487b10",
562 "tarball": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.0.0.tgz",
563 "fileCount": 4,
564 "unpackedSize": 5822,
565 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcQXyfCRA9TVsSAnZWagAA5G4QAKMo+boehdGpHHCA5+oW\n/BSdLqeGhyMZ1X4KMIQ7YRXnI/PEc2vU+gHCwUCgy1Mxa/Npw0iuaM2Cqpft\nQwLVtdQb1t0ujQ0ji1623mJ32UmnNwXN+EH3ZENUT88SN1Ezhu0kudSL5kFC\n1bIghmlMQxAL67mrLlg4BkiVW1IHmyP/7/pqSh3k2SHjJSRwu/Vkm5ewzTSO\nQ2puFQozI4whYEHEPLZ9rDTzATmS1llMbmREabK+UH8fiAHEO8GPLMRgXHmb\nr2MwRIYqHV9iZU1oaPnj1OazaU6FY/l+Sqjdzz5ePVfMn09X8IkSweYDMbxx\nZIeepc2nzRzMTVOp7OzTM8x2riL8wH0D16PRMZmQUiR95k3yKOQiEwbE1yKd\nXDe3gRNCD/semmvECCrVPKDW09EVNpzk2Ud2gQid1qkDLqrKn1RFaQAIk66e\n9LkBkQTsEe8oTOSlXyE+boWn99YIkjAL5lEIV0A4RQU1oiv70hwgnmhbQGlh\n4x4Mzy7CQwJ0kBcU+93ev5nOQ92utpphNnT/KnrB1oeFYQxlkr+UHMwDnWOE\nNnjJCVBckVqBbYHk+2gVdPgmuuALuLvpgKG+bmWAqGG1Y91xcIqaPuOjf2KC\nC7R69AIdJlcqUcOSGFXzQ5q9xv/tX4ZXoYGG6s97TYn6Bpz5nQxhv+hWhPKV\nWb/U\r\n=Imak\r\n-----END PGP SIGNATURE-----\r\n"
566 },
567 "maintainers": [
568 {
569 "name": "sindresorhus",
570 "email": "[email protected]"
571 }
572 ],
573 "directories": {},
574 "_npmOperationalInternal": {
575 "host": "s3://npm-registry-packages",
576 "tmp": "tmp/ip-regex_4.0.0_1547795615436_0.0800270746604328"
577 },
578 "_hasShrinkwrap": false
579 },
580 "4.1.0": {
581 "name": "ip-regex",
582 "version": "4.1.0",
583 "description": "Regular expression for matching IP addresses (IPv4 & IPv6)",
584 "license": "MIT",
585 "repository": {
586 "type": "git",
587 "url": "git+https://github.com/sindresorhus/ip-regex.git"
588 },
589 "author": {
590 "name": "Sindre Sorhus",
591 "email": "[email protected]",
592 "url": "sindresorhus.com"
593 },
594 "engines": {
595 "node": ">=8"
596 },
597 "scripts": {
598 "test": "xo && ava && tsd"
599 },
600 "keywords": [
601 "ip",
602 "ipv6",
603 "ipv4",
604 "regex",
605 "regexp",
606 "re",
607 "match",
608 "test",
609 "find",
610 "text",
611 "pattern",
612 "internet",
613 "protocol",
614 "address",
615 "validate"
616 ],
617 "devDependencies": {
618 "ava": "^1.4.1",
619 "tsd": "^0.7.2",
620 "xo": "^0.24.0"
621 },
622 "gitHead": "ebdcc9c7b4136ba3c7503730e4bf92ba855f136f",
623 "bugs": {
624 "url": "https://github.com/sindresorhus/ip-regex/issues"
625 },
626 "homepage": "https://github.com/sindresorhus/ip-regex#readme",
627 "_id": "[email protected]",
628 "_nodeVersion": "8.15.0",
629 "_npmVersion": "6.9.0",
630 "_npmUser": {
631 "name": "sindresorhus",
632 "email": "[email protected]"
633 },
634 "dist": {
635 "integrity": "sha512-pKnZpbgCTfH/1NLIlOduP/V+WRXzC2MOz3Qo8xmxk8C5GudJLgK5QyLVXOSWy3ParAH7Eemurl3xjv/WXYFvMA==",
636 "shasum": "5ad62f685a14edb421abebc2fff8db94df67b455",
637 "tarball": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.1.0.tgz",
638 "fileCount": 5,
639 "unpackedSize": 7422,
640 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcto29CRA9TVsSAnZWagAAzAIQAIm7avORuFoVw3Vg1jSm\ncpMu7L3IsQSBeaqPv0y0vzcCqIKkN9PPkcXuN1ch72Skb9t2KocY7wObedh4\nHmhK64dPDG1l5vkS5InOnbL9s6Ih1aBHeXHmyvtz74v2x+A87iNEGhRjnckw\nFdZ8n9OFOGH5vxdBwqnr5EjLvMZ3jLjtnm/cNO9pFMmVxfXViRvTIinfQcMc\nH4vya3ULzWrgUrmFC1sn3ZLJy6qqDRAb0SjOjk8nnIZlZUWjsmlxw2mivFJy\nx6+QnXZSQxrma3XviJTw+s7RK5INJW5S7S0kDENnlH4O5GYYGEHWyvDKfLy3\nig0atQ7AQP0l6xJXAsR0nj1g8BuGIrucZIVWYNznJ6qhdPsUqUfalOOwlUjj\ng0QQ8RO8mHVn1ricOnmkrl5Xu+s1uwrDdD0YxwnOdXZdzWIRGmrDKEcQNaZn\nZ8vbrIY5Mx9MMwAPhUc5KnLG7WMwJMyl+bLJSwVXoXWwfnUl1WfoCd+uh6k8\nIcrvMcblvvi774fx1NL81UpL47kjC8Lw1q1QZI9r+hMv+an8RdM0VzEEk/Fq\nRxinlGGMyFJ3oee8AzKw84gmLbMwlbz0f2hhbP4GXHfadsgoQ5EmVTXVxQuS\n9D/fArrtu6E4EnAwIAjT1dbbPUxMsVYj6J6eisSD2qiZKD9hHSEodPUHPOkk\neiKi\r\n=O9jy\r\n-----END PGP SIGNATURE-----\r\n"
641 },
642 "maintainers": [
643 {
644 "name": "sindresorhus",
645 "email": "[email protected]"
646 }
647 ],
648 "directories": {},
649 "_npmOperationalInternal": {
650 "host": "s3://npm-registry-packages",
651 "tmp": "tmp/ip-regex_4.1.0_1555467708812_0.31749112399295076"
652 },
653 "_hasShrinkwrap": false
654 },
655 "4.2.0": {
656 "name": "ip-regex",
657 "version": "4.2.0",
658 "description": "Regular expression for matching IP addresses (IPv4 & IPv6)",
659 "license": "MIT",
660 "repository": {
661 "type": "git",
662 "url": "git+https://github.com/sindresorhus/ip-regex.git"
663 },
664 "author": {
665 "name": "Sindre Sorhus",
666 "email": "[email protected]",
667 "url": "sindresorhus.com"
668 },
669 "engines": {
670 "node": ">=8"
671 },
672 "scripts": {
673 "test": "xo && ava && tsd"
674 },
675 "keywords": [
676 "ip",
677 "ipv6",
678 "ipv4",
679 "regex",
680 "regexp",
681 "re",
682 "match",
683 "test",
684 "find",
685 "text",
686 "pattern",
687 "internet",
688 "protocol",
689 "address",
690 "validate"
691 ],
692 "devDependencies": {
693 "ava": "^1.4.1",
694 "tsd": "^0.7.2",
695 "xo": "^0.24.0"
696 },
697 "gitHead": "eea8da6a69598e06908af3ecd9599a1734b20652",
698 "bugs": {
699 "url": "https://github.com/sindresorhus/ip-regex/issues"
700 },
701 "homepage": "https://github.com/sindresorhus/ip-regex#readme",
702 "_id": "[email protected]",
703 "_nodeVersion": "14.11.0",
704 "_npmVersion": "6.14.8",
705 "_npmUser": {
706 "name": "sindresorhus",
707 "email": "[email protected]"
708 },
709 "dist": {
710 "integrity": "sha512-n5cDDeTWWRwK1EBoWwRti+8nP4NbytBBY0pldmnIkq6Z55KNFmWofh4rl9dPZpj+U/nVq7gweR3ylrvMt4YZ5A==",
711 "shasum": "a03f5eb661d9a154e3973a03de8b23dd0ad6892e",
712 "tarball": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.2.0.tgz",
713 "fileCount": 5,
714 "unpackedSize": 7589,
715 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfcmtSCRA9TVsSAnZWagAAdc0P/3litGVovGjTMKtrPODM\nvX54wHV6oosHT/1Y8Ez2g1MSbo/sQr0QOcGTOUk9A2Rq5FDwk6xGBuK0BE6x\nz1V5ozaoWd2MqZj87GQ4CPMstPO2DxgCqofIAhnQJYigFbFVB1sV6YinNly6\nj0pt9wknNjsq5jYzS8eoLJI1xE0wAZgfJh2RFMflFlOMIaOJPSHQhpnFOPNk\n5e+Cuwayxe32sxUHi+GKgZ0fYvoAQFhV6ajvUl4+w+r5pltKBVRXwdDm1NcO\naa1CHrlRQstFex7zXdP4mn4demx5NVSy9h0EtvFp+ler4z1znz+Y9V22Zx+X\nYC0yxbXuLh/Lu7VPULiGYlJLlE7kFUzykqG3xryBepajGVIXHddAhK4Rs3jU\njwKeZZDz1sJpvn8OJhXjfVwdQWmF7ZXL4rGBCZSaQmn/UWS5S3tfbR8St8L5\nxNbPSmx0473aNCp3TdapoRbVd6lT/G344gED+UXw7jv5ee8v4SdTDS8wXYU1\nISRp1tMo4wCpPAp7pccyMgvtW2H7UCeS8O1Nd/qgB8picsn/SVzBH3EDR/TU\nvN9aVsgJOzLOMVxIuJYsZpTR7/FMaiAD/eqMG7GjUkX6tLDNowwqbMqGvb6x\n+D7I5vhcr5NAYJtrua7QnBE5qk3gVPLe5LYNnMXyERIrnusE05Xlg07lJ0yl\n6qvE\r\n=md7Y\r\n-----END PGP SIGNATURE-----\r\n"
716 },
717 "maintainers": [
718 {
719 "name": "sindresorhus",
720 "email": "[email protected]"
721 }
722 ],
723 "directories": {},
724 "_npmOperationalInternal": {
725 "host": "s3://npm-registry-packages",
726 "tmp": "tmp/ip-regex_4.2.0_1601334097516_0.33303842781861515"
727 },
728 "_hasShrinkwrap": false
729 }
730 },
731 "readme": "# ip-regex [![Build Status](https://travis-ci.org/sindresorhus/ip-regex.svg?branch=master)](https://travis-ci.org/sindresorhus/ip-regex)\n\n> Regular expression for matching IP addresses\n\n\n## Install\n\n```\n$ npm install ip-regex\n```\n\nThis module targets Node.js 8 or later and the latest version of Chrome, Firefox, and Safari. If you want support for older browsers, use version 2.1.0: `npm install [email protected]`\n\n\n## Usage\n\n```js\nconst ipRegex = require('ip-regex');\n\n// Contains an IP address?\nipRegex().test('unicorn 192.168.0.1');\n//=> true\n\n// Is an IP address?\nipRegex({exact: true}).test('unicorn 192.168.0.1');\n//=> false\n\nipRegex.v6({exact: true}).test('1:2:3:4:5:6:7:8');\n//=> true\n\n'unicorn 192.168.0.1 cake 1:2:3:4:5:6:7:8 rainbow'.match(ipRegex());\n//=> ['192.168.0.1', '1:2:3:4:5:6:7:8']\n\n// Contains an IP address?\nipRegex({includeBoundaries: true}).test('192.168.0.2000000000');\n//=> false\n\n// Matches an IP address?\n'192.168.0.2000000000'.match(ipRegex({includeBoundaries: true}));\n//=> null\n```\n\n\n## API\n\n### ipRegex([options])\n\nReturns a regex for matching both IPv4 and IPv6.\n\n### ipRegex.v4([options])\n\nReturns a regex for matching IPv4.\n\n### ipRegex.v6([options])\n\nReturns a regex for matching IPv6.\n\n#### options\n\nType: `Object`\n\n##### exact\n\nType: `boolean`<br>\nDefault: `false` *(Matches any IP address in a string)*\n\nOnly match an exact string. Useful with `RegExp#test()` to check if a string is an IP address.\n\n##### includeBoundaries\n\nType: `boolean`<br>\nDefault: `false`\n\nInclude boundaries in the regex. When `true`, `192.168.0.2000000000` will report as an invalid IPv4 address. If this option is not set, the mentioned IPv4 address would report as valid (ignoring the trailing zeros).\n\n\n## Related\n\n- [is-ip](https://github.com/sindresorhus/is-ip) - Check if a string is an IP address\n- [is-cidr](https://github.com/silverwind/is-cidr) - Check if a string is an IP address in CIDR notation\n- [cidr-regex](https://github.com/silverwind/cidr-regex) - Regular expression for matching IP addresses in CIDR notation\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
732 "maintainers": [
733 {
734 "name": "sindresorhus",
735 "email": "[email protected]"
736 }
737 ],
738 "time": {
739 "modified": "2020-09-28T23:01:40.096Z",
740 "created": "2014-09-06T11:39:45.351Z",
741 "1.0.0": "2014-09-06T11:39:45.351Z",
742 "1.0.1": "2014-11-29T16:20:14.443Z",
743 "1.0.2": "2014-12-10T14:53:56.499Z",
744 "1.0.3": "2015-02-09T07:23:47.217Z",
745 "2.0.0": "2017-01-09T09:04:44.010Z",
746 "2.1.0": "2017-03-11T09:56:09.108Z",
747 "3.0.0": "2018-04-03T07:08:25.182Z",
748 "4.0.0": "2019-01-18T07:13:35.555Z",
749 "4.1.0": "2019-04-17T02:21:48.990Z",
750 "4.2.0": "2020-09-28T23:01:37.746Z"
751 },
752 "homepage": "https://github.com/sindresorhus/ip-regex#readme",
753 "keywords": [
754 "ip",
755 "ipv6",
756 "ipv4",
757 "regex",
758 "regexp",
759 "re",
760 "match",
761 "test",
762 "find",
763 "text",
764 "pattern",
765 "internet",
766 "protocol",
767 "address",
768 "validate"
769 ],
770 "repository": {
771 "type": "git",
772 "url": "git+https://github.com/sindresorhus/ip-regex.git"
773 },
774 "author": {
775 "name": "Sindre Sorhus",
776 "email": "[email protected]",
777 "url": "sindresorhus.com"
778 },
779 "bugs": {
780 "url": "https://github.com/sindresorhus/ip-regex/issues"
781 },
782 "license": "MIT",
783 "readmeFilename": "readme.md",
784 "users": {
785 "mojaray2k": true,
786 "rocket0191": true,
787 "xinwangwang": true,
788 "ganeshkbhat": true,
789 "hualei": true
790 }
791 }