@nan0web/core 3.5.0 → 3.5.1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@nan0web/core",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "description": "Core application framework for nan0web with database handling, internationalization, and interface connectivity",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@nan0web/db": "3.6.0",
42
- "@nan0web/i18n": "3.4.0",
42
+ "@nan0web/i18n": "3.4.1",
43
43
  "@nan0web/types": "3.4.0"
44
44
  },
45
45
  "knip": {
@@ -93,9 +93,9 @@ export default class NaN0WebConfig extends Model {
93
93
  constructor(data = {}, options = {}) {
94
94
  super(data, options)
95
95
  /** @type {string} Package or workspace name */
96
- this.title
96
+ this.title = this.title || /** @type {any} */ (data).name || this.appName || ''
97
97
  /** @type {string} Project name */
98
- this.appName
98
+ this.appName = this.appName || /** @type {any} */ (data).name || this.title || ''
99
99
  /** @type {string} Data Source Name (folder or connection string) */
100
100
  this.dsn
101
101
  /** @type {string} Default locale */