From dee96aca053461fddba9559fc8e2152f068ccdf5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 16 Jun 2025 13:19:50 +0200 Subject: [PATCH] build(deps): bump brace-expansion from 1.1.11 to 1.1.12 (#1252) Co-authored-by: Fernandez Ludovic --- dist/post_run/index.js | 2 +- dist/run/index.js | 2 +- package-lock.json | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/dist/post_run/index.js b/dist/post_run/index.js index 4005a23..d463277 100644 --- a/dist/post_run/index.js +++ b/dist/post_run/index.js @@ -54566,7 +54566,7 @@ function expand(str, isTop) { var isOptions = m.body.indexOf(',') >= 0; if (!isSequence && !isOptions) { // {a},b} - if (m.post.match(/,.*\}/)) { + if (m.post.match(/,(?!,).*\}/)) { str = m.pre + '{' + m.body + escClose + m.post; return expand(str); } diff --git a/dist/run/index.js b/dist/run/index.js index f3eef28..4603bb4 100644 --- a/dist/run/index.js +++ b/dist/run/index.js @@ -54566,7 +54566,7 @@ function expand(str, isTop) { var isOptions = m.body.indexOf(',') >= 0; if (!isSequence && !isOptions) { // {a},b} - if (m.post.match(/,.*\}/)) { + if (m.post.match(/,(?!,).*\}/)) { str = m.pre + '{' + m.body + escClose + m.post; return expand(str); } diff --git a/package-lock.json b/package-lock.json index 60cae7c..f0b80ae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1325,9 +1325,10 @@ "license": "MIT" }, "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0", "concat-map": "0.0.1"