2 Commits

Author SHA1 Message Date
45cb87e9e7 v1.15.3
Some checks failed
Docker (tags) / security (push) Successful in 22s
Docker (tags) / test (push) Failing after 7m38s
Docker (tags) / release (push) Has been skipped
Docker (tags) / metadata (push) Has been skipped
2026-01-20 04:15:45 +00:00
74a5b37e92 fix(tests(nanonets)): allow / when normalizing invoice strings in tests 2026-01-20 04:15:45 +00:00
3 changed files with 8 additions and 2 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## 2026-01-20 - 1.15.3 - fix(tests(nanonets))
allow '/' when normalizing invoice strings in tests
- Adjust regex in test/test.invoices.nanonets.ts to preserve forward slashes when cleaning invoice values
- Changed pattern from [^A-Z0-9-] to [^A-Z0-9\/-] to prevent accidental removal of '/' characters in invoice identifiers
## 2026-01-20 - 1.15.2 - fix(dev-deps)
bump devDependencies @push.rocks/smartagent to ^1.6.2 and @push.rocks/smartai to ^0.13.3

View File

@@ -1,6 +1,6 @@
{
"name": "@host.today/ht-docker-ai",
"version": "1.15.2",
"version": "1.15.3",
"type": "module",
"private": false,
"description": "Docker images for AI vision-language models including MiniCPM-V 4.5",

View File

@@ -310,7 +310,7 @@ function extractInvoiceNumber(s: string | undefined): string {
const match = clean.match(pattern);
if (match) return match[1];
}
return clean.replace(/[^A-Z0-9-]/gi, '').trim() || clean;
return clean.replace(/[^A-Z0-9\/-]/gi, '').trim() || clean;
}
/**