badmfck-api-server 3.9.8 → 3.9.81

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.
@@ -93,7 +93,7 @@ async function Initializer(services) {
93
93
  }
94
94
  exports.Initializer = Initializer;
95
95
  class APIService extends BaseService_1.BaseService {
96
- version = "3.9.8";
96
+ version = "3.9.81";
97
97
  options;
98
98
  monitor = null;
99
99
  started = new Date();
@@ -14,8 +14,8 @@ class UID {
14
14
  + ""
15
15
  + Math.round(Math.random() * 1000)).toString(16), 'hex').toString('base64');
16
16
  uid = uid.replaceAll("=", "");
17
- uid = uid.replaceAll("+", ".");
18
- uid = uid.replaceAll("/", "_");
17
+ uid = uid.replaceAll("+", "pL");
18
+ uid = uid.replaceAll("/", "sl");
19
19
  return uid;
20
20
  }
21
21
  static generateRandomNumberBase(count) {
@@ -282,7 +282,7 @@ class Validator {
282
282
  this.filterStructure(structure[0], i);
283
283
  return;
284
284
  }
285
- for (let key in object) {
285
+ for (let key of Object.keys(object)) {
286
286
  if (!(key in structure)) {
287
287
  delete object[key];
288
288
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "badmfck-api-server",
3
- "version": "3.9.8",
3
+ "version": "3.9.81",
4
4
  "description": "Simple API http server based on express",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",