Skip to content
New issue

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

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

Already on GitHub? # to your account

Accept shell scripts in JS_DetectModule #358

Merged
merged 1 commit into from
Apr 7, 2024

Conversation

chqrlie
Copy link
Collaborator

@chqrlie chqrlie commented Apr 7, 2024

  • use skip_shebang in JS_DetectModule before scanning for import statements
  • this allows quickjs shell scripts to import modules

- use `skip_shebang` in `JS_DetectModule` before scanning for
  `import` statements
@chqrlie chqrlie merged commit d619882 into quickjs-ng:master Apr 7, 2024
46 checks passed
@chqrlie chqrlie deleted the accept-module-scripts branch April 7, 2024 14:23
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants