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

nope-ip removal - Phase 3 #8779

Merged
merged 1 commit into from
Feb 12, 2025
Merged

Conversation

liranmauda
Copy link
Contributor

@liranmauda liranmauda commented Feb 9, 2025

Explain the changes

stun.js:

  • Replaced node-ip with native net_utils calls

http_utils.js:

  • Refractored no_proxy_list
  • Replaced node-ip.cidr with native net_utils.is_cidr call

net_utils.js:

  • Fixed a bug where is_fqdn("loclhost") returned falsely true

  • Add is_cidr, ip_toString, and ip_toBuffer

  • Added helper functions for ip_toBuffer

  • Adding test_net_utils.test.js

Signed-off-by: liranmauda [email protected]

@liranmauda liranmauda force-pushed the liran-remove-node-ip branch 3 times, most recently from 7227447 to 138c46b Compare February 10, 2025 09:07
src/util/net_utils.js Show resolved Hide resolved
src/util/net_utils.js Show resolved Hide resolved
src/util/net_utils.js Show resolved Hide resolved
src/util/net_utils.js Show resolved Hide resolved
`stun.js`:
- Replaced `node-ip` with native `net_utils` calls

`http_utils.js`:
- Refractored `no_proxy_list`
- Replaced `node-ip.cidr` with native `net_utils.is_cidr` call

`net_utils.js`:
- Fixed a bug where `is_fqdn("loclhost")` returned falsely true
- Add `is_cidr`, `ip_toString`, and `ip_toBuffer`
- Added helper functions for `ip_toBuffer`

- Adding `test_net_utils.test.js`

Signed-off-by: liranmauda <[email protected]>
Copy link
Contributor

@nadavMiz nadavMiz left a comment

Choose a reason for hiding this comment

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

LGTM

@liranmauda liranmauda merged commit 9d26ed0 into noobaa:master Feb 12, 2025
11 checks passed
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.

2 participants