Skip to content

Commit

Permalink
Merge pull request #1669 from cfpb/ans_update_deps
Browse files Browse the repository at this point in the history
Update dependencies: html-entities, babel/core, babel/preset-env, babel-loader, eslint, eslint-plugin-jsdoc, jest, jest-cli, jest-environment-jsdom, lerna, postcss, prettier, webpack
  • Loading branch information
anselmbradford committed Jul 11, 2023
2 parents 6a9f2b5 + d5abf2d commit dd4fc1e
Show file tree
Hide file tree
Showing 478 changed files with 1,172 additions and 1,519 deletions.
2 changes: 1 addition & 1 deletion docs/admin/src/widgets/genericPreviewTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import template from '../../../_includes/generic-content.html';
export default class Preview extends Component {
componentDidMount() {
liquidEngine.registerFilter('markdownify', (initial) =>
marked(initial || '')
marked(initial || ''),
);
}

Expand Down
4 changes: 2 additions & 2 deletions docs/admin/src/widgets/navigationPreviewTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ export default class Preview extends Component {
liquidEngine.registerFilter('size', (initial) => initial.length || 1);
liquidEngine.registerFilter(
'relative_url',
(initial) => `/design-system/${initial}`
(initial) => `/design-system/${initial}`,
);
liquidEngine.registerFilter('slugify', (initial) =>
slugify(initial || '', { lower: true })
slugify(initial || '', { lower: true }),
);
}

Expand Down
10 changes: 5 additions & 5 deletions docs/admin/src/widgets/pagePreviewTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@ import template from '../../../_includes/variation-content.html';
// replace instances of {% include icons/XXXXX.svg %} with the inlined SVG
const templateWithIcons = template.replace(
/{%\s+include\s+\/?icons\/([\w-]+)\.svg\s+%}/g,
(match, icon) => import(`../../../_includes/icons/${icon}.svg`)
(match, icon) => import(`../../../_includes/icons/${icon}.svg`),
);

export default class Preview extends Component {
constructor(props) {
super(props);

liquidEngine.registerFilter('slugify', (initial) =>
slugify(initial || '', { lower: true })
slugify(initial || '', { lower: true }),
);
liquidEngine.registerFilter('xml_escape', (initial) => encode(initial));
liquidEngine.registerFilter('markdownify', (initial) =>
marked(initial || '')
marked(initial || ''),
);
liquidEngine.registerFilter(
'strip',
(initial) => initial && initial.trim()
(initial) => initial && initial.trim(),
);

this.containerRef = React.createRef();
Expand All @@ -51,7 +51,7 @@ export default class Preview extends Component {
componentDidUpdate(props) {
// Tabs show under the show/hide details button on a pattern.
const tabsContainerDom = props.document.querySelectorAll(
`.${Tabs.BASE_CLASS}`
`.${Tabs.BASE_CLASS}`,
);
if (tabsContainerDom.length > 0) {
let tabsInst;
Expand Down
8 changes: 6 additions & 2 deletions docs/assets/css/skip-nav.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
width: 1px;
overflow: hidden;
background: transparent;
transition: transform 1s ease, background 0.5s linear;
transition:
transform 1s ease,
background 0.5s linear;
z-index: 11;

&:focus {
Expand All @@ -35,7 +37,9 @@
width: auto;
overflow: visible;
outline: 0;
transition: transform 0.1s ease, background 0.2s linear;
transition:
transform 0.1s ease,
background 0.2s linear;
}

&__flush-left:focus {
Expand Down
4 changes: 2 additions & 2 deletions docs/assets/js/Tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function Tabs(dom) {
function changeTab(index) {
// Remove classes from prior selected tab and panel.
_tabsItemsDom[_selectedTabIndex].classList.remove(
`${BASE_CLASS}_list-item-selected`
`${BASE_CLASS}_list-item-selected`,
);
_tabsPanelsDom[_selectedTabIndex].classList.add('u-hidden');

Expand All @@ -30,7 +30,7 @@ function Tabs(dom) {

// Add classes for the new selected tab and panel.
_tabsItemsDom[_selectedTabIndex].classList.add(
`${BASE_CLASS}_list-item-selected`
`${BASE_CLASS}_list-item-selected`,
);
_tabsPanelsDom[_selectedTabIndex].classList.remove('u-hidden');

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/interstitial.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if (page && window.PAGES_ALLOWED[page]) {
if (localStorage.getItem('cms-directions-last-seen')) {
const now = new Date();
const lastSeen = Date.parse(
localStorage.getItem('cms-directions-last-seen')
localStorage.getItem('cms-directions-last-seen'),
);
const daysSinceDirectionsSeen = (now - lastSeen) / 1000 / 60 / 60 / 24;
if (daysSinceDirectionsSeen <= 14) {
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/redirect-banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function getSource(match) {
function displayBanner(sourceName, sourceUrl) {
const banner = document.querySelector('#redirect-banner');
const sourceNames = banner.querySelectorAll(
'span[data-redirect=source-name]'
'span[data-redirect=source-name]',
);
const links = banner.querySelectorAll('a[data-redirect=archive-website]');

Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function displaySearchResults(elm, results, store) {
// Show some preview text under each search results item.
let previewText = '';
const searchMatchWordFragment = Object.keys(
results[i].matchData.metadata
results[i].matchData.metadata,
)[0];
const searchMatchFields =
results[i].matchData.metadata[searchMatchWordFragment];
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/toggle-details.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function toggleAllDetails(toggleBtn) {
toggleDetails(
buttonElm,
window.document,
isShowingAllDetails ? STATE_HIDE : STATE_SHOW
isShowingAllDetails ? STATE_HIDE : STATE_SHOW,
);
}

Expand Down
20 changes: 10 additions & 10 deletions docs/pages/paragraphs.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ variation_groups:
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat.</p>
variation_description: ""
variation_description: ''
variation_name: Body text
variation_implementation: >-
#### Vertical spacing
Expand Down Expand Up @@ -53,7 +53,7 @@ variation_groups:
quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
variation_description: ""
variation_description: ''
variation_name: Lead paragraph
variation_specs: >-
* Also referred to as a subheading
Expand All @@ -66,7 +66,7 @@ variation_groups:
Lorem ipsum dolor sit amet
</p>
variation_name: Microcopy
variation_implementation: ""
variation_implementation: ''
variation_specs: |-
* Good for highlighting small pieces of text, typically legal copy.
* Avenir Next Regular
Expand All @@ -79,7 +79,7 @@ variation_groups:
variation_specs: |-
* Avenir Next Regular
* 11pt / 16pt
variation_code_snippet: ""
variation_code_snippet: ''
variation_description: >-
<p style="font-size: 11pt; font-weight: 400; line-height:16pt">Avenir
Next Regular, 11pt / 16pt. Lorem ipsum dolor sit amet, ut labore et
Expand All @@ -93,9 +93,9 @@ variation_groups:
variation_specs: |-
* Avenir Next Regular
* 16pt / 20pt
variation_code_snippet: ""
variation_code_snippet: ''
variation_description: >-
<p style="font-size: 16pt; font-weight: 400; line-height:20pt">Avenir Next Regular, 16pt / 20pt. Lorem ipsum dolor sit amet, ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
Expand All @@ -109,12 +109,12 @@ title: Paragraphs
description: Paragraph text should provide an efficient and pleasant experience
on every viewport size. Readable text makes good use of alignment, spacing,
line length and height, and contrast.
use_cases: ""
behavior: ""
accessibility: ""
use_cases: ''
behavior: ''
accessibility: ''
related_items: "* [Typography
variables](https://cfpb.github.io/design-system/development/variables#typogra\
phy)"
last_updated: 2020-01-06T20:28:04.952Z
research: ""
research: ''
---
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@babel-core-7.21.8.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@babel-core-7.22.5.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@babel-parser-7.21.8.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@babel-parser-7.22.5.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@babel-types-7.21.5.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@jest-console-29.5.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@jest-core-29.5.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/@jest-core-29.6.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@jest-expect-29.5.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@jest-globals-29.5.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@jest-schemas-29.4.3.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@jest-types-29.5.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@lerna-create-7.0.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@npmcli-fs-2.1.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@npmcli-git-4.0.4.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/@npmcli-git-4.1.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@nrwl-devkit-16.3.2.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@nrwl-tao-16.3.2.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/@nrwl-tao-16.5.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@nx-devkit-16.3.2.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/@nx-devkit-16.5.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@octokit-core-4.2.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@octokit-types-9.2.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/@octokit-types-9.3.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-eslint-8.37.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-node-18.16.12.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-node-20.1.7.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-prettier-2.7.2.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@types-react-18.2.6.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/@types-unist-3.0.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/@wdio-logger-8.6.6.tgz
Binary file not shown.
Binary file not shown.
Binary file added npm-packages-offline-cache/acorn-8.10.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/acorn-8.8.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/aria-query-5.1.3.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/aria-query-5.3.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/axe-core-4.7.1.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/axe-core-4.7.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/axobject-query-3.1.1.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/babel-jest-29.5.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/babel-jest-29.6.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/babel-loader-9.1.2.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/babel-loader-9.1.3.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/browserslist-4.21.5.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/cacache-16.1.3.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/cacache-17.1.2.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/cacache-17.1.3.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/chalk-5.2.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/chalk-5.3.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/commondir-1.0.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added npm-packages-offline-cache/decamelize-5.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/deep-equal-2.2.1.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/dequal-2.0.3.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/dompurify-2.4.5.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/dompurify-2.4.7.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added npm-packages-offline-cache/envinfo-7.10.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/es-get-iterator-1.1.3.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/es-module-lexer-1.2.1.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/escodegen-2.0.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/escodegen-2.1.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/eslint-8.42.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/eslint-8.44.0.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/espree-9.5.2.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/espree-9.6.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/expect-29.5.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/expect-29.6.1.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/fast-glob-3.2.12.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/fast-glob-3.3.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/filter-obj-1.1.0.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/find-cache-dir-3.3.2.tgz
Binary file not shown.
Binary file not shown.
Binary file added npm-packages-offline-cache/find-up-6.3.0.tgz
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/glob-10.2.4.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/glob-10.3.3.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/html-entities-2.3.6.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/is-arguments-1.1.1.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/is-ci-3.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/is-map-2.0.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/is-set-2.0.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/is-weakmap-2.0.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/is-weakset-2.0.2.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/isarray-2.0.5.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jackspeak-2.2.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/jackspeak-2.2.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jake-10.8.6.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/jake-10.8.7.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-29.5.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/jest-29.6.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-circus-29.5.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/jest-circus-29.6.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-cli-29.5.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/jest-cli-29.6.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-config-29.5.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/jest-config-29.6.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-diff-29.5.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/jest-diff-29.6.1.tgz
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-each-29.5.0.tgz
Binary file not shown.
Binary file added npm-packages-offline-cache/jest-each-29.6.1.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed npm-packages-offline-cache/jest-haste-map-29.5.0.tgz
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit dd4fc1e

Please sign in to comment.