k2hr3-api 2.0.0 → 2.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.
- package/config/k2hr3-init.sh.templ +2 -2
- package/package.json +10 -10
|
@@ -741,9 +741,9 @@ if [ "${SCRIPTMODE}" = "r" ]; then
|
|
|
741
741
|
RESOLVE_DOMAIN=$(grep -i '^domain' /etc/resolv.conf | awk '{print $NF}')
|
|
742
742
|
fi
|
|
743
743
|
|
|
744
|
-
if [ -n "${RESOLVE_DOMAIN}" ]; then
|
|
744
|
+
if [ -n "${RESOLVE_DOMAIN}" ] && [ -n "${LOCAL_HOSTNAME}" ]; then
|
|
745
745
|
LOCAL_FULL_HOSTNAME="${LOCAL_HOSTNAME}.${RESOLVE_DOMAIN}"
|
|
746
|
-
elif [ -n "${LOCAL_DOMAIN}" ]; then
|
|
746
|
+
elif [ -n "${LOCAL_DOMAIN}" ] && [ -n "${LOCAL_HOSTNAME}" ]; then
|
|
747
747
|
LOCAL_FULL_HOSTNAME="${LOCAL_HOSTNAME}.${LOCAL_DOMAIN}"
|
|
748
748
|
else
|
|
749
749
|
LOCAL_FULL_HOSTNAME=$(hostname -f)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "k2hr3-api",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "K2HR3 REST API is K2hdkc based Resource and Roles and policy Rules",
|
|
5
5
|
"main": "dist/app.js",
|
|
6
6
|
"dependencies": {
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"dateformat": "^5.0.3",
|
|
12
12
|
"debug": "~4.4.3",
|
|
13
13
|
"express": "^5.2.1",
|
|
14
|
-
"jose": "^6.2.
|
|
15
|
-
"k2hdkc": "^2.0.
|
|
14
|
+
"jose": "^6.2.2",
|
|
15
|
+
"k2hdkc": "^2.0.4",
|
|
16
16
|
"morgan": "~1.10.1",
|
|
17
17
|
"rotating-file-stream": "^3.2.9"
|
|
18
18
|
},
|
|
@@ -39,20 +39,20 @@
|
|
|
39
39
|
"@eslint/js": "^10.0.1",
|
|
40
40
|
"@types/body-parser": "^1.19.6",
|
|
41
41
|
"@types/chai": "^5.2.3",
|
|
42
|
-
"@types/config": "^
|
|
42
|
+
"@types/config": "^4.4.0",
|
|
43
43
|
"@types/cookie-parser": "^1.4.10",
|
|
44
44
|
"@types/dateformat": "^5.0.3",
|
|
45
|
-
"@types/debug": "^4.1.
|
|
45
|
+
"@types/debug": "^4.1.13",
|
|
46
46
|
"@types/express": "^5.0.6",
|
|
47
47
|
"@types/mocha": "^10.0.10",
|
|
48
48
|
"@types/morgan": "^1.9.10",
|
|
49
|
-
"@types/node": "^25.
|
|
50
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
51
|
-
"@typescript-eslint/parser": "^8.
|
|
49
|
+
"@types/node": "^25.6.0",
|
|
50
|
+
"@typescript-eslint/eslint-plugin": "^8.59.0",
|
|
51
|
+
"@typescript-eslint/parser": "^8.59.0",
|
|
52
52
|
"chai": "^6.2.2",
|
|
53
53
|
"chai-http": "^5.1.2",
|
|
54
|
-
"eslint": "^10.
|
|
55
|
-
"globals": "^17.
|
|
54
|
+
"eslint": "^10.2.1",
|
|
55
|
+
"globals": "^17.5.0",
|
|
56
56
|
"mocha": "^11.7.5",
|
|
57
57
|
"nyc": "^18.0.0",
|
|
58
58
|
"typescript": "^5.9.3"
|