brace-expansion
Advanced tools
Comparing version 1.1.11 to 2.0.0
11
index.js
@@ -1,2 +0,1 @@ | ||
var concatMap = require('concat-map'); | ||
var balanced = require('balanced-match'); | ||
@@ -82,6 +81,2 @@ | ||
function identity(e) { | ||
return e; | ||
} | ||
function embrace(str) { | ||
@@ -189,3 +184,7 @@ return '{' + str + '}'; | ||
} else { | ||
N = concatMap(n, function(el) { return expand(el, false) }); | ||
N = []; | ||
for (var j = 0; j < n.length; j++) { | ||
N.push.apply(N, expand(n[j], false)); | ||
} | ||
} | ||
@@ -192,0 +191,0 @@ |
{ | ||
"name": "brace-expansion", | ||
"description": "Brace expansion as known from sh/bash", | ||
"version": "1.1.11", | ||
"version": "2.0.0", | ||
"repository": { | ||
@@ -17,4 +17,3 @@ "type": "git", | ||
"dependencies": { | ||
"balanced-match": "^1.0.0", | ||
"concat-map": "0.0.1" | ||
"balanced-match": "^1.0.0" | ||
}, | ||
@@ -21,0 +20,0 @@ "devDependencies": { |
@@ -107,2 +107,8 @@ # brace-expansion | ||
## Security contact information | ||
To report a security vulnerability, please use the | ||
[Tidelift security contact](https://tidelift.com/security). | ||
Tidelift will coordinate the fix and disclosure. | ||
## License | ||
@@ -109,0 +115,0 @@ |
11241
1
5
136
168
- Removedconcat-map@0.0.1
- Removedconcat-map@0.0.1(transitive)