javascript-obfuscator / javascript-obfuscator/gulp-javascript-obfuscator

Throws error with Node.js 13.6

Open
#28 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
103
Forks
37
PR merge metrics
No merged PRs in 30d

Description

After upgrading to Node.js version 13.6 running our Gulp task with gulp-javascript-obfuscator in it throws the following error:

> Error in plugin "gulp-javascript-obfuscator"
> Message:
> The number of constructor arguments in the derived class t must be >= than the number of constructor arguments of its base class.
> Details:
> domainThrown: true

Running npm install from scratch doesn't resolve this error. Works fine as soon as you switch back to Node.js 13.3.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Gulp task with Node.js 13.6 and compare it with Node.js 13.3, using the gulp-javascript-obfuscator plugin and the reported constructor-argument error. Inspect the plugin and its installed dependencies to identify the compatibility boundary. Done means the task runs successfully on Node.js 13.6 without the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.