Skip to content

Remove vulnerable test tooling and verify package entries - #1

Merged
nripankadas07 merged 2 commits into
mainfrom
codex/2026-10-04-toolchain-security
Oct 4, 2026
Merged

nripankadas07 merged 2 commits into
mainfrom
codex/2026-10-04-toolchain-security

Conversation

@nripankadas07

Copy link
Copy Markdown
Owner

Summary

Fresh installation of the existing Jest 29 manifest reproduced 29 high-severity affected dependency entries. Upgrade Jest/types to 30 with compatible ts-jest, and record the verified lockfile. Runtime API and dependency footprint are preserved. Add package-entry verification and unsuppressed dependency audit to CI.

Verification

Clean npm ci, actual compiler/typecheck, complete existing tests with coverage, build, package runtime/declaration entry checks, npm audit (0 vulnerabilities), and diff review all passed.

ranch | % Funcs | % Lines | Uncovered Line #s
------------|---------|----------|---------|---------|-------------------
All files | 100 | 100 | 100 | 100 |
braces.ts | 100 | 100 | 100 | 100 |
compile.ts | 100 | 100 | 100 | 100 |
errors.ts | 100 | 100 | 100 | 100 |
escape.ts | 100 | 100 | 100 | 100 |
index.ts | 100 | 100 | 100 | 100 |
match.ts | 100 | 100 | 100 | 100 |
------------|---------|----------|---------|---------|-------------------

=============================== Coverage summary ===============================
Statements : 100% ( 183/183 )
Branches : 100% ( 78/78 )
Functions : 100% ( 34/34 )
Lines : 100% ( 175/175 )

Test Suites: 6 passed, 6 total
Tests: 70 passed, 70 total
Snapshots: 0 total
Time: 0.516 s, estimated 1 s
Ran all test suites.

Risk

Test-tooling major upgrade; normal Node-version CI must pass before merge. Some projects also had missing built/package entry files; source-only build configuration or explicit package files repairs those failures. No external registry publication, coverage reduction, advisory suppression, or public API redesign.

@nripankadas07
nripankadas07 merged commit 833f512 into main Oct 4, 2026
3 checks passed
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