Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Support for browser environment #228

Open
rahulyadav-57 opened this issue Nov 25, 2024 · 0 comments
Open

Support for browser environment #228

rahulyadav-57 opened this issue Nov 25, 2024 · 0 comments

Comments

@rahulyadav-57
Copy link

To make the static analyzer work better in browser environments, I propose the following changes:

Virtual file system support:

  1. Replace direct usage of the file system (FS) with a virtualFileSystem to better suit browser environments.
  2. Provide users with the option to pass a custom file system, ensuring greater flexibility.

Node.js specific module compatibility:
Refactor the detector driver to remove dependencies on Node.js-specific modules and ensure it works seamlessly in both Node.js and browser environments by addressing modules like child_process and commander.

Goal:

The objective is to make the static analyzer fully operational in browser environments while maintaining its current functionality in Node.js. These enhancements will enable broader usage across a variety of development workflows, including web-based tools and IDEs.

I appreciate your time and consideration in reviewing these proposed changes. If any clarification or additional details are required, please feel free to reach out.

Thank you!

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

No branches or pull requests

1 participant