c2-http 1.0.134 → 1.0.136

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.
@@ -5,12 +5,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const MiddlewareBody_1 = __importDefault(require("./item/MiddlewareBody"));
7
7
  const MiddlewareContext_1 = __importDefault(require("./item/MiddlewareContext"));
8
- const MiddlewareCors_1 = __importDefault(require("./item/MiddlewareCors"));
9
8
  const MiddlewareLogRequest_1 = __importDefault(require("./item/MiddlewareLogRequest"));
10
9
  const MiddlewareQueryParams_1 = __importDefault(require("./item/MiddlewareQueryParams"));
11
10
  class MiddlewareGlobals {
12
11
  config(expressApplication) {
13
- MiddlewareCors_1.default.config(expressApplication);
12
+ // MiddlewareCors.config(expressApplication);
14
13
  MiddlewareContext_1.default.config(expressApplication);
15
14
  MiddlewareBody_1.default.config(expressApplication);
16
15
  MiddlewareQueryParams_1.default.config(expressApplication);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-http",
3
- "version": "1.0.134",
3
+ "version": "1.0.136",
4
4
  "description": "Biblioteca Typescript para API NodeJS",
5
5
  "repository": "https://cabralsilva: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@github.com/cabralsilva/c2-http.git",
6
6
  "author": "Daniel Cabral <cabralconsultoriaemsoftware@gmail.com>",
@@ -29,7 +29,7 @@
29
29
  "cookie-parser": "^1.4.7",
30
30
  "cors": "^2.8.5",
31
31
  "express": "^4.19.2",
32
- "express-http-context": "^1.2.4",
32
+ "express-http-context": "1.2.4",
33
33
  "express-prom-bundle": "^8.0.0",
34
34
  "express-rest-i18n": "^1.0.1",
35
35
  "http-status": "^1.7.4",