feat: add Python and Java regex engines

This commit is contained in:
2026-07-27 02:02:21 +02:00
parent 4951c966d4
commit 7079cde15f
95 changed files with 8866 additions and 251 deletions

View File

@@ -40,15 +40,17 @@ const entries = (await readdir(engineDirectory)).sort();
if (
typeof packageJson.version !== "string" ||
entries.length !== 2 ||
entries.length !== 4 ||
entries[0] !== "README.md" ||
entries[1] !== "pcre2"
entries[1] !== "java" ||
entries[2] !== "pcre2" ||
entries[3] !== "python"
) {
throw new Error(
"The production build requires the documented PCRE2 runtime pack.",
"The production build requires the documented Java, PCRE2 and Python runtime packs.",
);
}
console.log(
"The checked-in PCRE2 runtime pack is present; no release-time download or engine compilation is needed.",
"The checked-in Java, PCRE2 and Python runtime packs are present; no release-time download or engine compilation is needed.",
);