@dsh-sup/dsh-core-linux-x64 0.1.6-BETA.17 → 0.1.6-BETA.18

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 (2) hide show
  1. package/core.cjs +2 -2
  2. package/package.json +1 -1
package/core.cjs CHANGED
@@ -951,7 +951,7 @@ var require_version = __commonJS({
951
951
  var fs2 = require("node:fs");
952
952
  var path2 = require("node:path");
953
953
  function guardVersion() {
954
- if (true) return String("0.1.6-BETA.17");
954
+ if (true) return String("0.1.6-BETA.18");
955
955
  try {
956
956
  return JSON.parse(fs2.readFileSync(path2.join(__dirname, "..", "..", "package.json"), "utf8")).version || "unknown";
957
957
  } catch {
@@ -11237,7 +11237,7 @@ var require_signals = __commonJS({
11237
11237
  if (!cmd2) return false;
11238
11238
  const bin = d.config().command && d.config().command[1];
11239
11239
  if (typeof bin === "string" && bin && cmd2.includes(bin)) return true;
11240
- return pidlook.isDshCmdline(pid);
11240
+ return /(^|\s)web(\s|$)/.test(cmd2) && pidlook.isDshCmdline(pid);
11241
11241
  },
11242
11242
  /** 向进程组发信号(detached spawn 的子进程是组长);组信号失败退回单进程。平台层封装:
11243
11243
  * POSIX 组信号;Windows 无组语义则单进程信号,树语义由 killTree 提供。 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsh-sup/dsh-core-linux-x64",
3
- "version": "0.1.6-BETA.17",
3
+ "version": "0.1.6-BETA.18",
4
4
  "description": "DSH lifecycle guard core (Node launcher) for linux-x64 — requires Node >=18.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {