Skip to content

test(media): gate the package core against fetch, Blob, File, URL, self and caches - #910

Merged
JArmandoAnaya merged 1 commit into
mainfrom
fix/media-core-host-gate
Oct 12, 2026
Merged

JArmandoAnaya merged 1 commit into
mainfrom
fix/media-core-host-gate

Conversation

@JArmandoAnaya

Copy link
Copy Markdown
Contributor

Closes #852

  • frontend/media/eslint.config.js: no-restricted-globals now also covers fetch, Blob, File, URL, self and caches in the core (everything outside src/mediabunny/).
  • tests/scripts/media_core_boundary.test.mjs: a text scan over frontend/media/src, like the one ui-core has, with a fires-on-violation probe and a does-not-fire probe for the type-only BlobLike/FileLike forms.

Verified: pnpm --filter @visionset/media lint and pnpm test:scripts (164 pass).

@JArmandoAnaya
JArmandoAnaya merged commit c0f39ff into main Oct 12, 2026
31 checks passed
@JArmandoAnaya
JArmandoAnaya deleted the fix/media-core-host-gate branch October 12, 2026 01:05
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.

@visionset/media core has no gate against fetch, Blob or File

1 participant