http-proxy-middleware 1.0.4 → 1.0.5

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [v1.0.5](https://github.com/chimurai/http-proxy-middleware/releases/tag/v1.0.5)
4
+
5
+ - chore(deps): lodash 4.17.19 ([#454](https://github.com/chimurai/http-proxy-middleware/pull/454))
6
+
3
7
  ## [v1.0.4](https://github.com/chimurai/http-proxy-middleware/releases/tag/v1.0.4)
4
8
 
5
9
  - chore(deps): http-proxy 1.18.1 ([#442](https://github.com/chimurai/http-proxy-middleware/pull/442))
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createConfig = void 0;
3
4
  const _ = require("lodash");
4
5
  const url = require("url");
5
6
  const errors_1 = require("./errors");
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.match = void 0;
3
4
  const isGlob = require("is-glob");
4
5
  const _ = require("lodash");
5
6
  const micromatch = require("micromatch");
package/dist/errors.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ERRORS = void 0;
3
4
  var ERRORS;
4
5
  (function (ERRORS) {
5
6
  ERRORS["ERR_CONFIG_FACTORY_TARGET_MISSING"] = "[HPM] Missing \"target\" option. Example: {target: \"http://www.example.org\"}";
package/dist/handlers.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getHandlers = exports.init = void 0;
3
4
  const _ = require("lodash");
4
5
  const logger_1 = require("./logger");
5
6
  const logger = logger_1.getInstance();
@@ -9,6 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.HttpProxyMiddleware = void 0;
12
13
  const httpProxy = require("http-proxy");
13
14
  const _ = require("lodash");
14
15
  const config_factory_1 = require("./config-factory");
package/dist/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createProxyMiddleware = void 0;
3
4
  const http_proxy_middleware_1 = require("./http-proxy-middleware");
4
5
  function createProxyMiddleware(context, options) {
5
6
  const { middleware } = new http_proxy_middleware_1.HttpProxyMiddleware(context, options);
package/dist/logger.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getArrow = exports.getInstance = void 0;
3
4
  const _ = require("lodash");
4
5
  const util = require("util");
5
6
  let loggerInstance;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.createPathRewriter = void 0;
3
4
  const _ = require("lodash");
4
5
  const errors_1 = require("./errors");
5
6
  const logger_1 = require("./logger");
package/dist/router.js CHANGED
@@ -9,6 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.getTarget = void 0;
12
13
  const _ = require("lodash");
13
14
  const logger_1 = require("./logger");
14
15
  const logger = logger_1.getInstance();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "http-proxy-middleware",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "The one-liner node.js proxy middleware for connect, express and browser-sync",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -50,32 +50,32 @@
50
50
  "@commitlint/config-conventional": "^8.3.4",
51
51
  "@types/express": "^4.17.3",
52
52
  "@types/is-glob": "^4.0.1",
53
- "@types/jest": "^25.2.1",
54
- "@types/lodash": "^4.14.150",
53
+ "@types/jest": "^25.2.3",
54
+ "@types/lodash": "^4.14.151",
55
55
  "@types/micromatch": "^4.0.1",
56
- "@types/node": "^13.13.5",
56
+ "@types/node": "^14.0.3",
57
57
  "@types/supertest": "^2.0.9",
58
58
  "browser-sync": "^2.26.7",
59
59
  "connect": "^3.7.0",
60
60
  "express": "^4.17.1",
61
61
  "husky": "^4.2.5",
62
62
  "jest": "^26.0.1",
63
- "lint-staged": "^10.2.2",
63
+ "lint-staged": "^10.2.4",
64
64
  "mockttp": "^0.20.1",
65
- "open": "^7.0.3",
65
+ "open": "^7.0.4",
66
66
  "prettier": "^2.0.5",
67
67
  "supertest": "^4.0.2",
68
- "ts-jest": "^25.5.0",
68
+ "ts-jest": "^26.0.0",
69
69
  "tslint": "^6.1.2",
70
70
  "tslint-config-prettier": "^1.18.0",
71
- "typescript": "^3.8.3",
72
- "ws": "^7.2.5"
71
+ "typescript": "^3.9.2",
72
+ "ws": "^7.3.0"
73
73
  },
74
74
  "dependencies": {
75
75
  "@types/http-proxy": "^1.17.4",
76
76
  "http-proxy": "^1.18.1",
77
77
  "is-glob": "^4.0.1",
78
- "lodash": "^4.17.15",
78
+ "lodash": "^4.17.19",
79
79
  "micromatch": "^4.0.2"
80
80
  },
81
81
  "engines": {