mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-12 00:04:18 -07:00
Attempt to fix minimist CVE (#1470)
* Attempt to fix minimist CVE - udpate npm to 8.5.5 - update node to 14.17.5 - update all minor versions to latest - minimist to 1.2.6 (could still be CVE) - set docker frontend to use cdn by default - update all dependencies - update survey button launch svg color - update to zoom / territory buttons - search icon changed - update Feature type from maplibre-gl - use default search icon * Rollback maplibre to 1.15.2 * Revert maplibre to 1.14.0 * Rollback some changes - rollback uswds - search icon is back - update snapshots - rollback docker to be cdn by default
This commit is contained in:
parent
a986674ed9
commit
712e5bb4ed
7 changed files with 33149 additions and 10340 deletions
|
@ -79,7 +79,7 @@ exports[`rendering of the AreaDetail checks if indicators for ISLAND AREAS are p
|
|||
class="usa-accordion"
|
||||
data-testid="accordion"
|
||||
>
|
||||
<h2
|
||||
<h4
|
||||
class="usa-accordion__heading"
|
||||
>
|
||||
<button
|
||||
|
@ -98,7 +98,7 @@ exports[`rendering of the AreaDetail checks if indicators for ISLAND AREAS are p
|
|||
/>
|
||||
</div>
|
||||
</button>
|
||||
</h2>
|
||||
</h4>
|
||||
<div
|
||||
class="usa-accordion__content usa-prose"
|
||||
data-testid="accordionItem_work-dev"
|
||||
|
@ -281,7 +281,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
|
|||
class="usa-accordion"
|
||||
data-testid="accordion"
|
||||
>
|
||||
<h2
|
||||
<h4
|
||||
class="usa-accordion__heading"
|
||||
>
|
||||
<button
|
||||
|
@ -300,7 +300,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
|
|||
/>
|
||||
</div>
|
||||
</button>
|
||||
</h2>
|
||||
</h4>
|
||||
<div
|
||||
class="usa-accordion__content usa-prose"
|
||||
data-testid="accordionItem_climate-change"
|
||||
|
@ -414,7 +414,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
|
|||
</div>
|
||||
</li>
|
||||
</div>
|
||||
<h2
|
||||
<h4
|
||||
class="usa-accordion__heading"
|
||||
>
|
||||
<button
|
||||
|
@ -433,7 +433,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
|
|||
/>
|
||||
</div>
|
||||
</button>
|
||||
</h2>
|
||||
</h4>
|
||||
<div
|
||||
class="usa-accordion__content usa-prose"
|
||||
data-testid="accordionItem_clean-energy"
|
||||
|
@ -527,7 +527,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
|
|||
</div>
|
||||
</li>
|
||||
</div>
|
||||
<h2
|
||||
<h4
|
||||
class="usa-accordion__heading"
|
||||
>
|
||||
<button
|
||||
|
@ -546,7 +546,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
|
|||
/>
|
||||
</div>
|
||||
</button>
|
||||
</h2>
|
||||
</h4>
|
||||
<div
|
||||
class="usa-accordion__content usa-prose"
|
||||
data-testid="accordionItem_clean-transport"
|
||||
|
@ -640,7 +640,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
|
|||
</div>
|
||||
</li>
|
||||
</div>
|
||||
<h2
|
||||
<h4
|
||||
class="usa-accordion__heading"
|
||||
>
|
||||
<button
|
||||
|
@ -659,7 +659,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
|
|||
/>
|
||||
</div>
|
||||
</button>
|
||||
</h2>
|
||||
</h4>
|
||||
<div
|
||||
class="usa-accordion__content usa-prose"
|
||||
data-testid="accordionItem_sustain-house"
|
||||
|
@ -757,7 +757,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
|
|||
</div>
|
||||
</li>
|
||||
</div>
|
||||
<h2
|
||||
<h4
|
||||
class="usa-accordion__heading"
|
||||
>
|
||||
<button
|
||||
|
@ -776,7 +776,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
|
|||
/>
|
||||
</div>
|
||||
</button>
|
||||
</h2>
|
||||
</h4>
|
||||
<div
|
||||
class="usa-accordion__content usa-prose"
|
||||
data-testid="accordionItem_leg-pollute"
|
||||
|
@ -888,7 +888,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
|
|||
</div>
|
||||
</li>
|
||||
</div>
|
||||
<h2
|
||||
<h4
|
||||
class="usa-accordion__heading"
|
||||
>
|
||||
<button
|
||||
|
@ -907,7 +907,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
|
|||
/>
|
||||
</div>
|
||||
</button>
|
||||
</h2>
|
||||
</h4>
|
||||
<div
|
||||
class="usa-accordion__content usa-prose"
|
||||
data-testid="accordionItem_clean-water"
|
||||
|
@ -983,7 +983,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
|
|||
</div>
|
||||
</li>
|
||||
</div>
|
||||
<h2
|
||||
<h4
|
||||
class="usa-accordion__heading"
|
||||
>
|
||||
<button
|
||||
|
@ -1002,7 +1002,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
|
|||
/>
|
||||
</div>
|
||||
</button>
|
||||
</h2>
|
||||
</h4>
|
||||
<div
|
||||
class="usa-accordion__content usa-prose"
|
||||
data-testid="accordionItem_health-burdens"
|
||||
|
@ -1137,7 +1137,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
|
|||
</div>
|
||||
</li>
|
||||
</div>
|
||||
<h2
|
||||
<h4
|
||||
class="usa-accordion__heading"
|
||||
>
|
||||
<button
|
||||
|
@ -1156,7 +1156,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
|
|||
/>
|
||||
</div>
|
||||
</button>
|
||||
</h2>
|
||||
</h4>
|
||||
<div
|
||||
class="usa-accordion__content usa-prose"
|
||||
data-testid="accordionItem_work-dev"
|
||||
|
@ -1379,7 +1379,7 @@ exports[`rendering of the AreaDetail checks if indicators for PUERTO RICO are pr
|
|||
class="usa-accordion"
|
||||
data-testid="accordion"
|
||||
>
|
||||
<h2
|
||||
<h4
|
||||
class="usa-accordion__heading"
|
||||
>
|
||||
<button
|
||||
|
@ -1398,7 +1398,7 @@ exports[`rendering of the AreaDetail checks if indicators for PUERTO RICO are pr
|
|||
/>
|
||||
</div>
|
||||
</button>
|
||||
</h2>
|
||||
</h4>
|
||||
<div
|
||||
class="usa-accordion__content usa-prose"
|
||||
data-testid="accordionItem_work-dev"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
.navigationControl {
|
||||
left: .75em;
|
||||
top: units(15);
|
||||
width: 2.5em;
|
||||
// width: 2.5em;
|
||||
}
|
||||
|
||||
.fullscreenControl {
|
||||
|
|
|
@ -26,6 +26,9 @@
|
|||
.launchIcon {
|
||||
height: .8rem;
|
||||
// @include u-margin-bottom('neg-05');
|
||||
|
||||
// Change color of USWDS icon
|
||||
filter: invert(13%) sepia(76%) saturate(5142%) hue-rotate(192deg) brightness(80%) contrast(106%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ import * as CONTACT_COPY from '../../data/copy/contact';
|
|||
import J40MainGridContainer from '../J40MainGridContainer';
|
||||
|
||||
// @ts-ignore
|
||||
import launchIcon from '/node_modules/uswds/dist/img/usa-icons-bg/launch--blue-70v.svg';
|
||||
import launchIcon from '/node_modules/uswds/dist/img/usa-icons/launch.svg';
|
||||
|
||||
export const onClickHandler = () => {
|
||||
Object.assign(document.createElement('a'), {target: '_blank', href: 'https://www.surveymonkey.com/r/cejst-survey'}).click();
|
||||
|
@ -15,6 +15,7 @@ export const onClickHandler = () => {
|
|||
|
||||
const SurveyButton = () => {
|
||||
const intl = useIntl();
|
||||
|
||||
return (
|
||||
<J40MainGridContainer className={styles.surveyButtonContainer}>
|
||||
<Button
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue