javascript-obfuscator / javascript-obfuscator/webpack-obfuscator

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

Open
#170 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
928
Forks
92
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with webpack-obfuscator ^0.12.5, webpack ^3.6.0, and Node 14.20.0. Start at node_modules/javascript-obfuscator/node_modules/inversify/lib/planning/reflection_utils.js:32 and trace the getTargets call to identify the compatibility boundary. Done means the reported Webpack 3.x setup no longer raises this constructor-argument error, or its support status is clearly established.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, webpack
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.