@kronos-integration/service-mqtt 3.3.44 → 4.0.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.
@@ -19,11 +19,10 @@ jobs:
19
19
  os:
20
20
  - ubuntu-latest
21
21
  node-version:
22
- - 22.21.0
23
- - 24.10.0
22
+ - 24.11.1
24
23
  steps:
25
24
  - name: checkout
26
- uses: actions/checkout@v5.0.0
25
+ uses: actions/checkout@v6.0.0
27
26
  - name: Start Mosquitto
28
27
  uses: namoshek/mosquitto-github-action@v1
29
28
  with:
@@ -35,8 +34,6 @@ jobs:
35
34
  uses: actions/setup-node@v6.0.0
36
35
  with:
37
36
  node-version: ${{ matrix.node-version }}
38
- cache: npm
39
- cache-dependency-path: package-lock.json
40
37
  - name: install
41
38
  run: npm ci
42
39
  - name: test and coverage
@@ -60,20 +57,17 @@ jobs:
60
57
  id-token: write
61
58
  steps:
62
59
  - name: checkout
63
- uses: actions/checkout@v5.0.0
60
+ uses: actions/checkout@v6.0.0
64
61
  - name: prepare node
65
62
  uses: actions/setup-node@v6.0.0
66
63
  with:
67
- node-version: 24.10.0
68
- cache: npm
69
- cache-dependency-path: package-lock.json
64
+ node-version: 24.11.1
70
65
  - name: install
71
66
  run: npm ci
72
67
  - name: release
73
68
  run: npx semantic-release
74
69
  env:
75
70
  CI: "true"
76
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
77
71
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78
72
  finish:
79
73
  needs:
@@ -12,7 +12,7 @@ jobs:
12
12
  runs-on: ubuntu-latest
13
13
  steps:
14
14
  - name: checkout
15
- uses: actions/checkout@v5.0.0
15
+ uses: actions/checkout@v6.0.0
16
16
  - name: git checkout
17
17
  run: git checkout
18
18
  if: ${{ github.event_name == 'pull_request' }}
@@ -23,8 +23,7 @@ jobs:
23
23
  - name: prepare node
24
24
  uses: actions/setup-node@v6.0.0
25
25
  with:
26
- node-version: 22.21.0
27
- cache: npm
26
+ node-version: 24.11.1
28
27
  - name: install
29
28
  run: npm ci
30
29
  - name: perform CodeQL analysis
@@ -8,19 +8,13 @@ on:
8
8
  jobs:
9
9
  update_package_lock:
10
10
  runs-on: ubuntu-latest
11
- strategy:
12
- matrix:
13
- node-version:
14
- - 22.21.0
15
- browser:
16
- - chrome
17
11
  steps:
18
12
  - name: checkout
19
- uses: actions/checkout@v5.0.0
13
+ uses: actions/checkout@v6.0.0
20
14
  - name: prepare node
21
15
  uses: actions/setup-node@v6.0.0
22
16
  with:
23
- node-version: ${{ matrix.node-version }}
17
+ node-version: 24.11.1
24
18
  - name: remove lock
25
19
  run: rm package-lock.json
26
20
  - name: install playwright
@@ -28,7 +22,7 @@ jobs:
28
22
  - name: test
29
23
  run: npm install-test
30
24
  env:
31
- BROWSER: ${{ matrix.browser }}
25
+ BROWSER: chrome
32
26
  - name: create pull request
33
27
  uses: gr2m/create-or-update-pull-request-action@v1.10.1
34
28
  env:
@@ -10,11 +10,11 @@ jobs:
10
10
  runs-on: ubuntu-latest
11
11
  steps:
12
12
  - name: checkout
13
- uses: actions/checkout@v5.0.0
13
+ uses: actions/checkout@v6.0.0
14
14
  - name: prepare node
15
15
  uses: actions/setup-node@v6.0.0
16
16
  with:
17
- node-version: 22.21.0
17
+ node-version: 24.11.1
18
18
  - name: install
19
19
  run: npm ci
20
20
  - name: run docs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kronos-integration/service-mqtt",
3
- "version": "3.3.44",
3
+ "version": "4.0.1",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -33,18 +33,18 @@
33
33
  "lint:docs": "documentation lint ./src/**/*.mjs"
34
34
  },
35
35
  "dependencies": {
36
- "@kronos-integration/service": "^13.2.40",
36
+ "@kronos-integration/service": "^14.0.0",
37
37
  "mqtt": "^5.14.1",
38
- "pacc": "^4.40.3"
38
+ "pacc": "^4.41.1"
39
39
  },
40
40
  "devDependencies": {
41
41
  "ava": "^6.4.1",
42
42
  "c8": "^10.1.3",
43
43
  "documentation": "^14.0.3",
44
- "semantic-release": "^25.0.1"
44
+ "semantic-release": "^25.0.2"
45
45
  },
46
46
  "engines": {
47
- "node": ">=22.20.0"
47
+ "node": ">=24.10.0"
48
48
  },
49
49
  "repository": {
50
50
  "type": "git",
@@ -55,5 +55,6 @@
55
55
  "arlac77/template-arlac77-github",
56
56
  "arlac77/template-kronos-component"
57
57
  ]
58
- }
58
+ },
59
+ "packageManager": "npm@11.6.3+sha512.4085a763162e0e3acd19a4e9d23ad3aa0978e501ccf947dd7233c12a689ae0bb0190763c4ef12366990056b34eec438903ffed38fde4fbd722a17c2a7407ee92"
59
60
  }
@@ -39,6 +39,7 @@ export class ServiceMQTT extends Service {
39
39
  keepalive: {
40
40
  ...integer_attribute_writable,
41
41
  default: 60,
42
+ needsRestart: true,
42
43
  isConnectionOption: true
43
44
  },
44
45
  clean: { ...boolean_attribute_writable_false, isConnectionOption: true },