tego 1.3.54-alpha.7 → 1.3.54-alpha.8

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/lib/utils.js CHANGED
@@ -212,7 +212,7 @@ function convertEnvToSettings(flatEnv) {
212
212
  };
213
213
  for (const key in flatEnv) {
214
214
  const value = flatEnv[key];
215
- if (value === void 0) continue;
215
+ if (value === void 0 || value === "") continue;
216
216
  if (key.startsWith("LOGGER_")) {
217
217
  const subKey = key.replace("LOGGER_", "").toLowerCase();
218
218
  if (subKey === "transport") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tego",
3
- "version": "1.3.54-alpha.7",
3
+ "version": "1.3.54-alpha.8",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "tego",
@@ -49,21 +49,21 @@
49
49
  "umzug": "3.8.2",
50
50
  "winston": "3.17.0",
51
51
  "winston-daily-rotate-file": "^5.0.0",
52
- "@tachybase/acl": "1.3.54-alpha.7",
53
- "@tachybase/actions": "1.3.54-alpha.7",
54
- "@tachybase/cache": "1.3.54-alpha.7",
55
- "@tachybase/auth": "1.3.54-alpha.7",
56
- "@tachybase/database": "1.3.54-alpha.7",
57
- "@tachybase/data-source": "1.3.54-alpha.7",
58
- "@tachybase/evaluators": "1.3.54-alpha.7",
59
- "@tachybase/globals": "1.3.54-alpha.7",
60
- "@tachybase/loader": "1.3.54-alpha.7",
61
- "@tachybase/logger": "1.3.54-alpha.7",
62
- "@tachybase/resourcer": "1.3.54-alpha.7",
63
- "@tego/core": "1.3.54-alpha.7",
64
- "@tachybase/schema": "1.3.54-alpha.7",
65
- "@tachybase/utils": "1.3.54-alpha.7",
66
- "@tego/server": "1.3.54-alpha.7"
52
+ "@tachybase/acl": "1.3.54-alpha.8",
53
+ "@tachybase/actions": "1.3.54-alpha.8",
54
+ "@tachybase/auth": "1.3.54-alpha.8",
55
+ "@tachybase/cache": "1.3.54-alpha.8",
56
+ "@tachybase/data-source": "1.3.54-alpha.8",
57
+ "@tachybase/database": "1.3.54-alpha.8",
58
+ "@tachybase/evaluators": "1.3.54-alpha.8",
59
+ "@tachybase/globals": "1.3.54-alpha.8",
60
+ "@tachybase/loader": "1.3.54-alpha.8",
61
+ "@tachybase/resourcer": "1.3.54-alpha.8",
62
+ "@tachybase/schema": "1.3.54-alpha.8",
63
+ "@tachybase/logger": "1.3.54-alpha.8",
64
+ "@tachybase/utils": "1.3.54-alpha.8",
65
+ "@tego/core": "1.3.54-alpha.8",
66
+ "@tego/server": "1.3.54-alpha.8"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@types/lodash": "4.17.20",
package/src/utils.ts CHANGED
@@ -224,7 +224,7 @@ export function convertEnvToSettings(flatEnv: Record<string, string | undefined>
224
224
  // LOGGER_
225
225
  for (const key in flatEnv) {
226
226
  const value = flatEnv[key];
227
- if (value === undefined) continue;
227
+ if (value === undefined || value === '') continue;
228
228
 
229
229
  if (key.startsWith('LOGGER_')) {
230
230
  const subKey = key.replace('LOGGER_', '').toLowerCase();