Debian Codegraph @

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

raw
1 {
2 "_id": "regex-not",
3 "_rev": "8-ab1df1484140d702b3be91caecf5b007",
4 "name": "regex-not",
5 "description": "Create a javascript regular expression for matching everything except for the given string.",
6 "dist-tags": {
7 "latest": "1.0.2"
8 },
9 "versions": {
10 "0.1.0": {
11 "name": "regex-not",
12 "description": "Create a regex to match every except for the given string.",
13 "version": "0.1.0",
14 "homepage": "https://github.com/jonschlinkert/regex-not",
15 "author": {
16 "name": "Jon Schlinkert",
17 "url": "https://github.com/jonschlinkert"
18 },
19 "repository": {
20 "type": "git",
21 "url": "git+https://github.com/jonschlinkert/regex-not.git"
22 },
23 "bugs": {
24 "url": "https://github.com/jonschlinkert/regex-not/issues"
25 },
26 "license": "MIT",
27 "files": [
28 "index.js"
29 ],
30 "main": "index.js",
31 "engines": {
32 "node": ">=0.10.0"
33 },
34 "scripts": {
35 "test": "mocha"
36 },
37 "keywords": [
38 "exec",
39 "match",
40 "negate",
41 "negation",
42 "not",
43 "regex",
44 "regular expression",
45 "test"
46 ],
47 "devDependencies": {
48 "gulp-format-md": "^0.1.10",
49 "mocha": "^3.0.2"
50 },
51 "verb": {
52 "toc": false,
53 "layout": "default",
54 "tasks": [
55 "readme"
56 ],
57 "plugins": [
58 "gulp-format-md"
59 ],
60 "related": {
61 "list": [
62 "to-regex",
63 "regex-cache"
64 ]
65 },
66 "reflinks": [
67 "verb",
68 "verb-generate-readme"
69 ],
70 "lint": {
71 "reflinks": true
72 }
73 },
74 "_id": "[email protected]",
75 "_shasum": "33c1b703b596f42e720768b94af6479b4393a704",
76 "_from": ".",
77 "_npmVersion": "3.10.3",
78 "_nodeVersion": "6.3.0",
79 "_npmUser": {
80 "name": "jonschlinkert",
81 "email": "[email protected]"
82 },
83 "maintainers": [
84 {
85 "name": "jonschlinkert",
86 "email": "[email protected]"
87 }
88 ],
89 "dist": {
90 "shasum": "33c1b703b596f42e720768b94af6479b4393a704",
91 "tarball": "https://registry.npmjs.org/regex-not/-/regex-not-0.1.0.tgz"
92 },
93 "_npmOperationalInternal": {
94 "host": "packages-16-east.internal.npmjs.com",
95 "tmp": "tmp/regex-not-0.1.0.tgz_1474948229934_0.9674226979259402"
96 },
97 "directories": {}
98 },
99 "0.1.1": {
100 "name": "regex-not",
101 "description": "Create a javascript regular expression for matching everything except for the given string.",
102 "version": "0.1.1",
103 "homepage": "https://github.com/jonschlinkert/regex-not",
104 "author": {
105 "name": "Jon Schlinkert",
106 "url": "https://github.com/jonschlinkert"
107 },
108 "repository": {
109 "type": "git",
110 "url": "git+https://github.com/jonschlinkert/regex-not.git"
111 },
112 "bugs": {
113 "url": "https://github.com/jonschlinkert/regex-not/issues"
114 },
115 "license": "MIT",
116 "files": [
117 "index.js"
118 ],
119 "main": "index.js",
120 "engines": {
121 "node": ">=0.10.0"
122 },
123 "scripts": {
124 "test": "mocha"
125 },
126 "keywords": [
127 "exec",
128 "match",
129 "negate",
130 "negation",
131 "not",
132 "regex",
133 "regular expression",
134 "test"
135 ],
136 "devDependencies": {
137 "gulp-format-md": "^0.1.10",
138 "mocha": "^3.0.2"
139 },
140 "verb": {
141 "toc": false,
142 "layout": "default",
143 "tasks": [
144 "readme"
145 ],
146 "plugins": [
147 "gulp-format-md"
148 ],
149 "related": {
150 "list": [
151 "to-regex",
152 "regex-cache"
153 ]
154 },
155 "reflinks": [
156 "verb",
157 "verb-generate-readme"
158 ],
159 "lint": {
160 "reflinks": true
161 }
162 },
163 "gitHead": "e54c3681ff2212640ab8201b4c835cbe25dbf0dd",
164 "_id": "[email protected]",
165 "_shasum": "f9f6c90afced5324044354d7e9ad1c8bda7c2ab4",
166 "_from": ".",
167 "_npmVersion": "3.10.3",
168 "_nodeVersion": "6.3.0",
169 "_npmUser": {
170 "name": "jonschlinkert",
171 "email": "[email protected]"
172 },
173 "maintainers": [
174 {
175 "name": "jonschlinkert",
176 "email": "[email protected]"
177 }
178 ],
179 "dist": {
180 "shasum": "f9f6c90afced5324044354d7e9ad1c8bda7c2ab4",
181 "tarball": "https://registry.npmjs.org/regex-not/-/regex-not-0.1.1.tgz"
182 },
183 "_npmOperationalInternal": {
184 "host": "packages-16-east.internal.npmjs.com",
185 "tmp": "tmp/regex-not-0.1.1.tgz_1474948484514_0.6983254891820252"
186 },
187 "directories": {}
188 },
189 "0.1.2": {
190 "name": "regex-not",
191 "description": "Create a javascript regular expression for matching everything except for the given string.",
192 "version": "0.1.2",
193 "homepage": "https://github.com/jonschlinkert/regex-not",
194 "author": {
195 "name": "Jon Schlinkert",
196 "url": "https://github.com/jonschlinkert"
197 },
198 "repository": {
199 "type": "git",
200 "url": "git+https://github.com/jonschlinkert/regex-not.git"
201 },
202 "bugs": {
203 "url": "https://github.com/jonschlinkert/regex-not/issues"
204 },
205 "license": "MIT",
206 "files": [
207 "index.js"
208 ],
209 "main": "index.js",
210 "engines": {
211 "node": ">=0.10.0"
212 },
213 "scripts": {
214 "test": "mocha"
215 },
216 "devDependencies": {
217 "gulp-format-md": "^0.1.10",
218 "mocha": "^3.0.2"
219 },
220 "keywords": [
221 "exec",
222 "match",
223 "negate",
224 "negation",
225 "not",
226 "regex",
227 "regular expression",
228 "test"
229 ],
230 "verb": {
231 "toc": false,
232 "layout": "default",
233 "tasks": [
234 "readme"
235 ],
236 "plugins": [
237 "gulp-format-md"
238 ],
239 "related": {
240 "list": [
241 "regex-cache",
242 "to-regex"
243 ]
244 },
245 "reflinks": [
246 "verb",
247 "verb-generate-readme"
248 ],
249 "lint": {
250 "reflinks": true
251 }
252 },
253 "gitHead": "bc6a4dbce9aa1f610f898105a2e6422db5596d7f",
254 "_id": "[email protected]",
255 "_shasum": "bc7f1c4944b1188353d07deeb912b94e0ade25db",
256 "_from": ".",
257 "_npmVersion": "3.10.3",
258 "_nodeVersion": "6.3.0",
259 "_npmUser": {
260 "name": "jonschlinkert",
261 "email": "[email protected]"
262 },
263 "maintainers": [
264 {
265 "name": "jonschlinkert",
266 "email": "[email protected]"
267 }
268 ],
269 "dist": {
270 "shasum": "bc7f1c4944b1188353d07deeb912b94e0ade25db",
271 "tarball": "https://registry.npmjs.org/regex-not/-/regex-not-0.1.2.tgz"
272 },
273 "_npmOperationalInternal": {
274 "host": "packages-12-west.internal.npmjs.com",
275 "tmp": "tmp/regex-not-0.1.2.tgz_1474949899655_0.21038869419135153"
276 },
277 "directories": {}
278 },
279 "1.0.0": {
280 "name": "regex-not",
281 "description": "Create a javascript regular expression for matching everything except for the given string.",
282 "version": "1.0.0",
283 "homepage": "https://github.com/jonschlinkert/regex-not",
284 "author": {
285 "name": "Jon Schlinkert",
286 "url": "https://github.com/jonschlinkert"
287 },
288 "repository": {
289 "type": "git",
290 "url": "git+https://github.com/jonschlinkert/regex-not.git"
291 },
292 "bugs": {
293 "url": "https://github.com/jonschlinkert/regex-not/issues"
294 },
295 "license": "MIT",
296 "files": [
297 "index.js"
298 ],
299 "main": "index.js",
300 "engines": {
301 "node": ">=0.10.0"
302 },
303 "scripts": {
304 "test": "mocha"
305 },
306 "dependencies": {
307 "extend-shallow": "^2.0.1"
308 },
309 "devDependencies": {
310 "gulp-format-md": "^0.1.10",
311 "mocha": "^3.0.2"
312 },
313 "keywords": [
314 "exec",
315 "match",
316 "negate",
317 "negation",
318 "not",
319 "regex",
320 "regular expression",
321 "test"
322 ],
323 "verb": {
324 "toc": false,
325 "layout": "default",
326 "tasks": [
327 "readme"
328 ],
329 "plugins": [
330 "gulp-format-md"
331 ],
332 "related": {
333 "list": [
334 "regex-cache",
335 "to-regex"
336 ]
337 },
338 "reflinks": [
339 "verb",
340 "verb-generate-readme"
341 ],
342 "lint": {
343 "reflinks": true
344 }
345 },
346 "gitHead": "89320311834104e22dd3e5c468d17f6662c35259",
347 "_id": "[email protected]",
348 "_shasum": "42f83e39771622df826b02af176525d6a5f157f9",
349 "_from": ".",
350 "_npmVersion": "3.10.3",
351 "_nodeVersion": "6.7.0",
352 "_npmUser": {
353 "name": "jonschlinkert",
354 "email": "[email protected]"
355 },
356 "maintainers": [
357 {
358 "name": "jonschlinkert",
359 "email": "[email protected]"
360 }
361 ],
362 "dist": {
363 "shasum": "42f83e39771622df826b02af176525d6a5f157f9",
364 "tarball": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.0.tgz"
365 },
366 "_npmOperationalInternal": {
367 "host": "packages-16-east.internal.npmjs.com",
368 "tmp": "tmp/regex-not-1.0.0.tgz_1475895569600_0.9545667197089642"
369 },
370 "directories": {}
371 },
372 "1.0.1": {
373 "name": "regex-not",
374 "description": "Create a javascript regular expression for matching everything except for the given string.",
375 "version": "1.0.1",
376 "homepage": "https://github.com/jonschlinkert/regex-not",
377 "author": {
378 "name": "Jon Schlinkert",
379 "url": "https://github.com/jonschlinkert"
380 },
381 "repository": {
382 "type": "git",
383 "url": "git+https://github.com/jonschlinkert/regex-not.git"
384 },
385 "bugs": {
386 "url": "https://github.com/jonschlinkert/regex-not/issues"
387 },
388 "license": "MIT",
389 "files": [
390 "index.js"
391 ],
392 "main": "index.js",
393 "engines": {
394 "node": ">=0.10.0"
395 },
396 "scripts": {
397 "test": "mocha"
398 },
399 "dependencies": {
400 "extend-shallow": "^3.0.2",
401 "safe-regex": "^1.1.0"
402 },
403 "devDependencies": {
404 "gulp-format-md": "^1.0.0",
405 "mocha": "^3.5.3"
406 },
407 "keywords": [
408 "exec",
409 "match",
410 "negate",
411 "negation",
412 "not",
413 "regex",
414 "regular expression",
415 "test"
416 ],
417 "verb": {
418 "toc": false,
419 "layout": "default",
420 "tasks": [
421 "readme"
422 ],
423 "plugins": [
424 "gulp-format-md"
425 ],
426 "related": {
427 "list": [
428 "regex-cache",
429 "to-regex"
430 ]
431 },
432 "reflinks": [
433 "verb",
434 "verb-generate-readme"
435 ],
436 "lint": {
437 "reflinks": true
438 }
439 },
440 "gitHead": "fb77cca62926d3176c4e4bb7441e62b6b6bd80a1",
441 "_id": "[email protected]",
442 "_npmVersion": "5.6.0",
443 "_nodeVersion": "9.5.0",
444 "_npmUser": {
445 "name": "jonschlinkert",
446 "email": "[email protected]"
447 },
448 "dist": {
449 "integrity": "sha512-9gH3iyUkkKg5jFP2vWaElWn7SVGxAlrE75IRCe9wi6/nR7yN+bJOkTz2taRBaG2sYxsPsyToIRJLpnjuDdFB/w==",
450 "shasum": "4b8273f3e5c06e79a1b23fec221557bd5fb3c50f",
451 "tarball": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.1.tgz",
452 "fileCount": 4,
453 "unpackedSize": 8460
454 },
455 "maintainers": [
456 {
457 "name": "jonschlinkert",
458 "email": "[email protected]"
459 }
460 ],
461 "directories": {},
462 "_npmOperationalInternal": {
463 "host": "s3://npm-registry-packages",
464 "tmp": "tmp/regex-not_1.0.1_1519091357855_0.5534107028344075"
465 }
466 },
467 "1.0.2": {
468 "name": "regex-not",
469 "description": "Create a javascript regular expression for matching everything except for the given string.",
470 "version": "1.0.2",
471 "homepage": "https://github.com/jonschlinkert/regex-not",
472 "author": {
473 "name": "Jon Schlinkert",
474 "url": "https://github.com/jonschlinkert"
475 },
476 "repository": {
477 "type": "git",
478 "url": "git+https://github.com/jonschlinkert/regex-not.git"
479 },
480 "bugs": {
481 "url": "https://github.com/jonschlinkert/regex-not/issues"
482 },
483 "license": "MIT",
484 "files": [
485 "index.js"
486 ],
487 "main": "index.js",
488 "engines": {
489 "node": ">=0.10.0"
490 },
491 "scripts": {
492 "test": "mocha"
493 },
494 "dependencies": {
495 "extend-shallow": "^3.0.2",
496 "safe-regex": "^1.1.0"
497 },
498 "devDependencies": {
499 "gulp-format-md": "^1.0.0",
500 "mocha": "^3.5.3"
501 },
502 "keywords": [
503 "exec",
504 "match",
505 "negate",
506 "negation",
507 "not",
508 "regex",
509 "regular expression",
510 "test"
511 ],
512 "verb": {
513 "toc": false,
514 "layout": "default",
515 "tasks": [
516 "readme"
517 ],
518 "plugins": [
519 "gulp-format-md"
520 ],
521 "related": {
522 "list": [
523 "regex-cache",
524 "to-regex"
525 ]
526 },
527 "reflinks": [
528 "verb",
529 "verb-generate-readme"
530 ],
531 "lint": {
532 "reflinks": true
533 }
534 },
535 "gitHead": "7e368998898e1fc7428596636ef5412ede414f3e",
536 "_id": "[email protected]",
537 "_npmVersion": "5.6.0",
538 "_nodeVersion": "9.5.0",
539 "_npmUser": {
540 "name": "jonschlinkert",
541 "email": "[email protected]"
542 },
543 "dist": {
544 "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==",
545 "shasum": "1f4ece27e00b0b65e0247a6810e6a85d83a5752c",
546 "tarball": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz",
547 "fileCount": 4,
548 "unpackedSize": 8459
549 },
550 "maintainers": [
551 {
552 "name": "jonschlinkert",
553 "email": "[email protected]"
554 }
555 ],
556 "directories": {},
557 "_npmOperationalInternal": {
558 "host": "s3://npm-registry-packages",
559 "tmp": "tmp/regex-not_1.0.2_1519093874391_0.48484026521777035"
560 }
561 }
562 },
563 "readme": "# regex-not [![NPM version](https://img.shields.io/npm/v/regex-not.svg?style=flat)](https://www.npmjs.com/package/regex-not) [![NPM monthly downloads](https://img.shields.io/npm/dm/regex-not.svg?style=flat)](https://npmjs.org/package/regex-not) [![NPM total downloads](https://img.shields.io/npm/dt/regex-not.svg?style=flat)](https://npmjs.org/package/regex-not) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/regex-not.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/regex-not)\n\n> Create a javascript regular expression for matching everything except for the given string.\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 regex-not\n```\n\n## Usage\n\n```js\nvar not = require('regex-not');\n```\n\nThe main export is a function that takes a string an options object.\n\n```js\nnot(string[, options]);\n```\n\n**Example**\n\n```js\nvar not = require('regex-not');\nconsole.log(not('foo'));\n//=> /^(?:(?!^(?:foo)$).)+$/\n```\n\n**Strict matching**\n\nBy default, the returned regex is for strictly (not) matching the exact given pattern (in other words, \"match this string if it does NOT _exactly equal_ `foo`\"):\n\n```js\nvar re = not('foo');\nconsole.log(re.test('foo')); //=> false\nconsole.log(re.test('bar')); //=> true\nconsole.log(re.test('foobar')); //=> true\nconsole.log(re.test('barfoo')); //=> true\n```\n\n### .create\n\nReturns a string to allow you to create your own regex:\n\n```js\nconsole.log(not.create('foo'));\n//=> '(?:(?!^(?:foo)$).)+'\n```\n\n### Options\n\n**options.contains**\n\nYou can relax strict matching by setting `options.contains` to true (in other words, \"match this string if it does NOT _contain_ `foo`\"):\n\n```js\nvar re = not('foo');\nconsole.log(re.test('foo', {contains: true})); //=> false\nconsole.log(re.test('bar', {contains: true})); //=> true\nconsole.log(re.test('foobar', {contains: true})); //=> false\nconsole.log(re.test('barfoo', {contains: true})); //=> false\n```\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* [regex-cache](https://www.npmjs.com/package/regex-cache): Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of… [more](https://github.com/jonschlinkert/regex-cache) | [homepage](https://github.com/jonschlinkert/regex-cache \"Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in surprising performance improvements.\")\n* [to-regex](https://www.npmjs.com/package/to-regex): Generate a regex from a string or array of strings. | [homepage](https://github.com/jonschlinkert/to-regex \"Generate a regex from a string or array of strings.\")\n\n### Contributors\n\n| **Commits** | **Contributor** | \n| --- | --- |\n| 9 | [jonschlinkert](https://github.com/jonschlinkert) |\n| 1 | [doowb](https://github.com/doowb) |\n| 1 | [EdwardBetts](https://github.com/EdwardBetts) |\n\n### Author\n\n**Jon Schlinkert**\n\n* [linkedin/in/jonschlinkert](https://linkedin.com/in/jonschlinkert)\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](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 February 19, 2018._",
564 "maintainers": [
565 {
566 "name": "jonschlinkert",
567 "email": "[email protected]"
568 }
569 ],
570 "time": {
571 "modified": "2018-02-20T02:31:15.333Z",
572 "created": "2016-09-27T03:50:31.394Z",
573 "0.1.0": "2016-09-27T03:50:31.394Z",
574 "0.1.1": "2016-09-27T03:54:45.992Z",
575 "0.1.2": "2016-09-27T04:18:21.404Z",
576 "1.0.0": "2016-10-08T02:59:30.201Z",
577 "1.0.1": "2018-02-20T01:49:17.954Z",
578 "1.0.2": "2018-02-20T02:31:14.441Z"
579 },
580 "homepage": "https://github.com/jonschlinkert/regex-not",
581 "keywords": [
582 "exec",
583 "match",
584 "negate",
585 "negation",
586 "not",
587 "regex",
588 "regular expression",
589 "test"
590 ],
591 "repository": {
592 "type": "git",
593 "url": "git+https://github.com/jonschlinkert/regex-not.git"
594 },
595 "author": {
596 "name": "Jon Schlinkert",
597 "url": "https://github.com/jonschlinkert"
598 },
599 "bugs": {
600 "url": "https://github.com/jonschlinkert/regex-not/issues"
601 },
602 "license": "MIT",
603 "readmeFilename": "README.md",
604 "users": {
605 "arteffeckt": true,
606 "rocket0191": true
607 },
608 "_attachments": {}
609 }