@markuplint/cli-utils 5.0.0-rc.2 → 5.0.0-rc.5

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/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [5.0.0-rc.5](https://github.com/markuplint/markuplint/compare/v5.0.0-rc.4...v5.0.0-rc.5) (2026-08-28)
7
+
8
+ **Note:** Version bump only for package @markuplint/cli-utils
9
+
10
+ # [5.0.0-rc.4](https://github.com/markuplint/markuplint/compare/v5.0.0-rc.3...v5.0.0-rc.4) (2026-04-19)
11
+
12
+ **Note:** Version bump only for package @markuplint/cli-utils
13
+
14
+ # [5.0.0-rc.3](https://github.com/markuplint/markuplint/compare/v5.0.0-rc.2...v5.0.0-rc.3) (2026-04-19)
15
+
16
+ **Note:** Version bump only for package @markuplint/cli-utils
17
+
6
18
  # [5.0.0-rc.2](https://github.com/markuplint/markuplint/compare/v5.0.0-rc.1...v5.0.0-rc.2) (2026-04-15)
7
19
 
8
20
  **Note:** Version bump only for package @markuplint/cli-utils
package/lib/logo.d.ts CHANGED
@@ -1,2 +1 @@
1
- /** The markuplint logo rendered as a styled checkmark for terminal display. */
2
1
  export declare const logo: string;
package/lib/logo.js CHANGED
@@ -1,4 +1,3 @@
1
1
  import { xterm } from './color.js';
2
2
  import { PRIMARY_COLOR } from './const.js';
3
- /** The markuplint logo rendered as a styled checkmark for terminal display. */
4
3
  export const logo = `/${xterm(PRIMARY_COLOR)('✔')}\\`;
package/lib/prompt.d.ts CHANGED
@@ -1,8 +1,3 @@
1
- /**
2
- * Defines a question for single or multi-select prompts.
3
- *
4
- * @template T - The type of the value associated with each choice
5
- */
6
1
  type SelectQuestion<T> = {
7
2
  readonly message: string;
8
3
  readonly choices: readonly {
@@ -50,7 +50,7 @@ export function unifiedDiff(filePath, original, fixed) {
50
50
  function computeLineEdits(a, b) {
51
51
  const n = a.length;
52
52
  const m = b.length;
53
- // Build LCS table — dp[i][j] = LCS length of a[0..i-1] and b[0..j-1]
53
+ // Invariant: dp[i][j] = LCS length of a[0..i-1] and b[0..j-1]
54
54
  const dp = [];
55
55
  for (let i = 0; i <= n; i++) {
56
56
  const row = [];
@@ -69,7 +69,6 @@ function computeLineEdits(a, b) {
69
69
  }
70
70
  }
71
71
  }
72
- // Backtrack to produce edit script
73
72
  const edits = [];
74
73
  let i = n;
75
74
  let j = m;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/cli-utils",
3
- "version": "5.0.0-rc.2",
3
+ "version": "5.0.0-rc.5",
4
4
  "description": "Utilities for CLI of Markuplint",
5
5
  "repository": {
6
6
  "type": "git",
@@ -10,7 +10,7 @@
10
10
  "author": "Yusuke Hirao <yusukehirao@me.com>",
11
11
  "license": "MIT",
12
12
  "engines": {
13
- "node": ">=22"
13
+ "node": ">=24"
14
14
  },
15
15
  "type": "module",
16
16
  "exports": {
@@ -35,5 +35,5 @@
35
35
  "picocolors": "1.1.1",
36
36
  "strip-ansi": "7.2.0"
37
37
  },
38
- "gitHead": "e43763858d9234c417053becc73dbd088c1e7ea6"
38
+ "gitHead": "8d87463af2ff3f1b83fb28da20f1819362cf3555"
39
39
  }