From ba92d991626817618a093de41721292ecb71eff8 Mon Sep 17 00:00:00 2001 From: Honjes Date: Fri, 25 Sep 2020 10:09:35 +0200 Subject: [PATCH 1/3] Add Detection for new Tech Add Axios, History, Redux, React Redux and React Router detection Adding two new icons --- .../images/icons/React Router.png | Bin 0 -> 15086 bytes .../webextension/images/icons/Redux.png | Bin 0 -> 4286 bytes src/technologies.json | 58 ++++++++++++++++++ 3 files changed, 58 insertions(+) create mode 100644 src/drivers/webextension/images/icons/React Router.png create mode 100644 src/drivers/webextension/images/icons/Redux.png diff --git a/src/drivers/webextension/images/icons/React Router.png b/src/drivers/webextension/images/icons/React Router.png new file mode 100644 index 0000000000000000000000000000000000000000..5dbdfcddcb14182535f6d32d1c900681321b1aa3 GIT binary patch literal 15086 zcmeI33v3ic7{|AFEmuJ-;v>ep_G*NPi6KM`qNryCe1PIJ8siIN1WZ(7qVa)RVtmC% z)Ch?tN+afMKm;5@rvorJk zcXnoOc4q51HBQnQH_jn!cAg&XI1?PlX>Kl^k8qq0;zkha`kY$Fxt#=KNJAE9CMdpW zqr4#g8`nTw191(+H4xW8Tmyru2I^3=J1G3emPxkPXA=3{vvuvse_WWSshqaqls^-m zgB7q8&Vk*aYRe?sn$n53dGH#%3y%^vxv{pL*-h0Z4bmb_(k6{FL7HWIz(V*HT#IcS z-wE{)+0x1U!RUPt3gB97%p}@oHxF4|6S*+Yw=_tLtxZ~`S=z6J?O^AfU>7qOX`JNBbV&8+bO0%@fhQitKIJ^O^ zpgIa__qD_y07t@DFlBJ)8SP_#^j{6jpaXt{U%=dx!qu=4u7^21lWEYHPPY5U3TcoQ zX_7W+lvZi>TapNk_X>k-KO%MC9iZp>1E`N34gHKd9tK&){jq2~7OsJ>!G0FzxQFw6G zm&Vb(2#-T|rM|n3>uAsG_hnbvUKFf3#ay@u4uTzia~NY%XgCHfx4^To4BDU@)HlV? z@EN=g^ymETa1sQK{kRwyE4Ax8?wT&GvaG@ASO}{&a17&^v`y z!oPdiSiia^oov(Z)QhG2&|FgE{M9_4hJROGbnj>#$~ZF$-G^|zPj*QApltKe?;u;uKHJ~-V!=VLkg7Kgct)l7u39f@%VG8e3f$N-B zAu3a4%ZGf)r+jPAYCSLt73m_J3}p>}6Tx0j(wg4vvKhP!DzgiWANiE;Ppvp}P2W@m z-VbYn+NXFF?6ngef5CfY6ZwKnWvNV4z6s^~yMXw2i5mv}jC$6$46g?G|CPAu{W5qF zDobS=zb2ILX9D827g*NtGe5w;>frjanY{f)hrBP_2ehBt1?`~ypvg_Ot4x1V+43P@Ve8>qd)9NX_jWdLo`Zfy zoeam9)@Dpym{4m@+LNxXBPjPKA7{3a&H+~xQvr>C_A;7=JrfK~$M2pCh>|xLz>W6SCs4qC|#V`)# z)0C|?$o>jzh<|-cpf

K7osU{Xp5PG4-K+L2G=)c3f&}H&M3wo7TlO_UJjQ-Oq&_ zjAc9=nNIYz{c3zxOiS5UfcE1}8#iI4@uy;$Q7>}u`j+OU0N<*Ezx$k{x_27+{s2Eg z`^=rhtIzCm!_UcJ?Db~Lh-=_))PT3{Q0{Mwdq;0>ZL%l3+;B&4!&xm#%HYAK|;b456Iv&&f$VQHf` z>$*K9w8T+paVwc7fLfMlhQ4)*zL_SG{~v4QR;IuX-(oRtYAhWOlh`NLoX0k$RUYMi z2Y!bqpdN}wz8q`-%>&Le@q|jFw92ErW-hma-le?S z-@OZt2EEUm4wLsuEMkt4zlyy29_3S50JAcQHTtgTC{P~%-mvCTzrjXOc|{}N`Cz`W zSj7CrXfa7lcsU0J(0uSX6G`54t^7}+OLM0n(|g4waOQ}bd3%!XLh?NX9|8G_|06Ie zD5F1)w5I~!et7lA{G^;uf7aqT`KE&2qx9|~O;s6t!gb`+zVLJyT2T)l*8l(j literal 0 HcmV?d00001 diff --git a/src/drivers/webextension/images/icons/Redux.png b/src/drivers/webextension/images/icons/Redux.png new file mode 100644 index 0000000000000000000000000000000000000000..f10af8fac99379dfe86989fa675af590e85eceab GIT binary patch literal 4286 zcmd7Udx%t39Ki9rO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S44wWBOWFJ< literal 0 HcmV?d00001 diff --git a/src/technologies.json b/src/technologies.json index c41774662..4874285a5 100644 --- a/src/technologies.json +++ b/src/technologies.json @@ -1724,6 +1724,16 @@ "scripts": "/awesomplete\\.js(?:$|\\?)", "website": "https://leaverou.github.io/awesomplete/" }, + "Axios": { + "cats": [ + 19 + ], + "scripts": [ + "/axios@([\\d.]+)/([a-z]+)/axios(?:.min)?\\.js\\;version:\\1" + ], + "description": "Promise based HTTP client for the browser and node.js", + "website": "https://github.com/axios/axios" + }, "Azure": { "cats": [ 62 @@ -5972,6 +5982,16 @@ }, "website": "http://hinzaco.com" }, + "History": { + "cats": [ + 12 + ], + "description": "Manage session history with JavaScript", + "scripts": [ + "/history@([\\d.]+)/([a-z]+)/history(?:.min)?\\.js\\;version:\\1" + ], + "website": "https://github.com/ReactTraining/history" + }, "Hogan.js": { "cats": [ 12 @@ -10617,6 +10637,17 @@ "scripts": "/redoc\\.(?:min\\.)?js", "website": "https://github.com/Rebilly/ReDoc" }, + "Redux": { + "cats": [ + 12 + ], + "description": "Predictable state container for JavaScript apps", + "icon": "Redux.png", + "scripts": [ + "/redux@([\\d.]+)/([a-z]+)/redux(?:.min)?\\.js\\;version:\\1" + ], + "website": "https://redux.js.org/" + }, "React": { "cats": [ 12 @@ -10636,6 +10667,33 @@ ], "website": "https://reactjs.org" }, + "React Redux": { + "cats": [ + 12 + ], + "description": "Official React bindings for Redux", + "icon": "Redux.png", + "implies": [ + "React", + "Redux" + ], + "scripts": [ + "/react-redux@([\\d.]+)/([a-z]+)/react-redux(?:.min)?\\.js\\;version:\\1" + ], + "website": "https://react-redux.js.org/" + }, + "React Router": { + "cats": [ + 12 + ], + "description": "Declarative routing for React", + "icon": "React Router.png", + "implies": "React", + "scripts": [ + "/react-router@([\\d.]+)/([a-z]+)/react-router(?:.min)?\\.js\\;version:\\1" + ], + "website": "https://reactrouter.com/" + }, "RebelMouse": { "cats": [ 1 From 75e1e5654c5843b96a88e42a3be127a06cb6585e Mon Sep 17 00:00:00 2001 From: Honjes Date: Fri, 25 Sep 2020 10:11:26 +0200 Subject: [PATCH 2/3] Update technologies.json Changing category of history --- src/technologies.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/technologies.json b/src/technologies.json index 4874285a5..9bac27047 100644 --- a/src/technologies.json +++ b/src/technologies.json @@ -5984,7 +5984,7 @@ }, "History": { "cats": [ - 12 + 19 ], "description": "Manage session history with JavaScript", "scripts": [ From e62295e8aa94b18a4bac6de1831a1dc5b656fdf2 Mon Sep 17 00:00:00 2001 From: Honjes Date: Fri, 25 Sep 2020 15:44:52 +0200 Subject: [PATCH 3/3] Improving detection for techs Added Scripts: - /history/version/history.development.js - /history/version/history.production.min.js - /axios/version/axios.min.js - /redux/version/redux.min.js - /react-redux/version/react-redux.min.js --- src/technologies.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/technologies.json b/src/technologies.json index 9bac27047..acdfc9293 100644 --- a/src/technologies.json +++ b/src/technologies.json @@ -1729,7 +1729,7 @@ 19 ], "scripts": [ - "/axios@([\\d.]+)/([a-z]+)/axios(?:.min)?\\.js\\;version:\\1" + "/axios(@|/)([\\d.]+)(?:/[a-z]+)?/axios(?:.min)?\\.js\\;version:\\2" ], "description": "Promise based HTTP client for the browser and node.js", "website": "https://github.com/axios/axios" @@ -5988,7 +5988,7 @@ ], "description": "Manage session history with JavaScript", "scripts": [ - "/history@([\\d.]+)/([a-z]+)/history(?:.min)?\\.js\\;version:\\1" + "/history(@|/)([\\d.]+)(?:/[a-z]+)?/history(?:(.production|.development))?(?:.min)?\\.js\\;version:\\2" ], "website": "https://github.com/ReactTraining/history" }, @@ -10644,7 +10644,7 @@ "description": "Predictable state container for JavaScript apps", "icon": "Redux.png", "scripts": [ - "/redux@([\\d.]+)/([a-z]+)/redux(?:.min)?\\.js\\;version:\\1" + "/redux(@|/)([\\d.]+)(?:/[a-z]+)?/redux(?:.min)?\\.js\\;version:\\2" ], "website": "https://redux.js.org/" }, @@ -10678,7 +10678,7 @@ "Redux" ], "scripts": [ - "/react-redux@([\\d.]+)/([a-z]+)/react-redux(?:.min)?\\.js\\;version:\\1" + "/react-redux(@|/)([\\d.]+)(?:/[a-z]+)?/react-redux(?:.min)?\\.js\\;version:\\2" ], "website": "https://react-redux.js.org/" }, @@ -10690,7 +10690,7 @@ "icon": "React Router.png", "implies": "React", "scripts": [ - "/react-router@([\\d.]+)/([a-z]+)/react-router(?:.min)?\\.js\\;version:\\1" + "/react-router(@|/)([\\d.]+)(?:/[a-z]+)?/react-router(?:.min)?\\.js\\;version:\\2" ], "website": "https://reactrouter.com/" },