From f0f77c1d99d9d9b6130b85d81e60f4f9d10d641c Mon Sep 17 00:00:00 2001 From: Sergey Chernyshev Date: Wed, 24 Apr 2024 21:55:11 +0200 Subject: [PATCH] deps: update ada to 2.6.9 PR-URL: https://github.com/nodejs/node/pull/49340 Reviewed-By: Yagiz Nizipli Reviewed-By: Luigi Pinca Reviewed-By: Trivikram Kamat --- graal-nodejs/deps/ada/ada.cpp | 11 ++++++----- graal-nodejs/deps/ada/ada.h | 13 ++++++------- .../maintaining/maintaining-dependencies.md | 6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/graal-nodejs/deps/ada/ada.cpp b/graal-nodejs/deps/ada/ada.cpp index ce1c726bd8a..7ace1257712 100644 --- a/graal-nodejs/deps/ada/ada.cpp +++ b/graal-nodejs/deps/ada/ada.cpp @@ -1,4 +1,4 @@ -/* auto-generated on 2023-09-19 16:48:25 -0400. Do not edit! */ +/* auto-generated on 2023-09-29 13:28:16 -0400. Do not edit! */ /* begin file src/ada.cpp */ #include "ada.h" /* begin file src/checkers.cpp */ @@ -116,7 +116,7 @@ ada_really_inline constexpr bool verify_dns_length( ADA_PUSH_DISABLE_ALL_WARNINGS /* begin file src/ada_idna.cpp */ -/* auto-generated on 2023-08-29 15:28:19 -0400. Do not edit! */ +/* auto-generated on 2023-09-19 15:58:51 -0400. Do not edit! */ /* begin file src/idna.cpp */ /* begin file src/unicode_transcoding.cpp */ @@ -9505,18 +9505,19 @@ bool is_label_valid(const std::u32string_view label) { namespace ada::idna { -bool constexpr begins_with(std::u32string_view view, - std::u32string_view prefix) { +bool begins_with(std::u32string_view view, std::u32string_view prefix) { if (view.size() < prefix.size()) { return false; } + // constexpr as of C++20 return std::equal(prefix.begin(), prefix.end(), view.begin()); } -bool constexpr begins_with(std::string_view view, std::string_view prefix) { +bool begins_with(std::string_view view, std::string_view prefix) { if (view.size() < prefix.size()) { return false; } + // constexpr as of C++20 return std::equal(prefix.begin(), prefix.end(), view.begin()); } diff --git a/graal-nodejs/deps/ada/ada.h b/graal-nodejs/deps/ada/ada.h index 18747420bc7..e7603798344 100644 --- a/graal-nodejs/deps/ada/ada.h +++ b/graal-nodejs/deps/ada/ada.h @@ -1,4 +1,4 @@ -/* auto-generated on 2023-09-19 16:48:25 -0400. Do not edit! */ +/* auto-generated on 2023-09-29 13:28:16 -0400. Do not edit! */ /* begin file include/ada.h */ /** * @file ada.h @@ -8,7 +8,7 @@ #define ADA_H /* begin file include/ada/ada_idna.h */ -/* auto-generated on 2023-08-29 15:28:19 -0400. Do not edit! */ +/* auto-generated on 2023-09-19 15:58:51 -0400. Do not edit! */ /* begin file include/idna.h */ #ifndef ADA_IDNA_H #define ADA_IDNA_H @@ -129,9 +129,8 @@ std::string to_ascii(std::string_view ut8_string); // https://url.spec.whatwg.org/#forbidden-domain-code-point bool contains_forbidden_domain_code_point(std::string_view ascii_string); -bool constexpr begins_with(std::u32string_view view, - std::u32string_view prefix); -bool constexpr begins_with(std::string_view view, std::string_view prefix); +bool begins_with(std::u32string_view view, std::u32string_view prefix); +bool begins_with(std::string_view view, std::string_view prefix); bool constexpr is_ascii(std::u32string_view view); bool constexpr is_ascii(std::string_view view); @@ -6933,14 +6932,14 @@ inline void url_search_params::sort() { #ifndef ADA_ADA_VERSION_H #define ADA_ADA_VERSION_H -#define ADA_VERSION "2.6.8" +#define ADA_VERSION "2.6.9" namespace ada { enum { ADA_VERSION_MAJOR = 2, ADA_VERSION_MINOR = 6, - ADA_VERSION_REVISION = 8, + ADA_VERSION_REVISION = 9, }; } // namespace ada diff --git a/graal-nodejs/doc/contributing/maintaining/maintaining-dependencies.md b/graal-nodejs/doc/contributing/maintaining/maintaining-dependencies.md index ac6801a4921..d56f1667330 100644 --- a/graal-nodejs/doc/contributing/maintaining/maintaining-dependencies.md +++ b/graal-nodejs/doc/contributing/maintaining/maintaining-dependencies.md @@ -9,7 +9,7 @@ All dependencies are located within the `deps` directory. This a list of all the dependencies: * [acorn][] -* [ada 2.6.8][] +* [ada 2.6.9][] * [base64][] * [brotli][] * [c-ares][] @@ -148,7 +148,7 @@ The [acorn](https://github.com/acornjs/acorn) dependency is a JavaScript parser. [acorn-walk](https://github.com/acornjs/acorn/tree/master/acorn-walk) is an abstract syntax tree walker for the ESTree format. -### ada 2.6.8 +### ada 2.6.9 The [ada](https://github.com/ada-url/ada) dependency is a fast and spec-compliant URL parser written in C++. @@ -312,7 +312,7 @@ it comes from the Chromium team's zlib fork which incorporated performance improvements not currently available in standard zlib. [acorn]: #acorn -[ada 2.6.8]: #ada-268 +[ada 2.6.9]: #ada-269 [base64]: #base64 [brotli]: #brotli [c-ares]: #c-ares