From 9eed8aa7b3748c5f806e3d350ce0e5af6cf7fb32 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 13 Jan 2026 08:17:01 +0100 Subject: update to 0.9.5 update bundled quickjs to 2025.12.22 open https://github.com/nginx/njs/issues/1011 fail test with libpcre2 version 10.47 --- tests.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests.patch (limited to 'tests.patch') diff --git a/tests.patch b/tests.patch new file mode 100644 index 0000000..6f679d5 --- /dev/null +++ b/tests.patch @@ -0,0 +1,15 @@ +diff -up src/test/njs_unit_test.c.old src/test/njs_unit_test.c +--- src/test/njs_unit_test.c.old 2026-01-13 07:39:11.539231644 +0100 ++++ src/test/njs_unit_test.c 2026-01-13 07:39:28.102421977 +0100 +@@ -11804,11 +11804,6 @@ static njs_unit_test_t njs_test[] = + njs_pcre_var("pcre_compile2(\"(\") failed: missing closing parenthesis at \"\" in 1", + "pcre_compile(\"(\") failed: missing ) in 1")) }, + +- { njs_str("/+/.test('')"), +- njs_str("SyntaxError: " +- njs_pcre_var("pcre_compile2(\"+\") failed: quantifier does not follow a repeatable item at \"+\" in 1", +- "pcre_compile(\"+\") failed: nothing to repeat at \"+\" in 1")) }, +- + { njs_str("/^$/.test('')"), + njs_str("true") }, + -- cgit