Skip to content

Commit 10c7720

Browse files
committed
deps: bump lodash, yargs, micromatch, chokidar
1 parent 308b76c commit 10c7720

7 files changed

Lines changed: 11 additions & 73 deletions

File tree

README.md

Lines changed: 1 addition & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -74,68 +74,6 @@ If you've found Browser-sync useful and would like to contribute to its continue
7474
[![Support via Gittip](https://rawgithub.com/chris---/Donation-Badges/master/gittip.jpeg)](https://www.gittip.com/shakyshane)
7575
[![Support via PayPal](https://rawgithub.com/chris---/Donation-Badges/master/paypal.jpeg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=shakyshane%40gmail%2ecom&lc=US&item_name=browser%2dsync)
7676

77-
## Contributors
78-
79-
```
80-
1294 Shane Osbourne
81-
60 Shinnosuke Watanabe
82-
19 Shane Daniel
83-
13 Hugo Bessa
84-
11 Paul Kinlan
85-
8 shinnn
86-
4 Matt Green
87-
3 Jon Stevens
88-
3 Werner van Deventer
89-
3 Simen Bekkhus
90-
3 Adam Lynch
91-
3 Dave Hall
92-
3 Marek 'saji' Augustynowicz
93-
2 38elements
94-
2 Piotr Kaleta
95-
2 Eugeny Vlasenko
96-
2 Steve Mao
97-
2 Michael Branch
98-
2 The Gitter Badger
99-
2 Dan Tello
100-
2 Olivier Combe
101-
2 brutaldev
102-
2 chase_chou
103-
2 Hugo Dias
104-
2 Paul Robertson
105-
1 Tony Holdstock-Brown
106-
1 Victor Fernandez de Alba
107-
1 Yazhong Liu
108-
1 dsc
109-
1 mericson
110-
1 viktor hesselbom
111-
1 wesruv
112-
1 Andrew Schmadel
113-
1 Austin Pray
114-
1 Benjamín Eidelman
115-
1 Björn Söderqvist
116-
1 Cameron Spear
117-
1 Carl Henderson
118-
1 Cedric Kastner
119-
1 Christian Vuerings
120-
1 Craig Morris
121-
1 Dimitri Nicolas
122-
1 Guillaume Lambert
123-
1 Imran Sulemanji
124-
1 Jason Dreyzehner
125-
1 Jory Graham
126-
1 Michael Leigeber
127-
1 Naoya Kanai
128-
1 Paul Love
129-
1 Paul Miller
130-
1 Peter Blazejewicz
131-
1 Philipp Nowinski
132-
1 Plou
133-
1 Robert Vock
134-
1 Stian Didriksen
135-
1 Sylvain Emery
136-
```
137-
138-
## License
13977

14078
Apache 2
141-
Copyright (c) 2015 Shane Osbourne
79+
Copyright (c) 2016 Shane Osbourne

lib/cli/cli-info.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var info = {
3737
var ignore = ["excludedFileTypes", "injectFileTypes", "snippetOptions"];
3838

3939
Object.keys(opts).forEach(function (key) {
40-
if (!_.contains(ignore, key)) {
40+
if (!_.includes(ignore, key)) {
4141
userOpts[key] = opts[key];
4242
}
4343
});

lib/file-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var fileUtils = {
4545
};
4646

4747
// RELOAD page
48-
if (!_.contains(options.get("injectFileTypes").toJS(), obj.ext)) {
48+
if (!_.includes(options.get("injectFileTypes").toJS(), obj.ext)) {
4949
obj.url = obj.path;
5050
obj.type = "reload";
5151
}

lib/snippet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var snippetUtils = {
2828
return true;
2929
}
3030
extension = extension.slice(1);
31-
return _.contains(excludeList, extension);
31+
return _.includes(excludeList, extension);
3232
}
3333
return false;
3434
},

lib/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ var utils = {
214214
*/
215215
willCauseReload: function (needles, haystack) {
216216
return needles.some(function (needle) {
217-
return !_.contains(haystack, path.extname(needle).replace(".", ""));
217+
return !_.includes(haystack, path.extname(needle).replace(".", ""));
218218
});
219219
},
220220
isList: Immutable.List.isList,

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"browser-sync-client": "^2.3.3",
3434
"browser-sync-ui": "0.5.19",
3535
"bs-recipes": "1.2.2",
36-
"chokidar": "1.4.1",
36+
"chokidar": "1.4.3",
3737
"connect": "3.4.1",
3838
"dev-ip": "^1.0.1",
3939
"easy-extender": "2.3.2",
@@ -43,8 +43,8 @@
4343
"http-proxy": "1.13.2",
4444
"immutable": "3.7.6",
4545
"localtunnel": "1.8.1",
46-
"lodash": "^3.9.3",
47-
"micromatch": "2.3.5",
46+
"lodash": "4.10.0",
47+
"micromatch": "2.3.7",
4848
"opn": "^3.0.2",
4949
"portscanner": "^1.0.0",
5050
"qs": "6.1.0",
@@ -54,7 +54,7 @@
5454
"socket.io": "1.4.5",
5555
"ua-parser-js": "0.7.10",
5656
"ucfirst": "^1.0.0",
57-
"yargs": "4.3.2"
57+
"yargs": "4.4.0"
5858
},
5959
"devDependencies": {
6060
"browser-sync-spa": "1.0.2",

test/specs/plugins/connector.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describe("Plugins: Using the connector middleware:", function () {
4040
.get("/shane")
4141
.expect(200)
4242
.end(function (err, res) {
43-
assert.isTrue(_.contains(res.text, "window.___browserSync___ = {};"));
43+
assert.isTrue(_.includes(res.text, "window.___browserSync___ = {};"));
4444
instance.cleanup(done);
4545
});
4646
}
@@ -85,7 +85,7 @@ describe("Plugins: Using the connector middleware:", function () {
8585
.get("/shane")
8686
.expect(200)
8787
.end(function (err, res) {
88-
assert.isTrue(_.contains(res.text, "/browser-sync-cp"));
88+
assert.isTrue(_.includes(res.text, "/browser-sync-cp"));
8989
instance.cleanup(done);
9090
});
9191
}

0 commit comments

Comments
 (0)