Open BenBaryoPX opened 10 months ago
While I do feel it's important to support the latest, I want to find a different package that is maintained and reputable, rather than a static fix
I haven't tried it yet but https://github.com/davidbonnet/astring looks promising and is much faster
escodegen
is not up to date with the newest ECMAScript nodes, so it fails on aPrivateIdentifier
AST node.Adding
to the
array_function_replacements_local_proxies.js
test case from obfuscation-detection gives an errorHowever, overriding the version of
escodegen
to use inpackage.json
like so:fixes the problem. I am trying to see if this fixes the
talon_sdk.js
file as well, but the file is so big that it has been running for a long time already.Originally posted by @jorants in https://github.com/PerimeterX/restringer/issues/64#issuecomment-1885031962