Skip to content

Fix npm audit vulnerabilities and clean up the PR template - #253

Merged
eason9487 merged 3 commits into
trunkfrom
dev/npm-audit-and-pr-template
Jul 24, 2026
Merged

eason9487 merged 3 commits into
trunkfrom
dev/npm-audit-and-pr-template

Conversation

@eason9487

Copy link
Copy Markdown
Member

Changes proposed in this Pull Request:

This PR contains two repo housekeeping changes.

  1. Fix npm audit issues. Update the flagged transitive dependencies in place in package-lock.json:
    • brace-expansion 2.1.1 -> 2.1.2 and 1.1.15 -> 1.1.16
    • js-yaml 4.2.0 -> 4.3.0
  2. Remove the unused changelog entry section from the PR template. The changelog for releasable packages is generated from PR labels during the release flow, not from text written in the PR body, so the "Changelog entry" section and the change type prefix guidance are dropped. The label guidance is reworded to cover all releasable packages.

Detailed test instructions:

  1. Check out this branch and run npm install.
  2. Run npm audit and confirm it reports no vulnerabilities.
  3. Run npm run lint:js and confirm it exits without errors.

Bump the flagged transitive dependencies in place:

- brace-expansion 2.1.1 -> 2.1.2 and 1.1.15 -> 1.1.16
- js-yaml 4.2.0 -> 4.3.0

Both fixes stay within the version ranges declared by their dependents,
so no overrides are needed.
The changelog for releasable packages is generated from PR labels
during the release flow, not from text written in the PR body. Drop
the "Changelog entry" section and the change type prefix guidance,
and reword the label guidance to cover all releasable packages.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR performs repository housekeeping by addressing npm audit-flagged transitive dependency vulnerabilities in the root lockfile and simplifying the PR template to remove unused changelog-entry instructions in favor of label-based changelog guidance.

Changes:

  • Bumps brace-expansion (both v2 and v1 entries) and js-yaml versions in package-lock.json to resolve npm audit findings.
  • Removes the “Changelog entry” section from the PR template and updates the guidance to point contributors to changelog labels for releasable packages.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
package-lock.json Updates audited transitive dependency versions/resolution metadata to eliminate reported vulnerabilities.
.github/PULL_REQUEST_TEMPLATE.md Removes unused changelog entry section and updates guidance to use changelog labels for releasable packages.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/PULL_REQUEST_TEMPLATE.md Resolved
Drop the repeated word "labels" to make the sentence easier to read.

Address: #253 (comment)
@eason9487
eason9487 merged commit 15de5a6 into trunk Jul 24, 2026
2 checks passed
@eason9487
eason9487 deleted the dev/npm-audit-and-pr-template branch July 24, 2026 10:04
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.

2 participants