From 73a946d55c60e39ed39733e58d4efaf2f9d3e48e Mon Sep 17 00:00:00 2001 From: "Node.js GitHub Bot" Date: Mon, 22 Jan 2024 17:01:01 +0000 Subject: [PATCH] deps: update ada to 2.7.5 PR-URL: https://github.com/nodejs/node/pull/51542 Reviewed-By: Yagiz Nizipli Reviewed-By: Marco Ippolito Reviewed-By: LiviaMedeiros Reviewed-By: Luigi Pinca Reviewed-By: Rafael Gonzaga Reviewed-By: Daniel Lemire --- deps/ada/ada.cpp | 6 +++--- deps/ada/ada.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/deps/ada/ada.cpp b/deps/ada/ada.cpp index 449046ff41d3ca..d34454d3738c53 100644 --- a/deps/ada/ada.cpp +++ b/deps/ada/ada.cpp @@ -1,4 +1,4 @@ -/* auto-generated on 2023-11-19 13:35:02 -0500. Do not edit! */ +/* auto-generated on 2024-01-22 09:15:53 -0500. Do not edit! */ /* begin file src/ada.cpp */ #include "ada.h" /* begin file src/checkers.cpp */ @@ -11277,7 +11277,7 @@ bool url::parse_ipv4(std::string_view input) { // We have the last value. // At this stage, ipv4 contains digit_count*8 bits. // So we have 32-digit_count*8 bits left. - if (segment_result > (uint64_t(1) << (32 - digit_count * 8))) { + if (segment_result >= (uint64_t(1) << (32 - digit_count * 8))) { return is_valid = false; } ipv4 <<= (32 - digit_count * 8); @@ -14058,7 +14058,7 @@ bool url_aggregator::parse_ipv4(std::string_view input) { // We have the last value. // At this stage, ipv4 contains digit_count*8 bits. // So we have 32-digit_count*8 bits left. - if (segment_result > (uint64_t(1) << (32 - digit_count * 8))) { + if (segment_result >= (uint64_t(1) << (32 - digit_count * 8))) { return is_valid = false; } ipv4 <<= (32 - digit_count * 8); diff --git a/deps/ada/ada.h b/deps/ada/ada.h index a4aa39d17046ad..7804d87e2bb2d8 100644 --- a/deps/ada/ada.h +++ b/deps/ada/ada.h @@ -1,4 +1,4 @@ -/* auto-generated on 2023-11-19 13:35:02 -0500. Do not edit! */ +/* auto-generated on 2024-01-22 09:15:53 -0500. Do not edit! */ /* begin file include/ada.h */ /** * @file ada.h @@ -7078,14 +7078,14 @@ url_search_params_entries_iter::next() { #ifndef ADA_ADA_VERSION_H #define ADA_ADA_VERSION_H -#define ADA_VERSION "2.7.4" +#define ADA_VERSION "2.7.5" namespace ada { enum { ADA_VERSION_MAJOR = 2, ADA_VERSION_MINOR = 7, - ADA_VERSION_REVISION = 4, + ADA_VERSION_REVISION = 5, }; } // namespace ada