Skip to content

Commit b1b7cc1

Browse files
committed
chore: updating deps/deprecations
1 parent 73b269d commit b1b7cc1

9 files changed

Lines changed: 50 additions & 124 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ git:
22
depth: 2
33
language: node_js
44
node_js:
5+
- "14"
56
- "12"
67
- "10"
7-
- "8"

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ skip_tags: true
88

99
environment:
1010
matrix:
11+
- nodejs_version: "14"
1112
- nodejs_version: "12"
1213
- nodejs_version: "10"
13-
- nodejs_version: "8"
1414

1515
install:
1616
- ps: Install-Product node $env:nodejs_version

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
22
"private": true,
33
"scripts": {
4-
"bootstrap": "lerna bootstrap --hoist",
4+
"bootstrap": "lerna bootstrap",
5+
"postinstall": "npm run bootstrap",
56
"build-all": "lerna run build-all",
7+
"test": "lerna run test",
68
"test:e2e": "cb cy:*"
79
},
810
"name": "browser-sync",

packages/browser-sync-client/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ function init(options, requestBody, type) {
103103
*/
104104
if (supportsGzip(req)) {
105105
res.setHeader("Content-Encoding", "gzip");
106-
var buf = new Buffer(output, "utf-8");
106+
var buf = Buffer.from(output, "utf-8");
107107
zlib.gzip(buf, function(_, result) {
108108
res.end(result);
109109
});

packages/browser-sync-client/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
"node": ">=8.0.0"
2626
},
2727
"scripts": {
28-
"start": "cb dev",
29-
"test": "cb test",
3028
"build-all": "cb build-all",
3129
"prepublishOnly": "cb build-all"
3230
},

packages/browser-sync-ui/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"scripts": {
1919
"e2e": "./test/pro.sh",
2020
"selenium": "webdriver-manager start",
21-
"test": "cb test",
2221
"build-all": "cb build-all"
2322
},
2423
"dependencies": {

packages/browser-sync-ui/public/js/app.js

Lines changed: 12 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/browser-sync/package-lock.json

Lines changed: 31 additions & 105 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/browser-sync/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"browser-sync-ui": "^2.26.13",
3838
"bs-recipes": "1.3.4",
3939
"bs-snippet-injector": "^2.0.1",
40-
"chokidar": "^3.4.1",
40+
"chokidar": "^3.5.1",
4141
"connect": "3.6.6",
4242
"connect-history-api-fallback": "^1",
4343
"dev-ip": "^1.0.1",

0 commit comments

Comments
 (0)