unjs / ufo

🔗 URL utils for humans

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SyntaxError: Invalid regular expression: invalid group specifier name (Safari)

tjifyodor opened this issue · comments

commented

Environment


  • Operating System: Darwin
  • Node Version: v20.11.1
  • Package Manager: pnpm@8.15.4

Reproduction

https://stackblitz.com/fork/github/BobbieGoede/nuxt-i18n-starter/tree/v8

@nuxtjs/i18n@8.2.0 can be used for reproduction (uses ufo@1.5.1) on iOS <= 15

Describe the bug

Regex lookahead/lookbehind is not supported on older safari browsers, one of them added in version 1.5.1, which not working on older safari browsers (iOS 15 for example)

Additional context

No response

Logs

No response

commented

Duplicate of #224