johnmichel / Library-Detector-for-Chrome

🔍 Extension that detects which JavaScript libraries are running on a page
https://chrome.google.com/webstore/detail/cgaocdmhkmfnkdkbnckgmpopcbpaaejo
MIT License
662 stars 111 forks source link

Improve preact detection performance #173

Closed developit closed 4 years ago

developit commented 4 years ago

The fast path test for Preact wasn't detecting Preact X, which most sites are now using. This adds it, reports the version correctly, and hopefully avoids hitting the slow path in most cases.