Skip to content

chore(deps): bump es-module-lexer to 3 - #471

Merged
allisonmahmood merged 1 commit into
mainfrom
deps/es-module-lexer-3
Oct 2, 2026
Merged

allisonmahmood merged 1 commit into
mainfrom
deps/es-module-lexer-3

Conversation

@allisonmahmood

@allisonmahmood allisonmahmood commented Oct 2, 2026 •

Copy link
Copy Markdown
Owner

es-module-lexer 3 replaces the full build's result records with tagged unions. Our only caller is the tier 2 execution loader, which refuses server bundles that import anything other than import.meta.

The loader imports the minimal/js entry, which v3 keeps with the v2 result shape (d === -2 still marks import.meta), so the code doesn't change. Checked by hand against the v3 build: import.meta and closed modules are accepted; static, side-effect, dynamic and export * imports are refused, as before. The execution suite passes.

Made by Claude Opus 5.5 via Claude Code; reviewed by GPT 6.1 Sol via codex.

@github-actions github-actions Bot added the size:s Under 100 changed lines label Oct 2, 2026
@allisonmahmood
allisonmahmood force-pushed the deps/es-module-lexer-3 branch from 6025de4 to fc9eb97 Compare October 2, 2026 12:25
@allisonmahmood
allisonmahmood force-pushed the deps/parse5-8 branch 2 times, most recently from 5f9bfdf to a62b4eb Compare October 2, 2026 13:46
Base automatically changed from deps/parse5-8 to main October 2, 2026 14:00
The execution loader imports the minimal asm.js entry, which v3 keeps
with the v2 result shape, so its closed-module check (no imports other
than import.meta) reads the same fields and needs no change.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@allisonmahmood
allisonmahmood force-pushed the deps/es-module-lexer-3 branch from fc9eb97 to e228834 Compare October 2, 2026 14:00
@allisonmahmood
allisonmahmood merged commit 590e76e into main Oct 2, 2026
10 checks passed
@allisonmahmood
allisonmahmood deleted the deps/es-module-lexer-3 branch October 2, 2026 14:15
allisonmahmood added a commit that referenced this pull request Oct 15, 2026
A pull request that touches only `packages/execution`, `apps/infra`, the
dev `scenarios/`, `t3.json` or `favicon.svg` gets no area label, because
`.github/labeler.yml` names none of them (#471, #531 and #532 went out
with no area or only `area:docs`). Triage reads the matching table in
`docs/agents/triage-labels.md`, which had the same gaps. Nothing
enforced the "change both together" note at the top of the labeler
config, so the next package would slip through the same way.

## What changed

- `packages/execution/**` and `apps/infra/**` join `area:server`.
Execution is part of the Runtime context and infra is the hosting side.
- `scenarios/**`, `t3.json` and `favicon.svg` join `area:ci`. These are
the seeds `pnpm dev up` builds environments from, plus T3 Code's project
config and icon.
- The triage table's `area:server` and `area:ci` rows now match the
globs line for line. The whole table is rewrapped because prettier pads
its columns.
- `scripts/labeler.test.ts`, which runs in `pnpm test`, reads the
labeler config's `area:*` globs. It matches each directory git lists
under `apps/` and `packages/` with minimatch and `dot: true`, the way
actions/labeler v7 does, and fails naming any directory with no area. It
probes each directory with `<dir>/package.json`: #471 touched only that
and the lockfile, and a Markdown probe would always match `area:docs`.
`minimatch` and `yaml` become root devDependencies; both were already in
the lockfile.

## What I checked by hand

The test, against deliberately broken configs:

| Change | Result |
| --- | --- |
| None | passes |
| Delete the `packages/execution/**` glob | fails: `expected [
'packages/execution' ] to deeply equal []` |
| Delete the `apps/infra/**` glob | fails: `[ 'apps/infra' ]` |
| Rename `area:server` to `server` | fails, naming its 15 directories |
| Add an untracked, unignored `packages/zz-scratch/package.json` |
fails: `[ 'packages/zz-scratch' ]` |
| Add an untracked `packages/core/zz-café.txt` (git quotes non-ASCII
paths unless `-z`) | passes |

I also ran actions/labeler's own code (`getLabelConfigs` and
`checkMatchConfigs` with `dot: true`, from its source at the SHA pinned
in `pr-labels.yml`) over `main`'s config and this branch's:

| Changed files | `main` | this branch |
| --- | --- | --- |
| `scenarios/team/scenario.json` | none | `area:ci` |
| `scenarios/brightline/patches/kudos/index.html` | none | `area:ci` |
| `t3.json` | none | `area:ci` |
| `favicon.svg` | none | `area:ci` |
| `packages/execution/src/index.ts` | none | `area:server` |
| `packages/execution/package.json` + `pnpm-lock.yaml` | none |
`area:server` |
| `apps/infra/src/index.ts` | none | `area:server` |
| `pnpm-lock.yaml` alone | none | none (as the table says) |

The label workflow runs on `pull_request_target` and reads `labeler.yml`
from `main`, so this PR's own labels come from the old config. The new
globs apply to PRs opened after this merges.

## Hit every surface

Applied: the labeler config and triage table pair. They agree on every
area changed here. Did not apply: the wire contract, CLI, dev loop (no
runner or seed change), vocabulary, migrations, company resources,
served pages, reverse states and repo layout.

Closes #498

Made by Claude Opus 5.5 in Claude Code, running in T3 Code.

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:s Under 100 changed lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant