Actualizacion de seguridad
This commit is contained in:
6
node_modules/braces/index.js
generated
vendored
6
node_modules/braces/index.js
generated
vendored
@@ -23,8 +23,8 @@ const braces = (input, options = {}) => {
|
||||
let output = [];
|
||||
|
||||
if (Array.isArray(input)) {
|
||||
for (let pattern of input) {
|
||||
let result = braces.create(pattern, options);
|
||||
for (const pattern of input) {
|
||||
const result = braces.create(pattern, options);
|
||||
if (Array.isArray(result)) {
|
||||
output.push(...result);
|
||||
} else {
|
||||
@@ -158,7 +158,7 @@ braces.create = (input, options = {}) => {
|
||||
return [input];
|
||||
}
|
||||
|
||||
return options.expand !== true
|
||||
return options.expand !== true
|
||||
? braces.compile(input, options)
|
||||
: braces.expand(input, options);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user