Skip to content
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

fix: remove ip dependency and use node blocklist to check for 10.0.0.0/8 range #32

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

Jafferwaffer
Copy link

BREAKING CHANGE: requires node v14.18.0 or higher

Issue: https://brandwatch.atlassian.net/browse/AS-454

Replaces #31 as this just uses another janky package.

This node api has been available since v14.18.0
https://nodejs.org/docs/latest-v14.x/api/net.html#net_class_net_blocklist

…0/8 range

BREAKING CHANGE: requires node v14.18.0 or higher
@Jafferwaffer
Copy link
Author

I intend to publish this as a major as it now requires a certain node version to support. I will first publish as a beta while we test in services.

Copy link
Member

@lcapel lcapel left a comment

Choose a reason for hiding this comment

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

Not too confident with networking but LGTM 🤷🏼

@Jafferwaffer Jafferwaffer merged commit 8bf74fa into master Jul 31, 2024
2 checks passed
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.

2 participants