Added missing changes and modified dist assets.
This commit is contained in:
parent
17107f43d7
commit
305db886e7
11
dist/index.js
generated
vendored
11
dist/index.js
generated
vendored
@ -34916,7 +34916,12 @@ const util = __nccwpck_require__(3837);
|
|||||||
const braces = __nccwpck_require__(610);
|
const braces = __nccwpck_require__(610);
|
||||||
const picomatch = __nccwpck_require__(8569);
|
const picomatch = __nccwpck_require__(8569);
|
||||||
const utils = __nccwpck_require__(479);
|
const utils = __nccwpck_require__(479);
|
||||||
const isEmptyString = val => val === '' || val === './';
|
|
||||||
|
const isEmptyString = v => v === '' || v === './';
|
||||||
|
const hasBraces = v => {
|
||||||
|
const index = v.indexOf('{');
|
||||||
|
return index > -1 && v.indexOf('}', index) > -1;
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an array of strings that match one or more glob patterns.
|
* Returns an array of strings that match one or more glob patterns.
|
||||||
@ -35357,7 +35362,7 @@ micromatch.parse = (patterns, options) => {
|
|||||||
|
|
||||||
micromatch.braces = (pattern, options) => {
|
micromatch.braces = (pattern, options) => {
|
||||||
if (typeof pattern !== 'string') throw new TypeError('Expected a string');
|
if (typeof pattern !== 'string') throw new TypeError('Expected a string');
|
||||||
if ((options && options.nobrace === true) || !/\{.*\}/.test(pattern)) {
|
if ((options && options.nobrace === true) || !hasBraces(pattern)) {
|
||||||
return [pattern];
|
return [pattern];
|
||||||
}
|
}
|
||||||
return braces(pattern, options);
|
return braces(pattern, options);
|
||||||
@ -35376,6 +35381,8 @@ micromatch.braceExpand = (pattern, options) => {
|
|||||||
* Expose micromatch
|
* Expose micromatch
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// exposed for tests
|
||||||
|
micromatch.hasBraces = hasBraces;
|
||||||
module.exports = micromatch;
|
module.exports = micromatch;
|
||||||
|
|
||||||
|
|
||||||
|
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user