exodus-framework 2.0.709 → 2.0.711
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.
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"express.d.ts","sourceRoot":"","sources":["../../src/services/express.ts"],"names":[],"mappings":"AACA,OAAgB,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;
|
1
|
+
{"version":3,"file":"express.d.ts","sourceRoot":"","sources":["../../src/services/express.ts"],"names":[],"mappings":"AACA,OAAgB,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAElE,OAAO,sBAAsB,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAG7B,OAAO,OAAO,MAAM,gBAAgB,CAAC;AACrC,OAAO,EAAqB,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAIhD,cAAM,cAAe,SAAQ,OAAQ,YAAW,QAAQ;IACtD,OAAO,CAAC,MAAM,CAAc;IAC5B,OAAO,CAAC,UAAU,CAAS;IAErB,IAAI;IAwBV,aAAa;IAIb,YAAY,CAAC,WAAW,EAAE,aAAa,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,YAAY;IAiC3E,sBAAsB,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY;IAMtE,aAAa,CAAC,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ;IAWzC,0BAA0B,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY;IAUtF,2BAA2B,QACpB,GAAG,OACH,OAAO,OACP,QAAQ,KAEV,YAAY,mBAoBf;IAEI,YAAY,CAAC,MAAM,EAAE,MAAM;IAyBjC,cAAc,CAAC,MAAM,EAAE,MAAM;CAG9B;AAED,eAAe,cAAc,CAAC"}
|
package/lib/services/express.js
CHANGED
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
exports.default = void 0;
|
7
7
|
var _cors = _interopRequireDefault(require("cors"));
|
8
8
|
var _express = _interopRequireDefault(require("express"));
|
9
|
+
var _qs = _interopRequireDefault(require("qs"));
|
9
10
|
require("express-async-errors");
|
10
11
|
var http = _interopRequireWildcard(require("http"));
|
11
12
|
var _pinoHttp = _interopRequireDefault(require("pino-http"));
|
@@ -30,6 +31,7 @@ class ExpressService extends _service.default {
|
|
30
31
|
this.server = http.createServer(expss);
|
31
32
|
expss.use('/public', _express.default.static(_app.Core.settings.getHttp().publicPath));
|
32
33
|
expss.use(pino);
|
34
|
+
expss.set('query parser', str => _qs.default.parse(str));
|
33
35
|
expss.use(this.responseTypeMiddleware.bind(this));
|
34
36
|
expss.use(_express.default.json());
|
35
37
|
expss.use(_express.default.urlencoded({
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "exodus-framework",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.711",
|
4
4
|
"description": "Exodus Framework",
|
5
5
|
"author": "jhownpaixao",
|
6
6
|
"license": "ISC",
|
@@ -44,6 +44,7 @@
|
|
44
44
|
"pino": "^9.3.2",
|
45
45
|
"pino-http": "^10.2.0",
|
46
46
|
"pino-multi-stream": "^6.0.0",
|
47
|
+
"qs": "^6.13.0",
|
47
48
|
"redis": "^4.7.0",
|
48
49
|
"reflect-metadata": "^0.2.2",
|
49
50
|
"sequelize": "^6.37.3",
|
@@ -82,4 +83,4 @@
|
|
82
83
|
"typescript": "^5.5.4",
|
83
84
|
"vitest": "^2.0.5"
|
84
85
|
}
|
85
|
-
}
|
86
|
+
}
|