chore(config): bump esbuild and rollup to clear security advisories#3696
Merged
Conversation
Bumps build-time dependencies in @jspsych/config: - esbuild: 0.23.1 -> ^0.25.0 (dev-server CORS advisory) - rollup: ^4.22.4 -> ^4.59.0 (path-traversal + DOM-clobbering advisories) - rollup-plugin-esbuild: 6.1.1 -> 6.2.1 These are build-only dependencies, so there is no runtime change. Verified config tests pass and a plugin builds end-to-end with the new toolchain. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: 972548e The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
📦 Preview build readyBuilt from PR head Changed packages: Quick-start HTML: <script src="https://cdn.jsdelivr.net/gh/jspsych/jsPsych@82496c219659b7604824cd207a749519558ae1c0/packages/jspsych/dist/index.browser.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/jspsych/jsPsych@82496c219659b7604824cd207a749519558ae1c0/packages/jspsych/css/jspsych.css">
<script src="https://cdn.jsdelivr.net/gh/jspsych/jsPsych@82496c219659b7604824cd207a749519558ae1c0/packages/plugin-html-keyboard-response/dist/index.browser.min.js"></script>All package URLs
Last updated 2026-06-26 16:11 UTC for PR head |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps build-time dependencies in
@jspsych/configto clear severalnpm auditadvisories.@jspsych/configis a devDependency of all jsPsych packages (build tooling only — never shipped to participants' browsers), so none of these advisories were runtime-exploitable; this is dev/CI hygiene and keeps audit clean for contributors and downstream consumers.Changes
esbuild0.23.1→^0.25.0— clears the dev-server CORS advisory (<=0.24.2). We only use esbuild viarollup-plugin-esbuildfor transpile/minify, never as a dev server.rollup^4.22.4→^4.59.0— guarantees the fixes for the Arbitrary File Write via path traversal (HIGH, needs>=4.59.0) and DOM Clobbering XSS (HIGH, fixed in4.22.4) advisories. The lockfile was previously stale (pinned4.45.1); it now resolves to4.62.2.rollup-plugin-esbuild6.1.1→6.2.1— keeps the rollup/esbuild plugin current (peersesbuild >=0.18.0).Verification
npm test --workspace=@jspsych/config— passes (5/5)@jspsych/plugin-html-keyboard-responseend-to-end with the new toolchain — all targets (.js,.cjs,.browser.js,.browser.min.js,.d.ts) produced successfully.Not addressed (out of scope)
glob(config declares7.2.3; the advisory only affects glob 10.x's-c/--cmdCLI, not this version or the library API).alias-hqis already on its latest version (6.2.4); its transitive flags can't be cleared by a bump and are dev-only.A patch changeset for
@jspsych/configis included.🤖 Generated with Claude Code