New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Safari Bug: Invalid regular expression: invalid group specifier name #8
Labels
bug
Something isn't working
Comments
Thanks for reporting, I'll take a peak. Interestingly, the export const makeSafeQueryRunner =
(fn: QueryExecutor) =>
<T extends BaseType>({
query,
schema,
}: QueryResult<T>): Promise<z.infer<T>> =>
fn(query).then((res) => schema.parse(res)); There aren't any regular expressions involved, and it's a pretty simple implementation. I'll peak a little bit deeper to see if I can diagnose what's going on! |
Just saw those 2 issues/prs on the zod repo: colinhacks/zod#1668 colinhacks/zod#1683 Seems like |
iduuck
added a commit
to iduuck/groqd
that referenced
this issue
Dec 14, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I got an error on safari browsers (including mobile safari) and I nailed it down to the creation of the safe query runner.
I am seeing the following error:
The text was updated successfully, but these errors were encountered: