Skip to content

Conversation

@Napalys
Copy link
Contributor

@Napalys Napalys commented Nov 5, 2024

Added support for ES2020 feature, matchAll.
Related issue: github/codeql-javascript-team/issues/435

@Napalys Napalys added the JS label Nov 5, 2024
@Napalys Napalys requested a review from erik-krogh November 5, 2024 08:44
Copy link
Contributor

@erik-krogh erik-krogh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A small suggestion, otherwise LGTM assuming the evaluations look good.

I think we should also look at MembershipCandidates.qll and TaintTracking.qll.

But lets do that in a followup PR.

@Napalys Napalys force-pushed the napalys/matchAll-support branch from 93c2dad to 810eddc Compare November 7, 2024 09:30
@Napalys Napalys force-pushed the napalys/matchAll-support branch from 810eddc to 449cee9 Compare November 7, 2024 09:33
@Napalys Napalys force-pushed the napalys/matchAll-support branch from d7dab8b to bca14d7 Compare November 7, 2024 11:28
@Napalys Napalys force-pushed the napalys/matchAll-support branch 2 times, most recently from 9809499 to a96f9fc Compare November 7, 2024 12:20
@Napalys Napalys force-pushed the napalys/matchAll-support branch from a96f9fc to a4fe728 Compare November 7, 2024 12:35
Copy link
Contributor

@erik-krogh erik-krogh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

Just one small comment.

Napalys and others added 2 commits November 11, 2024 15:40
@Napalys Napalys marked this pull request as ready for review November 11, 2024 14:46
@Napalys Napalys requested a review from a team as a code owner November 11, 2024 14:46
@Napalys Napalys requested a review from erik-krogh November 11, 2024 14:46
@Napalys Napalys changed the title Support for matchAll js JS: Support for matchAll Nov 11, 2024
@erik-krogh
Copy link
Contributor

Is there a DCA run with all the changes? But it looks like they're only for the first half of the PR.

Could you start one with source-suite: nightly-old, query-suite: code-scanning, and add meta.qls as meta-queries.

@Napalys
Copy link
Contributor Author

Napalys commented Nov 14, 2024

DCA experiment looks good, no new unexpected sinks.

@Napalys Napalys merged commit c8c15a0 into github:main Nov 14, 2024
11 checks passed
@Napalys Napalys deleted the napalys/matchAll-support branch November 15, 2024 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants