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

Old javascript-obfuscator dependence causes error

Open
#29 3 comments 3 reactions 0 assignees View on GitHub
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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.