Skip to content

Code scan fix#287

Closed
Ma11hewThomas wants to merge 3 commits into
mainfrom
code-scan-fix
Closed

Code scan fix#287
Ma11hewThomas wants to merge 3 commits into
mainfrom
code-scan-fix

Conversation

@Ma11hewThomas
Copy link
Copy Markdown
Contributor

No description provided.

Update direct dep:
- glob: 11.0.3 → 11.1.0

Add npm overrides for nested transitive security patches:
- ajv@^6: 6.12.6 → 6.14.0
- minimatch@^3: 3.1.2 → 3.1.5
- js-yaml@^3: 3.14.1 → 3.14.2
- lodash@^4: 4.17.21 → 4.17.23
- glob@^10: 10.4.5 → 10.5.0 (archiver-utils)

Skipped: @octokit/request-error 2.x → 5.x
  @actions/artifact nests @octokit/core@3.6.0 which was built
  against the 2.x API; forcing a major version override would
  break artifact upload/download at runtime.
v5.0.3 is the latest CommonJS-compatible release. v6+ switched to
pure ESM which is incompatible with @vercel/ncc bundler.

Changes:
- @actions/artifact: 2.3.2 → 5.0.3
  Eliminates nested @octokit/request-error@2.1.0 (CVE fix).
  v5 depends directly on @octokit/request-error@^5.1.1.

- Add src/__mocks__/actions-artifact.ts
  v5's @actions/artifact has an updated internal octokit stack
  that Jest (CJS) needed a mock for; follows existing mock pattern.

- package.json: add @actions/artifact mock to moduleNameMapper

Skipped v6+ (ESM-only, incompatible with ncc bundler).
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 3, 2026

build-and-test: Run #1520

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Pending ⏳ Other ❓ Flaky 🍂 Duration ⏱️
89 89 0 0 0 0 0 18.0s

🎉 All tests passed!

Github Test Reporter by CTRF 💚

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.

1 participant