Skip to content
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

ava在火狐75版本(32位)浏览器报错:SyntaxError: invalid regexp group #783

Open
LuckyZYF opened this issue Jun 6, 2024 · 2 comments

Comments

@LuckyZYF
Copy link

LuckyZYF commented Jun 6, 2024

  • Package Name: @antv/ava
  • Package Version: 3.4.1
  • Platform: node v20.14.0,react18
  • Mini Showcase(like screenshots):
    avaError
    fcd4fd378363776871dd7f361385a74

用了官网示例的getInsights方法,在谷歌浏览器可以得到结果,在公司内部浏览器会报invalid regexp group错误,公司使用的火狐浏览器75版本(32位)。
please help.

@chenluli
Copy link
Member

chenluli commented Jun 6, 2024

ava 内部目前用了命名捕获组的语法识别和解析日期字符串,命名捕获组语法在 ES2018 后支持的,看了下 Firefox 应该是在 78 版本支持的,你可以看下能否先升级下浏览器版本临时解决?我们这边也会做下降级的兼容方案

@LuckyZYF
Copy link
Author

LuckyZYF commented Jun 6, 2024

ava 内部目前用了命名捕获组的语法识别和解析日期字符串,命名捕获组语法在 ES2018 后支持的,看了下 Firefox 应该是在 78 版本支持的,你可以看下能否先升级下浏览器版本临时解决?我们这边也会做下降级的兼容方案

谢谢!期待降级兼容版本

@LuckyZYF LuckyZYF closed this as completed Jun 6, 2024
@LuckyZYF LuckyZYF reopened this Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants