javascript-obfuscator / javascript-obfuscator/react-native-obfuscating-transformer

Old javascript-obfuscator dependence causes error

未关闭
#29 3 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
211
派生
102
PR 合并指标
30 天内没有已合并 PR

描述

Hi,

With current 0.13.0 version of javascript-obfuscator I'm getting error

`The number of constructor arguments in the derived class t must be >= than the number of constructor arguments of its base class
at getTargets (...\node_modules\react-native-obfuscating-transformer\node_modules\inversify\lib\planning\reflection_utils.js:32:15)`

With updated version to 0.27.2 ther is no error.

Now I'm going to override the nested dependency in package.json, but please consider updating dependecy.

My node version is 12.16.0

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 package.json 开始,检查 react-native-obfuscating-transformer 使用的嵌套 javascript-obfuscator 依赖项。使用 Node 12.16.0 重现报告的构造函数参数错误,适当更新该依赖项,并验证使用新版本后错误不再发生。

由索引模型根据 Issue 内容生成。

评估

技术栈
react-native, typescript
领域
mobile, tooling
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。