Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

All notable changes to CVE Lite CLI will be documented in this file.

## [1.18.0] - 2026-05-25

### Added
- Show targeted retry and offline hints for OSV 429 rate-limit and 5xx server error responses.
- Emit lockfile-refresh fix commands for pnpm (`pnpm update`), yarn (`yarn upgrade`), and bun (`bun update`) when the parent's declared range already covers the fixed transitive dependency version.

### Fixed
- Added package manager hint to `--fix` command failure errors.

### Changed
- Workspace-scoped lockfile-refresh commands now generated for pnpm, yarn, and bun when the parent's declared range already covers the safe transitive version; lockfile-refresh targets appear in their own fix-plan sections rather than mixed with direct-fix targets; fix coverage count ("Running these commands should fix X of Y findings") added to both terminal and HTML output; "within current range" label renamed to "lockfile refresh" with context strings rewritten to plainly state the parent already permits the safe child version.
- Unified excluded directory list for `--usage` source scanning with the shared `EXCLUDED_DIRS` constant.
- Extracted `formatAdvisoryDbFreshness` and `relativeAge` from `src/index.ts` into `src/utils/time.ts`.
- Extracted CLI flag validation from `src/index.ts` into `src/cli/validate.ts`.
- Extracted `formatAdvisorySourceLine` to `src/output/formatters.ts` and `countBySeverity` to `src/utils/severity.ts`.
- Extracted package.json / workspace reading helpers from `src/index.ts` into `src/utils/package-json.ts`.
- Extracted `DEFAULT_BATCH_SIZE` and `DEFAULT_SEARCH_DEPTH` magic numbers to named constants in `src/constants.ts`.

## [1.17.3] - 2026-05-22

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cve-lite-cli",
"version": "1.17.3",
"version": "1.18.0",
"description": "Developer-friendly CLI for scanning JS/TS projects for dependency vulnerabilities using local lockfiles and OSV",
"type": "module",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {themes as prismThemes} from 'prism-react-renderer';
import type {Config} from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';

const latestVersion = 'v1.17.3';
const latestVersion = 'v1.18.0';

const config: Config = {
title: 'CVE Lite CLI',
Expand Down