http-proxy-middleware 0.19.0 → 0.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -5
- package/README.md +278 -264
- package/index.js +1 -1
- package/lib/config-factory.js +14 -12
- package/lib/context-matcher.js +9 -9
- package/lib/errors.js +8 -4
- package/lib/handlers.js +17 -9
- package/lib/index.js +50 -20
- package/lib/logger.js +19 -19
- package/lib/path-rewriter.js +16 -10
- package/lib/router.js +8 -6
- package/package.json +20 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "http-proxy-middleware",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.1",
|
|
4
4
|
"description": "The one-liner node.js proxy middleware for connect, express and browser-sync",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -9,12 +9,11 @@
|
|
|
9
9
|
],
|
|
10
10
|
"scripts": {
|
|
11
11
|
"clean": "rm -rf coverage",
|
|
12
|
-
"lint": "
|
|
13
|
-
"lint:fix": "
|
|
12
|
+
"lint": "prettier \"**/*.{js,md}\" --list-different",
|
|
13
|
+
"lint:fix": "prettier \"**/*.{js,md}\" --write",
|
|
14
14
|
"test": "npm run lint && mocha --recursive --colors --reporter spec",
|
|
15
15
|
"cover": "npm run clean && istanbul cover ./node_modules/mocha/bin/_mocha -- --recursive",
|
|
16
|
-
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --recursive --reporter spec && istanbul-coveralls && npm run clean"
|
|
17
|
-
"commitmsg": "commitlint -e $GIT_PARAMS"
|
|
16
|
+
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --recursive --reporter spec && istanbul-coveralls && npm run clean"
|
|
18
17
|
},
|
|
19
18
|
"repository": {
|
|
20
19
|
"type": "git",
|
|
@@ -42,36 +41,37 @@
|
|
|
42
41
|
},
|
|
43
42
|
"homepage": "https://github.com/chimurai/http-proxy-middleware",
|
|
44
43
|
"devDependencies": {
|
|
45
|
-
"@commitlint/cli": "^7.
|
|
46
|
-
"@commitlint/config-conventional": "^7.1.
|
|
47
|
-
"browser-sync": "^2.
|
|
48
|
-
"chai": "^4.
|
|
44
|
+
"@commitlint/cli": "^7.2.1",
|
|
45
|
+
"@commitlint/config-conventional": "^7.1.2",
|
|
46
|
+
"browser-sync": "^2.26.3",
|
|
47
|
+
"chai": "^4.2.0",
|
|
49
48
|
"connect": "^3.6.6",
|
|
50
49
|
"coveralls": "^3.0.2",
|
|
51
|
-
"express": "^4.16.
|
|
52
|
-
"husky": "^
|
|
50
|
+
"express": "^4.16.4",
|
|
51
|
+
"husky": "^1.2.0",
|
|
53
52
|
"istanbul": "^0.4.5",
|
|
54
53
|
"istanbul-coveralls": "^1.0.3",
|
|
55
54
|
"mocha": "^5.2.0",
|
|
56
55
|
"mocha-lcov-reporter": "1.3.0",
|
|
57
|
-
"opn": "^5.
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"ws": "^6.
|
|
56
|
+
"opn": "^5.4.0",
|
|
57
|
+
"precise-commits": "^1.0.2",
|
|
58
|
+
"prettier": "^1.15.2",
|
|
59
|
+
"ws": "^6.1.2"
|
|
61
60
|
},
|
|
62
61
|
"dependencies": {
|
|
63
62
|
"http-proxy": "^1.17.0",
|
|
64
63
|
"is-glob": "^4.0.0",
|
|
65
|
-
"lodash": "^4.17.
|
|
64
|
+
"lodash": "^4.17.11",
|
|
66
65
|
"micromatch": "^3.1.10"
|
|
67
66
|
},
|
|
68
67
|
"engines": {
|
|
69
68
|
"node": ">=4.0.0"
|
|
70
69
|
},
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
|
|
70
|
+
"husky": {
|
|
71
|
+
"hooks": {
|
|
72
|
+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
73
|
+
"pre-commit": "precise-commits"
|
|
74
|
+
}
|
|
75
75
|
},
|
|
76
76
|
"commitlint": {
|
|
77
77
|
"extends": [
|