badmfck-api-server 1.8.3 → 1.8.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -51,7 +51,7 @@ async function Initializer(services) {
51
51
  exports.Initializer = Initializer;
52
52
  class APIService extends BaseService_1.BaseService {
53
53
  static nextLogID = 0;
54
- version = "1.8.3";
54
+ version = "1.8.4";
55
55
  options;
56
56
  monitor;
57
57
  monitorIndexFile;
@@ -108,7 +108,6 @@ class APIService extends BaseService_1.BaseService {
108
108
  useTempFiles: true,
109
109
  uriDecodeFileNames: true,
110
110
  tempFileDir: this.options.fileTempDir,
111
- safeFileNames: true,
112
111
  abortOnLimit: true
113
112
  }));
114
113
  app.use(async (err, req, resp, next) => {
@@ -1,4 +1,4 @@
1
- import { FileArray, UploadedFile } from "express-fileupload";
1
+ import { FileArray } from "express-fileupload";
2
2
  export interface TransferPacketVO<T> {
3
3
  data?: T | null;
4
4
  error?: IError | null;
@@ -26,7 +26,7 @@ export interface HTTPRequestVO<T = any> {
26
26
  endpoint: string;
27
27
  interceptorResult?: TransferPacketVO<any>;
28
28
  precheck?: TransferPacketVO<any> | null;
29
- files: FileArray | UploadedFile | null | undefined;
29
+ files: FileArray | null | undefined;
30
30
  }
31
31
  export interface IError {
32
32
  code: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "badmfck-api-server",
3
- "version": "1.8.3",
3
+ "version": "1.8.4",
4
4
  "description": "Simple API http server based on express",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",