@kronos-integration/service-systemd 2.5.3 → 2.5.6

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/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2019-2021 by Kronos-Integration
1
+ Copyright (c) 2019-2022 by Kronos-Integration
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  [![npm](https://img.shields.io/npm/v/@kronos-integration/service-systemd.svg)](https://www.npmjs.com/package/@kronos-integration/service-systemd)
2
2
  [![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)
3
- [![minified size](https://badgen.net/bundlephobia/min/@kronos-integration/service-systemd)](https://bundlephobia.com/result?p=@kronos-integration/service-systemd)
3
+ [![Open Bundle](https://bundlejs.com/badge-light.svg)](https://bundlejs.com/?q=@kronos-integration/service-systemd)
4
4
  [![downloads](http://img.shields.io/npm/dm/@kronos-integration/service-systemd.svg?style=flat-square)](https://npmjs.org/package/@kronos-integration/service-systemd)
5
5
  [![GitHub Issues](https://img.shields.io/github/issues/Kronos-Integration/service-systemd.svg?style=flat-square)](https://github.com/Kronos-Integration/service-systemd/issues)
6
6
  [![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2FKronos-Integration%2Fservice-systemd%2Fbadge\&style=flat)](https://actions-badge.atrox.dev/Kronos-Integration/service-systemd/goto)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kronos-integration/service-systemd",
3
- "version": "2.5.3",
3
+ "version": "2.5.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -32,20 +32,20 @@
32
32
  "build": "cmake-js compile"
33
33
  },
34
34
  "dependencies": {
35
- "@kronos-integration/service": "^10.4.11",
36
- "config-expander": "^12.0.1"
35
+ "@kronos-integration/service": "^10.4.27",
36
+ "config-expander": "^12.0.12"
37
37
  },
38
38
  "devDependencies": {
39
- "ava": "^3.15.0",
40
- "c8": "^7.10.0",
41
- "cmake-js": "^6.2.1",
39
+ "ava": "^4.3.1",
40
+ "c8": "^7.12.0",
41
+ "cmake-js": "^6.3.2",
42
42
  "documentation": "^13.2.5",
43
- "execa": "^6.0.0",
44
- "node-addon-api": "^4.0.0",
45
- "semantic-release": "^18.0.1"
43
+ "execa": "^6.1.0",
44
+ "node-addon-api": "^5.0.0",
45
+ "semantic-release": "^19.0.3"
46
46
  },
47
47
  "engines": {
48
- "node": ">=16.13.1"
48
+ "node": ">=18.3.0"
49
49
  },
50
50
  "os": [
51
51
  "linux"
@@ -60,6 +60,11 @@
60
60
  "homepage": "https://github.com/Kronos-Integration/service-systemd#readme",
61
61
  "native": "${dirname}/${basename}-${os}-${arch}.node",
62
62
  "template": {
63
+ "properties": {
64
+ "ava": {
65
+ "options": "-s --timeout 2m"
66
+ }
67
+ },
63
68
  "inheritFrom": [
64
69
  "arlac77/template-arlac77-github",
65
70
  "arlac77/template-cmake",
package/src/service.mjs CHANGED
@@ -185,8 +185,8 @@ export class ServiceSystemd extends ServiceProviderMixin(
185
185
  return super._start();
186
186
  }
187
187
 
188
- stateChanged(oldState, newState) {
189
- super.stateChanged(oldState, newState);
188
+ stateChanged(origin, oldState, newState) {
189
+ super.stateChanged(origin, oldState, newState);
190
190
  switch (newState) {
191
191
  case "running":
192
192
  notify("READY=1");
Binary file