Skip to content

[Bug]: nodejs引擎丢失部分变量数据 #277

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

Closed
xiaoqch opened this issue May 18, 2025 · 1 comment
Closed

[Bug]: nodejs引擎丢失部分变量数据 #277

xiaoqch opened this issue May 18, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@xiaoqch
Copy link
Contributor

xiaoqch commented May 18, 2025

Describe the bug

lse-nodejs脚本中,当Object类型变量以数字字符串作为键时,lse api可能会无法读取到该键值对

To Reproduce

const bug = {
  "22903518": 10689975,
  "22949482": "bug",
  "a114513": "not bug",
}
logger.error(bug);

结果打印 {a114513:not bug}

Expected behavior

打印 {22903518:10689975,22949482:bug,a114513:not bug} (quickjs引擎的输出)

Screenshots

No response

Platform

Windows

BDS Version

1.21.60

LeviLamina Version

1.1.1

LegacyScriptEngine Version

0.10.6

Additional context

再js脚本中读取是正常的

@xiaoqch xiaoqch added the bug Something isn't working label May 18, 2025
@xiaoqch xiaoqch changed the title [Bug]: nodejs引擎丢失数据 [Bug]: nodejs引擎丢失部分变量数据 May 18, 2025
@ShrBox
Copy link
Member

ShrBox commented May 22, 2025

LiteLDev/ScriptX#13

@ShrBox ShrBox closed this as completed May 22, 2025
ShrBox added a commit that referenced this issue Jun 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants