@oh-my-pi/pi-tui 15.0.0 → 15.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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [15.0.1] - 2026-05-14
6
+ ### Breaking Changes
7
+
8
+ - Increased the minimum required Bun version for the TUI package from >=1.3.7 to >=1.3.14
9
+
5
10
  ## [14.9.8] - 2026-05-12
6
11
 
7
12
  ### Added
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/pi-tui",
4
- "version": "15.0.0",
4
+ "version": "15.0.1",
5
5
  "description": "Terminal User Interface library with differential rendering for efficient text-based applications",
6
6
  "homepage": "https://github.com/can1357/oh-my-pi",
7
7
  "author": "Can Boluk",
@@ -37,8 +37,8 @@
37
37
  "fmt": "biome format --write ."
38
38
  },
39
39
  "dependencies": {
40
- "@oh-my-pi/pi-natives": "15.0.0",
41
- "@oh-my-pi/pi-utils": "15.0.0",
40
+ "@oh-my-pi/pi-natives": "15.0.1",
41
+ "@oh-my-pi/pi-utils": "15.0.1",
42
42
  "lru-cache": "11.3.6",
43
43
  "marked": "^18.0.3"
44
44
  },
@@ -47,7 +47,7 @@
47
47
  "@xterm/headless": "^6.0.0"
48
48
  },
49
49
  "engines": {
50
- "bun": ">=1.3.7"
50
+ "bun": ">=1.3.14"
51
51
  },
52
52
  "files": [
53
53
  "src",
@@ -48,13 +48,13 @@ export function clearRenderCache(): void {
48
48
 
49
49
  // Stable numeric IDs for structural theme/style objects (no ID field on type).
50
50
  // WeakMap so GC can collect orphaned themes/styles without a leak.
51
- const _objectIds = new WeakMap<object, number>();
52
- let _nextObjectId = 0;
51
+ const objectIds = new WeakMap<object, number>();
52
+ let nextObjectId = 0;
53
53
  function objectId(o: object): number {
54
- let id = _objectIds.get(o);
54
+ let id = objectIds.get(o);
55
55
  if (id === undefined) {
56
- id = _nextObjectId++;
57
- _objectIds.set(o, id);
56
+ id = nextObjectId++;
57
+ objectIds.set(o, id);
58
58
  }
59
59
  return id;
60
60
  }