Skip to content

Commit 63f8114

Browse files
author
Michael Smith
committed
(cherry picked from commit 1c4a796)
1 parent 6918b4c commit 63f8114

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎node_modules/brace-expansion/dist/commonjs/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function expand_(str, max, isTop) {
155155
}
156156
const pad = n.some(isPadded);
157157
N = [];
158-
for (let i = x; test(i, y); i += incr) {
158+
for (let i = x; test(i, y) && N.length < max; i += incr) {
159159
let c;
160160
if (isAlphaSequence) {
161161
c = String.fromCharCode(i);

‎node_modules/brace-expansion/dist/esm/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ function expand_(str, max, isTop) {
151151
}
152152
const pad = n.some(isPadded);
153153
N = [];
154-
for (let i = x; test(i, y); i += incr) {
154+
for (let i = x; test(i, y) && N.length < max; i += incr) {
155155
let c;
156156
if (isAlphaSequence) {
157157
c = String.fromCharCode(i);

‎node_modules/brace-expansion/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "brace-expansion",
33
"description": "Brace expansion as known from sh/bash",
4-
"version": "5.0.5",
4+
"version": "5.0.6",
55
"files": [
66
"dist"
77
],

‎package-lock.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2999,9 +2999,9 @@
29992999
"license": "ISC"
30003000
},
30013001
"node_modules/brace-expansion": {
3002-
"version": "5.0.5",
3003-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.5.tgz",
3004-
"integrity": "sha512-VZznLgtwhn+Mact9tfiwx64fA9erHH/MCXEUfB/0bX/6Fz6ny5EGTXYltMocqg4xFAQZtnO3DHWWXi8RiuN7cQ==",
3002+
"version": "5.0.6",
3003+
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.6.tgz",
3004+
"integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==",
30053005
"inBundle": true,
30063006
"license": "MIT",
30073007
"dependencies": {

0 commit comments

Comments
 (0)