From c884ed06353182f6b0264702bae81149d3f1b3ec Mon Sep 17 00:00:00 2001 From: nurbek Date: Sun, 19 Jun 2022 23:42:13 +0600 Subject: [PATCH] Update React / js framework --- src/technologies/r.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/technologies/r.json b/src/technologies/r.json index c9842ddf7..177684f72 100644 --- a/src/technologies/r.json +++ b/src/technologies/r.json @@ -425,7 +425,7 @@ "html": "<[^>]+data-react", "icon": "React.svg", "js": { - "React.version": "^(.+)$\\;version:\\1", + "React.version": "^([\\d\\.]+)$\\;version:\\1", "ReactOnRails": "", "__REACT_ON_RAILS_EVENT_HANDLERS_RAN_ONCE__": "" }, @@ -433,8 +433,8 @@ "description": "^Web site created using create-react-app$" }, "scriptSrc": [ - "react(?:-with-addons)?[.-]([\\d.]*\\d)[^/]*\\.js\\;version:\\1", - "/([\\d.]+)/react(?:\\.min)?\\.js\\;version:\\1", + "react(?:-with-addons)?[.-](\\d+(?:\\.\\d+)+)[^/]*\\.js\\;version:\\1", + "/([\\d\\.]+)/react(?:\\.min)?\\.js\\;version:\\1", "^react\\b.*\\.js" ], "website": "https://reactjs.org"