Skip to content

Commit 49cf182

Browse files
deps: update ada to 2.6.9
PR-URL: #49340 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent ceb6df0 commit 49cf182

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

deps/ada/ada.cpp

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* auto-generated on 2023-09-19 16:48:25 -0400. Do not edit! */
1+
/* auto-generated on 2023-09-29 13:28:16 -0400. Do not edit! */
22
/* begin file src/ada.cpp */
33
#include "ada.h"
44
/* begin file src/checkers.cpp */
@@ -116,7 +116,7 @@ ada_really_inline constexpr bool verify_dns_length(
116116

117117
ADA_PUSH_DISABLE_ALL_WARNINGS
118118
/* begin file src/ada_idna.cpp */
119-
/* auto-generated on 2023-08-29 15:28:19 -0400. Do not edit! */
119+
/* auto-generated on 2023-09-19 15:58:51 -0400. Do not edit! */
120120
/* begin file src/idna.cpp */
121121
/* begin file src/unicode_transcoding.cpp */
122122

@@ -9505,18 +9505,19 @@ bool is_label_valid(const std::u32string_view label) {
95059505

95069506
namespace ada::idna {
95079507

9508-
bool constexpr begins_with(std::u32string_view view,
9509-
std::u32string_view prefix) {
9508+
bool begins_with(std::u32string_view view, std::u32string_view prefix) {
95109509
if (view.size() < prefix.size()) {
95119510
return false;
95129511
}
9512+
// constexpr as of C++20
95139513
return std::equal(prefix.begin(), prefix.end(), view.begin());
95149514
}
95159515

9516-
bool constexpr begins_with(std::string_view view, std::string_view prefix) {
9516+
bool begins_with(std::string_view view, std::string_view prefix) {
95179517
if (view.size() < prefix.size()) {
95189518
return false;
95199519
}
9520+
// constexpr as of C++20
95209521
return std::equal(prefix.begin(), prefix.end(), view.begin());
95219522
}
95229523

deps/ada/ada.h

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* auto-generated on 2023-09-19 16:48:25 -0400. Do not edit! */
1+
/* auto-generated on 2023-09-29 13:28:16 -0400. Do not edit! */
22
/* begin file include/ada.h */
33
/**
44
* @file ada.h
@@ -8,7 +8,7 @@
88
#define ADA_H
99

1010
/* begin file include/ada/ada_idna.h */
11-
/* auto-generated on 2023-08-29 15:28:19 -0400. Do not edit! */
11+
/* auto-generated on 2023-09-19 15:58:51 -0400. Do not edit! */
1212
/* begin file include/idna.h */
1313
#ifndef ADA_IDNA_H
1414
#define ADA_IDNA_H
@@ -129,9 +129,8 @@ std::string to_ascii(std::string_view ut8_string);
129129
// https://url.spec.whatwg.org/#forbidden-domain-code-point
130130
bool contains_forbidden_domain_code_point(std::string_view ascii_string);
131131

132-
bool constexpr begins_with(std::u32string_view view,
133-
std::u32string_view prefix);
134-
bool constexpr begins_with(std::string_view view, std::string_view prefix);
132+
bool begins_with(std::u32string_view view, std::u32string_view prefix);
133+
bool begins_with(std::string_view view, std::string_view prefix);
135134

136135
bool constexpr is_ascii(std::u32string_view view);
137136
bool constexpr is_ascii(std::string_view view);
@@ -6929,14 +6928,14 @@ inline void url_search_params::sort() {
69296928
#ifndef ADA_ADA_VERSION_H
69306929
#define ADA_ADA_VERSION_H
69316930

6932-
#define ADA_VERSION "2.6.8"
6931+
#define ADA_VERSION "2.6.9"
69336932

69346933
namespace ada {
69356934

69366935
enum {
69376936
ADA_VERSION_MAJOR = 2,
69386937
ADA_VERSION_MINOR = 6,
6939-
ADA_VERSION_REVISION = 8,
6938+
ADA_VERSION_REVISION = 9,
69406939
};
69416940

69426941
} // namespace ada

doc/contributing/maintaining/maintaining-dependencies.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ All dependencies are located within the `deps` directory.
99
This a list of all the dependencies:
1010

1111
* [acorn 8.10.0][]
12-
* [ada 2.6.8][]
12+
* [ada 2.6.9][]
1313
* [base64 0.5.0][]
1414
* [brotli 1.0.9][]
1515
* [c-ares 1.19.0][]
@@ -150,7 +150,7 @@ The [acorn](https://github.com/acornjs/acorn) dependency is a JavaScript parser.
150150
[acorn-walk](https://github.com/acornjs/acorn/tree/master/acorn-walk) is
151151
an abstract syntax tree walker for the ESTree format.
152152

153-
### ada 2.6.8
153+
### ada 2.6.9
154154

155155
The [ada](https://github.com/ada-url/ada) dependency is a
156156
fast and spec-compliant URL parser written in C++.
@@ -319,7 +319,7 @@ it comes from the Chromium team's zlib fork which incorporated
319319
performance improvements not currently available in standard zlib.
320320

321321
[acorn 8.10.0]: #acorn-8100
322-
[ada 2.6.8]: #ada-268
322+
[ada 2.6.9]: #ada-269
323323
[base64 0.5.0]: #base64-050
324324
[brotli 1.0.9]: #brotli-109
325325
[c-ares 1.19.0]: #c-ares-1190

0 commit comments

Comments
 (0)