gh-glance 0.11.1 → 0.11.2

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
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.11.2] - 2026-08-31
11
+
12
+ ### Fixed
13
+
14
+ - **Unchanged Security checks no longer turn a known count red.** A conditional
15
+ alert-source response with no staged ETag write now contributes an empty
16
+ cache update instead of failing with `part.stagedEntities is not iterable`.
17
+
10
18
  ## [0.11.1] - 2026-08-31
11
19
 
12
20
  ### Fixed
@@ -787,7 +795,8 @@ engineering, security, QA and UX. What follows is what changed as a result.
787
795
  - The `main` field from `package.json`. It advertised the file as importable,
788
796
  but importing it took over the terminal or exited the host process.
789
797
 
790
- [Unreleased]: https://github.com/juan294/gh-glance/compare/v0.11.1...HEAD
798
+ [Unreleased]: https://github.com/juan294/gh-glance/compare/v0.11.2...HEAD
799
+ [0.11.2]: https://github.com/juan294/gh-glance/compare/v0.11.1...v0.11.2
791
800
  [0.11.1]: https://github.com/juan294/gh-glance/compare/v0.11.0...v0.11.1
792
801
  [0.11.0]: https://github.com/juan294/gh-glance/compare/v0.10.0...v0.11.0
793
802
  [0.10.0]: https://github.com/juan294/gh-glance/compare/v0.9.1...v0.10.0
package/index.mjs CHANGED
@@ -3515,7 +3515,10 @@ async function fetchAlertSource(source, signal, now, {
3515
3515
  completedCalls,
3516
3516
  verdict: "ok",
3517
3517
  allNotModified: batch.allNotModified,
3518
- stagedEntities: batch.stagedEntities,
3518
+ // Every other fetchAlertSource path returns a Map. An all-304 batch has
3519
+ // no staged writes, so conditionalBatchResult returns null; normalize it
3520
+ // here before fetchSecurity merges the independently fetched sources.
3521
+ stagedEntities: batch.stagedEntities ?? new Map(),
3519
3522
  observations,
3520
3523
  parse: () => {
3521
3524
  const rows = mergeAlertRows(groups);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gh-glance",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "description": "A live-refreshing GitHub dashboard for your terminal: Actions, Issues, Pull Requests, and Security alerts in one narrow pane",
5
5
  "type": "module",
6
6
  "bin": {