Skip to content

diff-explorer: keep diffs working after BB's File Editor loads - #16

Merged
arashout merged 1 commit into
mainfrom
ash/diff-explorer-private-monaco-env
Oct 6, 2026
Merged

arashout merged 1 commit into
mainfrom
ash/diff-explorer-private-monaco-env

Conversation

@arashout

@arashout arashout commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator
  • Keep Diff Explorer's red/green diffs working after you open a file in BB's built-in File Editor

BB's File Editor ships its own Monaco and overwrites globalThis.MonacoEnvironment, so our diff editors got its worker and never computed a diff. Our bundle now reads a private globalThis.DiffExplorerMonacoEnvironment instead (an esbuild --define).

Bumps diff-explorer to 0.1.3. After merge: tag diff-explorer/v0.1.3.

@arashout
arashout marked this pull request as ready for review October 6, 2026 18:15
@arashout
arashout merged commit 7bbcefc into main Oct 6, 2026
8 checks passed
@arashout
arashout deleted the ash/diff-explorer-private-monaco-env branch October 19, 2026 22:10
trotterdylan added a commit that referenced this pull request Nov 10, 2026
…310)

Implements [BB-278](https://linear.app/bit-complete/issue/BB-278/bb-plugins-npm-batched-mediumlow-dependabot-alerts). `plugins/review-watch/package-lock.json` is regenerated so the tree resolves:

| package | from | to | advisory |
|---|---|---|---|
| `@vitest/mocker` | 4.1.11 | 4.1.12 | [GHSA-qxg6-89mg-rqv8](https://github.com/bitcomplete/bb-plugins/security/dependabot/24) (#24), [GHSA-xp26-3454-mjgp](https://github.com/bitcomplete/bb-plugins/security/dependabot/23) (#23) |
| `hono` | 4.13.8 | 4.13.17 | [GHSA-5r4p-p66f-jhc7](https://github.com/bitcomplete/bb-plugins/security/dependabot/16) (#16) |

`@vitest/mocker` is transitive via `vitest` (whose range `^4.1.11` already allowed 4.1.12), so `vitest` moves 4.1.11 → 4.1.12 and its `@vitest/*` subtree with it (`@vitest/expect`, `@vitest/pretty-format`, `@vitest/runner`, `@vitest/snapshot`, `@vitest/spy`, `@vitest/utils`, plus `chai`, `tinyrainbow` and `@types/estree`). `hono` is a direct devDependency whose range `^4.11.9` already allowed 4.13.17. No `package.json` change was needed (no override). `vite` is unchanged at 8.3.7, already past the 8.3.3 fixed version for the alerts already trimmed from the ticket.

> **Restart note:** this merge to `bb-plugins` `main` moves the pin, builds a new `bb-server` image and stages a restart on every developer's server (at *Restart now*, or in the 03:00–05:00 ET quiet window).

## Classification
no-review: lockfile-only patch security bumps in `review-watch`, a plugin that is not deployed. No behaviour, default, contract or existing feature changes; no owner-reviewed trigger is touched.

## What changes
- `plugins/review-watch/package-lock.json` only. `package.json` is unchanged.

## Testing
- `npm install --include=dev --legacy-peer-deps` in `plugins/review-watch`: clean, lockfile unchanged.
- `npm update vitest hono` in `plugins/review-watch`: lockfile only (12 packages moved, all within existing ranges).
- `npm ls @vitest/mocker hono`: `@vitest/mocker@4.1.12` (via `vitest@4.1.12`) and `hono@4.13.17` only; `npm ls vite`: `vite@8.3.7` only.
- `npm run typecheck` in `plugins/review-watch`: pass.
- `npm test` in `plugins/review-watch`: pass (10 files, 118 tests).
- `review-watch` is in the CI matrix (`.github/workflows/plugins.yaml`), so CI runs it too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant