Skip to content

Conversation

@7amed3li
Copy link
Contributor

This PR adds lightweight stats tracking for pacote.extract by injecting a tracked extract function.
This helps identify slow package extractions and potential bottlenecks during scans.

No breaking changes - existing code works as-is.

Closes #615

@changeset-bot
Copy link

changeset-bot bot commented Jan 29, 2026

🦋 Changeset detected

Latest commit: 2739825

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@nodesecure/tarball Minor
@nodesecure/scanner Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@clemgbld clemgbld requested a review from fraxken January 30, 2026 00:10
@7amed3li 7amed3li force-pushed the feat/stats-tracking-pacote-extract branch from 02daaed to 3483f28 Compare January 30, 2026 13:00
@fraxken fraxken merged commit a5377e9 into NodeSecure:master Jan 31, 2026
6 checks passed
@fraxken
Copy link
Member

fraxken commented Jan 31, 2026

@allcontributors please add @7amed3li for code

@allcontributors
Copy link
Contributor

@fraxken

I've put up a pull request to add @7amed3li! 🎉

@github-actions github-actions bot mentioned this pull request Jan 31, 2026
@7amed3li 7amed3li deleted the feat/stats-tracking-pacote-extract branch January 31, 2026 20:10
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.

Add stats tracking on pacote.extract through extractAndResolve

3 participants