Commit 6b20ee6afa7feaa4fb3b956b1ddfd18c164e1a2a
change catMap for map+flatten
mix irving committed on 10/23/2016, 5:52:08 AMParent: 62e5da8f13b025e0815d45a9019cc8ac6dd9d92c
Files changed
lib/util.js | changed |
package.json | changed |
lib/util.js | ||
---|---|---|
@@ -43,9 +43,10 @@ | ||
43 | 43 … | u.sourceMap = function sourceMap (source, fn) { |
44 | 44 … | return pull( |
45 | 45 … | source, |
46 | 46 … | pull.filter(Boolean), |
47 | - catMap(fn) | |
47 … | + pull.map(fn), | |
48 … | + pull.flatten() | |
48 | 49 … | ) |
49 | 50 … | } |
50 | 51 … | |
51 | 52 … | u.escape = function (str) { |
package.json | ||
---|---|---|
@@ -11,12 +11,11 @@ | ||
11 | 11 … | "moment": "^2.14.1", |
12 | 12 … | "multicb": "^1.2.1", |
13 | 13 … | "node-polyglot": "^1.0.0", |
14 | 14 … | "pull-cat": "^1.1.8", |
15 | - "pull-cat-map": "^1.0.0", | |
16 | 15 … | "pull-git-pack": "^0.2.0", |
17 | 16 … | "pull-git-repo": "^0.6.0", |
18 | - "pull-hyperscript": "0.0.2", | |
17 … | + "pull-hyperscript": "^0.0.3", | |
19 | 18 … | "pull-identify-filetype": "^1.1.0", |
20 | 19 … | "pull-many": "^1.0.6", |
21 | 20 … | "pull-paramap": "^1.1.6", |
22 | 21 … | "pull-stream": "^3.1.0", |
Built with git-ssb-web