k2hr3-api 1.0.13 → 1.0.16

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/ChangeLog +18 -0
  2. package/bin/run.sh +2 -3
  3. package/package.json +4 -4
package/ChangeLog CHANGED
@@ -1,3 +1,21 @@
1
+ k2hr3-api (1.0.16) unstable; urgency=low
2
+
3
+ * Updated imagetypevars.sh for specifying npm pkg version - #83
4
+
5
+ -- Takeshi Nakatani <ggtakec@gmail.com> Wed, 26 Apr 2023 20:55:14 +0900
6
+
7
+ k2hr3-api (1.0.15) unstable; urgency=low
8
+
9
+ * Fixed about launching node process in run.sh - #81
10
+
11
+ -- Takeshi Nakatani <ggtakec@gmail.com> Tue, 25 Apr 2023 14:35:06 +0900
12
+
13
+ k2hr3-api (1.0.14) unstable; urgency=low
14
+
15
+ * Updated dependency and Temporary audit avoidance - #79
16
+
17
+ -- Takeshi Nakatani <ggtakec@gmail.com> Mon, 24 Apr 2023 16:36:49 +0900
18
+
1
19
  k2hr3-api (1.0.13) unstable; urgency=low
2
20
 
3
21
  * Updated building/packaging scripts - #76
package/bin/run.sh CHANGED
@@ -94,7 +94,6 @@ stop_old_process()
94
94
 
95
95
  OLD_PID="$(tr -d '\n' < "${PROC_PID_FILE}")"
96
96
 
97
-
98
97
  if pgrep -f "${PRGNAME}" | grep -q "${OLD_PID}"; then
99
98
  #
100
99
  # Try to stop(HUP) process and child processes
@@ -374,9 +373,9 @@ if [ "${DEBUG_ENV_LEVEL}" -ge 4 ]; then
374
373
  fi
375
374
 
376
375
  EXIT_CODE=0
377
- if ! NODE_PATH="${NODE_PATH}" NODE_ENV="${NODE_ENV_VALUE}" NODE_DEBUG="${DEBUG_ENV_PARAM}" node "${INSPECTOR_OPT} ${TARGET_PROGRAM} ${PROG_EXTRA_OPTIONS}"; then
376
+ if ! /bin/sh -c "NODE_PATH=${NODE_PATH} NODE_ENV=${NODE_ENV_VALUE} NODE_DEBUG=${DEBUG_ENV_PARAM} node ${INSPECTOR_OPT} ${TARGET_PROGRAM} ${PROG_EXTRA_OPTIONS}"; then
378
377
  EXIT_CODE="$?"
379
- echo "[INFO] Process exited with exit code: $?"
378
+ echo "[INFO] Process exited with exit code: ${EXIT_CODE}"
380
379
  fi
381
380
 
382
381
  exit "${EXIT_CODE}"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "k2hr3-api",
3
- "version": "1.0.13",
3
+ "version": "1.0.16",
4
4
  "dependencies": {
5
5
  "@kubernetes/client-node": "^0.18.1",
6
6
  "body-parser": "^1.20.2",
@@ -9,8 +9,8 @@
9
9
  "dateformat": "^4.6.3",
10
10
  "debug": "~4.3.4",
11
11
  "express": "^4.18.2",
12
- "jose": "^4.13.1",
13
- "k2hdkc": "^1.0.4",
12
+ "jose": "^4.14.1",
13
+ "k2hdkc": "^1.0.5",
14
14
  "morgan": "~1.10.0",
15
15
  "rotating-file-stream": "^3.1.0"
16
16
  },
@@ -30,7 +30,7 @@
30
30
  "devDependencies": {
31
31
  "chai": "^4.3.7",
32
32
  "chai-http": "^4.3.0",
33
- "eslint": "^8.35.0",
33
+ "eslint": "^8.39.0",
34
34
  "mocha": "^10.2.0",
35
35
  "nyc": "^15.1.0"
36
36
  },