You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running any restringer command (including restringer -h), the command fails with a SyntaxError indicating that the 'flast' module does not provide an export named 'utils'. This issue should affect any system with Node.js v20.13.0 and a fresh global installation of restringer.
Error Message
(node:12538) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time
SyntaxError: The requested module 'flast' does not provide an export named 'utils'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:134:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:217:5)
at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)
at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:123:5)
Description
When running any
restringer
command (includingrestringer -h
), the command fails with a SyntaxError indicating that the 'flast' module does not provide an export named 'utils'. This issue should affect any system with Node.js v20.13.0 and a fresh global installation of restringer.Error Message
Environment
Reproduction Environment
npm install -g restringer
Test System Details (where reproduced)
Steps to Reproduce
npm install -g restringer
restringer -h
,restringer --output
, etc.)Expected Behavior
The command should execute its intended function (display help information, deobfuscate, etc.).
Actual Behavior
All commands fail with the same SyntaxError related to missing exports from the 'flast' dependency.
The error occurs in
[node_modules path]/restringer/src/restringer.js
line 2, specifically when trying to import theutils
export from 'flast'.The text was updated successfully, but these errors were encountered: