Skip to content

feat: add path and file number for tarball stats#714

Merged
fraxken merged 1 commit intomasterfrom
feat/add-more-tarball-stats
Apr 6, 2026
Merged

feat: add path and file number for tarball stats#714
fraxken merged 1 commit intomasterfrom
feat/add-more-tarball-stats

Conversation

@clemgbld
Copy link
Copy Markdown
Member

@clemgbld clemgbld commented Apr 5, 2026

Closes #686

@clemgbld clemgbld requested a review from a team as a code owner April 5, 2026 09:36
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 5, 2026

🦋 Changeset detected

Latest commit: 98ba141

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

This PR includes changesets to release 2 packages
Name Type
@nodesecure/scanner Minor
@nodesecure/tarball 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 force-pushed the feat/add-more-tarball-stats branch from eb1f19b to 061d9a0 Compare April 5, 2026 09:42
Copy link
Copy Markdown
Member

@PierreDemailly PierreDemailly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, we might update the docs here:

### stat
Emitted when a successful API call is made:
```ts
logger.on("stat", (stat: ApiStats) => {
console.log(`API call: ${stat.name}`);
console.log(`Duration: ${stat.executionTime}ms`);
console.log(`Start at: ${stat.startedAt}`);
});

@clemgbld clemgbld force-pushed the feat/add-more-tarball-stats branch from 061d9a0 to 98ba141 Compare April 6, 2026 07:35
@fraxken fraxken merged commit 6b6fa55 into master Apr 6, 2026
6 checks passed
@fraxken fraxken deleted the feat/add-more-tarball-stats branch April 6, 2026 09:26
@github-actions github-actions bot mentioned this pull request Apr 5, 2026
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.

(Scanner / Tarball) implement more metrics for errors and logs

3 participants