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

fix unsafe-eval #769

Merged
merged 2 commits into from Aug 1, 2023
Merged

fix unsafe-eval #769

merged 2 commits into from Aug 1, 2023

Conversation

andrew703
Copy link

@andrew703 andrew703 commented Aug 1, 2023

  1. this.aNode._gfk 可能为 undefined,而 bind 的第一个参数为必填,因此这里判断一下,避免执行 bind(this.aNode._gfk, this.aNode) 时抛出异常
  2. 修复 JSON.parse 时由转义符导致的异常
  3. 修复 JSON.parse 后 Date 数据类型异常的问题

@errorrik errorrik merged commit 08a93fb into baidu:master Aug 1, 2023
3 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants