(str, options = {})
| 121 | return parts; |
| 122 | } |
| 123 | function expand(str, options = {}) { |
| 124 | if (!str) { |
| 125 | return []; |
| 126 | } |
| 127 | const { max = exports2.EXPANSION_MAX } = options; |
| 128 | if (str.slice(0, 2) === "{}") { |
| 129 | str = "\\{\\}" + str.slice(2); |
| 130 | } |
| 131 | return expand_(escapeBraces(str), max, true).map(unescapeBraces); |
| 132 | } |
| 133 | function embrace(str) { |
| 134 | return "{" + str + "}"; |
| 135 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…