Skip to content

fix: sanitize audio volume values#299

Merged
han4wluc merged 1 commit into
mainfrom
fix/sanitize-audio-volume
Jun 15, 2026
Merged

fix: sanitize audio volume values#299
han4wluc merged 1 commit into
mainfrom
fix/sanitize-audio-volume

Conversation

@han4wluc

Copy link
Copy Markdown
Contributor

Summary

  • sanitize route-graphics volume normalization so non-finite values fall back before clamping
  • guard Web Audio AudioParam scheduling against NaN/Infinity values
  • normalize direct audio/SFX volume inputs before playback scheduling
  • bump package version to 1.23.4

Testing

  • bunx vitest run spec/audio/audioStage.spec.js
  • bunx prettier --check package.json src/AudioStage.js src/util/normalizeVolume.js spec/audio/audioStage.spec.js
  • bunx oxlint src/AudioStage.js src/util/normalizeVolume.js spec/audio/audioStage.spec.js
  • pre-push hook: bunx prettier --check src
  • pre-push hook: vitest run

@han4wluc han4wluc merged commit 416a3df into main Jun 15, 2026
2 checks passed
@han4wluc han4wluc deleted the fix/sanitize-audio-volume branch June 15, 2026 15:06
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