New ecmascript versions #1243
ReinhardHameeteman
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wanted to use a new import feature to read a json file using the
import name from './names.json' assert { type: 'json' };
syntax. Now I understand that since this is not part of the official standard yet, this doesn't work with the javascript-obfuscator.
However, digging a bit deeper I saw that javascript-obfuscator uses
esprima
(through escodegen) to parse the javascript files. Looking at that dependency it appears that the last release was six years ago and that there is no activity on that project. If my observation is correct javascript-obfuscator is limited to ECMAScript 2019 an no new language features will be supported.My question: are there plans to overcome this limitation (e.g. use the esprima-next fork), or should I use a different strategy to obfuscate my files (transpiling first e.g.)
Beta Was this translation helpful? Give feedback.
All reactions