fix: recognize global String substring lookups (#1734)
* fix: prevent false positive in js-set-map-lookups for String().includes() - Add check to ensure String() refers to global constructor, not shadowed variable - Add regression tests for the String() constructor case - Add corpus regression test file Closes #1733 Co-authored-by: Skosh <skoshx@users.noreply.github.com> * fix: recognize global String substring lookups --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Skosh <skoshx@users.noreply.github.com> Co-authored-by: Aiden Bai <aiden@million.dev>
S
Skosh committed
025d69d701581092632caa87ea59e5a719094ab9
Parent: adc3a91
Committed by GitHub <noreply@github.com>
on 9/1/2026, 3:59:48 AM