Update styled-components detection (#2556)

* Update styled-components detection

* Add version detection & support older style tag

* Fix typo
main
Antoni Kepinski 6 years ago committed by Elbert Alias
parent cb71babf0d
commit 655261781f

@ -12554,7 +12554,10 @@
12,
47
],
"html": "<style[^>]*data-styled-components",
"html": [
"<style[^>]*data-styled(?:-components)?[\\s\"]",
"<style[^>]+data-styled-version=\"([0-9]+)\"\\;version:\\1"
],
"icon": "styled-components.png",
"implies": [
"React"