javascript-obfuscator / javascript-obfuscator/react-native-obfuscating-transformer
Old javascript-obfuscator dependence causes error
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 211
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with package.json and inspect the nested javascript-obfuscator dependency used by react-native-obfuscating-transformer. Reproduce the reported constructor-argument error with Node 12.16.0, update the dependency as appropriate, and verify that the error no longer occurs with the newer version.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100