Skip to content

Commit 73a946d

Browse files
nodejs-github-botrichardlau
authored andcommitted
deps: update ada to 2.7.5
PR-URL: #51542 Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Daniel Lemire <daniel@lemire.me>
1 parent cc434c1 commit 73a946d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

deps/ada/ada.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* auto-generated on 2023-11-19 13:35:02 -0500. Do not edit! */
1+
/* auto-generated on 2024-01-22 09:15:53 -0500. Do not edit! */
22
/* begin file src/ada.cpp */
33
#include "ada.h"
44
/* begin file src/checkers.cpp */
@@ -11277,7 +11277,7 @@ bool url::parse_ipv4(std::string_view input) {
1127711277
// We have the last value.
1127811278
// At this stage, ipv4 contains digit_count*8 bits.
1127911279
// So we have 32-digit_count*8 bits left.
11280-
if (segment_result > (uint64_t(1) << (32 - digit_count * 8))) {
11280+
if (segment_result >= (uint64_t(1) << (32 - digit_count * 8))) {
1128111281
return is_valid = false;
1128211282
}
1128311283
ipv4 <<= (32 - digit_count * 8);
@@ -14058,7 +14058,7 @@ bool url_aggregator::parse_ipv4(std::string_view input) {
1405814058
// We have the last value.
1405914059
// At this stage, ipv4 contains digit_count*8 bits.
1406014060
// So we have 32-digit_count*8 bits left.
14061-
if (segment_result > (uint64_t(1) << (32 - digit_count * 8))) {
14061+
if (segment_result >= (uint64_t(1) << (32 - digit_count * 8))) {
1406214062
return is_valid = false;
1406314063
}
1406414064
ipv4 <<= (32 - digit_count * 8);

deps/ada/ada.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* auto-generated on 2023-11-19 13:35:02 -0500. Do not edit! */
1+
/* auto-generated on 2024-01-22 09:15:53 -0500. Do not edit! */
22
/* begin file include/ada.h */
33
/**
44
* @file ada.h
@@ -7078,14 +7078,14 @@ url_search_params_entries_iter::next() {
70787078
#ifndef ADA_ADA_VERSION_H
70797079
#define ADA_ADA_VERSION_H
70807080

7081-
#define ADA_VERSION "2.7.4"
7081+
#define ADA_VERSION "2.7.5"
70827082

70837083
namespace ada {
70847084

70857085
enum {
70867086
ADA_VERSION_MAJOR = 2,
70877087
ADA_VERSION_MINOR = 7,
7088-
ADA_VERSION_REVISION = 4,
7088+
ADA_VERSION_REVISION = 5,
70897089
};
70907090

70917091
} // namespace ada

0 commit comments

Comments
 (0)