Skip to content

Commit 76c5f40

Browse files
nodejs-github-bottargos
authored andcommitted
deps: update ada to 2.6.9
PR-URL: #49340 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 597ea77 commit 76c5f40

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][]
12-
* [ada 2.6.8][]
12+
* [ada 2.6.9][]
1313
* [base64][]
1414
* [brotli][]
1515
* [c-ares][]
@@ -148,7 +148,7 @@ The [acorn](https://github.com/acornjs/acorn) dependency is a JavaScript parser.
148148
[acorn-walk](https://github.com/acornjs/acorn/tree/master/acorn-walk) is
149149
an abstract syntax tree walker for the ESTree format.
150150

151-
### ada 2.6.8
151+
### ada 2.6.9
152152

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

314314
[acorn]: #acorn
315-
[ada 2.6.8]: #ada-268
315+
[ada 2.6.9]: #ada-269
316316
[base64]: #base64
317317
[brotli]: #brotli
318318
[c-ares]: #c-ares

0 commit comments

Comments
 (0)