Skip to content

fix: lint-clean hardening and allow webcam Permissions-Policy - #117

Merged
veillette merged 1 commit into
mainfrom
fix/hardening-lint
Aug 12, 2026
Merged

fix: lint-clean hardening and allow webcam Permissions-Policy#117
veillette merged 1 commit into
mainfrom
fix/hardening-lint

Conversation

@veillette

Copy link
Copy Markdown
Collaborator

Summary

  • Screenshot helper used template locals this sim does not declare (svg, density, publicDir, THEME_BG).
  • vite.config.ts had unused INLINE_LIMIT_BYTES (no single-file mode) and mis-indented manifest keys — both failed biome on chore: retrofit template hardening (security, PWA, overrides) #115.
  • Allow camera=(self) / microphone=(self) so the webcam capture path is not blocked by the new Permissions-Policy.

Test plan

  • npm run lint && npm run check && npm run build
  • npm test (61 passed)

Made with Cursor

Screenshot helper used template locals this sim does not declare, vite
config had unused INLINE_LIMIT_BYTES and broken indent, and camera=()
would have blocked TrackLab's webcam.
Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursorBot commented Aug 12, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@veillette
veillette merged commit 27154df into mainAug 12, 2026
7 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@veillette
veillette deleted the fix/hardening-lint branch August 12, 2026 02:35
Sign up for freeto 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

@veillette