Skip to content

Resolve Dependabot alerts and add npm to Dependabot config - #27

Merged
dduugg merged 2 commits into
mainfrom
fix-dependabot-alerts
Sep 30, 2026
Merged

dduugg merged 2 commits into
mainfrom
fix-dependabot-alerts

Conversation

@dduugg

@dduugg dduugg commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Resolves the open Dependabot alerts and adds JavaScript dependencies to the Dependabot config.

Dependabot alerts

All five alerts are in dev dependencies.

  • brace-expansion (#47, #48, #49): lock entries refreshed to 1.1.21, 2.1.7, and 5.0.12, all within existing ranges. Lockfile-only change.
  • serialize-javascript (#41, #45): added a yarn resolutions entry for ^7.0.5, which resolves to 7.1.2. mocha 10 and 11 pin serialize-javascript ^6.0.2; only mocha 12 accepts v7, and it's ESM-only, which would require reworking the CommonJS test harness loaded by the VS Code extension host. The official @vscode/test-cli runner also pins mocha 11, so the override would be needed there too. mocha only loads serialize-javascript in --parallel mode, which this repo doesn't use.

Dependabot config

Adds the npm ecosystem (which covers yarn) to .github/dependabot.yml: all updates grouped into one monthly PR with a 7-day cooldown, matching the github-actions entry.

Testing

  • yarn install --frozen-lockfile, yarn lint, and yarn run vscode:prepublish pass.
  • All 13 tests pass locally. yarn test on macOS fails to launch VS Code 1.140 on main too (its binary was renamed from Electron to Code, which @vscode/test-electron 2.5.2 doesn't know about), so I ran the suite with the executable path passed explicitly. CI runs on Linux and isn't affected.

Refresh brace-expansion lock entries to patched versions within their
existing ranges, and add a yarn resolution to lift serialize-javascript
to ^7.0.5. mocha 10 and 11 pin serialize-javascript ^6.0.2, and only the
ESM-only mocha 12 accepts v7; mocha loads it solely for parallel mode.
Group all JavaScript dependency updates into a single monthly PR with a
7-day cooldown, matching the github-actions configuration.
@dduugg
dduugg requested a review from a team as a code owner September 30, 2026 17:42
@github-project-automation github-project-automation Bot moved this to Triage in Modularity Sep 30, 2026
@dduugg
dduugg merged commit 6d42369 into main Sep 30, 2026
7 checks passed
@dduugg
dduugg deleted the fix-dependabot-alerts branch September 30, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant