Compare commits

...

1 Commits

Author SHA1 Message Date
38207eb618 Fixed missing export
All checks were successful
Build / Publish Docs (push) Successful in 42s
Build / Build NPM Project (push) Successful in 1m1s
Build / Tag Version (push) Successful in 9s
2025-12-08 10:07:20 -05:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@ztimson/utils",
"version": "0.27.20",
"version": "0.28.0",
"description": "Utility library",
"author": "Zak Timson",
"license": "MIT",

View File

@@ -5,7 +5,7 @@ import {formatDate} from './time.ts';
export class TemplateError extends BadRequestError { }
function findTemplateVars(html: string): Record<string, any> {
export function findTemplateVars(html: string): Record<string, any> {
const variables = new Set<string>();
const regex = /\{\{\s*([^<>\*\?!/}\s][^}]*?)\s*}}/g;
let match;