Skip to content

feat(net/unstable): add matchSubnets on @std/net #6786

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

Octo8080X
Copy link

@Octo8080X Octo8080X commented Aug 7, 2025

target #6722

This PR adds the matchSubnets(addr: string, subnetOrIps: string[]): boolean functions

@Octo8080X Octo8080X requested a review from kt3k as a code owner August 7, 2025 15:31
@CLAassistant
Copy link

CLAassistant commented Aug 7, 2025

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added the net label Aug 7, 2025
@github-actions github-actions bot added the http label Aug 7, 2025
@github-actions github-actions bot removed the http label Aug 7, 2025
@Octo8080X Octo8080X changed the title Add matchSubnets on @std/net feat(net/unstable): add matchSubnets on @std/net Aug 7, 2025
Copy link

codecov bot commented Aug 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.21%. Comparing base (590b165) to head (53c92fb).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6786      +/-   ##
==========================================
+ Coverage   94.19%   94.21%   +0.02%     
==========================================
  Files         590      590              
  Lines       42649    42811     +162     
  Branches     6726     6784      +58     
==========================================
+ Hits        40173    40336     +163     
+ Misses       2427     2425       -2     
- Partials       49       50       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@timreichen
Copy link
Contributor

Would be great if there were a near 100% test coverage for new apis.

update

update

update

update

update

update

update

update

update

update

update

update coverage

update coverage

update coverage

update coverage
@Octo8080X Octo8080X force-pushed the feature/update_ip_utils branch from aa5a63e to cd3ba91 Compare August 9, 2025 01:05
@Octo8080X
Copy link
Author

@timreichen
Thanks!
It was a bit difficult, but we achieved 100% coverage!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants