diff options
| -rw-r--r-- | lib/process/validate_identifier.ts | 2 | ||||
| -rw-r--r-- | package.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/process/validate_identifier.ts b/lib/process/validate_identifier.ts index 1ff3791..4f303b6 100644 --- a/lib/process/validate_identifier.ts +++ b/lib/process/validate_identifier.ts @@ -1,7 +1,7 @@ import { Either, type IEither } from '@emprespresso/pengueno'; export const validateIdentifier = (token: string) => { - return /^[a-zA-Z0-9_\-:. \/]+$/.test(token) && !token.includes('..'); + return /^[a-zA-Z0-9_\?\&\=\-:. \/]+$/.test(token) && !token.includes('..'); }; // ensure {@param obj} is a Record<string, string> with stuff that won't diff --git a/package.json b/package.json index d2e5b9e..6686eef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@emprespresso/pengueno", - "version": "0.0.15", + "version": "0.0.16", "description": "emprespresso pengueno utils", "main": "./dist/index.js", "types": "./dist/index.d.ts", |
