brace-expansion 4.0.0 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -154,7 +154,7 @@ function expand (str, isTop) {
154
154
  const isOptions = m.body.indexOf(',') >= 0
155
155
  if (!isSequence && !isOptions) {
156
156
  // {a},b}
157
- if (m.post.match(/,.*\}/)) {
157
+ if (m.post.match(/,(?!,).*\}/)) {
158
158
  str = m.pre + '{' + m.body + escClose + m.post
159
159
  return expand(str)
160
160
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "brace-expansion",
3
3
  "description": "Brace expansion as known from sh/bash",
4
- "version": "4.0.0",
4
+ "version": "4.0.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git://github.com/juliangruber/brace-expansion.git"