Skip to content

Accept shell scripts in JS_DetectModule #358

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

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
@chqrlie chqrlie deleted the accept-module-scripts branch April 7, 2024 14:23
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

Successfully merging this pull request may close these issues.

2 participants