Skip to content

chore(deps): patch transitive dev-dep vulnerabilities - #87

Merged
ClaudiaFang merged 1 commit into
mainfrom
claude/fix-dependabot-security-alerts
Jul 31, 2026
Merged

ClaudiaFang merged 1 commit into
mainfrom
claude/fix-dependabot-security-alerts

Conversation

@ClaudiaFang

Copy link
Copy Markdown
Member

Summary

Alert Package Advisory Was Now
#30 postcss GHSA-r28c-9q8g-f849 8.5.16 8.5.25
#29 fast-uri GHSA-v2hh-gcrm-f6hx 3.1.3 3.1.5
#28 brace-expansion GHSA-3jxr-9vmj-r5cp 2.1.1 2.1.4
#27 brace-expansion GHSA-3jxr-9vmj-r5cp 1.1.15 2.1.4

All were pulled in transitively via eslint plugins, semantic-release, and vitest — no direct dependency changes, no runtime impact.

Test plan

  • npx eslint . → 0 errors
  • npm run build → passes (incl. Obsidian 1.11.0 compat typecheck)
  • npx vitest run → 494 passed (33 files)

🤖 Generated with Claude Code

Fixes 4 open Dependabot alerts (#27-#30):
- brace-expansion (GHSA-3jxr-9vmj-r5cp, two lineages <1.1.16 / <2.1.2)
- fast-uri (GHSA-v2hh-gcrm-f6hx, <3.1.4)
- postcss (GHSA-r28c-9q8g-f849, <8.5.18)

All are transitive dev-only deps pulled in via eslint plugins,
semantic-release, and vitest. Added overrides entries following the
existing pattern in package.json and regenerated package-lock.json.

lint: npx eslint . -> 0 errors
build: npm run build -> passes (incl. Obsidian 1.11.0 compat check)
test: npx vitest run -> 494 passed (33 files)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@ClaudiaFang
ClaudiaFang merged commit c68c519 into main Jul 31, 2026
19 checks passed
@ClaudiaFang
ClaudiaFang deleted the claude/fix-dependabot-security-alerts branch July 31, 2026 17:41
ClaudiaFang pushed a commit that referenced this pull request Jul 31, 2026
## [1.5.1](1.5.0...1.5.1) (2026-07-31)

### Bug Fixes

* **deps:** release patched transitive dev-dep versions ([dc9525b](dc9525b)), closes [#87](#87)
* **release:** correct commit-analyzer releaseRules precedence ([b4b1808](b4b1808)), closes [#87](#87)

### Documentation

* add simplified Chinese guide ([e7d5307](e7d5307))
* archive session state as of 2026-07-31 ([908ebf7](908ebf7)), closes [#87](#87) [#87](#87)
@ClaudiaFang

Copy link
Copy Markdown
Member Author

🎉 This PR is included in version 1.5.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

ClaudiaFang added a commit that referenced this pull request Aug 7, 2026
- Updated progress.md: feat-025 code-complete, manual Obsidian verification pending
- Updated session-handoff.md: documented security fix work (PR #87) and current blockers
- Added context on parallel Dependabot security alert fixes

Next session: manual verify feat-025 in Obsidian, then review/merge PR #87
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
ClaudiaFang added a commit that referenced this pull request Aug 7, 2026
…ty-alerts

chore(deps): patch transitive dev-dep vulnerabilities
ClaudiaFang added a commit that referenced this pull request Aug 7, 2026
No source changes — marks the security dependency bump from PR #87
(brace-expansion, fast-uri, postcss) as a fix so semantic-release cuts
a patch version, since GHSA fixes should be traceable to a release.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
ClaudiaFang added a commit that referenced this pull request Aug 7, 2026
@semantic-release/commit-analyzer applies releaseRules in array order
where the LAST matching rule wins, not the first. The unscoped
{ type: chore, release: false } catch-all was listed after the scoped
chore(deps)/chore(deps-dev) rules, so it silently overrode them for
every chore commit — meaning security dependency bumps committed as
chore(deps) never actually triggered a patch release (confirmed by
running @semantic-release/commit-analyzer directly against the commit
message from PR #87 before/after this reorder).

Fix: move the unscoped chore catch-all before the scoped overrides so
last-match-wins produces the intended precedence.

Verified locally against representative commit messages:
- chore(deps): ... -> patch
- chore(deps-dev): ... -> patch
- chore: ... (no scope) -> no release
- chore(release): ... -> no release
- fix: ... -> patch
- docs: ... -> no release
- feat!: ... with BREAKING CHANGE -> major

lint: npx eslint . -> 0 errors

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
ClaudiaFang pushed a commit that referenced this pull request Aug 7, 2026
## [1.5.1](1.5.0...1.5.1) (2026-07-31)

### Bug Fixes

* **deps:** release patched transitive dev-dep versions ([dc9525b](dc9525b)), closes [#87](#87)
* **release:** correct commit-analyzer releaseRules precedence ([b4b1808](b4b1808)), closes [#87](#87)

### Documentation

* add simplified Chinese guide ([e7d5307](e7d5307))
* archive session state as of 2026-07-31 ([908ebf7](908ebf7)), closes [#87](#87) [#87](#87)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant