mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
Remove usages of std.x
This commit is contained in:
@@ -3967,7 +3967,7 @@ pub fn isIPAddress(input: []const u8) bool {
|
||||
if (containsChar(input, ':'))
|
||||
return true;
|
||||
|
||||
if (std.x.os.IPv4.parse(input)) |_| {
|
||||
if (std.net.Address.resolveIp(input, 0)) |_| {
|
||||
return true;
|
||||
} else |_| {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user