Merge pull request #661 from github/dependabot/npm_and_yarn/micromatch-4.0.4

Bump micromatch from 4.0.2 to 4.0.4
This commit is contained in:
Edoardo Pirovano 2021-07-28 18:15:56 +01:00 committed by GitHub
commit 5b2b500646
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 224 additions and 160 deletions

14
node_modules/.package-lock.json generated vendored
View file

@ -3864,15 +3864,16 @@
} }
}, },
"node_modules/micromatch": { "node_modules/micromatch": {
"version": "4.0.2", "version": "4.0.4",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz",
"integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==",
"dev": true, "dev": true,
"license": "MIT",
"dependencies": { "dependencies": {
"braces": "^3.0.1", "braces": "^3.0.1",
"picomatch": "^2.0.5" "picomatch": "^2.2.3"
}, },
"engines": { "engines": {
"node": ">=8" "node": ">=8.6"
} }
}, },
"node_modules/mimic-fn": { "node_modules/mimic-fn": {
@ -4310,9 +4311,10 @@
} }
}, },
"node_modules/picomatch": { "node_modules/picomatch": {
"version": "2.2.2", "version": "2.3.0",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz",
"integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==",
"dev": true, "dev": true,
"license": "MIT",
"engines": { "engines": {
"node": ">=8.6" "node": ">=8.6"
}, },

View file

@ -43,8 +43,9 @@ Changelog entries are classified using the following labels _(from [keep-a-chang
### Breaking changes ### Breaking changes
- Require Node.js >= 8.6
- Removed support for passing an array of brace patterns to `micromatch.braces()`. - Removed support for passing an array of brace patterns to `micromatch.braces()`.
- To strictly enforce closing brackets (for `{`, `[`, and `(`), you must now use `strictBrackets=true` instead of `strictErrors`. - To strictly enforce closing brackets (for `{`, `[`, and `(`), you must now use `strictBrackets=true` instead of `strictErrors`.
- `cache` - caching and all related options and methods have been removed - `cache` - caching and all related options and methods have been removed
- `options.unixify` was renamed to `options.windows` - `options.unixify` was renamed to `options.windows`
- `options.nodupes` Was removed. Duplicates are always removed by default. You can override this with custom behavior by using the `onMatch`, `onResult` and `onIgnore` functions. - `options.nodupes` Was removed. Duplicates are always removed by default. You can override this with custom behavior by using the `onMatch`, `onResult` and `onIgnore` functions.
@ -72,7 +73,7 @@ Here are those sub-modules with links to related prs on those modules if you wan
**Added** **Added**
- source map support (optionally created when using parse or compile - I have no idea what the use case is yet, but they come for free) (note that source maps are not generated for brace expansion at present, since the braces compiler uses a different strategy. I'll update if/when this changes). - source map support (optionally created when using parse or compile - I have no idea what the use case is yet, but they come for free) (note that source maps are not generated for brace expansion at present, since the braces compiler uses a different strategy. I'll update if/when this changes).
- parser is exposed, so that implementors can customize or override specific micromatch parsers if necessary - parser is exposed, so that implementors can customize or override specific micromatch parsers if necessary
- compiler is exposed, so that implementors can customize or override specific micromatch compilers if necessary - compiler is exposed, so that implementors can customize or override specific micromatch compilers if necessary

126
node_modules/micromatch/README.md generated vendored
View file

@ -1,4 +1,4 @@
# micromatch [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=W8YFZ425KND68) [![NPM version](https://img.shields.io/npm/v/micromatch.svg?style=flat)](https://www.npmjs.com/package/micromatch) [![NPM monthly downloads](https://img.shields.io/npm/dm/micromatch.svg?style=flat)](https://npmjs.org/package/micromatch) [![NPM total downloads](https://img.shields.io/npm/dt/micromatch.svg?style=flat)](https://npmjs.org/package/micromatch) [![Linux Build Status](https://img.shields.io/travis/micromatch/micromatch.svg?style=flat&label=Travis)](https://travis-ci.org/micromatch/micromatch) # micromatch [![NPM version](https://img.shields.io/npm/v/micromatch.svg?style=flat)](https://www.npmjs.com/package/micromatch) [![NPM monthly downloads](https://img.shields.io/npm/dm/micromatch.svg?style=flat)](https://npmjs.org/package/micromatch) [![NPM total downloads](https://img.shields.io/npm/dt/micromatch.svg?style=flat)](https://npmjs.org/package/micromatch) [![Linux Build Status](https://img.shields.io/travis/micromatch/micromatch.svg?style=flat&label=Travis)](https://travis-ci.org/micromatch/micromatch)
> Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch. > Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
@ -93,7 +93,7 @@ console.log(micromatch.isMatch('foo', ['b*', 'f*'])) //=> true
* More complete support for the Bash 4.3 specification than minimatch and multimatch. Micromatch passes _all of the spec tests_ from bash, including some that bash still fails. * More complete support for the Bash 4.3 specification than minimatch and multimatch. Micromatch passes _all of the spec tests_ from bash, including some that bash still fails.
* **Fast & Performant** - Loads in about 5ms and performs [fast matches](#benchmarks). * **Fast & Performant** - Loads in about 5ms and performs [fast matches](#benchmarks).
* **Glob matching** - Using wildcards (`*` and `?`), globstars (`**`) for nested directories * **Glob matching** - Using wildcards (`*` and `?`), globstars (`**`) for nested directories
* **[Advanced globbing](#advanced-globbing)** - Supports [extglobs](#extglobs), [braces](#braces), and [POSIX brackets](#posix-bracket-expressions), and support for escaping special characters with `\` or quotes. * **[Advanced globbing](#extended-globbing)** - Supports [extglobs](#extglobs), [braces](#braces-1), and [POSIX brackets](#posix-bracket-expressions), and support for escaping special characters with `\` or quotes.
* **Accurate** - Covers more scenarios [than minimatch](https://github.com/yarnpkg/yarn/pull/3339) * **Accurate** - Covers more scenarios [than minimatch](https://github.com/yarnpkg/yarn/pull/3339)
* **Well tested** - More than 5,000 [test assertions](./test) * **Well tested** - More than 5,000 [test assertions](./test)
* **Windows support** - More reliable windows support than minimatch and multimatch. * **Windows support** - More reliable windows support than minimatch and multimatch.
@ -142,9 +142,9 @@ console.log(micromatch(['foo', 'bar', 'baz'], ['f*', '*z'])); //=> ['foo', 'baz'
**Params** **Params**
* **{String|Array<string>}**: list List of strings to match. * `list` **{String|Array<string>}**: List of strings to match.
* **{String|Array<string>}**: patterns One or more glob patterns to use for matching. * `patterns` **{String|Array<string>}**: One or more glob patterns to use for matching.
* **{Object}**: options See available [options](#options) * `options` **{Object}**: See available [options](#options)
* `returns` **{Array}**: Returns an array of matches * `returns` **{Array}**: Returns an array of matches
**Example** **Example**
@ -157,7 +157,7 @@ console.log(mm(['a.js', 'a.txt'], ['*.js']));
//=> [ 'a.js' ] //=> [ 'a.js' ]
``` ```
### [.matcher](index.js#L98) ### [.matcher](index.js#L104)
Returns a matcher function from the given glob `pattern` and `options`. The returned function takes a string to match as its only argument and returns true if the string is a match. Returns a matcher function from the given glob `pattern` and `options`. The returned function takes a string to match as its only argument and returns true if the string is a match.
@ -178,15 +178,15 @@ console.log(isMatch('a.a')); //=> false
console.log(isMatch('a.b')); //=> true console.log(isMatch('a.b')); //=> true
``` ```
### [.isMatch](index.js#L117) ### [.isMatch](index.js#L123)
Returns true if **any** of the given glob `patterns` match the specified `string`. Returns true if **any** of the given glob `patterns` match the specified `string`.
**Params** **Params**
* **{String}**: str The string to test. * `str` **{String}**: The string to test.
* **{String|Array}**: patterns One or more glob patterns to use for matching. * `patterns` **{String|Array}**: One or more glob patterns to use for matching.
* **{Object}**: See available [options](#options). * `[options]` **{Object}**: See available [options](#options).
* `returns` **{Boolean}**: Returns true if any patterns match `str` * `returns` **{Boolean}**: Returns true if any patterns match `str`
**Example** **Example**
@ -199,7 +199,7 @@ console.log(mm.isMatch('a.a', ['b.*', '*.a'])); //=> true
console.log(mm.isMatch('a.a', 'b.*')); //=> false console.log(mm.isMatch('a.a', 'b.*')); //=> false
``` ```
### [.not](index.js#L136) ### [.not](index.js#L148)
Returns a list of strings that _**do not match any**_ of the given `patterns`. Returns a list of strings that _**do not match any**_ of the given `patterns`.
@ -220,7 +220,7 @@ console.log(mm.not(['a.a', 'b.b', 'c.c'], '*.a'));
//=> ['b.b', 'c.c'] //=> ['b.b', 'c.c']
``` ```
### [.contains](index.js#L176) ### [.contains](index.js#L188)
Returns true if the given `string` contains the given pattern. Similar to [.isMatch](#isMatch) but the pattern can match any part of the string. Returns true if the given `string` contains the given pattern. Similar to [.isMatch](#isMatch) but the pattern can match any part of the string.
@ -229,7 +229,7 @@ Returns true if the given `string` contains the given pattern. Similar to [.isMa
* `str` **{String}**: The string to match. * `str` **{String}**: The string to match.
* `patterns` **{String|Array}**: Glob pattern to use for matching. * `patterns` **{String|Array}**: Glob pattern to use for matching.
* `options` **{Object}**: See available [options](#options) for changing how matches are performed * `options` **{Object}**: See available [options](#options) for changing how matches are performed
* `returns` **{Boolean}**: Returns true if the patter matches any part of `str`. * `returns` **{Boolean}**: Returns true if any of the patterns matches any part of `str`.
**Example** **Example**
@ -243,7 +243,7 @@ console.log(mm.contains('aa/bb/cc', '*d'));
//=> false //=> false
``` ```
### [.matchKeys](index.js#L218) ### [.matchKeys](index.js#L230)
Filter the keys of the given object with the given `glob` pattern and `options`. Does not attempt to match nested keys. If you need this feature, use [glob-object](https://github.com/jonschlinkert/glob-object) instead. Filter the keys of the given object with the given `glob` pattern and `options`. Does not attempt to match nested keys. If you need this feature, use [glob-object](https://github.com/jonschlinkert/glob-object) instead.
@ -265,7 +265,7 @@ console.log(mm.matchKeys(obj, '*b'));
//=> { ab: 'b' } //=> { ab: 'b' }
``` ```
### [.some](index.js#L247) ### [.some](index.js#L259)
Returns true if some of the strings in the given `list` match any of the given glob `patterns`. Returns true if some of the strings in the given `list` match any of the given glob `patterns`.
@ -274,7 +274,7 @@ Returns true if some of the strings in the given `list` match any of the given g
* `list` **{String|Array}**: The string or array of strings to test. Returns as soon as the first match is found. * `list` **{String|Array}**: The string or array of strings to test. Returns as soon as the first match is found.
* `patterns` **{String|Array}**: One or more glob patterns to use for matching. * `patterns` **{String|Array}**: One or more glob patterns to use for matching.
* `options` **{Object}**: See available [options](#options) for changing how matches are performed * `options` **{Object}**: See available [options](#options) for changing how matches are performed
* `returns` **{Boolean}**: Returns true if any patterns match `str` * `returns` **{Boolean}**: Returns true if any `patterns` matches any of the strings in `list`
**Example** **Example**
@ -288,7 +288,7 @@ console.log(mm.some(['foo.js'], ['*.js', '!foo.js']));
// false // false
``` ```
### [.every](index.js#L283) ### [.every](index.js#L295)
Returns true if every string in the given `list` matches any of the given glob `patterns`. Returns true if every string in the given `list` matches any of the given glob `patterns`.
@ -297,7 +297,7 @@ Returns true if every string in the given `list` matches any of the given glob `
* `list` **{String|Array}**: The string or array of strings to test. * `list` **{String|Array}**: The string or array of strings to test.
* `patterns` **{String|Array}**: One or more glob patterns to use for matching. * `patterns` **{String|Array}**: One or more glob patterns to use for matching.
* `options` **{Object}**: See available [options](#options) for changing how matches are performed * `options` **{Object}**: See available [options](#options) for changing how matches are performed
* `returns` **{Boolean}**: Returns true if any patterns match `str` * `returns` **{Boolean}**: Returns true if all `patterns` matches all of the strings in `list`
**Example** **Example**
@ -315,7 +315,7 @@ console.log(mm.every(['foo.js'], ['*.js', '!foo.js']));
// false // false
``` ```
### [.all](index.js#L322) ### [.all](index.js#L334)
Returns true if **all** of the given `patterns` match the specified string. Returns true if **all** of the given `patterns` match the specified string.
@ -345,7 +345,7 @@ console.log(mm.all('foo.js', ['*.js', 'f*', '*o*', '*o.js']));
// true // true
``` ```
### [.capture](index.js#L349) ### [.capture](index.js#L361)
Returns an array of matches captured by `pattern` in `string, or`null` if the pattern did not match. Returns an array of matches captured by `pattern` in `string, or`null` if the pattern did not match.
@ -354,7 +354,7 @@ Returns an array of matches captured by `pattern` in `string, or`null` if the pa
* `glob` **{String}**: Glob pattern to use for matching. * `glob` **{String}**: Glob pattern to use for matching.
* `input` **{String}**: String to match * `input` **{String}**: String to match
* `options` **{Object}**: See available [options](#options) for changing how matches are performed * `options` **{Object}**: See available [options](#options) for changing how matches are performed
* `returns` **{Boolean}**: Returns an array of captures if the input matches the glob pattern, otherwise `null`. * `returns` **{Array|null}**: Returns an array of captures if the input matches the glob pattern, otherwise `null`.
**Example** **Example**
@ -368,7 +368,7 @@ console.log(mm.capture('test/*.js', 'foo/bar.css'));
//=> null //=> null
``` ```
### [.makeRe](index.js#L375) ### [.makeRe](index.js#L387)
Create a regular expression from the given glob `pattern`. Create a regular expression from the given glob `pattern`.
@ -388,7 +388,7 @@ console.log(mm.makeRe('*.js'));
//=> /^(?:(\.[\\\/])?(?!\.)(?=.)[^\/]*?\.js)$/ //=> /^(?:(\.[\\\/])?(?!\.)(?=.)[^\/]*?\.js)$/
``` ```
### [.scan](index.js#L391) ### [.scan](index.js#L403)
Scan a glob pattern to separate the pattern into segments. Used by the [split](#split) method. Scan a glob pattern to separate the pattern into segments. Used by the [split](#split) method.
@ -405,7 +405,7 @@ const mm = require('micromatch');
const state = mm.scan(pattern[, options]); const state = mm.scan(pattern[, options]);
``` ```
### [.parse](index.js#L407) ### [.parse](index.js#L419)
Parse a glob pattern to create the source string for a regular expression. Parse a glob pattern to create the source string for a regular expression.
@ -422,7 +422,7 @@ const mm = require('micromatch');
const state = mm(pattern[, options]); const state = mm(pattern[, options]);
``` ```
### [.braces](index.js#L434) ### [.braces](index.js#L446)
Process the given brace `pattern`. Process the given brace `pattern`.
@ -479,7 +479,7 @@ console.log(braces('foo/{a,b,c}/bar', { expand: true }));
| [onResult](#optionsonResult) | `function` | `undefined` | Function to be called on all items, regardless of whether or not they are matched or ignored. | | [onResult](#optionsonResult) | `function` | `undefined` | Function to be called on all items, regardless of whether or not they are matched or ignored. |
| `posix` | `boolean` | `false` | Support [POSIX character classes](#posix-bracket-expressions) ("posix brackets"). | | `posix` | `boolean` | `false` | Support [POSIX character classes](#posix-bracket-expressions) ("posix brackets"). |
| `posixSlashes` | `boolean` | `undefined` | Convert all slashes in file paths to forward slashes. This does not convert slashes in the glob pattern itself | | `posixSlashes` | `boolean` | `undefined` | Convert all slashes in file paths to forward slashes. This does not convert slashes in the glob pattern itself |
| `prepend` | `boolean` | `undefined` | String to prepend to the generated regex used for matching. | | `prepend` | `string` | `undefined` | String to prepend to the generated regex used for matching. |
| `regex` | `boolean` | `false` | Use regular expression rules for `+` (instead of matching literal `+`), and for stars that follow closing parentheses or brackets (as in `)*` and `]*`). | | `regex` | `boolean` | `false` | Use regular expression rules for `+` (instead of matching literal `+`), and for stars that follow closing parentheses or brackets (as in `)*` and `]*`). |
| `strictBrackets` | `boolean` | `undefined` | Throw an error if brackets, braces, or parens are imbalanced. | | `strictBrackets` | `boolean` | `undefined` | Throw an error if brackets, braces, or parens are imbalanced. |
| `strictSlashes` | `boolean` | `undefined` | When true, picomatch won't match trailing slashes with single stars. | | `strictSlashes` | `boolean` | `undefined` | When true, picomatch won't match trailing slashes with single stars. |
@ -772,7 +772,6 @@ Given the list: `['a.js', 'b.js', 'c.js', 'd.js', 'E.js']`:
* `[ac].js`: matches both `a` and `c`, returning `['a.js', 'c.js']` * `[ac].js`: matches both `a` and `c`, returning `['a.js', 'c.js']`
* `[b-d].js`: matches from `b` to `d`, returning `['b.js', 'c.js', 'd.js']` * `[b-d].js`: matches from `b` to `d`, returning `['b.js', 'c.js', 'd.js']`
* `[b-d].js`: matches from `b` to `d`, returning `['b.js', 'c.js', 'd.js']`
* `a/[A-Z].js`: matches and uppercase letter, returning `['a/E.md']` * `a/[A-Z].js`: matches and uppercase letter, returning `['a/E.md']`
Learn about [regex character classes](http://www.regular-expressions.info/charclass.html). Learn about [regex character classes](http://www.regular-expressions.info/charclass.html).
@ -835,7 +834,7 @@ To solve this, you might be inspired to do something like `'foo\\*'.replace(/\\/
Install dependencies for running benchmarks: Install dependencies for running benchmarks:
```sh ```sh
$ cd bench && npm install $ cd bench && npm install
``` ```
Run the benchmarks: Run the benchmarks:
@ -846,56 +845,56 @@ $ npm run bench
### Latest results ### Latest results
As of April 10, 2019 (longer bars are better): As of April 10, 2021 (longer bars are better):
```sh ```sh
# .makeRe star # .makeRe star
micromatch x 1,724,735 ops/sec ±1.69% (87 runs sampled)) micromatch x 2,232,802 ops/sec ±2.34% (89 runs sampled))
minimatch x 649,565 ops/sec ±1.93% (91 runs sampled) minimatch x 781,018 ops/sec ±6.74% (92 runs sampled))
# .makeRe star; dot=true # .makeRe star; dot=true
micromatch x 1,302,127 ops/sec ±1.43% (92 runs sampled) micromatch x 1,863,453 ops/sec ±0.74% (93 runs sampled)
minimatch x 556,242 ops/sec ±0.71% (86 runs sampled) minimatch x 723,105 ops/sec ±0.75% (93 runs sampled)
# .makeRe globstar # .makeRe globstar
micromatch x 1,393,992 ops/sec ±0.71% (89 runs sampled) micromatch x 1,624,179 ops/sec ±2.22% (91 runs sampled)
minimatch x 1,112,801 ops/sec ±2.02% (91 runs sampled) minimatch x 1,117,230 ops/sec ±2.78% (86 runs sampled))
# .makeRe globstars # .makeRe globstars
micromatch x 1,419,097 ops/sec ±0.34% (94 runs sampled) micromatch x 1,658,642 ops/sec ±0.86% (92 runs sampled)
minimatch x 541,207 ops/sec ±1.66% (93 runs sampled) minimatch x 741,224 ops/sec ±1.24% (89 runs sampled))
# .makeRe with leading star # .makeRe with leading star
micromatch x 1,247,825 ops/sec ±0.97% (94 runs sampled) micromatch x 1,525,014 ops/sec ±1.63% (90 runs sampled)
minimatch x 489,660 ops/sec ±0.63% (94 runs sampled) minimatch x 561,074 ops/sec ±3.07% (89 runs sampled)
# .makeRe - braces # .makeRe - braces
micromatch x 206,301 ops/sec ±1.62% (81 runs sampled)) micromatch x 172,478 ops/sec ±2.37% (78 runs sampled)
minimatch x 115,986 ops/sec ±0.59% (94 runs sampled) minimatch x 96,087 ops/sec ±2.34% (88 runs sampled)))
# .makeRe braces - range (expanded) # .makeRe braces - range (expanded)
micromatch x 27,782 ops/sec ±0.79% (88 runs sampled) micromatch x 26,973 ops/sec ±0.84% (89 runs sampled)
minimatch x 4,683 ops/sec ±1.20% (92 runs sampled) minimatch x 3,023 ops/sec ±0.99% (90 runs sampled))
# .makeRe braces - range (compiled) # .makeRe braces - range (compiled)
micromatch x 134,056 ops/sec ±2.73% (77 runs sampled)) micromatch x 152,892 ops/sec ±1.67% (83 runs sampled)
minimatch x 977 ops/sec ±0.85% (91 runs sampled)d) minimatch x 992 ops/sec ±3.50% (89 runs sampled)d))
# .makeRe braces - nested ranges (expanded) # .makeRe braces - nested ranges (expanded)
micromatch x 18,353 ops/sec ±0.95% (91 runs sampled) micromatch x 15,816 ops/sec ±13.05% (80 runs sampled)
minimatch x 4,514 ops/sec ±1.04% (93 runs sampled) minimatch x 2,953 ops/sec ±1.64% (91 runs sampled)
# .makeRe braces - nested ranges (compiled) # .makeRe braces - nested ranges (compiled)
micromatch x 38,916 ops/sec ±1.85% (82 runs sampled) micromatch x 110,881 ops/sec ±1.85% (82 runs sampled)
minimatch x 980 ops/sec ±0.54% (93 runs sampled)d) minimatch x 1,008 ops/sec ±1.51% (91 runs sampled)
# .makeRe braces - set (compiled) # .makeRe braces - set (compiled)
micromatch x 141,088 ops/sec ±1.70% (70 runs sampled)) micromatch x 134,930 ops/sec ±3.54% (63 runs sampled))
minimatch x 43,385 ops/sec ±0.87% (93 runs sampled) minimatch x 43,242 ops/sec ±0.60% (93 runs sampled)
# .makeRe braces - nested sets (compiled) # .makeRe braces - nested sets (compiled)
micromatch x 87,272 ops/sec ±2.85% (71 runs sampled)) micromatch x 94,455 ops/sec ±1.74% (69 runs sampled))
minimatch x 25,327 ops/sec ±1.59% (86 runs sampled) minimatch x 27,720 ops/sec ±1.84% (93 runs sampled))
``` ```
## Contributing ## Contributing
@ -964,23 +963,32 @@ You might also be interested in these projects:
| **Commits** | **Contributor** | | **Commits** | **Contributor** |
| --- | --- | | --- | --- |
| 475 | [jonschlinkert](https://github.com/jonschlinkert) | | 508 | [jonschlinkert](https://github.com/jonschlinkert) |
| 12 | [es128](https://github.com/es128) | | 12 | [es128](https://github.com/es128) |
| 8 | [doowb](https://github.com/doowb) | | 8 | [doowb](https://github.com/doowb) |
| 3 | [paulmillr](https://github.com/paulmillr) | | 6 | [paulmillr](https://github.com/paulmillr) |
| 5 | [mrmlnc](https://github.com/mrmlnc) |
| 4 | [danez](https://github.com/danez) |
| 3 | [DrPizza](https://github.com/DrPizza) |
| 2 | [TrySound](https://github.com/TrySound) | | 2 | [TrySound](https://github.com/TrySound) |
| 2 | [mceIdo](https://github.com/mceIdo) |
| 2 | [Glazy](https://github.com/Glazy) |
| 2 | [MartinKolarik](https://github.com/MartinKolarik) | | 2 | [MartinKolarik](https://github.com/MartinKolarik) |
| 2 | [Tvrqvoise](https://github.com/Tvrqvoise) | | 2 | [Tvrqvoise](https://github.com/Tvrqvoise) |
| 2 | [tunnckoCore](https://github.com/tunnckoCore) |
| 1 | [amilajack](https://github.com/amilajack) | | 1 | [amilajack](https://github.com/amilajack) |
| 1 | [mrmlnc](https://github.com/mrmlnc) | | 1 | [Cslove](https://github.com/Cslove) |
| 1 | [devongovett](https://github.com/devongovett) | | 1 | [devongovett](https://github.com/devongovett) |
| 1 | [DianeLooney](https://github.com/DianeLooney) | | 1 | [DianeLooney](https://github.com/DianeLooney) |
| 1 | [UltCombo](https://github.com/UltCombo) | | 1 | [UltCombo](https://github.com/UltCombo) |
| 1 | [frangio](https://github.com/frangio) |
| 1 | [juszczykjakub](https://github.com/juszczykjakub) |
| 1 | [muescha](https://github.com/muescha) |
| 1 | [sebdeckers](https://github.com/sebdeckers) |
| 1 | [tomByrer](https://github.com/tomByrer) | | 1 | [tomByrer](https://github.com/tomByrer) |
| 1 | [fidian](https://github.com/fidian) | | 1 | [fidian](https://github.com/fidian) |
| 1 | [simlu](https://github.com/simlu) | | 1 | [simlu](https://github.com/simlu) |
| 1 | [wtgtybhertgeghgtwtg](https://github.com/wtgtybhertgeghgtwtg) | | 1 | [wtgtybhertgeghgtwtg](https://github.com/wtgtybhertgeghgtwtg) |
| 1 | [yvele](https://github.com/yvele) |
### Author ### Author
@ -992,9 +1000,9 @@ You might also be interested in these projects:
### License ### License
Copyright © 2019, [Jon Schlinkert](https://github.com/jonschlinkert). Copyright © 2021, [Jon Schlinkert](https://github.com/jonschlinkert).
Released under the [MIT License](LICENSE). Released under the [MIT License](LICENSE).
*** ***
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on April 10, 2019._ _This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.8.0, on April 10, 2021._

22
node_modules/micromatch/index.js generated vendored
View file

@ -4,7 +4,7 @@ const util = require('util');
const braces = require('braces'); const braces = require('braces');
const picomatch = require('picomatch'); const picomatch = require('picomatch');
const utils = require('picomatch/lib/utils'); const utils = require('picomatch/lib/utils');
const isEmptyString = val => typeof val === 'string' && (val === '' || val === './'); const isEmptyString = val => val === '' || val === './';
/** /**
* Returns an array of strings that match one or more glob patterns. * Returns an array of strings that match one or more glob patterns.
@ -16,9 +16,9 @@ const isEmptyString = val => typeof val === 'string' && (val === '' || val === '
* console.log(mm(['a.js', 'a.txt'], ['*.js'])); * console.log(mm(['a.js', 'a.txt'], ['*.js']));
* //=> [ 'a.js' ] * //=> [ 'a.js' ]
* ``` * ```
* @param {String|Array<string>} list List of strings to match. * @param {String|Array<string>} `list` List of strings to match.
* @param {String|Array<string>} patterns One or more glob patterns to use for matching. * @param {String|Array<string>} `patterns` One or more glob patterns to use for matching.
* @param {Object} options See available [options](#options) * @param {Object} `options` See available [options](#options)
* @return {Array} Returns an array of matches * @return {Array} Returns an array of matches
* @summary false * @summary false
* @api public * @api public
@ -113,9 +113,9 @@ micromatch.matcher = (pattern, options) => picomatch(pattern, options);
* console.log(mm.isMatch('a.a', ['b.*', '*.a'])); //=> true * console.log(mm.isMatch('a.a', ['b.*', '*.a'])); //=> true
* console.log(mm.isMatch('a.a', 'b.*')); //=> false * console.log(mm.isMatch('a.a', 'b.*')); //=> false
* ``` * ```
* @param {String} str The string to test. * @param {String} `str` The string to test.
* @param {String|Array} patterns One or more glob patterns to use for matching. * @param {String|Array} `patterns` One or more glob patterns to use for matching.
* @param {Object} [options] See available [options](#options). * @param {Object} `[options]` See available [options](#options).
* @return {Boolean} Returns true if any patterns match `str` * @return {Boolean} Returns true if any patterns match `str`
* @api public * @api public
*/ */
@ -181,7 +181,7 @@ micromatch.not = (list, patterns, options = {}) => {
* @param {String} `str` The string to match. * @param {String} `str` The string to match.
* @param {String|Array} `patterns` Glob pattern to use for matching. * @param {String|Array} `patterns` Glob pattern to use for matching.
* @param {Object} `options` See available [options](#options) for changing how matches are performed * @param {Object} `options` See available [options](#options) for changing how matches are performed
* @return {Boolean} Returns true if the patter matches any part of `str`. * @return {Boolean} Returns true if any of the patterns matches any part of `str`.
* @api public * @api public
*/ */
@ -252,7 +252,7 @@ micromatch.matchKeys = (obj, patterns, options) => {
* @param {String|Array} `list` The string or array of strings to test. Returns as soon as the first match is found. * @param {String|Array} `list` The string or array of strings to test. Returns as soon as the first match is found.
* @param {String|Array} `patterns` One or more glob patterns to use for matching. * @param {String|Array} `patterns` One or more glob patterns to use for matching.
* @param {Object} `options` See available [options](#options) for changing how matches are performed * @param {Object} `options` See available [options](#options) for changing how matches are performed
* @return {Boolean} Returns true if any patterns match `str` * @return {Boolean} Returns true if any `patterns` matches any of the strings in `list`
* @api public * @api public
*/ */
@ -288,7 +288,7 @@ micromatch.some = (list, patterns, options) => {
* @param {String|Array} `list` The string or array of strings to test. * @param {String|Array} `list` The string or array of strings to test.
* @param {String|Array} `patterns` One or more glob patterns to use for matching. * @param {String|Array} `patterns` One or more glob patterns to use for matching.
* @param {Object} `options` See available [options](#options) for changing how matches are performed * @param {Object} `options` See available [options](#options) for changing how matches are performed
* @return {Boolean} Returns true if any patterns match `str` * @return {Boolean} Returns true if all `patterns` matches all of the strings in `list`
* @api public * @api public
*/ */
@ -354,7 +354,7 @@ micromatch.all = (str, patterns, options) => {
* @param {String} `glob` Glob pattern to use for matching. * @param {String} `glob` Glob pattern to use for matching.
* @param {String} `input` String to match * @param {String} `input` String to match
* @param {Object} `options` See available [options](#options) for changing how matches are performed * @param {Object} `options` See available [options](#options) for changing how matches are performed
* @return {Boolean} Returns an array of captures if the input matches the glob pattern, otherwise `null`. * @return {Array|null} Returns an array of captures if the input matches the glob pattern, otherwise `null`.
* @api public * @api public
*/ */

11
node_modules/micromatch/package.json generated vendored
View file

@ -1,7 +1,7 @@
{ {
"name": "micromatch", "name": "micromatch",
"description": "Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.", "description": "Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.",
"version": "4.0.2", "version": "4.0.4",
"homepage": "https://github.com/micromatch/micromatch", "homepage": "https://github.com/micromatch/micromatch",
"author": "Jon Schlinkert (https://github.com/jonschlinkert)", "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
"contributors": [ "contributors": [
@ -18,7 +18,8 @@
"Paul Miller (paulmillr.com)", "Paul Miller (paulmillr.com)",
"Tom Byrer (https://github.com/tomByrer)", "Tom Byrer (https://github.com/tomByrer)",
"Tyler Akins (http://rumkin.com)", "Tyler Akins (http://rumkin.com)",
"Peter Bright <drpizza@quiscalusmexicanus.org> (https://github.com/drpizza)" "Peter Bright <drpizza@quiscalusmexicanus.org> (https://github.com/drpizza)",
"Kuba Juszczyk (https://github.com/ku8ar)"
], ],
"repository": "micromatch/micromatch", "repository": "micromatch/micromatch",
"bugs": { "bugs": {
@ -30,20 +31,20 @@
], ],
"main": "index.js", "main": "index.js",
"engines": { "engines": {
"node": ">=8" "node": ">=8.6"
}, },
"scripts": { "scripts": {
"test": "mocha" "test": "mocha"
}, },
"dependencies": { "dependencies": {
"braces": "^3.0.1", "braces": "^3.0.1",
"picomatch": "^2.0.5" "picomatch": "^2.2.3"
}, },
"devDependencies": { "devDependencies": {
"fill-range": "^7.0.1", "fill-range": "^7.0.1",
"gulp-format-md": "^2.0.0", "gulp-format-md": "^2.0.0",
"minimatch": "^3.0.4", "minimatch": "^3.0.4",
"mocha": "^5.2.0", "mocha": "^7.2.0",
"time-require": "github:jonschlinkert/time-require" "time-require": "github:jonschlinkert/time-require"
}, },
"keywords": [ "keywords": [

13
node_modules/picomatch/CHANGELOG.md generated vendored Executable file → Normal file
View file

@ -32,6 +32,19 @@ Changelog entries are classified using the following labels _(from [keep-a-chang
</details> </details>
## 2.3.0 (2021-05-21)
### Fixed
* Fixes bug where file names with two dots were not being matched consistently with negation extglobs containing a star ([56083ef](https://github.com/micromatch/picomatch/commit/56083ef))
## 2.2.3 (2021-04-10)
### Fixed
* Do not skip pattern seperator for square brackets ([fb08a30](https://github.com/micromatch/picomatch/commit/fb08a30)).
* Set negatedExtGlob also if it does not span the whole pattern ([032e3f5](https://github.com/micromatch/picomatch/commit/032e3f5)).
## 2.2.2 (2020-03-21) ## 2.2.2 (2020-03-21)
### Fixed ### Fixed

0
node_modules/picomatch/LICENSE generated vendored Executable file → Normal file
View file

46
node_modules/picomatch/README.md generated vendored Executable file → Normal file
View file

@ -1,18 +1,18 @@
<h1 align="center">Picomatch</h1> <h1 align="center">Picomatch</h1>
<p align="center"> <p align="center">
<a href="https://npmjs.org/package/picomatch"> <a href="https://npmjs.org/package/picomatch">
<img src="https://img.shields.io/npm/v/picomatch.svg" alt="version"> <img src="https://img.shields.io/npm/v/picomatch.svg" alt="version">
</a> </a>
<a href="https://github.com/micromatch/picomatch/actions?workflow=Tests"> <a href="https://github.com/micromatch/picomatch/actions?workflow=Tests">
<img src="https://github.com/micromatch/picomatch/workflows/Tests/badge.svg" alt="test status"> <img src="https://github.com/micromatch/picomatch/workflows/Tests/badge.svg" alt="test status">
</a> </a>
<a href="https://coveralls.io/github/micromatch/picomatch"> <a href="https://coveralls.io/github/micromatch/picomatch">
<img src="https://img.shields.io/coveralls/github/micromatch/picomatch/master.svg" alt="coverage status"> <img src="https://img.shields.io/coveralls/github/micromatch/picomatch/master.svg" alt="coverage status">
</a> </a>
<a href="https://npmjs.org/package/picomatch"> <a href="https://npmjs.org/package/picomatch">
<img src="https://img.shields.io/npm/dm/picomatch.svg" alt="downloads"> <img src="https://img.shields.io/npm/dm/picomatch.svg" alt="downloads">
</a> </a>
</p> </p>
<br> <br>
@ -54,6 +54,7 @@ See the [library comparison](#library-comparisons) to other libraries.
* [.parse](#parse) * [.parse](#parse)
* [.scan](#scan) * [.scan](#scan)
* [.compileRe](#compilere) * [.compileRe](#compilere)
* [.makeRe](#makere)
* [.toRegex](#toregex) * [.toRegex](#toregex)
- [Options](#options) - [Options](#options)
* [Picomatch options](#picomatch-options) * [Picomatch options](#picomatch-options)
@ -234,7 +235,20 @@ console.log(result);
negated: true } negated: true }
``` ```
### [.compileRe](lib/picomatch.js#L250) ### [.compileRe](lib/picomatch.js#L245)
Compile a regular expression from the `state` object returned by the
[parse()](#parse) method.
**Params**
* `state` **{Object}**
* `options` **{Object}**
* `returnOutput` **{Boolean}**: Intended for implementors, this argument allows you to return the raw output from the parser.
* `returnState` **{Boolean}**: Adds the state to a `state` property on the returned regex. Useful for implementors and debugging.
* `returns` **{RegExp}**
### [.makeRe](lib/picomatch.js#L286)
Create a regular expression from a parsed glob pattern. Create a regular expression from a parsed glob pattern.
@ -242,6 +256,8 @@ Create a regular expression from a parsed glob pattern.
* `state` **{String}**: The object returned from the `.parse` method. * `state` **{String}**: The object returned from the `.parse` method.
* `options` **{Object}** * `options` **{Object}**
* `returnOutput` **{Boolean}**: Implementors may use this argument to return the compiled output, instead of a regular expression. This is not exposed on the options to prevent end-users from mutating the result.
* `returnState` **{Boolean}**: Implementors may use this argument to return the state from the parsed glob with the returned regular expression.
* `returns` **{RegExp}**: Returns a regex created from the given pattern. * `returns` **{RegExp}**: Returns a regex created from the given pattern.
**Example** **Example**
@ -255,7 +271,7 @@ console.log(picomatch.compileRe(state));
//=> /^(?:(?!\.)(?=.)[^/]*?\.js)$/ //=> /^(?:(?!\.)(?=.)[^/]*?\.js)$/
``` ```
### [.toRegex](lib/picomatch.js#L318) ### [.toRegex](lib/picomatch.js#L321)
Create a regular expression from the given regex source string. Create a regular expression from the given regex source string.
@ -688,4 +704,4 @@ npm install -g verbose/verb#dev verb-generate-readme && verb
### License ### License
Copyright © 2017-present, [Jon Schlinkert](https://github.com/jonschlinkert). Copyright © 2017-present, [Jon Schlinkert](https://github.com/jonschlinkert).
Released under the [MIT License](LICENSE). Released under the [MIT License](LICENSE).

0
node_modules/picomatch/index.js generated vendored Executable file → Normal file
View file

0
node_modules/picomatch/lib/constants.js generated vendored Executable file → Normal file
View file

20
node_modules/picomatch/lib/parse.js generated vendored Executable file → Normal file
View file

@ -92,7 +92,7 @@ const parse = (input, options) => {
START_ANCHOR START_ANCHOR
} = PLATFORM_CHARS; } = PLATFORM_CHARS;
const globstar = (opts) => { const globstar = opts => {
return `(${capture}(?:(?!${START_ANCHOR}${opts.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`; return `(${capture}(?:(?!${START_ANCHOR}${opts.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;
}; };
@ -142,12 +142,13 @@ const parse = (input, options) => {
const eos = () => state.index === len - 1; const eos = () => state.index === len - 1;
const peek = state.peek = (n = 1) => input[state.index + n]; const peek = state.peek = (n = 1) => input[state.index + n];
const advance = state.advance = () => input[++state.index]; const advance = state.advance = () => input[++state.index] || '';
const remaining = () => input.slice(state.index + 1); const remaining = () => input.slice(state.index + 1);
const consume = (value = '', num = 0) => { const consume = (value = '', num = 0) => {
state.consumed += value; state.consumed += value;
state.index += num; state.index += num;
}; };
const append = token => { const append = token => {
state.output += token.output != null ? token.output : token.value; state.output += token.output != null ? token.output : token.value;
consume(token.value); consume(token.value);
@ -203,7 +204,7 @@ const parse = (input, options) => {
} }
} }
if (extglobs.length && tok.type !== 'paren' && !EXTGLOB_CHARS[tok.value]) { if (extglobs.length && tok.type !== 'paren') {
extglobs[extglobs.length - 1].inner += tok.value; extglobs[extglobs.length - 1].inner += tok.value;
} }
@ -235,6 +236,7 @@ const parse = (input, options) => {
const extglobClose = token => { const extglobClose = token => {
let output = token.close + (opts.capture ? ')' : ''); let output = token.close + (opts.capture ? ')' : '');
let rest;
if (token.type === 'negate') { if (token.type === 'negate') {
let extglobStar = star; let extglobStar = star;
@ -247,7 +249,11 @@ const parse = (input, options) => {
output = token.close = `)$))${extglobStar}`; output = token.close = `)$))${extglobStar}`;
} }
if (token.prev.type === 'bos' && eos()) { if (token.inner.includes('*') && (rest = remaining()) && /^\.[^\\/.]+$/.test(rest)) {
output = token.close = `)${rest})${extglobStar})`;
}
if (token.prev.type === 'bos') {
state.negatedExtglob = true; state.negatedExtglob = true;
} }
} }
@ -356,9 +362,9 @@ const parse = (input, options) => {
} }
if (opts.unescape === true) { if (opts.unescape === true) {
value = advance() || ''; value = advance();
} else { } else {
value += advance() || ''; value += advance();
} }
if (state.brackets === 0) { if (state.brackets === 0) {
@ -1022,7 +1028,7 @@ parse.fastpaths = (input, options) => {
star = `(${star})`; star = `(${star})`;
} }
const globstar = (opts) => { const globstar = opts => {
if (opts.noglobstar === true) return star; if (opts.noglobstar === true) return star;
return `(${capture}(?:(?!${START_ANCHOR}${opts.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`; return `(${capture}(?:(?!${START_ANCHOR}${opts.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`;
}; };

77
node_modules/picomatch/lib/picomatch.js generated vendored Executable file → Normal file
View file

@ -230,6 +230,40 @@ picomatch.parse = (pattern, options) => {
picomatch.scan = (input, options) => scan(input, options); picomatch.scan = (input, options) => scan(input, options);
/**
* Compile a regular expression from the `state` object returned by the
* [parse()](#parse) method.
*
* @param {Object} `state`
* @param {Object} `options`
* @param {Boolean} `returnOutput` Intended for implementors, this argument allows you to return the raw output from the parser.
* @param {Boolean} `returnState` Adds the state to a `state` property on the returned regex. Useful for implementors and debugging.
* @return {RegExp}
* @api public
*/
picomatch.compileRe = (state, options, returnOutput = false, returnState = false) => {
if (returnOutput === true) {
return state.output;
}
const opts = options || {};
const prepend = opts.contains ? '' : '^';
const append = opts.contains ? '' : '$';
let source = `${prepend}(?:${state.output})${append}`;
if (state && state.negated === true) {
source = `^(?!${source}).*$`;
}
const regex = picomatch.toRegex(source, options);
if (returnState === true) {
regex.state = state;
}
return regex;
};
/** /**
* Create a regular expression from a parsed glob pattern. * Create a regular expression from a parsed glob pattern.
* *
@ -243,56 +277,25 @@ picomatch.scan = (input, options) => scan(input, options);
* ``` * ```
* @param {String} `state` The object returned from the `.parse` method. * @param {String} `state` The object returned from the `.parse` method.
* @param {Object} `options` * @param {Object} `options`
* @param {Boolean} `returnOutput` Implementors may use this argument to return the compiled output, instead of a regular expression. This is not exposed on the options to prevent end-users from mutating the result.
* @param {Boolean} `returnState` Implementors may use this argument to return the state from the parsed glob with the returned regular expression.
* @return {RegExp} Returns a regex created from the given pattern. * @return {RegExp} Returns a regex created from the given pattern.
* @api public * @api public
*/ */
picomatch.compileRe = (parsed, options, returnOutput = false, returnState = false) => { picomatch.makeRe = (input, options = {}, returnOutput = false, returnState = false) => {
if (returnOutput === true) {
return parsed.output;
}
const opts = options || {};
const prepend = opts.contains ? '' : '^';
const append = opts.contains ? '' : '$';
let source = `${prepend}(?:${parsed.output})${append}`;
if (parsed && parsed.negated === true) {
source = `^(?!${source}).*$`;
}
const regex = picomatch.toRegex(source, options);
if (returnState === true) {
regex.state = parsed;
}
return regex;
};
picomatch.makeRe = (input, options, returnOutput = false, returnState = false) => {
if (!input || typeof input !== 'string') { if (!input || typeof input !== 'string') {
throw new TypeError('Expected a non-empty string'); throw new TypeError('Expected a non-empty string');
} }
const opts = options || {};
let parsed = { negated: false, fastpaths: true }; let parsed = { negated: false, fastpaths: true };
let prefix = '';
let output;
if (input.startsWith('./')) { if (options.fastpaths !== false && (input[0] === '.' || input[0] === '*')) {
input = input.slice(2); parsed.output = parse.fastpaths(input, options);
prefix = parsed.prefix = './';
} }
if (opts.fastpaths !== false && (input[0] === '.' || input[0] === '*')) { if (!parsed.output) {
output = parse.fastpaths(input, options);
}
if (output === undefined) {
parsed = parse(input, options); parsed = parse(input, options);
parsed.prefix = prefix + (parsed.prefix || '');
} else {
parsed.output = output;
} }
return picomatch.compileRe(parsed, options, returnOutput, returnState); return picomatch.compileRe(parsed, options, returnOutput, returnState);

20
node_modules/picomatch/lib/scan.js generated vendored Executable file → Normal file
View file

@ -32,7 +32,8 @@ const depth = token => {
/** /**
* Quickly scans a glob pattern and returns an object with a handful of * Quickly scans a glob pattern and returns an object with a handful of
* useful properties, like `isGlob`, `path` (the leading non-glob, if it exists), * useful properties, like `isGlob`, `path` (the leading non-glob, if it exists),
* `glob` (the actual pattern), and `negated` (true if the path starts with `!`). * `glob` (the actual pattern), `negated` (true if the path starts with `!` but not
* with `!(`) and `negatedExtglob` (true if the path starts with `!(`).
* *
* ```js * ```js
* const pm = require('picomatch'); * const pm = require('picomatch');
@ -66,6 +67,7 @@ const scan = (input, options) => {
let braceEscaped = false; let braceEscaped = false;
let backslashes = false; let backslashes = false;
let negated = false; let negated = false;
let negatedExtglob = false;
let finished = false; let finished = false;
let braces = 0; let braces = 0;
let prev; let prev;
@ -177,6 +179,9 @@ const scan = (input, options) => {
isGlob = token.isGlob = true; isGlob = token.isGlob = true;
isExtglob = token.isExtglob = true; isExtglob = token.isExtglob = true;
finished = true; finished = true;
if (code === CHAR_EXCLAMATION_MARK && index === start) {
negatedExtglob = true;
}
if (scanToEnd === true) { if (scanToEnd === true) {
while (eos() !== true && (code = advance())) { while (eos() !== true && (code = advance())) {
@ -231,13 +236,15 @@ const scan = (input, options) => {
isBracket = token.isBracket = true; isBracket = token.isBracket = true;
isGlob = token.isGlob = true; isGlob = token.isGlob = true;
finished = true; finished = true;
if (scanToEnd === true) {
continue;
}
break; break;
} }
} }
if (scanToEnd === true) {
continue;
}
break;
} }
if (opts.nonegate !== true && code === CHAR_EXCLAMATION_MARK && index === start) { if (opts.nonegate !== true && code === CHAR_EXCLAMATION_MARK && index === start) {
@ -328,7 +335,8 @@ const scan = (input, options) => {
isGlob, isGlob,
isExtglob, isExtglob,
isGlobstar, isGlobstar,
negated negated,
negatedExtglob
}; };
if (opts.tokens === true) { if (opts.tokens === true) {

0
node_modules/picomatch/lib/utils.js generated vendored Executable file → Normal file
View file

2
node_modules/picomatch/package.json generated vendored Executable file → Normal file
View file

@ -1,7 +1,7 @@
{ {
"name": "picomatch", "name": "picomatch",
"description": "Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.", "description": "Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.",
"version": "2.2.2", "version": "2.3.0",
"homepage": "https://github.com/micromatch/picomatch", "homepage": "https://github.com/micromatch/picomatch",
"author": "Jon Schlinkert (https://github.com/jonschlinkert)", "author": "Jon Schlinkert (https://github.com/jonschlinkert)",
"funding": "https://github.com/sponsors/jonschlinkert", "funding": "https://github.com/sponsors/jonschlinkert",

26
package-lock.json generated
View file

@ -51,7 +51,7 @@
"eslint-plugin-github": "^4.1.5", "eslint-plugin-github": "^4.1.5",
"eslint-plugin-import": "^2.22.0", "eslint-plugin-import": "^2.22.0",
"eslint-plugin-no-async-foreach": "^0.1.1", "eslint-plugin-no-async-foreach": "^0.1.1",
"micromatch": "4.0.2", "micromatch": "4.0.4",
"nock": "^13.1.1", "nock": "^13.1.1",
"removeNPMAbsolutePaths": "2.0.0", "removeNPMAbsolutePaths": "2.0.0",
"sinon": "^11.1.2", "sinon": "^11.1.2",
@ -3918,15 +3918,16 @@
} }
}, },
"node_modules/micromatch": { "node_modules/micromatch": {
"version": "4.0.2", "version": "4.0.4",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz",
"integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==",
"dev": true, "dev": true,
"license": "MIT",
"dependencies": { "dependencies": {
"braces": "^3.0.1", "braces": "^3.0.1",
"picomatch": "^2.0.5" "picomatch": "^2.2.3"
}, },
"engines": { "engines": {
"node": ">=8" "node": ">=8.6"
} }
}, },
"node_modules/mimic-fn": { "node_modules/mimic-fn": {
@ -4364,9 +4365,10 @@
} }
}, },
"node_modules/picomatch": { "node_modules/picomatch": {
"version": "2.2.2", "version": "2.3.0",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz",
"integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==",
"dev": true, "dev": true,
"license": "MIT",
"engines": { "engines": {
"node": ">=8.6" "node": ">=8.6"
}, },
@ -8733,11 +8735,13 @@
"dev": true "dev": true
}, },
"micromatch": { "micromatch": {
"version": "4.0.2", "version": "4.0.4",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz",
"integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==",
"dev": true, "dev": true,
"requires": { "requires": {
"braces": "^3.0.1", "braces": "^3.0.1",
"picomatch": "^2.0.5" "picomatch": "^2.2.3"
} }
}, },
"mimic-fn": { "mimic-fn": {
@ -9032,7 +9036,9 @@
"dev": true "dev": true
}, },
"picomatch": { "picomatch": {
"version": "2.2.2", "version": "2.3.0",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz",
"integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==",
"dev": true "dev": true
}, },
"pify": { "pify": {

View file

@ -66,7 +66,7 @@
"eslint-plugin-github": "^4.1.5", "eslint-plugin-github": "^4.1.5",
"eslint-plugin-import": "^2.22.0", "eslint-plugin-import": "^2.22.0",
"eslint-plugin-no-async-foreach": "^0.1.1", "eslint-plugin-no-async-foreach": "^0.1.1",
"micromatch": "4.0.2", "micromatch": "4.0.4",
"nock": "^13.1.1", "nock": "^13.1.1",
"removeNPMAbsolutePaths": "2.0.0", "removeNPMAbsolutePaths": "2.0.0",
"sinon": "^11.1.2", "sinon": "^11.1.2",