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

Fix detection for Preact X #154

Closed developit closed 4 years ago

developit commented 4 years ago

Examples:

URL Known to be using Detection result
twitter.com not using false
preactjs.com 10.0.5 { version: "10" }
groupon.com 10.0 { version: "10" }
ride.lyft.com 8.2 { version: UNKNOWN_VERSION }
preact-www.surge.sh 7.x { version: "7" }
esbench.com 3.0 { version: UNKNOWN_VERSION }
johnmichel commented 4 years ago

LGTM.

Thanks for improving that logic!