From 23b3d636e10de3b00cd717e7fd32123bde95d0fe Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 7 Sep 2021 09:45:27 +0300 Subject: [PATCH 1/2] Typo fixes (#34914) --- js/tests/unit/util/focustrap.spec.js | 2 +- site/content/docs/5.1/components/alerts.md | 2 +- site/content/docs/5.1/components/buttons.md | 2 +- site/content/docs/5.1/components/carousel.md | 2 +- site/content/docs/5.1/components/collapse.md | 2 +- site/content/docs/5.1/components/dropdowns.md | 2 +- site/content/docs/5.1/components/list-group.md | 2 +- site/content/docs/5.1/components/modal.md | 2 +- site/content/docs/5.1/components/navs-tabs.md | 2 +- site/content/docs/5.1/components/offcanvas.md | 2 +- site/content/docs/5.1/components/placeholders.md | 2 +- site/content/docs/5.1/components/popovers.md | 2 +- site/content/docs/5.1/components/scrollspy.md | 2 +- site/content/docs/5.1/components/toasts.md | 2 +- site/content/docs/5.1/components/tooltips.md | 2 +- site/content/docs/5.1/examples/blog/index.html | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/js/tests/unit/util/focustrap.spec.js b/js/tests/unit/util/focustrap.spec.js index 2457239c4f43..99bc95fca4f9 100644 --- a/js/tests/unit/util/focustrap.spec.js +++ b/js/tests/unit/util/focustrap.spec.js @@ -74,7 +74,7 @@ describe('FocusTrap', () => { document.dispatchEvent(focusInEvent) }) - it('should wrap focus around foward on tab', done => { + it('should wrap focus around forward on tab', done => { fixtureEl.innerHTML = [ 'outside', '
', diff --git a/site/content/docs/5.1/components/alerts.md b/site/content/docs/5.1/components/alerts.md index 0d009d0a0d31..6127279f5667 100644 --- a/site/content/docs/5.1/components/alerts.md +++ b/site/content/docs/5.1/components/alerts.md @@ -238,7 +238,7 @@ See the [triggers](#triggers) section for more details. getOrCreateInstance - Static method which returns an alert instance associated to a DOM element or create a new one in case it wasn't initialised. + Static method which returns an alert instance associated to a DOM element or create a new one in case it wasn't initialized. You can use it like this: bootstrap.Alert.getOrCreateInstance(element) diff --git a/site/content/docs/5.1/components/buttons.md b/site/content/docs/5.1/components/buttons.md index 5752615a958f..1f279ffd715d 100644 --- a/site/content/docs/5.1/components/buttons.md +++ b/site/content/docs/5.1/components/buttons.md @@ -210,7 +210,7 @@ var bsButton = new bootstrap.Button(button) getOrCreateInstance - Static method which returns a button instance associated to a DOM element or create a new one in case it wasn't initialised. + Static method which returns a button instance associated to a DOM element or create a new one in case it wasn't initialized. You can use it like this: bootstrap.Button.getOrCreateInstance(element) diff --git a/site/content/docs/5.1/components/carousel.md b/site/content/docs/5.1/components/carousel.md index e106e76c0ece..5a060f26fd08 100644 --- a/site/content/docs/5.1/components/carousel.md +++ b/site/content/docs/5.1/components/carousel.md @@ -425,7 +425,7 @@ var carousel = new bootstrap.Carousel(myCarousel, { getOrCreateInstance - Static method which returns a carousel instance associated to a DOM element or create a new one in case it wasn't initialised. + Static method which returns a carousel instance associated to a DOM element or create a new one in case it wasn't initialized. You can use it like this: bootstrap.Carousel.getOrCreateInstance(element) diff --git a/site/content/docs/5.1/components/collapse.md b/site/content/docs/5.1/components/collapse.md index 5d413ad75474..1e1b58c29324 100644 --- a/site/content/docs/5.1/components/collapse.md +++ b/site/content/docs/5.1/components/collapse.md @@ -222,7 +222,7 @@ var bsCollapse = new bootstrap.Collapse(myCollapse, { getOrCreateInstance - Static method which returns a collapse instance associated to a DOM element or create a new one in case it wasn't initialised. + Static method which returns a collapse instance associated to a DOM element or create a new one in case it wasn't initialized. You can use it like this: bootstrap.Collapse.getOrCreateInstance(element) diff --git a/site/content/docs/5.1/components/dropdowns.md b/site/content/docs/5.1/components/dropdowns.md index b388fb376529..738940fc9595 100644 --- a/site/content/docs/5.1/components/dropdowns.md +++ b/site/content/docs/5.1/components/dropdowns.md @@ -1148,7 +1148,7 @@ var dropdown = new bootstrap.Dropdown(element, { getOrCreateInstance - Static method which returns a dropdown instance associated to a DOM element or create a new one in case it wasn't initialised. + Static method which returns a dropdown instance associated to a DOM element or create a new one in case it wasn't initialized. You can use it like this: bootstrap.Dropdown.getOrCreateInstance(element) diff --git a/site/content/docs/5.1/components/list-group.md b/site/content/docs/5.1/components/list-group.md index cf6b06be9064..c47a05dd36ab 100644 --- a/site/content/docs/5.1/components/list-group.md +++ b/site/content/docs/5.1/components/list-group.md @@ -486,7 +486,7 @@ var tab = bootstrap.Tab.getInstance(triggerEl) // Returns a Bootstrap tab instan #### getOrCreateInstance -*Static* method which allows you to get the tab instance associated with a DOM element, or create a new one in case it wasn't initialised +*Static* method which allows you to get the tab instance associated with a DOM element, or create a new one in case it wasn't initialized ```js var triggerEl = document.querySelector('#trigger') diff --git a/site/content/docs/5.1/components/modal.md b/site/content/docs/5.1/components/modal.md index 118dc842f1e5..82fc24ac1f10 100644 --- a/site/content/docs/5.1/components/modal.md +++ b/site/content/docs/5.1/components/modal.md @@ -964,7 +964,7 @@ var modal = bootstrap.Modal.getInstance(myModalEl) // Returns a Bootstrap modal #### getOrCreateInstance -*Static* method which allows you to get the modal instance associated with a DOM element, or create a new one in case it wasn't initialised +*Static* method which allows you to get the modal instance associated with a DOM element, or create a new one in case it wasn't initialized ```js var myModalEl = document.querySelector('#myModal') diff --git a/site/content/docs/5.1/components/navs-tabs.md b/site/content/docs/5.1/components/navs-tabs.md index e83cb0094f95..353d03d2ddd7 100644 --- a/site/content/docs/5.1/components/navs-tabs.md +++ b/site/content/docs/5.1/components/navs-tabs.md @@ -626,7 +626,7 @@ var tab = bootstrap.Tab.getInstance(triggerEl) // Returns a Bootstrap tab instan #### getOrCreateInstance -*Static* method which allows you to get the tab instance associated with a DOM element, or create a new one in case it wasn't initialised +*Static* method which allows you to get the tab instance associated with a DOM element, or create a new one in case it wasn't initialized ```js var triggerEl = document.querySelector('#trigger') diff --git a/site/content/docs/5.1/components/offcanvas.md b/site/content/docs/5.1/components/offcanvas.md index c28e005e695f..72ba4be955c5 100644 --- a/site/content/docs/5.1/components/offcanvas.md +++ b/site/content/docs/5.1/components/offcanvas.md @@ -251,7 +251,7 @@ var bsOffcanvas = new bootstrap.Offcanvas(myOffcanvas) | `show` | Shows an offcanvas element. **Returns to the caller before the offcanvas element has actually been shown** (i.e. before the `shown.bs.offcanvas` event occurs).| | `hide` | Hides an offcanvas element. **Returns to the caller before the offcanvas element has actually been hidden** (i.e. before the `hidden.bs.offcanvas` event occurs).| | `getInstance` | *Static* method which allows you to get the offcanvas instance associated with a DOM element | -| `getOrCreateInstance` | *Static* method which allows you to get the offcanvas instance associated with a DOM element, or create a new one in case it wasn't initialised | +| `getOrCreateInstance` | *Static* method which allows you to get the offcanvas instance associated with a DOM element, or create a new one in case it wasn't initialized | {{< /bs-table >}} ### Events diff --git a/site/content/docs/5.1/components/placeholders.md b/site/content/docs/5.1/components/placeholders.md index 55545ec69aeb..348b0e9f9a99 100644 --- a/site/content/docs/5.1/components/placeholders.md +++ b/site/content/docs/5.1/components/placeholders.md @@ -86,7 +86,7 @@ We apply additional styling to `.btn`s via `::before` to ensure the `height` is {{< /example >}} {{< callout info >}} -The use of `aria-hidden="true"` only indicates that the element should be hidden to screen readers. The *loading* behaviour of the placeholder depends on how authors will actually use the placeholder styles, how they plan to update things, etc. Some JavasSript code may be needed to *swap* the state of the placeholder and inform AT users of the update. +The use of `aria-hidden="true"` only indicates that the element should be hidden to screen readers. The *loading* behavior of the placeholder depends on how authors will actually use the placeholder styles, how they plan to update things, etc. Some JavasSript code may be needed to *swap* the state of the placeholder and inform AT users of the update. {{< /callout >}} ### Width diff --git a/site/content/docs/5.1/components/popovers.md b/site/content/docs/5.1/components/popovers.md index 06aa656d96a7..4511645cee35 100644 --- a/site/content/docs/5.1/components/popovers.md +++ b/site/content/docs/5.1/components/popovers.md @@ -395,7 +395,7 @@ var popover = bootstrap.Popover.getInstance(exampleTriggerEl) // Returns a Boots #### getOrCreateInstance -*Static* method which allows you to get the popover instance associated with a DOM element, or create a new one in case it wasn't initialised +*Static* method which allows you to get the popover instance associated with a DOM element, or create a new one in case it wasn't initialized ```js var exampleTriggerEl = document.getElementById('example') diff --git a/site/content/docs/5.1/components/scrollspy.md b/site/content/docs/5.1/components/scrollspy.md index 580a1e2d55d5..bcd9fb78a6d2 100644 --- a/site/content/docs/5.1/components/scrollspy.md +++ b/site/content/docs/5.1/components/scrollspy.md @@ -300,7 +300,7 @@ var scrollSpy = bootstrap.ScrollSpy.getInstance(scrollSpyContentEl) // Returns a #### getOrCreateInstance -*Static* method which allows you to get the scrollspy instance associated with a DOM element, or create a new one in case it wasn't initialised +*Static* method which allows you to get the scrollspy instance associated with a DOM element, or create a new one in case it wasn't initialized ```js var scrollSpyContentEl = document.getElementById('content') diff --git a/site/content/docs/5.1/components/toasts.md b/site/content/docs/5.1/components/toasts.md index d17d8b3df880..449f0275ce46 100644 --- a/site/content/docs/5.1/components/toasts.md +++ b/site/content/docs/5.1/components/toasts.md @@ -424,7 +424,7 @@ var myToast = bootstrap.Toast.getInstance(myToastEl) // Returns a Bootstrap toas #### getOrCreateInstance -*Static* method which allows you to get the toast instance associated with a DOM element, or create a new one in case it wasn't initialised +*Static* method which allows you to get the toast instance associated with a DOM element, or create a new one in case it wasn't initialized ```js var myToastEl = document.getElementById('myToastEl') diff --git a/site/content/docs/5.1/components/tooltips.md b/site/content/docs/5.1/components/tooltips.md index 59d2480d468a..58da2076b3eb 100644 --- a/site/content/docs/5.1/components/tooltips.md +++ b/site/content/docs/5.1/components/tooltips.md @@ -419,7 +419,7 @@ var tooltip = bootstrap.Tooltip.getInstance(exampleTriggerEl) // Returns a Boots #### getOrCreateInstance -*Static* method which allows you to get the tooltip instance associated with a DOM element, or create a new one in case it wasn't initialised +*Static* method which allows you to get the tooltip instance associated with a DOM element, or create a new one in case it wasn't initialized ```js var exampleTriggerEl = document.getElementById('example') diff --git a/site/content/docs/5.1/examples/blog/index.html b/site/content/docs/5.1/examples/blog/index.html index 22958f5a75ed..fb5c25dfc9ca 100644 --- a/site/content/docs/5.1/examples/blog/index.html +++ b/site/content/docs/5.1/examples/blog/index.html @@ -115,7 +115,7 @@

Example lists

  • Second list item with a longer description
  • Third list item to close it out
  • -

    And this is a definiton list:

    +

    And this is a definition list:

    HyperText Markup Language (HTML)
    The language used to describe and define the content of a Web page
    From b6855ae13817f516f63bd2916ead5243e07f210b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 7 Sep 2021 10:55:08 +0300 Subject: [PATCH 2/2] Bump vnu-jar from 21.6.11 to 21.9.2 (#34874) * Bump vnu-jar from 21.6.11 to 21.9.2 Bumps [vnu-jar](https://github.com/validator/validator) from 21.6.11 to 21.9.2. - [Release notes](https://github.com/validator/validator/releases) - [Changelog](https://github.com/validator/validator/blob/main/CHANGELOG.md) - [Commits](https://github.com/validator/validator/compare/21.6.11...21.9.2) --- updated-dependencies: - dependency-name: vnu-jar dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Ignore the `aria-disabled` warnings * Add comment to aria-disabled ignore Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Patrick H. Lauke Co-authored-by: XhmikosR --- build/vnu-jar.js | 6 +++++- package-lock.json | 6 +++--- package.json | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/build/vnu-jar.js b/build/vnu-jar.js index 6c3517ca5504..2d5cc8b55ec5 100644 --- a/build/vnu-jar.js +++ b/build/vnu-jar.js @@ -26,7 +26,11 @@ execFile('java', ['-version'], (error, stdout, stderr) => { // "autocomplete" is included in