Skip to content

feat: support having the detector use the api by default based on an environment variable#346

Merged
G-Rath merged 1 commit intomainfrom
add-env
Nov 25, 2025
Merged

feat: support having the detector use the api by default based on an environment variable#346
G-Rath merged 1 commit intomainfrom
add-env

Conversation

@G-Rath
Copy link
Owner

@G-Rath G-Rath commented Nov 25, 2025

When the detector was first created the databases were a lot smaller and the API a lot slower, but the databases have grown (especially the NPM database, due to the large volume of malicious packages that keep getting published) and they'll only continue to do so while in the meantime the API has had improvements made so that it's faster.

This means we're approaching a point where it'll be a better default to use the api rather than downloading the databases, which this lets people opt-in to globally

@G-Rath G-Rath merged commit 861b1af into main Nov 25, 2025
13 checks passed
@G-Rath G-Rath deleted the add-env branch November 25, 2025 20:29
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