@linxin666/dsh-client-ui-task-board 0.4.17 → 0.4.19

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/README.i18n.yaml CHANGED
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # node scripts/verify-docs.mjs --write <dir>
5
- README.md: 24524734f0ae12aa61494934941b1acbc52ec251
6
- README.zh.md: a556dbb5c33c3b7ada78f9da0007338990aac4b4
5
+ README.md: 0d4ca3e4c68aa190534ef528b7d5091440348d8a
6
+ README.zh.md: 57eda01abdd79a46a29cd8943e3c1a8cceb33011
package/README.md CHANGED
@@ -5,7 +5,7 @@ English | [中文](README.zh.md)
5
5
  <p align="center">
6
6
  <img src="https://img.shields.io/npm/v/@linxin666/dsh-task-board?style=flat-square" alt="Version">
7
7
  &nbsp;
8
- <img src="https://img.shields.io/badge/DSH-%3E%3D0.2.2--rc.2-4c6ef5?style=flat-square&amp;labelColor=454a54" alt="DSH">
8
+ <img src="https://img.shields.io/badge/DSH-%3E%3D0.2.2--rc.3-4c6ef5?style=flat-square&amp;labelColor=454a54" alt="DSH">
9
9
  &nbsp;
10
10
  <img src="https://img.shields.io/badge/license-Apache--2.0-blue?style=flat-square" alt="License">
11
11
  </p>
package/README.zh.md CHANGED
@@ -5,7 +5,7 @@
5
5
  <p align="center">
6
6
  <img src="https://img.shields.io/npm/v/@linxin666/dsh-task-board?style=flat-square" alt="Version">
7
7
  &nbsp;
8
- <img src="https://img.shields.io/badge/DSH-%3E%3D0.2.2--rc.2-4c6ef5?style=flat-square&amp;labelColor=454a54" alt="DSH">
8
+ <img src="https://img.shields.io/badge/DSH-%3E%3D0.2.2--rc.3-4c6ef5?style=flat-square&amp;labelColor=454a54" alt="DSH">
9
9
  &nbsp;
10
10
  <img src="https://img.shields.io/badge/license-Apache--2.0-blue?style=flat-square" alt="License">
11
11
  </p>
package/lib/client.js CHANGED
@@ -2755,7 +2755,7 @@ window.__ModuleLoader__.load({
2755
2755
  */
2756
2756
  const SENSITIVE_PATTERNS = [
2757
2757
  /-----BEGIN [A-Z ]*PRIVATE KEY-----[\s\S]*?-----END [A-Z ]*PRIVATE KEY-----/g,
2758
- /Bearer\s+[A-Za-z0-9._~+\/=:-]{8,}/gi,
2758
+ /Bearer\s+[A-Za-z0-9._~+/=:-]{8,}/gi,
2759
2759
  /sk-[A-Za-z0-9_-]{8,}/g,
2760
2760
  /ghp_[A-Za-z0-9]{20,}/g,
2761
2761
  /glpat-[A-Za-z0-9_-]{15,}/g,
@@ -2818,13 +2818,13 @@ window.__ModuleLoader__.load({
2818
2818
  });
2819
2819
  if (typeof value !== "object" || value === null || Array.isArray(value)) return bad("invalid-freeze", "冻结快照必须是 goal/progress/next 字符串对象");
2820
2820
  const record = value;
2821
- const allowed = [
2821
+ const allowed = /* @__PURE__ */ new Set([
2822
2822
  "goal",
2823
2823
  "progress",
2824
2824
  "next",
2825
2825
  ...extraKeys
2826
- ];
2827
- if (!Object.keys(record).every((key) => allowed.includes(key))) return bad("invalid-freeze", "冻结快照包含未知字段");
2826
+ ]);
2827
+ if (!Object.keys(record).every((key) => allowed.has(key))) return bad("invalid-freeze", "冻结快照包含未知字段");
2828
2828
  for (const key of SECTION_ORDER) if (typeof record[key] !== "string") return bad("invalid-freeze", "冻结快照字段 " + SECTION_NAMES[key] + " 必须是字符串");
2829
2829
  for (const key of SECTION_ORDER) if (hasSlashCommandLines(record[key])) return bad("dsh-command-line", "冻结文本的" + SECTION_NAMES[key] + "包含以 / 开头的命令行,整体拒绝");
2830
2830
  let redacted = false;
@@ -11362,7 +11362,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
11362
11362
  });
11363
11363
  });
11364
11364
  /** Settled columns whose cards group by recency and fold the oldest group. */
11365
- const GROUPED_COLUMNS = ["done", "failed"];
11365
+ const GROUPED_COLUMNS = /* @__PURE__ */ new Set(["done", "failed"]);
11366
11366
  /** Column key of the archive view in the fold-open set. */
11367
11367
  const ARCHIVE_COLUMN = "archived";
11368
11368
  /** Board component; subscribes to the controller snapshot. */
@@ -11505,7 +11505,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
11505
11505
  };
11506
11506
  /** Every column and the archive first split by provider-owned source. */
11507
11507
  const renderSourceGroups = (view, tasks, compact, archived) => {
11508
- const recency = archived || GROUPED_COLUMNS.includes(view);
11508
+ const recency = archived || GROUPED_COLUMNS.has(view);
11509
11509
  return groupTasksBySource(tasks, snapshot.grouping ?? []).map((bucket) => {
11510
11510
  const foldKey = sourceGroupFoldKey(view, bucket.id);
11511
11511
  const folded = isSourceGroupFolded(sourceFolds, view, bucket.id, searchActive);
@@ -14024,7 +14024,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
14024
14024
  /** The building package's version, when the bundle carries it. */
14025
14025
  function bakedVersion() {
14026
14026
  try {
14027
- return "0.4.17";
14027
+ return "0.4.19";
14028
14028
  } catch {
14029
14029
  return;
14030
14030
  }