Skip to content

Please update the version of javascript-obfuscator to 1.3.0 or later #40

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
htduy262 opened this issue Nov 18, 2020 · 2 comments
Open

Comments

@htduy262
Copy link

I got the issue when bundling the code:
"The number of constructor arguments in the derived class t must be >= than the number of constructor arguments of its base class."

I got node_module/react-native-obfuscating-transformer and change the version of javascript-obfuscator to 1.3.0. Then it works.
Please take some time to upgrade our good library. Thank you very much!

@mppperez
Copy link
Contributor

javascript-obfuscator was updated to 2.6.0 about 6 month ago (see #37). Since the maintainer of this library is not maintainig this library anymore you need to checkout yourself and build ("npm run build") and overwrite the resources in your node_modules manually or alternatively deploy the library to an internal repo yourself.

to make it work with current RN (0.64) I've created a PR which made it work. If you still need a working version I would be glad if you could test the new one with your code: #45

@alvinisasi
Copy link

To fix this issue, please the maintainer to review and merge my PR
Thank you!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants