Pre-check for core RC.1 (CARD-18 T7 / CARD-11). I ran the plugin suites against a tarball of the core freeze commit (fea87b3):
test: 60/60 passed.
test:deno and test:bun: passed.
typecheck: one error. packages/metrics/test/metrics.test.ts:91 reads headers['content-type'] as a string, but core RC.1 widens header values to string | string[]. That widening is documented as Breaking in core #113.
The fix narrows the value with String(), which typechecks against both 26.9.0-beta.2 and the candidate. Only test code changes; plugin source is untouched.
The official run will happen against the staged RC.1 (Verdaccio stg) after the tag.
Pre-check for core RC.1 (CARD-18 T7 / CARD-11). I ran the plugin suites against a tarball of the core freeze commit (`fea87b3`):
- `test`: 60/60 passed.
- `test:deno` and `test:bun`: passed.
- `typecheck`: one error. `packages/metrics/test/metrics.test.ts:91` reads `headers['content-type']` as a `string`, but core RC.1 widens header values to `string | string[]`. That widening is documented as Breaking in core #113.
The fix narrows the value with `String()`, which typechecks against both `26.9.0-beta.2` and the candidate. Only test code changes; plugin source is untouched.
The official run will happen against the staged RC.1 (Verdaccio `stg`) after the tag.
Core RC.1 widens response header values to string | string[] (core
#113, a documented Breaking change for readers). The metrics test read
the transformer's content-type as a string and fails to typecheck
against the RC.1 candidate. Narrowing with String() also typechecks on
26.9.0-beta.2. Plugin source is unaffected.
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
chrnx
merged commit cf7d30d8c2 into develop2026-10-30 15:55:12 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Pre-check for core RC.1 (CARD-18 T7 / CARD-11). I ran the plugin suites against a tarball of the core freeze commit (
fea87b3):test: 60/60 passed.test:denoandtest:bun: passed.typecheck: one error.packages/metrics/test/metrics.test.ts:91readsheaders['content-type']as astring, but core RC.1 widens header values tostring | string[]. That widening is documented as Breaking in core #113.The fix narrows the value with
String(), which typechecks against both26.9.0-beta.2and the candidate. Only test code changes; plugin source is untouched.The official run will happen against the staged RC.1 (Verdaccio
stg) after the tag.