Skip to content

Commit

Permalink
Merge branch 'main' into all-contributors/add-jhancock532
Browse files Browse the repository at this point in the history
  • Loading branch information
haworku authored Jan 4, 2024
2 parents 32c52ec + 8ddf443 commit a3d8c43
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 44 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ In the process, we expect to gain learnings around how to best abstract out UI c

## Active Maintainers

- [Brandon Lenz](https://github.com/brandonlenz)
- [Andrew Nelson](https://github.com/werdnanoslen)

We are starting to rotate Trussel maintainer responsibilities. Check out the [maintainers README](./docs/for_maintainers.md).

Expand Down
4 changes: 0 additions & 4 deletions docs/for_maintainers.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,3 @@ Feel free to contribute to library with your time!
### Addressing Security Alerts

Typically any security alerts we receive will be related to third-party dependencies. This repo is currently configured so that Dependabot will automatically open PRs that fix dependency vulnerabilities, so ideally most of the time manual intervention is not needed. There may also be periods of time during which an alert is issued, but the related dependencies have not yet updated -- in this case, we usually choose to accept the risk of waiting until the updates have been released. However, if an exceptional case comes up -- such as a high severity vulnerability or even a vulnerability within this library -- and you aren't sure how to handle it, you can ask for help in one of the following Truss Slack channels (in order of relevance): #react-uswds, #g-frontend, #infrasec, #engineering

### Merging External PRs

Currently our CI cannot run on external PRs (work from outside the Truss organization) and this prevents merge. Instead, we pull PRs into a separate branch that a CODEOWNER can create [using this script](https://github.com/jklukas/git-push-fork-to-upstream-branch). We then close the external contribution PR [with a comment](https://github.com/trussworks/react-uswds/pull/375#issuecomment-668116811) explaining what's going. This allows automation to run properly.
2 changes: 0 additions & 2 deletions src/components/banner/BannerIcon/BannerIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ export const BannerIcon = ({
const classes = classNames('usa-banner__icon usa-media-block__img', className)

return (
// eslint-disable-next-line jsx-a11y/no-redundant-roles
<img
className={classes}
src={src}
role="img"
alt={alt}
aria-hidden="true"
{...imgProps}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ exports[`GovBanner component static content renders consistently in English for
alt=""
aria-hidden="true"
className="usa-banner__icon usa-media-block__img"
role="img"
src="test-file-stub"
/>
<div
Expand All @@ -100,7 +99,6 @@ exports[`GovBanner component static content renders consistently in English for
alt=""
aria-hidden="true"
className="usa-banner__icon usa-media-block__img"
role="img"
src="test-file-stub"
/>
<div
Expand Down Expand Up @@ -215,7 +213,6 @@ exports[`GovBanner component static content renders consistently in English for
alt=""
aria-hidden="true"
className="usa-banner__icon usa-media-block__img"
role="img"
src="test-file-stub"
/>
<div
Expand All @@ -241,7 +238,6 @@ exports[`GovBanner component static content renders consistently in English for
alt=""
aria-hidden="true"
className="usa-banner__icon usa-media-block__img"
role="img"
src="test-file-stub"
/>
<div
Expand Down Expand Up @@ -356,7 +352,6 @@ exports[`GovBanner component static content renders consistently in Spanish for
alt=""
aria-hidden="true"
className="usa-banner__icon usa-media-block__img"
role="img"
src="test-file-stub"
/>
<div
Expand All @@ -382,7 +377,6 @@ exports[`GovBanner component static content renders consistently in Spanish for
alt=""
aria-hidden="true"
className="usa-banner__icon usa-media-block__img"
role="img"
src="test-file-stub"
/>
<div
Expand Down Expand Up @@ -496,7 +490,6 @@ exports[`GovBanner component static content renders consistently in Spanish for
alt=""
aria-hidden="true"
className="usa-banner__icon usa-media-block__img"
role="img"
src="test-file-stub"
/>
<div
Expand All @@ -522,7 +515,6 @@ exports[`GovBanner component static content renders consistently in Spanish for
alt=""
aria-hidden="true"
className="usa-banner__icon usa-media-block__img"
role="img"
src="test-file-stub"
/>
<div
Expand Down Expand Up @@ -636,7 +628,6 @@ exports[`GovBanner component static content renders consistently with default pr
alt=""
aria-hidden="true"
className="usa-banner__icon usa-media-block__img"
role="img"
src="test-file-stub"
/>
<div
Expand All @@ -662,7 +653,6 @@ exports[`GovBanner component static content renders consistently with default pr
alt=""
aria-hidden="true"
className="usa-banner__icon usa-media-block__img"
role="img"
src="test-file-stub"
/>
<div
Expand Down
77 changes: 50 additions & 27 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1655,10 +1655,10 @@
resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.6.2.tgz#1816b5f6948029c5eaacb0703b850ee0cb37d8f8"
integrity sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw==

"@eslint/eslintrc@^2.1.2":
version "2.1.2"
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.2.tgz#c6936b4b328c64496692f76944e755738be62396"
integrity sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==
"@eslint/eslintrc@^2.1.4":
version "2.1.4"
resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.4.tgz#388a269f0f25c1b6adc317b5a2c55714894c70ad"
integrity sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==
dependencies:
ajv "^6.12.4"
debug "^4.3.2"
Expand All @@ -1670,10 +1670,10 @@
minimatch "^3.1.2"
strip-json-comments "^3.1.1"

"@eslint/js@^8.47.0":
version "8.47.0"
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.47.0.tgz#5478fdf443ff8158f9de171c704ae45308696c7d"
integrity sha512-P6omY1zv5MItm93kLM8s2vr1HICJH8v0dvddDhysbIuZ+vcjOHg5Zbkf1mTkcmi2JA9oBG2anOkRnW8WJTS8Og==
"@eslint/js@8.56.0":
version "8.56.0"
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.56.0.tgz#ef20350fec605a7f7035a01764731b2de0f3782b"
integrity sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==

"@gar/promisify@^1.0.1":
version "1.1.3"
Expand Down Expand Up @@ -1712,12 +1712,12 @@
qs "^6.10.1"
xcase "^2.0.1"

"@humanwhocodes/config-array@^0.11.10":
version "0.11.10"
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.10.tgz#5a3ffe32cc9306365fb3fd572596cd602d5e12d2"
integrity sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==
"@humanwhocodes/config-array@^0.11.13":
version "0.11.13"
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.13.tgz#075dc9684f40a531d9b26b0822153c1e832ee297"
integrity sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==
dependencies:
"@humanwhocodes/object-schema" "^1.2.1"
"@humanwhocodes/object-schema" "^2.0.1"
debug "^4.1.1"
minimatch "^3.0.5"

Expand All @@ -1726,10 +1726,10 @@
resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c"
integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==

"@humanwhocodes/object-schema@^1.2.1":
version "1.2.1"
resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45"
integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==
"@humanwhocodes/object-schema@^2.0.1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz#e5211452df060fa8522b55c7b3c0c4d1981cb044"
integrity sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==

"@istanbuljs/load-nyc-config@^1.0.0":
version "1.1.0"
Expand Down Expand Up @@ -2756,6 +2756,13 @@
dependencies:
"@storybook/global" "^5.0.0"

"@storybook/[email protected]":
version "7.6.6"
resolved "https://registry.yarnpkg.com/@storybook/client-logger/-/client-logger-7.6.6.tgz#a8bc9568a1763c34d16d7154498bea971a181b06"
integrity sha512-WEvVyuQR5oNF8jcMmGA13zDjxP/l46kOBBvB6JSc8toUdtLZ/kZWSnU0ioNM8+ECpFqXHjBcF2K6uSJOEb6YEg==
dependencies:
"@storybook/global" "^5.0.0"

"@storybook/[email protected]":
version "6.5.16"
resolved "https://registry.yarnpkg.com/@storybook/components/-/components-6.5.16.tgz#f8dc51213bc08fe32154be964e1e8b0e2f670ed6"
Expand Down Expand Up @@ -3381,7 +3388,7 @@
"@storybook/global" "^5.0.0"
memoizerific "^1.11.3"

"@storybook/[email protected]", "@storybook/theming@^7.0.8":
"@storybook/[email protected]":
version "7.5.3"
resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-7.5.3.tgz#bbcf547c8b3ec1e59e641c58155a44781d5f310d"
integrity sha512-Cjmthe1MAk0z4RKCZ7m72gAD8YD0zTAH97z5ryM1Qv84QXjiCQ143fGOmYz1xEQdNFpOThPcwW6FEccLHTkVcg==
Expand All @@ -3391,6 +3398,16 @@
"@storybook/global" "^5.0.0"
memoizerific "^1.11.3"

"@storybook/theming@^7.0.8":
version "7.6.6"
resolved "https://registry.yarnpkg.com/@storybook/theming/-/theming-7.6.6.tgz#9eb190982c7e3f6f1383bfdf38a24c677d1803ee"
integrity sha512-hNZOOxaF55iAGUEM0dvAIP6LfGMgPKCJQIk/qyotFk+SKkg3PBqzph89XfFl9yCD3KiX5cryqarULgVuNawLJg==
dependencies:
"@emotion/use-insertion-effect-with-fallbacks" "^1.0.0"
"@storybook/client-logger" "7.6.6"
"@storybook/global" "^5.0.0"
memoizerific "^1.11.3"

"@storybook/[email protected]":
version "7.0.27"
resolved "https://registry.yarnpkg.com/@storybook/types/-/types-7.0.27.tgz#5e8a3bc8d973a519f1ca48fca5b34d53de9683e0"
Expand Down Expand Up @@ -4141,6 +4158,11 @@
"@typescript-eslint/types" "5.62.0"
eslint-visitor-keys "^3.3.0"

"@ungap/structured-clone@^1.2.0":
version "1.2.0"
resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406"
integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==

"@uswds/[email protected]":
version "3.7.0"
resolved "https://registry.yarnpkg.com/@uswds/uswds/-/uswds-3.7.0.tgz#d5d9ca69e6bed13ac867d8fcadb508ca7e67a88c"
Expand Down Expand Up @@ -7556,9 +7578,9 @@ escodegen@^2.0.0:
source-map "~0.6.1"

eslint-config-prettier@^9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz#eb25485946dd0c66cd216a46232dc05451518d1f"
integrity sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw==
version "9.1.0"
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz#31af3d94578645966c082fcb71a5846d3c94867f"
integrity sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==

eslint-import-resolver-node@^0.3.7:
version "0.3.7"
Expand Down Expand Up @@ -7712,17 +7734,18 @@ eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4
integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==

eslint@^8.25.0:
version "8.47.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.47.0.tgz#c95f9b935463fb4fad7005e626c7621052e90806"
integrity sha512-spUQWrdPt+pRVP1TTJLmfRNJJHHZryFmptzcafwSvHsceV81djHOdnEeDmkdotZyLNjDhrOasNK8nikkoG1O8Q==
version "8.56.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.56.0.tgz#4957ce8da409dc0809f99ab07a1b94832ab74b15"
integrity sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==
dependencies:
"@eslint-community/eslint-utils" "^4.2.0"
"@eslint-community/regexpp" "^4.6.1"
"@eslint/eslintrc" "^2.1.2"
"@eslint/js" "^8.47.0"
"@humanwhocodes/config-array" "^0.11.10"
"@eslint/eslintrc" "^2.1.4"
"@eslint/js" "8.56.0"
"@humanwhocodes/config-array" "^0.11.13"
"@humanwhocodes/module-importer" "^1.0.1"
"@nodelib/fs.walk" "^1.2.8"
"@ungap/structured-clone" "^1.2.0"
ajv "^6.12.4"
chalk "^4.0.0"
cross-spawn "^7.0.2"
Expand Down

0 comments on commit a3d8c43

Please sign in to comment.