{"_id":"vscode-anymatch","_rev":"73-88fe9dfedd781f0cdf7ac09752820acb","name":"vscode-anymatch","dist-tags":{"latest":"3.0.3"},"versions":{"1.3.2":{"name":"vscode-anymatch","version":"1.3.2","description":"Matches strings against configurable strings, globs, regular expressions, and/or functions","files":["index.js"],"author":{"name":"Elan Shanker","url":"http://github.com/es128"},"license":"ISC","homepage":"https://github.com/es128/anymatch","repository":{"type":"git","url":"git+https://github.com/es128/anymatch.git"},"bugs":{"url":"https://github.com/es128/anymatch/issues"},"keywords":["match","any","string","file","fs","list","glob","regex","regexp","regular","expression","function"],"scripts":{"test":"istanbul cover _mocha && cat ./coverage/lcov.info | coveralls"},"dependencies":{"micromatch":"^2.1.5","normalize-path":"^2.0.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.13","mocha":"^2.2.4"},"gitHead":"8e49557ab38f4afb5be5c592ef14df48b7f68f34","_id":"vscode-anymatch@1.3.2","_npmVersion":"6.0.1","_nodeVersion":"8.9.3","_npmUser":{"name":"bpasero","email":"benjpas@microsoft.com"},"dist":{"integrity":"sha512-TKJ8jTIvurXCjhCjhpTmu4m6Z852JTRZdCNT9OmQ7OJjR/kTf0P5E2swRvGNbM9jtmgeiFJ3MN64prFLCIzChQ==","shasum":"fff357422ea59cc4d12a074f347957f08d251003","tarball":"https://registry.npmjs.org/vscode-anymatch/-/vscode-anymatch-1.3.2.tgz","fileCount":4,"unpackedSize":8318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbg+yHCRA9TVsSAnZWagAAQFYP/j1XHRvt7Pd1goSNhn/l\n+4Ms9hPgH2tqOiwEtyH+Xj8/oyyZt/APsq45Im+xe90Or6ptITgjKIc4tlqL\nyAoIikU8U86Kl5AGcDbU4x75kWkyuSVuT8bnOwPoe+FP9vP74KEc0Frmctos\nqcVpOzy3zGwybg6uxrYeHs2fzoRz8nYx733DJCrynby9uDDZ70tKsYTKeWkP\nxCbDM2iiumFWhZwT1kTcN7HkwsraardvEVk2ZC+JpUF6fpaku95oYXOTrpkW\nZ0dFSSQLAmxLpDOOe3c0qgv+ZqTbP65LpulNYmTDWtZvt++K0US7ty+xuHKb\nErNHTQYQLQKgOSllqum0RlOWMfny91NjX+mzirPUM4Gx3sNgRCy8IOJp/XuG\nL+MW/vJ/Bb138m3LZuOmLeijdQd7FnuUx8CSUWfHv7DjoOXQYnsd1EiXPdkn\n2EUpI+Nu/cBNlo+LJ0/pwp0cB0wDQISZpsNkREFtym0HFI7eWvfTCqFwSaY3\nDYZ1S0njVSniuN+ilnu+ZwM/465eoR9KjYyLSMwLXJa1t3QZTn588tfIwPL9\nx2BUQc8TPp9atHBZza8ks4vc9rnhZXmHr+tC9xqazzZ10Wo21N0qjnKIuxyI\n5DuEM4WiibUznQNmw5eK11rPnHySRfZpw99Jgos+uWmeYO4FSYWt8iw/CSmo\nzzii\r\n=g6In\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3mBUanhMj9h6yFuv+l0ZRDm0SJ8P5rLCIK6uvJlZYqAIgJxsWSD6hXrUxprmhygNUz3E+rBx1/gjTq4fBwl1/rew="}]},"maintainers":[{"name":"bpasero","email":"benjpas@microsoft.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vscode-anymatch_1.3.2_1535372422600_0.7121841820366839"},"_hasShrinkwrap":false},"1.3.3":{"name":"vscode-anymatch","version":"1.3.3","description":"Matches strings against configurable strings, globs, regular expressions, and/or functions","author":{"name":"Elan Shanker","url":"http://github.com/es128"},"license":"ISC","homepage":"https://github.com/es128/anymatch","repository":{"type":"git","url":"git+https://github.com/es128/anymatch.git"},"bugs":{"url":"https://github.com/es128/anymatch/issues"},"keywords":["match","any","string","file","fs","list","glob","regex","regexp","regular","expression","function"],"scripts":{"test":"istanbul cover _mocha && cat ./coverage/lcov.info | coveralls"},"dependencies":{"micromatch":"^2.1.5","normalize-path":"^2.0.0"},"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.13","mocha":"^2.2.4"},"gitHead":"d45462014352239bcf44017e2412a2522b27cfee","_id":"vscode-anymatch@1.3.3","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"bpasero","email":"benjpas@microsoft.com"},"dist":{"integrity":"sha512-LQ4vF4BWb9gwAvbMtN+3HC4HKDxLd+ZyWmAjACOdD05O/ZMcgvvnjO24GseEIQ6cWn8gW+Ft08gHFihnQy1eSw==","shasum":"0613d31a949c8025473bbdad848d219f47a44f86","tarball":"https://registry.npmjs.org/vscode-anymatch/-/vscode-anymatch-1.3.3.tgz","fileCount":4,"unpackedSize":8318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0IcyCRA9TVsSAnZWagAAzbUP/2rH/RVjAyWaz4F+HkYi\n99bZr6SkFgiYEyQkapuunyxTCrPrIj+XUt5QlxG3l8jmgc1Nw3ZjCcgKKdYc\nVmj5jzmnG0bMcaKO3HRbehva19d8abOWxake9VAo/LnN7kaZo6Dquhj0UTfY\n+dTG9CyEZs5GRtjsi64vVIDBIvPqkeyIS2OB0vg4fOCI0Z1oyqpYUu2N9lY9\neXbSXkAHWByhD8Qj98HJknMCKAhLlktDJFjQGayhtbg3rAsDZbtpFe4H3gsL\nsr2o3/tjHZQB3bXhU+v2tzTCf0QWwf38vBoXuNk00IfkVGThQKjH+scZ7pb8\nZB4Slc2k/RrZ+x970sg/kgpVkka0y8gOwxPvCoh5vq7MfUycaK833bQ5W8p5\ng68E64Lda+1e9Kx5SgYT6zt3E+a3sRO0wE/Cml5NRRxAAxOQwn26mrslqFkK\nx2A2wbr5WvGSBVV8iGd5a7+ioTw2eI+lZiO4udTMM1E7mFeCVAlHI2A7E1Ds\nwr9+lhCw821GY0ILX79ax2Ue72nZJH5DScqF1dcfiHhdXsfx40awKa8dMIuy\nJxpeAtZ9Hv0dPmOnJCKW3ySYBrfI0bnBUPMLRTSy3d3hUeOKxS1I9Kj7tZp3\nZuUWbKanDunyhPi25SSeSPuSfpJEgDz1cBBCsZ9MBMm6VIISQ/dBgwzjjAjo\n/Aek\r\n=olgH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFrThs/RCgkdD/Ow+fe1yAA06kxQeZTutppqMdJ/WfQqAiEAvK5f5VRuNiSHtZVeptrDvHsbxahj484Z079aWFwxx+c="}]},"maintainers":[{"name":"bpasero","email":"benjpas@microsoft.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vscode-anymatch_1.3.3_1540392754041_0.0501803289909315"},"_hasShrinkwrap":false},"3.0.3":{"name":"vscode-anymatch","version":"3.0.3","description":"Matches strings against configurable strings, globs, regular expressions, and/or functions","author":{"name":"Elan Shanker","url":"http://github.com/es128"},"license":"ISC","homepage":"https://github.com/micromatch/anymatch","repository":{"type":"git","url":"git+https://github.com/micromatch/anymatch.git"},"bugs":{"url":"https://github.com/micromatch/anymatch/issues"},"keywords":["match","any","string","file","fs","list","glob","regex","regexp","regular","expression","function"],"scripts":{"test":"nyc mocha","mocha":"mocha"},"dependencies":{"normalize-path":"^3.0.0","picomatch":"^2.0.4"},"devDependencies":{"mocha":"^6.1.3","nyc":"^14.0.0"},"gitHead":"b447e2626d238f8ca22e807c9b7bb204ab93da5e","_id":"vscode-anymatch@3.0.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"bpasero","email":"benjpas@microsoft.com"},"dist":{"integrity":"sha512-qQgfbzJJ5nNShh4jjC3BBekY4d8emcxHFgnqcXwsB/PUKvJPCg7AZYXM7hqS7EDnKrX9tsIFwFMihZ7yut92Qg==","shasum":"5a79101e6df7e659a1f070367bc42f190eb4ae76","tarball":"https://registry.npmjs.org/vscode-anymatch/-/vscode-anymatch-3.0.3.tgz","fileCount":5,"unpackedSize":8946,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHHIMCRA9TVsSAnZWagAAEX4QAIDHVpqELreaqU2kTZkY\nuh4rv1aiTfLV+Z7e/MchUEHGFApA7IAMAIIpjLedKwE+mMU+hrrcvCowCicr\n/zKvzom/tvK3/fjmJfvEQgpUUtaN4EaS3oyy07Zc38XVFZHwXrVBkK8fXXsw\nlSaJs8N+rpJGmFq3pyGO000xSfgVV7oviPOBgBlHKwC9QMFUTDZorhDApH2v\nRpUdfBiVUQUvRyGP8d89mmfU1oieN63r2lsB2g77D7jX48DBPz08DXwLHHW4\nnvWcG5Nn1kFllcxdRCFh3vw6mDxlQG6T/achtT6C/sFjvjEF0v3o3uNF+c+C\n49OMIdT3ik8fkxdomyOQ9VGwWrI86fkZ761wj3/Uy068VtYm2tiQVXEpnJMM\n0dbLY/iFijVkIO3z6ws1QyAHedZVZ4VBdVSI4pSGNVl4O6W1r688J68aTHx8\n0eqK+KUqahsjPnNVE5IxIFCZYxQlMm7/RqEIuu7QVufAsZCoxbcjy1pRXEfw\nGy7sfxQEzS2NpuJt5V/G3OmBVcSy8BSueZCQ15K/+uW4x8CoN2TDcTk2X9dn\nQOAjijaeNTv515GecXu0I8Ys2uNqE22LfbG9sy4mOrPiIX811Pg9X/zVsWgI\n67DX+phofTy9/jXQf8Logw3i50kXyhVktv1V8qwLRp/BhBI2yFJjA/t+EtZv\n8NRL\r\n=gmF5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHqjvtOoCjg4ekAGd10D0iaNk8ondrrApL98d+4p0dCBAiBAqSaeQh6Gvz4RrsCUs0/bmMzcToqf78AFXDV7I/JJKQ=="}]},"maintainers":[{"name":"bpasero","email":"benjpas@microsoft.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vscode-anymatch_3.0.3_1562145291959_0.6007541187626466"},"_hasShrinkwrap":false}},"time":{"created":"2018-08-27T12:20:22.599Z","1.3.2":"2018-08-27T12:20:22.683Z","modified":"2022-05-23T10:57:57.218Z","1.3.3":"2018-10-24T14:52:34.215Z","3.0.3":"2019-07-03T09:14:52.081Z"},"maintainers":[{"email":"benjpas@microsoft.com","name":"bpasero"}],"description":"Matches strings against configurable strings, globs, regular expressions, and/or functions","homepage":"https://github.com/micromatch/anymatch","keywords":["match","any","string","file","fs","list","glob","regex","regexp","regular","expression","function"],"repository":{"type":"git","url":"git+https://github.com/micromatch/anymatch.git"},"author":{"name":"Elan Shanker","url":"http://github.com/es128"},"bugs":{"url":"https://github.com/micromatch/anymatch/issues"},"license":"ISC","readme":"anymatch [![Build Status](https://travis-ci.org/micromatch/anymatch.svg?branch=master)](https://travis-ci.org/micromatch/anymatch) [![Coverage Status](https://img.shields.io/coveralls/micromatch/anymatch.svg?branch=master)](https://coveralls.io/r/micromatch/anymatch?branch=master)\n======\nJavascript module to match a string against a regular expression, glob, string,\nor function that takes the string as an argument and returns a truthy or falsy\nvalue. The matcher can also be an array of any or all of these. Useful for\nallowing a very flexible user-defined config to define things like file paths.\n\n__Note: This module has Bash-parity, please be aware that Windows-style backslashes are not supported as separators. See https://github.com/micromatch/micromatch#backslashes for more information.__\n\n\nUsage\n-----\n```sh\nnpm install anymatch\n```\n\n#### anymatch(matchers, testString, [returnIndex])\n* __matchers__: (_Array|String|RegExp|Function_)\nString to be directly matched, string with glob patterns, regular expression\ntest, function that takes the testString as an argument and returns a truthy\nvalue if it should be matched, or an array of any number and mix of these types.\n* __testString__: (_String|Array_) The string to test against the matchers. If\npassed as an array, the first element of the array will be used as the\n`testString` for non-function matchers, while the entire array will be applied\nas the arguments for function matchers.\n* __returnIndex__: (_Boolean [optional]_) If true, return the array index of\nthe first matcher that that testString matched, or -1 if no match, instead of a\nboolean result.\n\n```js\nconst anymatch = require('anymatch');\n\nconst matchers = [ 'path/to/file.js', 'path/anyjs/**/*.js', /foo.js$/, string => string.includes('bar') && string.length > 10 ] ;\n\nanymatch(matchers, 'path/to/file.js'); // true\nanymatch(matchers, 'path/anyjs/baz.js'); // true\nanymatch(matchers, 'path/to/foo.js'); // true\nanymatch(matchers, 'path/to/bar.js'); // true\nanymatch(matchers, 'bar.js'); // false\n\n// returnIndex = true\nanymatch(matchers, 'foo.js', true); // 2\nanymatch(matchers, 'path/anyjs/foo.js', true); // 1\n\n// using globs to match directories and their children\nanymatch('node_modules', 'node_modules'); // true\nanymatch('node_modules', 'node_modules/somelib/index.js'); // false\nanymatch('node_modules/**', 'node_modules/somelib/index.js'); // true\nanymatch('node_modules/**', '/absolute/path/to/node_modules/somelib/index.js'); // false\nanymatch('**/node_modules/**', '/absolute/path/to/node_modules/somelib/index.js'); // true\n\nconst matcher = anymatch(matchers);\n['foo.js', 'bar.js'].filter(matcher);  // [ 'foo.js' ]\nanymatch master* ❯\n\n```\n\n#### anymatch(matchers)\nYou can also pass in only your matcher(s) to get a curried function that has\nalready been bound to the provided matching criteria. This can be used as an\n`Array#filter` callback.\n\n```js\nvar matcher = anymatch(matchers);\n\nmatcher('path/to/file.js'); // true\nmatcher('path/anyjs/baz.js', true); // 1\n\n['foo.js', 'bar.js'].filter(matcher); // ['foo.js']\n```\n\nChange Log\n----------\n[See release notes page on GitHub](https://github.com/micromatch/anymatch/releases)\n\n- **v3.0:**: Removed `startIndex` and `endIndex` arguments.\n- **v2.0:** [micromatch](https://github.com/jonschlinkert/micromatch) moves away from minimatch-parity and inline with Bash. This includes handling backslashes differently (see https://github.com/micromatch/micromatch#backslashes for more information).\n- **v1.2:** anymatch uses [micromatch](https://github.com/jonschlinkert/micromatch)\nfor glob pattern matching. Issues with glob pattern matching should be\nreported directly to the [micromatch issue tracker](https://github.com/jonschlinkert/micromatch/issues).\n\nLicense\n-------\n[ISC](https://raw.github.com/micromatch/anymatch/master/LICENSE)\n","readmeFilename":"README.md"}