From 187be927cd1effc184015c20bb2224d0557da915 Mon Sep 17 00:00:00 2001 From: Hugh Date: Tue, 10 Dec 2024 18:10:05 +0000 Subject: [PATCH] Linting --- packages/procaptcha-pow/src/components/ProcaptchaWidget.tsx | 1 + packages/procaptcha-react/src/components/ProcaptchaWidget.tsx | 1 + packages/web-components/src/CaptchaPlaceholder.tsx | 1 + packages/web-components/src/WidgetConstants.ts | 3 +-- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/procaptcha-pow/src/components/ProcaptchaWidget.tsx b/packages/procaptcha-pow/src/components/ProcaptchaWidget.tsx index 8ff7bbb277..7e3bbc0454 100644 --- a/packages/procaptcha-pow/src/components/ProcaptchaWidget.tsx +++ b/packages/procaptcha-pow/src/components/ProcaptchaWidget.tsx @@ -138,6 +138,7 @@ const Procaptcha = (props: ProcaptchaProps) => { href={WIDGET_URL} target="_blank" aria-label={WIDGET_URL_TEXT} + rel="noreferrer" >
diff --git a/packages/procaptcha-react/src/components/ProcaptchaWidget.tsx b/packages/procaptcha-react/src/components/ProcaptchaWidget.tsx index 7bf63b9296..9581a8a4d3 100644 --- a/packages/procaptcha-react/src/components/ProcaptchaWidget.tsx +++ b/packages/procaptcha-react/src/components/ProcaptchaWidget.tsx @@ -148,6 +148,7 @@ const ProcaptchaWidget = (props: ProcaptchaProps) => { href={WIDGET_URL} target="_blank" aria-label={WIDGET_URL_TEXT} + rel="noreferrer" >
diff --git a/packages/web-components/src/CaptchaPlaceholder.tsx b/packages/web-components/src/CaptchaPlaceholder.tsx index ae822e116d..60e2b68bc7 100644 --- a/packages/web-components/src/CaptchaPlaceholder.tsx +++ b/packages/web-components/src/CaptchaPlaceholder.tsx @@ -101,6 +101,7 @@ export const ProcaptchaPlaceholder = ({ href={WIDGET_URL} target="_blank" aria-label={WIDGET_URL_TEXT} + rel="noreferrer" >
diff --git a/packages/web-components/src/WidgetConstants.ts b/packages/web-components/src/WidgetConstants.ts index d31a9fd476..bf5fac6380 100644 --- a/packages/web-components/src/WidgetConstants.ts +++ b/packages/web-components/src/WidgetConstants.ts @@ -11,8 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -export const WIDGET_URL = - "https://prosopo.io"; +export const WIDGET_URL = "https://prosopo.io"; export const WIDGET_URL_TEXT = "Visit prosopo.io to learn more about the service and its accessibility options."; export const WIDGET_INNER_HEIGHT = 74;