Skip to content

Commit 021b03f

Browse files
authored
chore(dependencies): update micromatch@4 and dev dependencies (#342)
* chore(dependencies): update micromatch@4 and dev dependencies * chore(engine): drop node 6
1 parent 0347c43 commit 021b03f

File tree

7 files changed

+1091
-1224
lines changed

7 files changed

+1091
-1224
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ node_js:
55
- 'stable'
66
- '10'
77
- '8'
8-
- '6'
98
cache: yarn
109
stages:
1110
- lint

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## next
44

5+
- chore: drop node 6 (BREAKING CHANGE)
6+
- chore: update to micromatch@4 ([BREAKING CHANGE](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md#400---2019-03-20))
7+
- chore: update dev dependencies
58
- refactor: migrate to typescript ([#328](https://github.com/chimurai/http-proxy-middleware/pull/328))
69
- feat(middleware): Promise / async support ([#328](https://github.com/chimurai/http-proxy-middleware/pull/328/files#diff-7890bfeb41abb0fc0ef2670749c84077R50))
710
- refactor: remove legacy options `proxyHost` and `proxyTable` (BREAKING CHANGE)

examples/connect/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ http.createServer(app).listen(3000);
2626
console.log('[DEMO] Server: listening on port 3000');
2727
console.log('[DEMO] Opening: http://localhost:3000/users');
2828

29-
require('opn')('http://localhost:3000/users');
29+
require('open')('http://localhost:3000/users');

examples/express/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ app.listen(3000);
2525
console.log('[DEMO] Server: listening on port 3000');
2626
console.log('[DEMO] Opening: http://localhost:3000/users');
2727

28-
require('opn')('http://localhost:3000/users');
28+
require('open')('http://localhost:3000/users');

examples/websocket/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ server.on('upgrade', wsProxy.upgrade); // optional: upgrade externally
2828
console.log('[DEMO] Server: listening on port 3000');
2929
console.log('[DEMO] Opening: http://localhost:3000');
3030

31-
require('opn')('http://localhost:3000');
31+
require('open')('http://localhost:3000');
3232

3333
/**
3434
* Example:

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,29 +55,29 @@
5555
"@types/jest": "^24.0.11",
5656
"@types/lodash": "^4.14.123",
5757
"@types/micromatch": "^3.1.0",
58-
"@types/node": "^11.11.3",
58+
"@types/node": "^12.0.4",
5959
"browser-sync": "^2.26.3",
6060
"connect": "^3.6.6",
6161
"coveralls": "^3.0.3",
6262
"express": "^4.16.4",
63-
"husky": "^1.3.1",
63+
"husky": "^2.3.0",
6464
"jest": "^24.5.0",
65-
"opn": "^5.4.0",
65+
"open": "^6.3.0",
6666
"prettier": "^1.15.2",
6767
"ts-jest": "^24.0.0",
6868
"tslint": "^5.14.0",
6969
"tslint-config-prettier": "^1.18.0",
7070
"typescript": "^3.4.1",
71-
"ws": "^6.1.2"
71+
"ws": "^7.0.0"
7272
},
7373
"dependencies": {
7474
"http-proxy": "^1.17.0",
75-
"is-glob": "^4.0.0",
75+
"is-glob": "^4.0.1",
7676
"lodash": "^4.17.11",
77-
"micromatch": "^3.1.10"
77+
"micromatch": "^4.0.2"
7878
},
7979
"engines": {
80-
"node": ">=6.0.0"
80+
"node": ">=8.0.0"
8181
},
8282
"husky": {
8383
"hooks": {

0 commit comments

Comments
 (0)