Skip to content

build(deps-dev): Bump jspsych from 8.2.3 to 8.3.0 - #78

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/jspsych-8.3.0
Open

build(deps-dev): Bump jspsych from 8.2.3 to 8.3.0#78
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/jspsych-8.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 30, 2026

Copy link
Copy Markdown
Contributor

Bumps jspsych from 8.2.3 to 8.3.0.

Release notes

Sourced from jspsych's releases.

jspsych@8.3.0

Minor Changes

  • #3708 a69d7ad7aca8a0b0d97c5893ab09a368bd9dda25 Thanks @​jodeleeuw! - Added a CSS style to jspsych.css that renders <kbd> elements (or any element with class "jspsych-key") as a visual keycap. Wrapping a key name in <kbd> inside a trial renders it as a keycap, e.g. Press <kbd>space</kbd> to continue.

  • #3707 a9f454ee58fda69173dbaa1ecfa4aa7797920031 Thanks @​jodeleeuw! - Added the ability to measure how long a response key was held down. The getKeyboardResponse() method of the keyboard plugin API gains an optional wait_for_key_release option; when true, the callback_function fires at key release instead of key press, and its payload includes an rt_key_duration field (the press-to-release duration in milliseconds) alongside the usual key and rt. The five *-keyboard-response plugins (html, image, audio, video, canvas) expose a matching wait_for_key_release trial parameter (default false) and record the new rt_key_duration data field. The release is matched to the press by the physical key (KeyboardEvent.code), so changing the shift state while holding a key (which changes e.key) does not prevent the release from being detected, and the key reported to the callback is always the value from the original keydown event. If the window loses focus while a key is held (a blur event), the browser stops delivering the eventual keyup; in that case the pending release is resolved with rt_key_duration: null (the hold duration cannot be measured) and the held-key state is cleared so it does not leak into the next trial.

Changelog

Sourced from jspsych's changelog.

8.3.0

Minor Changes

  • #3708 a69d7ad7aca8a0b0d97c5893ab09a368bd9dda25 Thanks @​jodeleeuw! - Added a CSS style to jspsych.css that renders <kbd> elements (or any element with class "jspsych-key") as a visual keycap. Wrapping a key name in <kbd> inside a trial renders it as a keycap, e.g. Press <kbd>space</kbd> to continue.

  • #3707 a9f454ee58fda69173dbaa1ecfa4aa7797920031 Thanks @​jodeleeuw! - Added the ability to measure how long a response key was held down. The getKeyboardResponse() method of the keyboard plugin API gains an optional wait_for_key_release option; when true, the callback_function fires at key release instead of key press, and its payload includes an rt_key_duration field (the press-to-release duration in milliseconds) alongside the usual key and rt. The five *-keyboard-response plugins (html, image, audio, video, canvas) expose a matching wait_for_key_release trial parameter (default false) and record the new rt_key_duration data field. The release is matched to the press by the physical key (KeyboardEvent.code), so changing the shift state while holding a key (which changes e.key) does not prevent the release from being detected, and the key reported to the callback is always the value from the original keydown event. If the window loses focus while a key is held (a blur event), the browser stops delivering the eventual keyup; in that case the pending release is resolved with rt_key_duration: null (the hold duration cannot be measured) and the held-key state is cleared so it does not leak into the next trial.

Commits
  • f83140f chore(release): version packages
  • 1707cd7 Merge pull request #3707 from jspsych/feature/rt-key-duration
  • 6d15e17 fix: release held keys on window blur so lost keyup does not orphan pending r...
  • 8478872 docs: clarify behavior of pending releases in KeyboardListenerAPI
  • c412897 fix: store physical key code to prevent issues when releasing shift mid key p...
  • 70b90d8 style(css): prefix keyboard key class as .jspsych-key
  • 3a3fd5a docs: clarify wait_for_key_release tracks only the most recent key press
  • 1cf9462 docs(css): use kbd in keyboard key rule comment
  • d6b7bf6 refactor: replace release callback with wait_for_key_release option that defe...
  • 721d5b7 feat(css): add keyboard key style for instructions text
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [jspsych](https://github.com/jspsych/jsPsych/tree/HEAD/packages/jspsych) from 8.2.3 to 8.3.0.
- [Release notes](https://github.com/jspsych/jsPsych/releases)
- [Changelog](https://github.com/jspsych/jsPsych/blob/main/packages/jspsych/CHANGELOG.md)
- [Commits](https://github.com/jspsych/jsPsych/commits/jspsych@8.3.0/packages/jspsych)

---
updated-dependencies:
- dependency-name: jspsych
  dependency-version: 8.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants