From de32dcef351be776141917c00b110238f3c30449 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 Nov 2024 17:58:01 +0000 Subject: [PATCH] chore: close outstanding dependeabot vulnerabilities --- frontend/shared/ExpandableArea.jsx | 4 +- package.json | 18 ++-- yarn.lock | 142 +++++++++++++++-------------- 3 files changed, 84 insertions(+), 80 deletions(-) diff --git a/frontend/shared/ExpandableArea.jsx b/frontend/shared/ExpandableArea.jsx index 21834c6ef..6a961281b 100644 --- a/frontend/shared/ExpandableArea.jsx +++ b/frontend/shared/ExpandableArea.jsx @@ -1,6 +1,6 @@ import React from 'react'; import PropTypes from 'prop-types'; -import shortid from 'shortid'; +import { nanoid } from 'nanoid'; // Based on the USWDS Accordion, but only ever has a single // item that can be expanded or collapsed @@ -11,7 +11,7 @@ function ExpandableArea({ children = null, isExpanded = false, }) { - const id = `expandable-area-${shortid.generate()}`; + const id = `expandable-area-${nanoid()}`; return (