@thzero/library_server 0.16.10 → 0.16.12

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/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@thzero/library_server",
3
3
  "type": "module",
4
- "version": "0.16.10",
4
+ "version": "0.16.12",
5
5
  "version_major": 0,
6
6
  "version_minor": 16,
7
- "version_patch": 10,
8
- "version_date": "01/02/2023",
7
+ "version_patch": 12,
8
+ "version_date": "01/06/2023",
9
9
  "description": "An opinionated library of common functionality to bootstrap an API application using MongoDb and Firebase. Currently either Fastify or Koa can be used as the web server.",
10
10
  "author": "thZero",
11
11
  "license": "MIT",
@@ -43,7 +43,7 @@ class Repository {
43
43
  }
44
44
 
45
45
  _enforceNotEmptyMultiple(clazz, method, values, names, correlationId) {
46
- const valid = true;
46
+ let valid = true;
47
47
  for (const value of values)
48
48
  valid &= String.isNullOrEmpty(value);
49
49
  if (!valid) {
@@ -83,7 +83,7 @@ class Repository {
83
83
  }
84
84
 
85
85
  _enforceNotNullMultiple(clazz, method, values, names, correlationId) {
86
- const valid = true;
86
+ let valid = true;
87
87
  for (const value of values)
88
88
  valid &= values;
89
89
  if (!valid) {
package/utility/os.js CHANGED
@@ -1,7 +1,5 @@
1
1
  import os from 'os';
2
2
 
3
- const uuidTranslator = shortUUID();
4
-
5
3
  class OsUtility {
6
4
  static get isLinux() {
7
5
  const type = os.type();