javascript-obfuscator / javascript-obfuscator/webpack-obfuscator

javascript-obfuscator does not work in the Webpack 3.x version

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

描述

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/javascript-obfuscator/node_modules/inversify/lib/planning/reflection_utils.js:32:15)

"webpack-obfuscator": "^0.12.5"
"webpack": "^3.6.0"
node: 14.20.0

贡献指南

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

调研方向

使用 webpack-obfuscator ^0.12.5、webpack ^3.6.0 和 Node 14.20.0 复现该失败。从 node_modules/javascript-obfuscator/node_modules/inversify/lib/planning/reflection_utils.js:32 开始,跟踪 getTargets 调用以确定兼容性边界。当报告的 Webpack 3.x 设置不再引发此构造函数参数错误,或其支持状态得到明确确认时,即表示完成。

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

评估

技术栈
typescript, webpack
领域
build-system
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

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