@iobroker/legacy-testing 1.0.7 → 1.0.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.
Files changed (3) hide show
  1. package/README.md +3 -0
  2. package/package.json +1 -1
  3. package/setup.js +2 -7
package/README.md CHANGED
@@ -14,6 +14,9 @@ Set process.env.JS_CONTROLLER_VERSION to version e.g. `5.0.5-alpha.0-20230617-46
14
14
 
15
15
  ## Changelog
16
16
  <!-- ### **WORK IN PROGRESS** -->
17
+ ### 1.0.8 (2023-12-19)
18
+ * (foxriver76) use hardcoded appName instead of inference with a heuristic approach
19
+
17
20
  ### 1.0.7 (2023-12-19)
18
21
  * (foxriver76) allow re-initialization after config change
19
22
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.7",
2
+ "version": "1.0.8",
3
3
  "name": "@iobroker/legacy-testing",
4
4
  "main": "setup.js",
5
5
  "files": [
package/setup.js CHANGED
@@ -37,13 +37,8 @@ function initialize() {
37
37
  pkg.main = pkg.main || 'main.js';
38
38
  }
39
39
 
40
- function getAppName() {
41
- const parts = rootDir.replace(/\\/g, '/').split('/');
42
- parts.pop();
43
- return parts.pop().split('.')[0];
44
- }
45
-
46
- const appName = getAppName().toLowerCase();
40
+ /** Lowercase application name */
41
+ const appName = 'iobroker';
47
42
 
48
43
  function loadJSONLDB() {
49
44
  if (!JSONLDB) {