Граф коммитов

62 Коммитов

Автор SHA1 Сообщение Дата
Madalyn 2195bff5ac
chore: Update changelog script to allow for .txt output (#7396)
#### Details

This PR enables the changelog script to output a .txt file with a list
of commits to validate instead of a .csv.

This can be triggered by adding a flag onto the end of the script for
the desired kind of file:

`node ./tools/get-change-log-for-release.js --from web@PREVIOUS_RELEASE
--to web@NEW_RELEASE --kind txt`
or
`yarn run change-log --from web@PREVIOUS_RELEASE --to web@NEW_RELEASE -k
txt`

Example Output:

This is the result for running `yarn run change-log -f web@2.43.0 -t
web@2.44.0 -k txt`

```
[tester]
        dev: Chirag Sharma
        pr: https://github.com/microsoft/accessibility-insights-web/pull/7378
        group: fix
        change: fix: adding code to format nextline character (\r\n) (#7378)
[tester]
        dev: rohittarpara
        pr: https://github.com/microsoft/accessibility-insights-web/pull/7377
        group: fix
        change: fix: <hx role="none"> is reported as heading. (#7377)
[tester]
        dev: rohittarpara
        pr: https://github.com/microsoft/accessibility-insights-web/pull/7374
        group: chore
        change: chore: update @fluentui/react from 8.96.1 to 8.118.1 (#7374)
[tester]
        dev: rohittarpara
        pr: https://github.com/microsoft/accessibility-insights-web/pull/7369
        group: feat(axe-core 4.9.1)
        change: feat(axe-core 4.9.1): Axe core version upgrade for Web (#7369)
[tester]
        dev: Chirag Sharma
        pr: https://github.com/microsoft/accessibility-insights-web/pull/7370
        group: chore
        change: chore : Update package version for accessibility insights report and accessibility insights ui (#7370)
```

The release driver would just need to paste this into OneNote, remove
any commits that are non-user-facing, and format like a list to add
bullets and the indents are already there!

##### Motivation

Our changelog script generates a csv of the commits to main between two
commits (usually the previous release and HEAD). During release
validation, our team filters down that CSV in excel and then pastes the
generated table into our validation template so we can check that those
commits have successfully made it into the new release. To make our
release validation process more accessible, we are moving away from
using tables in our validation templates.

##### Context

The text version of the changelog automatically excludes `dependabot`
and `chore(deps-dev)` commits, as it is more cumbersome to filter the
text list than the csv and these updates aren't included in validation
anyhow.

#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a"
in the checkbox -->
- [n/a] Addresses an existing issue: #0000
- [x] Ran `yarn fastpass`
- [n/a] Added/updated relevant unit test(s) (and ran `yarn test`)
- [n/a] Verified code coverage for the changes made. Check coverage
report at: `<rootDir>/test-results/unit/coverage`
- [x] PR title *AND* final merge commit title both start with a semantic
tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See
`CONTRIBUTING.md`.
- [n/a] (UI changes only) Added screenshots/GIFs to description above
- [n/a] (UI changes only) Verified usability with NVDA/JAWS
2024-07-23 13:10:12 -04:00
dependabot[bot] 4d0bfe397c
chore(deps-dev): Bump @testing-library/jest-dom from 6.2.1 to 6.4.2 (#7234)
Bumps
[@testing-library/jest-dom](https://github.com/testing-library/jest-dom)
from 6.2.1 to 6.4.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/testing-library/jest-dom/releases"><code>@​testing-library/jest-dom</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v6.4.2</h2>
<h2><a
href="https://github.com/testing-library/jest-dom/compare/v6.4.1...v6.4.2">6.4.2</a>
(2024-02-05)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Remove errant export of GetByRoleMatcher, fixing type checking in
some TS configurations (<a
href="https://redirect.github.com/testing-library/jest-dom/issues/575">#575</a>)
(<a
href="a93c0c4a20">a93c0c4</a>)</li>
</ul>
<h2>v6.4.1</h2>
<h2><a
href="https://github.com/testing-library/jest-dom/compare/v6.4.0...v6.4.1">6.4.1</a>
(2024-02-01)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Export type <code>TestingLibraryMatchers</code> from
&quot;./matchers&quot; (<a
href="https://redirect.github.com/testing-library/jest-dom/issues/576">#576</a>)
(<a
href="dd1c4dd504">dd1c4dd</a>)</li>
</ul>
<h2>v6.4.0</h2>
<h1><a
href="https://github.com/testing-library/jest-dom/compare/v6.3.0...v6.4.0">6.4.0</a>
(2024-01-30)</h1>
<h3>Features</h3>
<ul>
<li>Add toHaveRole matcher (<a
href="https://redirect.github.com/testing-library/jest-dom/issues/572">#572</a>)
(<a
href="f7dc673dbc">f7dc673</a>)</li>
</ul>
<h2>v6.3.0</h2>
<h1><a
href="https://github.com/testing-library/jest-dom/compare/v6.2.1...v6.3.0">6.3.0</a>
(2024-01-24)</h1>
<h3>Features</h3>
<ul>
<li>Support for regular expressions in toHaveClass (<a
href="https://redirect.github.com/testing-library/jest-dom/issues/563">#563</a>)
(<a
href="9787ed59fc">9787ed5</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="a93c0c4a20"><code>a93c0c4</code></a>
fix: Remove errant export of GetByRoleMatcher, fixing type checking in
some T...</li>
<li><a
href="c5c4e8d4c8"><code>c5c4e8d</code></a>
docs: add Dennis273 as a contributor for code (<a
href="https://redirect.github.com/testing-library/jest-dom/issues/581">#581</a>)</li>
<li><a
href="978e3d4276"><code>978e3d4</code></a>
docs: add kryops as a contributor for bug, code, and test (<a
href="https://redirect.github.com/testing-library/jest-dom/issues/580">#580</a>)</li>
<li><a
href="73ad847c73"><code>73ad847</code></a>
docs: add SteKoe as a contributor for bug, and code (<a
href="https://redirect.github.com/testing-library/jest-dom/issues/579">#579</a>)</li>
<li><a
href="d829ed9cb8"><code>d829ed9</code></a>
docs: add jakeboone02 as a contributor for code, and test (<a
href="https://redirect.github.com/testing-library/jest-dom/issues/578">#578</a>)</li>
<li><a
href="16499cffca"><code>16499cf</code></a>
docs: add fpapado as a contributor for code, doc, and test (<a
href="https://redirect.github.com/testing-library/jest-dom/issues/573">#573</a>)</li>
<li><a
href="dd1c4dd504"><code>dd1c4dd</code></a>
fix: Export type <code>TestingLibraryMatchers</code> from
&quot;./matchers&quot; (<a
href="https://redirect.github.com/testing-library/jest-dom/issues/576">#576</a>)</li>
<li><a
href="f7dc673dbc"><code>f7dc673</code></a>
feat: Add toHaveRole matcher (<a
href="https://redirect.github.com/testing-library/jest-dom/issues/572">#572</a>)</li>
<li><a
href="9787ed59fc"><code>9787ed5</code></a>
feat: Support for regular expressions in toHaveClass (<a
href="https://redirect.github.com/testing-library/jest-dom/issues/563">#563</a>)</li>
<li>See full diff in <a
href="https://github.com/testing-library/jest-dom/compare/v6.2.1...v6.4.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@testing-library/jest-dom&package-manager=npm_and_yarn&previous-version=6.2.1&new-version=6.4.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: v-sharmachir <v-sharmachir@microsoft.com>
2024-02-13 14:21:03 -05:00
Vikash Yadav d7d1d0bf34
feat(Pipeline Migration to 1ES) - User Story 2126528(Accessibility Insights Web SDT - CI) (#7190)
#### Details

Migrated Pipeline Accessibility Insights Web SDT - CI to 1ES with the
help of migration tool.
Migrated Pipeline is tested successfully and checked the artifacts. It
looks good.


##### Motivation

Associated User Story : 2126528
migration of pipeline
https://dev.azure.com/accessibility-insights-private/Accessibility%20Insights%20(private)/_build/results?buildId=49447&view=results

##### Context

Raised Support post with 1ES team on how to use dynamic tsa.config in
source sdl stage. We will raise separate PR, if any better approach or
solution is provided.

<!-- Were there any alternative approaches you considered? What
tradeoffs did you consider? -->

#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a"
in the checkbox -->
- [na] Addresses an existing issue: #0000
- [x] Ran `yarn fastpass`
- [na] Added/updated relevant unit test(s) (and ran `yarn test`)
- [na] Verified code coverage for the changes made. Check coverage
report at: `<rootDir>/test-results/unit/coverage`
- [x] PR title *AND* final merge commit title both start with a semantic
tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See
`CONTRIBUTING.md`.
- [ ] (UI changes only) Added screenshots/GIFs to description above
- [ ] (UI changes only) Verified usability with NVDA/JAWS
2024-01-10 14:06:36 -05:00
Madalyn a250ac0196
chore: Initial work for migrating tests from Enzyme to React Testing Library (#7090)
#### Details

This PR adds a [jscodeshift](https://github.com/facebook/jscodeshift)
[codemod](https://github.com/facebookarchive/codemod) to the repo that
can be run using `yarn codemod` to migrate test files (set in the paths
variable in tools/codeshift.js) that use
[Enzyme](https://enzymejs.github.io/enzyme/) to use [React Testing
Library](https://testing-library.com/docs/react-testing-library/intro)
instead.

While this codemod will migrate the low hanging fruit in the tests, it
can't cover every scenario perfectly. Tests will need to be
incrementally migrated to cut down on PR size. This PR migrates tests in
the `src/tests/unit/tests/assessments/` directory to show an example of
what that incremental migration will look like.

Because our tests make heavy use of Enzyme's `shallow` rendering and
React Testing Library does a full mounted render into raw HTML, we
needed a solution to keep our snapshots scoped to the actual component
we are testing. To address this, this PR includes new mock helper
utilities:
* `mockReactComponents`: adds a `mockImplementation` for each React
Component in the array passed in that renders a React Element instead of
the full HTML of that component.
* `getMockComponentCall`: retrieves `SomeComponent.mock.calls[callNum]`
for SomeComponent and callNum passed in for a mocked React Component
* `getMockComponentClassPropsForCall`: replaces
`someReactComponent.props()` functionality for a mocked React Component
* `expectMockedComponentPropsToMatchSnapshots`: a convenience method to
assert that a mocked React Component's props match a snapshot

Note: I recommend reviewing this commit by commit in order to understand
the flow and changes best.

##### Motivation

migrating Enzyme to eventually upgrade React

##### Context

After all tests have been migrated and all mentions of Enzyme are gone,
the migration can continue:
* remove enzyme dependency
* upgrade React version
* upgrade React Testing Library version, which requires a newer version
of React

#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a"
in the checkbox -->
- [n/a] Addresses an existing issue: #0000
- [x] Ran `yarn fastpass`
- [x] Added/updated relevant unit test(s) (and ran `yarn test`)
- [x] Verified code coverage for the changes made. Check coverage report
at: `<rootDir>/test-results/unit/coverage`
- [x] PR title *AND* final merge commit title both start with a semantic
tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See
`CONTRIBUTING.md`.
- [n/a] (UI changes only) Added screenshots/GIFs to description above
- [n/a] (UI changes only) Verified usability with NVDA/JAWS
2023-12-18 10:52:05 -05:00
dependabot[bot] 53ac34687b
chore(deps-dev): Bump prettier from 3.1.0 to 3.1.1 (#7143)
Bumps [prettier](https://github.com/prettier/prettier) from 3.1.0 to
3.1.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/prettier/prettier/releases">prettier's
releases</a>.</em></p>
<blockquote>
<h2>3.1.1</h2>
<p>🔗 <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#311">Changelog</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md">prettier's
changelog</a>.</em></p>
<blockquote>
<h1>3.1.1</h1>
<p><a
href="https://github.com/prettier/prettier/compare/3.1.0...3.1.1">diff</a></p>
<h4>Fix config file search (<a
href="https://redirect.github.com/prettier/prettier/pull/15363">#15363</a>
by <a href="https://github.com/fisker"><code>@​fisker</code></a>)</h4>
<p>Previously, we start search for config files from the filePath as a
directory, if it happened to be a directory and contains config file, it
will be used by mistake.</p>
<pre lang="text"><code>├─ .prettierrc
└─ test.js         (A directory)
  └─ .prettierrc
</code></pre>
<pre lang="js"><code>// Prettier 3.1.0
await prettier.resolveConfigFile(new URL(&quot;./test.js&quot;,
import.meta.url));
// &lt;CWD&gt;/test.js/.prettierrc
<p>// Prettier 3.1.1
await prettier.resolveConfigFile(new URL(&quot;./test.js&quot;,
import.meta.url));
// &lt;CWD&gt;/.prettierrc
</code></pre></p>
<h4>Skip explicitly passed symbolic links with
<code>--no-error-on-unmatched-pattern</code> (<a
href="https://redirect.github.com/prettier/prettier/pull/15533">#15533</a>
by <a
href="https://github.com/sanmai-NL"><code>@​sanmai-NL</code></a>)</h4>
<p>Since Prettier v3, we stopped following symbolic links, however in
some use cases, the symbolic link patterns can't be filtered out, and
there is no way to prevent Prettier from throwing errors.</p>
<p>In Prettier 3.1.1, you can use
<code>--no-error-on-unmatched-pattern</code> to simply skip symbolic
links.</p>
<h4>Consistently use tabs in ternaries when <code>useTabs</code> is
<code>true</code> (<a
href="https://redirect.github.com/prettier/prettier/pull/15662">#15662</a>
by <a href="https://github.com/auvred"><code>@​auvred</code></a>)</h4>
<!-- raw HTML omitted -->
<pre lang="jsx"><code>// Input
aaaaaaaaaaaaaaa
	? bbbbbbbbbbbbbbbbbb
	: ccccccccccccccc
	  ? ddddddddddddddd
	  : eeeeeeeeeeeeeee
	    ? fffffffffffffff
	    : gggggggggggggggg;
<p>// Prettier 3.1.0
aaaaaaaaaaaaaaa
? bbbbbbbbbbbbbbbbbb
: ccccccccccccccc
? ddddddddddddddd
: eeeeeeeeeeeeeee
? fffffffffffffff
&lt;/tr&gt;&lt;/table&gt;
</code></pre></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="b86701dd1d"><code>b86701d</code></a>
Release 3.1.1</li>
<li><a
href="c97480c9a9"><code>c97480c</code></a>
Use <code>attributes</code> instead of deprecated
<code>assertions</code> (<a
href="https://redirect.github.com/prettier/prettier/issues/15758">#15758</a>)</li>
<li><a
href="0d1ffb3a91"><code>0d1ffb3</code></a>
Consistently use tabs in ternaries when <code>useTabs</code> is
<code>true</code> (<a
href="https://redirect.github.com/prettier/prettier/issues/15662">#15662</a>)</li>
<li><a
href="5f7aedc1cf"><code>5f7aedc</code></a>
fix example to fit the actual experimentalTernaries behaviour (<a
href="https://redirect.github.com/prettier/prettier/issues/15747">#15747</a>)</li>
<li><a
href="1e30f66f39"><code>1e30f66</code></a>
Remove claim, untrue since over 5 years ago, that cursorOffset is
incompatibl...</li>
<li><a
href="39e4e7bf40"><code>39e4e7b</code></a>
Add cursorOffset to Playground (<a
href="https://redirect.github.com/prettier/prettier/issues/15751">#15751</a>)</li>
<li><a
href="8e816ade2e"><code>8e816ad</code></a>
Allow skipping symlink patterns, to avoid raising a fault (<a
href="https://redirect.github.com/prettier/prettier/issues/15533">#15533</a>)</li>
<li><a
href="2ca5d757b7"><code>2ca5d75</code></a>
Fix expect call in dts test (<a
href="https://redirect.github.com/prettier/prettier/issues/15766">#15766</a>)</li>
<li><a
href="15c742844f"><code>15c7428</code></a>
chore(deps): update dependency flow-parser to v0.223.3 (<a
href="https://redirect.github.com/prettier/prettier/issues/15760">#15760</a>)</li>
<li><a
href="d3b3d4f5e3"><code>d3b3d4f</code></a>
chore(deps): update dependency hermes-parser to v0.18.0 (<a
href="https://redirect.github.com/prettier/prettier/issues/15761">#15761</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/prettier/prettier/compare/3.1.0...3.1.1">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-12-11 10:36:01 -08:00
dependabot[bot] e5368c6c3c
chore(deps-dev): Bump typed-scss-modules from 7.1.4 to 8.0.0 (#7119)
Bumps [typed-scss-modules](https://github.com/skovy/typed-scss-modules)
from 7.1.4 to 8.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/skovy/typed-scss-modules/releases">typed-scss-modules's
releases</a>.</em></p>
<blockquote>
<h2>v8.0.0</h2>
<h1><a
href="https://github.com/skovy/typed-scss-modules/compare/v7.1.4...v8.0.0">8.0.0</a>
(2023-11-26)</h1>
<h3>chore</h3>
<ul>
<li>upgrade node@16 (<a
href="237d95ef52">237d95e</a>)</li>
</ul>
<h3>BREAKING CHANGES</h3>
<ul>
<li>upgrade minimum node version to 16</li>
</ul>
<h2>v8.0.0-alpha.3</h2>
<h1><a
href="https://github.com/skovy/typed-scss-modules/compare/v8.0.0-alpha.2...v8.0.0-alpha.3">8.0.0-alpha.3</a>
(2023-08-07)</h1>
<h3>Chore</h3>
<ul>
<li>Add ESLint, configure, enable plugins/rules, and improve general
consistentcy</li>
<li>Development dependency upgrades (Jest, TypeScript, Prettier)</li>
<li>Add test case for <code>sass</code> with <code>@use</code> (prove it
works)</li>
<li>Convert from <code>yarn</code> to <code>npm</code> for managing this
project</li>
<li>Replace promises with async/await</li>
</ul>
<h3>BREAKING CHANGES</h3>
<ul>
<li>Upgrade minimum supported Node version to v16</li>
<li>Replace css-modules-loader-core with PostCSS</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="546dba68e6"><code>546dba6</code></a>
chore(jest): configure jest eslint plugin and improve</li>
<li><a
href="cfb2caaf22"><code>cfb2caa</code></a>
chore(async): replace promises with async/await</li>
<li><a
href="09ec8b38be"><code>09ec8b3</code></a>
chore(eslint): improve linting</li>
<li><a
href="d1f9b0adb0"><code>d1f9b0a</code></a>
chore(eslint): setup default eslint</li>
<li><a
href="b6f2609ac0"><code>b6f2609</code></a>
chore(jest): upgrade to latest jest and babel</li>
<li><a
href="5264503483"><code>5264503</code></a>
chore(prettier): fix formatting</li>
<li><a
href="4d121085d4"><code>4d12108</code></a>
chore(typescript): upgrade to latest typescript</li>
<li><a
href="ac8d8b7fba"><code>ac8d8b7</code></a>
chore(prettier): fix incorrect formatting</li>
<li><a
href="8d7b6f641b"><code>8d7b6f6</code></a>
chore(prettier): upgrade to latest and sort imports</li>
<li><a
href="237d95ef52"><code>237d95e</code></a>
chore: upgrade node@16</li>
<li>Additional commits viewable in <a
href="https://github.com/skovy/typed-scss-modules/compare/v7.1.4...v8.0.0">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-11-27 10:09:04 -08:00
dependabot[bot] af336fce98
chore(deps-dev): Bump simple-git from 3.20.0 to 3.21.0 (#7102)
Bumps
[simple-git](https://github.com/steveukx/git-js/tree/HEAD/simple-git)
from 3.20.0 to 3.21.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/steveukx/git-js/releases">simple-git's
releases</a>.</em></p>
<blockquote>
<h2>simple-git@3.21.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>709d80e: Add firstCommit utility interface</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li>b4ab430: Add trailing callback support to git.firstCommit</li>
<li>d3f9320: chore(deps): bump <code>@​babel/traverse</code> from 7.9.5
to 7.23.2</li>
<li>b76857f: chore(deps): bump axios from 1.1.3 to 1.6.1</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/steveukx/git-js/blob/main/simple-git/CHANGELOG.md">simple-git's
changelog</a>.</em></p>
<blockquote>
<h2>3.21.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>709d80e: Add firstCommit utility interface</li>
</ul>
<h3>Patch Changes</h3>
<ul>
<li>b4ab430: Add trailing callback support to git.firstCommit</li>
<li>d3f9320: chore(deps): bump <code>@​babel/traverse</code> from 7.9.5
to 7.23.2</li>
<li>b76857f: chore(deps): bump axios from 1.1.3 to 1.6.1</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c254a69b32"><code>c254a69</code></a>
Version Packages</li>
<li><a
href="b4ab43001d"><code>b4ab430</code></a>
Add callback support to <code>git.firstCommit</code> (<a
href="https://github.com/steveukx/git-js/tree/HEAD/simple-git/issues/960">#960</a>)</li>
<li><a
href="709d80e0dd"><code>709d80e</code></a>
Create utility <code>git.firstCommit()</code> to fetch the commit hash
of the fi… (<a
href="https://github.com/steveukx/git-js/tree/HEAD/simple-git/issues/958">#958</a>)</li>
<li>See full diff in <a
href="https://github.com/steveukx/git-js/commits/simple-git@3.21.0/simple-git">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-11-20 09:28:32 -08:00
dependabot[bot] 5a62c7f441
chore(deps-dev): Bump eslint from 8.52.0 to 8.53.0 (#7075)
Bumps [eslint](https://github.com/eslint/eslint) from 8.52.0 to 8.53.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/eslint/eslint/releases">eslint's
releases</a>.</em></p>
<blockquote>
<h2>v8.53.0</h2>
<h2>Features</h2>
<ul>
<li><a
href="528e1c00dc"><code>528e1c0</code></a>
feat: Deprecate formatting rules (<a
href="https://redirect.github.com/eslint/eslint/issues/17696">#17696</a>)
(Nicholas C. Zakas)</li>
<li><a
href="c0b11ddb9f"><code>c0b11dd</code></a>
feat: Add suggestions for no-prototype-builtins (<a
href="https://redirect.github.com/eslint/eslint/issues/17677">#17677</a>)
(Yonathan Randolph)</li>
</ul>
<h2>Bug Fixes</h2>
<ul>
<li><a
href="1ad6257744"><code>1ad6257</code></a>
fix: ensure that exit code for fatal errors is not overwritten (<a
href="https://redirect.github.com/eslint/eslint/issues/17683">#17683</a>)
(Milos Djermanovic)</li>
<li><a
href="b329ea748d"><code>b329ea7</code></a>
fix: add <code>;</code> after JSX nodes in
<code>no-object-constructor</code> autofix (<a
href="https://redirect.github.com/eslint/eslint/issues/17672">#17672</a>)
(Francesco Trotta)</li>
</ul>
<h2>Documentation</h2>
<ul>
<li><a
href="ab8c60d4f8"><code>ab8c60d</code></a>
docs: change position of return to top button (<a
href="https://redirect.github.com/eslint/eslint/issues/17688">#17688</a>)
(Tanuj Kanti)</li>
<li><a
href="4fc44c0b8c"><code>4fc44c0</code></a>
docs: update twitter icon to new X icon (<a
href="https://redirect.github.com/eslint/eslint/issues/17687">#17687</a>)
(Tanuj Kanti)</li>
<li><a
href="4164b2ceec"><code>4164b2c</code></a>
docs: Update README (GitHub Actions Bot)</li>
<li><a
href="8651895ca7"><code>8651895</code></a>
docs: Fix tabs in rule examples (<a
href="https://redirect.github.com/eslint/eslint/issues/17653">#17653</a>)
(Francesco Trotta)</li>
<li><a
href="3aec1c55ba"><code>3aec1c5</code></a>
docs: explained rule fixers and suggestions (<a
href="https://redirect.github.com/eslint/eslint/issues/17657">#17657</a>)
(Josh Goldberg )</li>
</ul>
<h2>Chores</h2>
<ul>
<li><a
href="ba4d4d567a"><code>ba4d4d5</code></a>
chore: remove metascraper (<a
href="https://redirect.github.com/eslint/eslint/issues/17707">#17707</a>)
(Milos Djermanovic)</li>
<li><a
href="0d07338829"><code>0d07338</code></a>
chore: Update dependencies (<a
href="https://redirect.github.com/eslint/eslint/issues/17706">#17706</a>)
(Milos Djermanovic)</li>
<li><a
href="93256a32e3"><code>93256a3</code></a>
chore: package.json update for <code>@​eslint/js</code> release (ESLint
Jenkins)</li>
<li><a
href="485ec7d08e"><code>485ec7d</code></a>
test: fix ESLint tests for caching (<a
href="https://redirect.github.com/eslint/eslint/issues/17699">#17699</a>)
(Milos Djermanovic)</li>
<li><a
href="db06a7ff79"><code>db06a7f</code></a>
ci: bump actions/setup-node from 3 to 4 (<a
href="https://redirect.github.com/eslint/eslint/issues/17676">#17676</a>)
(dependabot[bot])</li>
<li><a
href="994596b07f"><code>994596b</code></a>
ci: run tests in Node.js 21 (<a
href="https://redirect.github.com/eslint/eslint/issues/17673">#17673</a>)
(Francesco Trotta)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/eslint/eslint/blob/main/CHANGELOG.md">eslint's
changelog</a>.</em></p>
<blockquote>
<p>v8.53.0 - November 3, 2023</p>
<ul>
<li><a
href="ba4d4d567a"><code>ba4d4d5</code></a>
chore: remove metascraper (<a
href="https://redirect.github.com/eslint/eslint/issues/17707">#17707</a>)
(Milos Djermanovic)</li>
<li><a
href="0d07338829"><code>0d07338</code></a>
chore: Update dependencies (<a
href="https://redirect.github.com/eslint/eslint/issues/17706">#17706</a>)
(Milos Djermanovic)</li>
<li><a
href="93256a32e3"><code>93256a3</code></a>
chore: package.json update for <code>@​eslint/js</code> release (ESLint
Jenkins)</li>
<li><a
href="ab8c60d4f8"><code>ab8c60d</code></a>
docs: change position of return to top button (<a
href="https://redirect.github.com/eslint/eslint/issues/17688">#17688</a>)
(Tanuj Kanti)</li>
<li><a
href="528e1c00dc"><code>528e1c0</code></a>
feat: Deprecate formatting rules (<a
href="https://redirect.github.com/eslint/eslint/issues/17696">#17696</a>)
(Nicholas C. Zakas)</li>
<li><a
href="485ec7d08e"><code>485ec7d</code></a>
test: fix ESLint tests for caching (<a
href="https://redirect.github.com/eslint/eslint/issues/17699">#17699</a>)
(Milos Djermanovic)</li>
<li><a
href="c0b11ddb9f"><code>c0b11dd</code></a>
feat: Add suggestions for no-prototype-builtins (<a
href="https://redirect.github.com/eslint/eslint/issues/17677">#17677</a>)
(Yonathan Randolph)</li>
<li><a
href="4fc44c0b8c"><code>4fc44c0</code></a>
docs: update twitter icon to new X icon (<a
href="https://redirect.github.com/eslint/eslint/issues/17687">#17687</a>)
(Tanuj Kanti)</li>
<li><a
href="1ad6257744"><code>1ad6257</code></a>
fix: ensure that exit code for fatal errors is not overwritten (<a
href="https://redirect.github.com/eslint/eslint/issues/17683">#17683</a>)
(Milos Djermanovic)</li>
<li><a
href="4164b2ceec"><code>4164b2c</code></a>
docs: Update README (GitHub Actions Bot)</li>
<li><a
href="8651895ca7"><code>8651895</code></a>
docs: Fix tabs in rule examples (<a
href="https://redirect.github.com/eslint/eslint/issues/17653">#17653</a>)
(Francesco Trotta)</li>
<li><a
href="3aec1c55ba"><code>3aec1c5</code></a>
docs: explained rule fixers and suggestions (<a
href="https://redirect.github.com/eslint/eslint/issues/17657">#17657</a>)
(Josh Goldberg )</li>
<li><a
href="db06a7ff79"><code>db06a7f</code></a>
ci: bump actions/setup-node from 3 to 4 (<a
href="https://redirect.github.com/eslint/eslint/issues/17676">#17676</a>)
(dependabot[bot])</li>
<li><a
href="b329ea748d"><code>b329ea7</code></a>
fix: add <code>;</code> after JSX nodes in
<code>no-object-constructor</code> autofix (<a
href="https://redirect.github.com/eslint/eslint/issues/17672">#17672</a>)
(Francesco Trotta)</li>
<li><a
href="994596b07f"><code>994596b</code></a>
ci: run tests in Node.js 21 (<a
href="https://redirect.github.com/eslint/eslint/issues/17673">#17673</a>)
(Francesco Trotta)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="cb9393dd9f"><code>cb9393d</code></a>
8.53.0</li>
<li><a
href="ec361d14b0"><code>ec361d1</code></a>
Build: changelog update for 8.53.0</li>
<li><a
href="ba4d4d567a"><code>ba4d4d5</code></a>
chore: remove metascraper (<a
href="https://redirect.github.com/eslint/eslint/issues/17707">#17707</a>)</li>
<li><a
href="0d07338829"><code>0d07338</code></a>
chore: Update dependencies (<a
href="https://redirect.github.com/eslint/eslint/issues/17706">#17706</a>)</li>
<li><a
href="93256a32e3"><code>93256a3</code></a>
chore: package.json update for <code>@​eslint/js</code> release</li>
<li><a
href="ab8c60d4f8"><code>ab8c60d</code></a>
docs: change position of return to top button (<a
href="https://redirect.github.com/eslint/eslint/issues/17688">#17688</a>)</li>
<li><a
href="528e1c00dc"><code>528e1c0</code></a>
feat: Deprecate formatting rules (<a
href="https://redirect.github.com/eslint/eslint/issues/17696">#17696</a>)</li>
<li><a
href="485ec7d08e"><code>485ec7d</code></a>
test: fix ESLint tests for caching (<a
href="https://redirect.github.com/eslint/eslint/issues/17699">#17699</a>)</li>
<li><a
href="c0b11ddb9f"><code>c0b11dd</code></a>
feat: Add suggestions for no-prototype-builtins (<a
href="https://redirect.github.com/eslint/eslint/issues/17677">#17677</a>)</li>
<li><a
href="4fc44c0b8c"><code>4fc44c0</code></a>
docs: update twitter icon to new X icon (<a
href="https://redirect.github.com/eslint/eslint/issues/17687">#17687</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/eslint/eslint/compare/v8.52.0...v8.53.0">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-11-06 08:35:21 -08:00
Dave Tryon edae5583cf
chore: Add PowerShell auto-formatting, update scripts (#7055)
#### Details

When porting #7046 to other repos, I noticed some style inconsistencies
that had crept into our PowerShell scripts. We already recommend the
PowerShell extension for vscode. This PR enables its automatic
formatting features for PowerShell scripts. I also ran the script
against `./tools/get-chrome-web-store-refresh-token.ps1` and
`./tools/clearly-defined/check-clearly-defined.ps1` to ensure consistent
formatting. The first script was already well formatted--the second
received some minor whitespace tweaks.

##### Motivation

Code consistency

##### Context

<!-- Are there any parts that you've intentionally left out-of-scope for
a later PR to handle? -->

<!-- Were there any alternative approaches you considered? What
tradeoffs did you consider? -->

#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a"
in the checkbox -->
- [n/a] Addresses an existing issue:
- [s] Ran `yarn fastpass`
- [n/a] Added/updated relevant unit test(s) (and ran `yarn test`)
- [n/a] Verified code coverage for the changes made. Check coverage
report at: `<rootDir>/test-results/unit/coverage`
- [x] PR title *AND* final merge commit title both start with a semantic
tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See
`CONTRIBUTING.md`.
- [n/a] (UI changes only) Added screenshots/GIFs to description above
- [n/a] (UI changes only) Verified usability with NVDA/JAWS
2023-10-27 09:15:58 -07:00
Sanjaiyan Parthipan dc533987d6
chore: Optimizing Performance and Resource Utilization with Concurrent Function Execution (#7008)
#### Details

This PR introduces a minor performance improvement by running the
functions concurrently using `Promise.all`, which also enhances the
efficient utilization of hardware resources.

##### Motivation

This change addresses a performance enhancement to utilize concurrency
and improve resource utilization.

##### Context

N/A

#### Pull request checklist

- [n/a] Addresses an existing issue: N/A
- [x] Ran `yarn fastpass`
- [n/a] Added/updated relevant unit test(s) (and ran `yarn test`)
- [n.a] Verified code coverage for the changes made. Check coverage
report at: `<rootDir>/test-results/unit/coverage`
- [x] PR title *AND* final merge commit title both start with a semantic
tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See
`CONTRIBUTING.md`.
- [n/a] (UI changes only) Added screenshots/GIFs to description above
- [n/a] (UI changes only) Verified usability with NVDA/JAWS
2023-10-24 11:15:10 -07:00
Dave Tryon e2d722f352
chore: Exclude @types namespace from ClearlyDefined check (#7046)
#### Details

We frequently get dependabot PR's for the `@types` namespace, which are
always devDependencies. To streamline maintenance, this PR automatically
excludes these packages from the ClearlyDefined check. It also updates
the validation script and removes the packages in the `@types` namespace
that we've collected so far.

It also includes 2 analyzer-suggested changes of moving `$null` from the
RHS to the LHS of the comparison to prevent accidentally setting the
value instead of comparing it.

##### Motivation

Streamline dependabot handling

##### Context

<!-- Are there any parts that you've intentionally left out-of-scope for
a later PR to handle? -->

<!-- Were there any alternative approaches you considered? What
tradeoffs did you consider? -->

#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a"
in the checkbox -->
- [n/a] Addresses an existing issue: #0000
- [x] Ran `yarn fastpass`
- [n/a] Added/updated relevant unit test(s) (and ran `yarn test`)
- [n/a] Verified code coverage for the changes made. Check coverage
report at: `<rootDir>/test-results/unit/coverage`
- [x] PR title *AND* final merge commit title both start with a semantic
tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See
`CONTRIBUTING.md`.
- [n/a] (UI changes only) Added screenshots/GIFs to description above
- [n/a] (UI changes only) Verified usability with NVDA/JAWS
2023-10-23 09:42:27 -07:00
dependabot[bot] 1dc27aadfb
chore(deps-dev): Bump @types/ua-parser-js from 0.7.37 to 0.7.38 (#7040)
Bumps
[@types/ua-parser-js](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ua-parser-js)
from 0.7.37 to 0.7.38.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ua-parser-js">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-10-19 09:49:38 -07:00
dependabot[bot] 9b9ebe99b5
chore(deps-dev): Bump @types/enzyme from 3.10.14 to 3.10.15 (#7037)
Bumps
[@types/enzyme](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/enzyme)
from 3.10.14 to 3.10.15.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/enzyme">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-10-18 13:35:06 -07:00
dependabot[bot] ac7e48b7a1
chore(deps-dev): Bump @types/luxon from 3.3.2 to 3.3.3 (#7033)
Bumps
[@types/luxon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/luxon)
from 3.3.2 to 3.3.3.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/luxon">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-10-18 13:09:30 -07:00
dependabot[bot] 9eb9ec4bd6
chore(deps-dev): Bump @types/enzyme-adapter-react-16 from 1.0.7 to 1.0.8 (#7032)
Bumps
[@types/enzyme-adapter-react-16](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/enzyme-adapter-react-16)
from 1.0.7 to 1.0.8.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/enzyme-adapter-react-16">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-10-18 12:44:02 -07:00
dependabot[bot] 9e2ff59747
chore(deps-dev): Bump stylelint from 15.10.3 to 15.11.0 (#7027)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 15.10.3
to 15.11.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/stylelint/stylelint/releases">stylelint's
releases</a>.</em></p>
<blockquote>
<h2>15.11.0</h2>
<ul>
<li>Added: <code>ignoreRules</code> to <code>max-nesting-depth</code>
(<a
href="https://redirect.github.com/stylelint/stylelint/issues/7215">#7215</a>)
(<a
href="https://github.com/mattxwang"><code>@​mattxwang</code></a>).</li>
<li>Fixed:
<code>declaration-block-no-redundant-longhand-properties</code> autofix
for <code>grid-template</code> with <code>repeat()</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/7230">#7230</a>)
(<a
href="https://github.com/mattxwang"><code>@​mattxwang</code></a>).</li>
<li>Fixed:
<code>declaration-block-no-redundant-longhand-properties</code> false
negative for <code>font-synthesis</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/7214">#7214</a>)
(<a
href="https://github.com/mattxwang"><code>@​mattxwang</code></a>).</li>
<li>Fixed:
<code>declaration-block-no-redundant-longhand-properties</code> false
negatives for <code>*-block</code> and <code>*-inline</code> logical
properties (<a
href="https://redirect.github.com/stylelint/stylelint/issues/7208">#7208</a>)
(<a
href="https://github.com/mattxwang"><code>@​mattxwang</code></a>).</li>
<li>Fixed:
<code>declaration-block-no-redundant-longhand-properties</code> false
negatives for <code>overflow</code>, <code>overscroll-behavior</code>,
<code>scroll-margin</code>, <code>scroll-padding</code>, and new Box
Alignment shorthands (<a
href="https://redirect.github.com/stylelint/stylelint/issues/7213">#7213</a>)
(<a
href="https://github.com/mattxwang"><code>@​mattxwang</code></a>).</li>
<li>Fixed: <code>function-no-unknown</code> false positives for
<code>light-dark</code>, <code>linear</code> and <code>xywh</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/7242">#7242</a>)
(<a
href="https://github.com/mattxwang"><code>@​mattxwang</code></a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md">stylelint's
changelog</a>.</em></p>
<blockquote>
<h2>15.11.0</h2>
<ul>
<li>Added: <code>ignoreRules</code> to <code>max-nesting-depth</code>
(<a
href="https://redirect.github.com/stylelint/stylelint/pull/7215">#7215</a>)
(<a
href="https://github.com/mattxwang"><code>@​mattxwang</code></a>).</li>
<li>Fixed:
<code>declaration-block-no-redundant-longhand-properties</code> autofix
for <code>grid-template</code> with <code>repeat()</code> (<a
href="https://redirect.github.com/stylelint/stylelint/pull/7230">#7230</a>)
(<a
href="https://github.com/mattxwang"><code>@​mattxwang</code></a>).</li>
<li>Fixed:
<code>declaration-block-no-redundant-longhand-properties</code> false
negative for <code>font-synthesis</code> (<a
href="https://redirect.github.com/stylelint/stylelint/pull/7214">#7214</a>)
(<a
href="https://github.com/mattxwang"><code>@​mattxwang</code></a>).</li>
<li>Fixed:
<code>declaration-block-no-redundant-longhand-properties</code> false
negatives for <code>*-block</code> and <code>*-inline</code> logical
properties (<a
href="https://redirect.github.com/stylelint/stylelint/pull/7208">#7208</a>)
(<a
href="https://github.com/mattxwang"><code>@​mattxwang</code></a>).</li>
<li>Fixed:
<code>declaration-block-no-redundant-longhand-properties</code> false
negatives for <code>overflow</code>, <code>overscroll-behavior</code>,
<code>scroll-margin</code>, <code>scroll-padding</code>, and new Box
Alignment shorthands (<a
href="https://redirect.github.com/stylelint/stylelint/pull/7213">#7213</a>)
(<a
href="https://github.com/mattxwang"><code>@​mattxwang</code></a>).</li>
<li>Fixed: <code>function-no-unknown</code> false positives for
<code>light-dark</code>, <code>linear</code> and <code>xywh</code> (<a
href="https://redirect.github.com/stylelint/stylelint/pull/7242">#7242</a>)
(<a
href="https://github.com/mattxwang"><code>@​mattxwang</code></a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="8914d463e6"><code>8914d46</code></a>
15.11.0</li>
<li><a
href="29fe2df6f3"><code>29fe2df</code></a>
Prepare 15.11.0 (<a
href="https://redirect.github.com/stylelint/stylelint/issues/7212">#7212</a>)</li>
<li><a
href="fafb83e6fa"><code>fafb83e</code></a>
Bump known-css-properties from 0.28.0 to 0.29.0 (<a
href="https://redirect.github.com/stylelint/stylelint/issues/7247">#7247</a>)</li>
<li><a
href="6e06398a3f"><code>6e06398</code></a>
Bump css-functions-list from 3.2.0 to 3.2.1 (<a
href="https://redirect.github.com/stylelint/stylelint/issues/7242">#7242</a>)</li>
<li><a
href="9941121337"><code>9941121</code></a>
Remove some TODOs (<a
href="https://redirect.github.com/stylelint/stylelint/issues/7234">#7234</a>)</li>
<li><a
href="f1d3228d21"><code>f1d3228</code></a>
Fix <code>declaration-block-no-redundant-longhand-properties</code>
autofix for `grid-te...</li>
<li><a
href="2a1fc6dbcf"><code>2a1fc6d</code></a>
Bump postcss from 8.4.28 to 8.4.31 (<a
href="https://redirect.github.com/stylelint/stylelint/issues/7218">#7218</a>)</li>
<li><a
href="dfd1ffcabb"><code>dfd1ffc</code></a>
Fix <code>declaration-block-no-redundant-longhand-properties</code>
false negative for `...</li>
<li><a
href="3374bb49f0"><code>3374bb4</code></a>
Fix <code>declaration-block-no-redundant-longhand-properties</code>
false negatives for ...</li>
<li><a
href="e468814ac1"><code>e468814</code></a>
Add <code>ignoreRules</code> to <code>max-nesting-depth</code> (<a
href="https://redirect.github.com/stylelint/stylelint/issues/7215">#7215</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/stylelint/stylelint/compare/15.10.3...15.11.0">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-10-18 11:09:51 -07:00
dependabot[bot] 75d46418c8
chore(deps-dev): Bump sass from 1.69.0 to 1.69.1 (#7014)
Bumps [sass](https://github.com/sass/dart-sass) from 1.69.0 to 1.69.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/sass/dart-sass/releases">sass's
releases</a>.</em></p>
<blockquote>
<h2>Dart Sass 1.69.1</h2>
<p>To install Sass 1.69.1, download one of the packages below and <a
href="https://katiek2.github.io/path-doc/">add it to your PATH</a>, or
see <a href="https://sass-lang.com/install">the Sass website</a> for
full installation instructions.</p>
<h1>Changes</h1>
<ul>
<li>No user-visible changes.</li>
</ul>
<p>See the <a
href="https://github.com/sass/dart-sass/blob/master/CHANGELOG.md#1691">full
changelog</a> for changes in earlier releases.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/sass/dart-sass/blob/main/CHANGELOG.md">sass's
changelog</a>.</em></p>
<blockquote>
<h2>1.69.1</h2>
<ul>
<li>No user-visible changes.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="887c5113dd"><code>887c511</code></a>
Cut another release (<a
href="https://redirect.github.com/sass/dart-sass/issues/2111">#2111</a>)</li>
<li>See full diff in <a
href="https://github.com/sass/dart-sass/compare/1.69.0...1.69.1">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-10-10 14:49:55 -07:00
dependabot[bot] f441ba3a23
chore(deps-dev): Bump ts-loader from 9.4.4 to 9.5.0 (#7009)
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 9.4.4 to
9.5.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/TypeStrong/ts-loader/releases">ts-loader's
releases</a>.</em></p>
<blockquote>
<h2>v9.5.0</h2>
<ul>
<li><a
href="https://redirect.github.com/TypeStrong/ts-loader/pull/1626">Feature:
map the input source map in case ts-loader is used in a loader
pipeline</a> - thanks <a
href="https://github.com/Ka0o0"><code>@​Ka0o0</code></a> and <a
href="https://github.com/bojanv55"><code>@​bojanv55</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md">ts-loader's
changelog</a>.</em></p>
<blockquote>
<h2>9.5.0</h2>
<ul>
<li><a
href="https://redirect.github.com/TypeStrong/ts-loader/pull/1626">Feature:
map the input source map in case ts-loader is used in a loader
pipeline</a> - thanks <a
href="https://github.com/Ka0o0"><code>@​Ka0o0</code></a> and <a
href="https://github.com/bojanv55"><code>@​bojanv55</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="9315855cd6"><code>9315855</code></a>
map input source map (<a
href="https://redirect.github.com/TypeStrong/ts-loader/issues/1626">#1626</a>)</li>
<li><a
href="02c20692dc"><code>02c2069</code></a>
update test pack to TS 5.2 (<a
href="https://redirect.github.com/TypeStrong/ts-loader/issues/1633">#1633</a>)</li>
<li>See full diff in <a
href="https://github.com/TypeStrong/ts-loader/compare/v9.4.4...v9.5.0">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-10-10 12:51:05 -07:00
dependabot[bot] 0f08121bcf
chore(deps-dev): Bump @types/uuid from 9.0.4 to 9.0.5 (#7011)
Bumps
[@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid)
from 9.0.4 to 9.0.5.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/uuid&package-manager=npm_and_yarn&previous-version=9.0.4&new-version=9.0.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-10-10 11:07:29 -07:00
dependabot[bot] 9c95e51d60
chore(deps-dev): Bump @types/react-helmet from 6.1.6 to 6.1.7 (#6996)
Bumps
[@types/react-helmet](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-helmet)
from 6.1.6 to 6.1.7.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-helmet">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-09-27 17:00:52 -07:00
dependabot[bot] 680068bdc3
chore(deps-dev): Bump @types/serve-static from 1.15.2 to 1.15.3 (#6993)
Bumps
[@types/serve-static](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/serve-static)
from 1.15.2 to 1.15.3.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/serve-static">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-09-26 13:10:04 -07:00
dependabot[bot] da03d81be5
chore(deps-dev): Bump @types/webextension-polyfill from 0.10.3 to 0.10.4 (#6989)
Bumps
[@types/webextension-polyfill](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/webextension-polyfill)
from 0.10.3 to 0.10.4.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/webextension-polyfill">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-09-26 12:34:05 -07:00
Dave Tryon 352a20f3bd
chore: Update ClearlyDefined script to ignore GitHub actions (#6981)
#### Details

`check-clearly-defined.ps1` doesn't know about GitHub actions. Actions
are devDepenencies by definition, so they can all be excluded. This adds
a check to filter out dependabot branches that begin with
"dependabot/github_actions/", based on the branch name used in #6978.
The validation script is similarly updated.

Once this is reviewed and merged, the changes will be mirrored to the
versions in the `axe-windows` and `accessibility-insights-windows`
repos.

##### Motivation

Reduce friction from GitHub actions being updated.

##### Context

<!-- Are there any parts that you've intentionally left out-of-scope for
a later PR to handle? -->

<!-- Were there any alternative approaches you considered? What
tradeoffs did you consider? -->

#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a"
in the checkbox -->
- [n/a] Addresses an existing issue
- [x] Ran `yarn fastpass`
- [x] Added/updated relevant unit test(s) (and ran `yarn test`)
- [n/a] Verified code coverage for the changes made. Check coverage
report at: `<rootDir>/test-results/unit/coverage`
- [x] PR title *AND* final merge commit title both start with a semantic
tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See
`CONTRIBUTING.md`.
- [n/a] (UI changes only) Added screenshots/GIFs to description above
- [n/a] (UI changes only) Verified usability with NVDA/JAWS
2023-09-25 09:32:41 -07:00
dependabot[bot] 503fe6ec66
chore(deps-dev): Bump playwright from 1.37.1 to 1.38.1 (#6980)
Bumps [playwright](https://github.com/Microsoft/playwright) from 1.37.1
to 1.38.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/Microsoft/playwright/releases">playwright's
releases</a>.</em></p>
<blockquote>
<h2>v1.38.1</h2>
<h3>Highlights</h3>
<p><a
href="https://redirect.github.com/microsoft/playwright/issues/27071">microsoft/playwright#27071</a>
- expect(value).toMatchSnapshot() deprecation announcement on V1.38
<a
href="https://redirect.github.com/microsoft/playwright/issues/27072">microsoft/playwright#27072</a>
- [BUG] PWT trace viewer fails to load trace and throws TypeError
<a
href="https://redirect.github.com/microsoft/playwright/issues/27073">microsoft/playwright#27073</a>
- [BUG] RangeError: Invalid time value
<a
href="https://redirect.github.com/microsoft/playwright/issues/27087">microsoft/playwright#27087</a>
- [REGRESSION]: npx playwright test --list prints all tests twice
<a
href="https://redirect.github.com/microsoft/playwright/issues/27113">microsoft/playwright#27113</a>
- [REGRESSION]: No longer able to extend PlaywrightTest.Matchers type
for locators and pages
<a
href="https://redirect.github.com/microsoft/playwright/issues/27144">microsoft/playwright#27144</a>
- [BUG]can not display trace
<a
href="https://redirect.github.com/microsoft/playwright/issues/27163">microsoft/playwright#27163</a>
- [REGRESSION] Single Quote Wrongly Escaped by Locator When Using
Unicode Flag
<a
href="https://redirect.github.com/microsoft/playwright/issues/27181">microsoft/playwright#27181</a>
- [BUG] evaluate serializing fails at 1.38</p>
<h3>Browser Versions</h3>
<ul>
<li>Chromium 117.0.5938.62</li>
<li>Mozilla Firefox 117.0</li>
<li>WebKit 17.0</li>
</ul>
<p>This version was also tested against the following stable
channels:</p>
<ul>
<li>Google Chrome 116</li>
<li>Microsoft Edge 116</li>
</ul>
<h2>v1.38.0</h2>
<h2>UI Mode Updates</h2>
<p><img
src="https://github.com/microsoft/playwright/assets/746130/8ba27be0-58fd-4f62-8561-950480610369"
alt="Playwright UI Mode" /></p>
<ol>
<li>Zoom into time range.</li>
<li>Network panel redesign.</li>
</ol>
<h2>New APIs</h2>
<ul>
<li>[<code>browserContext.on('weberror')</code>]</li>
<li>[<code>locator.pressSequentially()</code>]</li>
<li>The [<code>reporter.onEnd()</code>] now reports
<code>startTime</code> and total run <code>duration</code>.</li>
</ul>
<h2>Deprecations</h2>
<ul>
<li>The following methods were deprecated: [<code>page.type()</code>],
[<code>frame.type()</code>], [<code>locator.type()</code>] and
[<code>elementHandle.type()</code>].
Please use [<code>locator.fill()</code>] instead which is much faster.
Use [<code>locator.pressSequentially()</code>] only if there is a
special keyboard handling on the page, and you need to press keys
one-by-one.</li>
</ul>
<h2>Breaking Changes: Playwright no longer downloads browsers
automatically</h2>
<blockquote>
<p>[!NOTE]
If you are using <code>@playwright/test</code> package, this change
<strong>does not</strong> affect you.</p>
</blockquote>
<p>Playwright recommends to use <code>@playwright/test</code> package
and download browsers via <code>npx playwright install</code> command.
If you are following this recommendation, nothing has changed for
you.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4743420999"><code>4743420</code></a>
chore: mark 1.38.1 (<a
href="https://redirect.github.com/Microsoft/playwright/issues/27237">#27237</a>)</li>
<li><a
href="c41012b055"><code>c41012b</code></a>
cherry-pick(<a
href="https://redirect.github.com/Microsoft/playwright/issues/27219">#27219</a>):
Revert &quot;feat(evaluate): serialize map and set (<a
href="https://redirect.github.com/Microsoft/playwright/issues/26730">#26730</a>)&quot;
...</li>
<li><a
href="ed619b6fcb"><code>ed619b6</code></a>
cherry-pick(<a
href="https://redirect.github.com/Microsoft/playwright/issues/27162">#27162</a>):
fix(tracing): bump trace version to V5, migrate V4 trace...</li>
<li><a
href="abf9df39cf"><code>abf9df3</code></a>
cherry-pick(<a
href="https://redirect.github.com/Microsoft/playwright/issues/27188">#27188</a>):
fix(locators): do not escape regular expressions with u ...</li>
<li><a
href="35d8604f8d"><code>35d8604</code></a>
cherry-pick(<a
href="https://redirect.github.com/Microsoft/playwright/issues/27167">#27167</a>):
docs: 1.38 release notes for language ports (<a
href="https://redirect.github.com/Microsoft/playwright/issues/27168">#27168</a>)</li>
<li><a
href="6cc43d81c5"><code>6cc43d8</code></a>
cherry-pick(<a
href="https://redirect.github.com/Microsoft/playwright/issues/27117">#27117</a>):
fix: custom expect matchers on Locator/Page/APIResponse ...</li>
<li><a
href="2a577a5caf"><code>2a577a5</code></a>
cherry-pick(<a
href="https://redirect.github.com/Microsoft/playwright/issues/27095">#27095</a>):
fix(tracing): support old traces with consoleMessage.arg...</li>
<li><a
href="ed919f3dda"><code>ed919f3</code></a>
cherry-pick(<a
href="https://redirect.github.com/Microsoft/playwright/issues/27098">#27098</a>):
fix(har): handle invalid Expires/Max-Age (<a
href="https://redirect.github.com/Microsoft/playwright/issues/27123">#27123</a>)</li>
<li><a
href="476b74f7c4"><code>476b74f</code></a>
cherry-pick(<a
href="https://redirect.github.com/Microsoft/playwright/issues/27103">#27103</a>):
fix: list tests only once (<a
href="https://redirect.github.com/Microsoft/playwright/issues/27107">#27107</a>)</li>
<li><a
href="0861364c28"><code>0861364</code></a>
cherry-pick(<a
href="https://redirect.github.com/Microsoft/playwright/issues/27100">#27100</a>):
chore: fit body in the network panel</li>
<li>Additional commits viewable in <a
href="https://github.com/Microsoft/playwright/compare/v1.37.1...v1.38.1">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-09-22 17:09:11 -07:00
dependabot[bot] 30c059c34c
chore(deps-dev): Bump @types/jsdom from 21.1.2 to 21.1.3 (#6965)
Bumps
[@types/jsdom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jsdom)
from 21.1.2 to 21.1.3.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jsdom">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-09-19 12:03:28 -07:00
dependabot[bot] 45f7cf18f7
chore(deps-dev): Bump postcss from 8.4.29 to 8.4.30 (#6971)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.29 to
8.4.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/postcss/postcss/releases">postcss's
releases</a>.</em></p>
<blockquote>
<h2>8.4.30</h2>
<ul>
<li>Improved source map performance (by <a
href="https://github.com/romainmenke"><code>@​romainmenke</code></a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/postcss/postcss/blob/main/CHANGELOG.md">postcss's
changelog</a>.</em></p>
<blockquote>
<h2>8.4.30</h2>
<ul>
<li>Improved source map performance (by Romain Menke).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="45c5501777"><code>45c5501</code></a>
Release 8.4.30 version</li>
<li><a
href="bc3c341f58"><code>bc3c341</code></a>
Update linter</li>
<li><a
href="b2be58a2eb"><code>b2be58a</code></a>
Merge pull request <a
href="https://redirect.github.com/postcss/postcss/issues/1881">#1881</a>
from romainmenke/improve-sourcemap-performance--phil...</li>
<li><a
href="6a291d6425"><code>6a291d6</code></a>
apply suggestions from code review</li>
<li><a
href="efa442c3e1"><code>efa442c</code></a>
Update lib/map-generator.js</li>
<li><a
href="de33cf6b44"><code>de33cf6</code></a>
improve sourcemap performance</li>
<li><a
href="1c6ad2549e"><code>1c6ad25</code></a>
Highlight banner with lines</li>
<li><a
href="e10d5c097d"><code>e10d5c0</code></a>
More more detailed text below</li>
<li><a
href="3ff5f5f06d"><code>3ff5f5f</code></a>
Rephrase into</li>
<li><a
href="272aae4ff2"><code>272aae4</code></a>
Remove old banner</li>
<li>Additional commits viewable in <a
href="https://github.com/postcss/postcss/compare/8.4.29...8.4.30">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-09-19 11:58:13 -07:00
dependabot[bot] 980bac3b69
chore(deps-dev): Bump @types/jest from 29.5.4 to 29.5.5 (#6964)
Bumps
[@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest)
from 29.5.4 to 29.5.5.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-09-19 11:48:32 -07:00
dependabot[bot] 79537303ac
chore(deps-dev): Bump esbuild from 0.19.2 to 0.19.3 (#6969)
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.19.2 to 0.19.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/evanw/esbuild/releases">esbuild's
releases</a>.</em></p>
<blockquote>
<h2>v0.19.3</h2>
<ul>
<li>
<p>Fix <code>list-style-type</code> with the <code>local-css</code>
loader (<a
href="https://redirect.github.com/evanw/esbuild/issues/3325">#3325</a>)</p>
<p>The <code>local-css</code> loader incorrectly treated all identifiers
provided to <code>list-style-type</code> as a custom local identifier.
That included identifiers such as <code>none</code> which have special
meaning in CSS, and which should not be treated as custom local
identifiers. This release fixes this bug:</p>
<pre lang="css"><code>/* Original code */
ul { list-style-type: none }
<p>/* Old output (with --loader=local-css) */
ul {
list-style-type: stdin_none;
}</p>
<p>/* New output (with --loader=local-css) */
ul {
list-style-type: none;
}
</code></pre></p>
<p>Note that this bug only affected code using the
<code>local-css</code> loader. It did not affect code using the
<code>css</code> loader.</p>
</li>
<li>
<p>Avoid inserting temporary variables before <code>use strict</code>
(<a
href="https://redirect.github.com/evanw/esbuild/issues/3322">#3322</a>)</p>
<p>This release fixes a bug where esbuild could incorrectly insert
automatically-generated temporary variables before <code>use
strict</code> directives:</p>
<pre lang="js"><code>// Original code
function foo() {
  'use strict'
  a.b?.c()
}
<p>// Old output (with --target=es6)
function foo() {
var _a;
&quot;use strict&quot;;
(_a = a.b) == null ? void 0 : _a.c();
}</p>
<p>// New output (with --target=es6)
function foo() {
&quot;use strict&quot;;
var _a;
(_a = a.b) == null ? void 0 : _a.c();
}
</code></pre></p>
</li>
<li>
<p>Adjust TypeScript <code>enum</code> output to better approximate
<code>tsc</code> (<a
href="https://redirect.github.com/evanw/esbuild/issues/3329">#3329</a>)</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/evanw/esbuild/blob/main/CHANGELOG.md">esbuild's
changelog</a>.</em></p>
<blockquote>
<h2>0.19.3</h2>
<ul>
<li>
<p>Fix <code>list-style-type</code> with the <code>local-css</code>
loader (<a
href="https://redirect.github.com/evanw/esbuild/issues/3325">#3325</a>)</p>
<p>The <code>local-css</code> loader incorrectly treated all identifiers
provided to <code>list-style-type</code> as a custom local identifier.
That included identifiers such as <code>none</code> which have special
meaning in CSS, and which should not be treated as custom local
identifiers. This release fixes this bug:</p>
<pre lang="css"><code>/* Original code */
ul { list-style-type: none }
<p>/* Old output (with --loader=local-css) */
ul {
list-style-type: stdin_none;
}</p>
<p>/* New output (with --loader=local-css) */
ul {
list-style-type: none;
}
</code></pre></p>
<p>Note that this bug only affected code using the
<code>local-css</code> loader. It did not affect code using the
<code>css</code> loader.</p>
</li>
<li>
<p>Avoid inserting temporary variables before <code>use strict</code>
(<a
href="https://redirect.github.com/evanw/esbuild/issues/3322">#3322</a>)</p>
<p>This release fixes a bug where esbuild could incorrectly insert
automatically-generated temporary variables before <code>use
strict</code> directives:</p>
<pre lang="js"><code>// Original code
function foo() {
  'use strict'
  a.b?.c()
}
<p>// Old output (with --target=es6)
function foo() {
var _a;
&quot;use strict&quot;;
(_a = a.b) == null ? void 0 : _a.c();
}</p>
<p>// New output (with --target=es6)
function foo() {
&quot;use strict&quot;;
var _a;
(_a = a.b) == null ? void 0 : _a.c();
}
</code></pre></p>
</li>
<li>
<p>Adjust TypeScript <code>enum</code> output to better approximate
<code>tsc</code> (<a
href="https://redirect.github.com/evanw/esbuild/issues/3329">#3329</a>)</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="673ad10ff7"><code>673ad10</code></a>
publish 0.19.3 to npm</li>
<li><a
href="6402f110e3"><code>6402f11</code></a>
basic support for parsing import attributes</li>
<li><a
href="7ece556751"><code>7ece556</code></a>
fix <a
href="https://redirect.github.com/evanw/esbuild/issues/3322">#3322</a>:
avoid temporaries before <code>&quot;use strict&quot;</code></li>
<li><a
href="900a90d533"><code>900a90d</code></a>
transform: banner/footer with local-css/global-css</li>
<li><a
href="bbd82b2a81"><code>bbd82b2</code></a>
run <code>make update-compat-table</code></li>
<li><a
href="f702f6b90b"><code>f702f6b</code></a>
remove an unused method</li>
<li><a
href="a111cc48ed"><code>a111cc4</code></a>
fix <a
href="https://redirect.github.com/evanw/esbuild/issues/3318">#3318</a>:
ignore invalid commands for old builds</li>
<li><a
href="4c5db587c7"><code>4c5db58</code></a>
fix <a
href="https://redirect.github.com/evanw/esbuild/issues/3329">#3329</a>:
treat more enum values as strings</li>
<li><a
href="5ecf535918"><code>5ecf535</code></a>
fix <a
href="https://redirect.github.com/evanw/esbuild/issues/3377">#3377</a>:
improve resolution error due to <code>null</code></li>
<li><a
href="79ac17a7b6"><code>79ac17a</code></a>
resolver: adjust some error messages</li>
<li>Additional commits viewable in <a
href="https://github.com/evanw/esbuild/compare/v0.19.2...v0.19.3">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-09-19 11:31:48 -07:00
dependabot[bot] 9dbe110071
chore(deps-dev): Bump @types/chrome from 0.0.245 to 0.0.246 (#6961)
Bumps
[@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome)
from 0.0.245 to 0.0.246.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-09-15 15:12:59 -07:00
dependabot[bot] 8c4c8c64fa
chore(deps-dev): Bump jest-environment-jsdom from 29.6.4 to 29.7.0 (#6955)
Bumps
[jest-environment-jsdom](https://github.com/jestjs/jest/tree/HEAD/packages/jest-environment-jsdom)
from 29.6.4 to 29.7.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jestjs/jest/releases">jest-environment-jsdom's
releases</a>.</em></p>
<blockquote>
<h2>v29.7.0</h2>
<h2>Features</h2>
<ul>
<li><code>[create-jest]</code> Add <code>npm init</code> / <code>yarn
create</code> initialiser for Jest projects (<a
href="https://redirect.github.com/jestjs/jest/pull/14453">#14465</a>)</li>
<li><code>[jest-validate]</code> Allow deprecation warnings for unknown
options (<a
href="https://redirect.github.com/jestjs/jest/pull/14499">#14499</a>)</li>
</ul>
<h2>Fixes</h2>
<ul>
<li><code>[jest-resolver]</code> Replace unmatched capture groups in
<code>moduleNameMapper</code> with empty string instead of
<code>undefined</code> (<a
href="https://redirect.github.com/jestjs/jest/pull/14507">#14507</a>)</li>
<li><code>[jest-snapshot]</code> Allow for strings as well as template
literals in inline snapshots (<a
href="https://redirect.github.com/jestjs/jest/pull/14465">#14465</a>)</li>
<li><code>[@jest/test-sequencer]</code> Calculate test runtime if
<code>perStats.duration</code> is missing (<a
href="https://redirect.github.com/jestjs/jest/pull/14473">#14473</a>)</li>
</ul>
<h2>Performance</h2>
<ul>
<li><code>[@jest/create-cache-key-function]</code> Cache access of
<code>NODE_ENV</code> and <code>BABEL_ENV</code> (<a
href="https://redirect.github.com/jestjs/jest/pull/14455">#14455</a>)</li>
</ul>
<h2>Chore &amp; Maintenance</h2>
<ul>
<li><code>[jest-cli]</code> Move internal config initialisation logic to
the <code>create-jest</code> package (<a
href="https://redirect.github.com/jestjs/jest/pull/14453">#14465</a>)</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/bawjensen"><code>@​bawjensen</code></a>
made their first contribution in <a
href="https://redirect.github.com/jestjs/jest/pull/14465">jestjs/jest#14465</a></li>
<li><a
href="https://github.com/malaviya-parth"><code>@​malaviya-parth</code></a>
made their first contribution in <a
href="https://redirect.github.com/jestjs/jest/pull/14467">jestjs/jest#14467</a></li>
<li><a
href="https://github.com/niklasholm"><code>@​niklasholm</code></a> made
their first contribution in <a
href="https://redirect.github.com/jestjs/jest/pull/14507">jestjs/jest#14507</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/jestjs/jest/compare/v29.6.4...v29.7.0">https://github.com/jestjs/jest/compare/v29.6.4...v29.7.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/jestjs/jest/blob/main/CHANGELOG.md">jest-environment-jsdom's
changelog</a>.</em></p>
<blockquote>
<h2>29.7.0</h2>
<h3>Features</h3>
<ul>
<li><code>[create-jest]</code> Add <code>npm init</code> / <code>yarn
create</code> initialiser for Jest projects (<a
href="https://redirect.github.com/jestjs/jest/pull/14453">#14465</a>)</li>
<li><code>[jest-validate]</code> Allow deprecation warnings for unknown
options (<a
href="https://redirect.github.com/jestjs/jest/pull/14499">#14499</a>)</li>
</ul>
<h3>Fixes</h3>
<ul>
<li><code>[jest-resolver]</code> Replace unmatched capture groups in
<code>moduleNameMapper</code> with empty string instead of
<code>undefined</code> (<a
href="https://redirect.github.com/jestjs/jest/pull/14507">#14507</a>)</li>
<li><code>[jest-snapshot]</code> Allow for strings as well as template
literals in inline snapshots (<a
href="https://redirect.github.com/jestjs/jest/pull/14465">#14465</a>)</li>
<li><code>[@jest/test-sequencer]</code> Calculate test runtime if
<code>perStats.duration</code> is missing (<a
href="https://redirect.github.com/jestjs/jest/pull/14473">#14473</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li><code>[@jest/create-cache-key-function]</code> Cache access of
<code>NODE_ENV</code> and <code>BABEL_ENV</code> (<a
href="https://redirect.github.com/jestjs/jest/pull/14455">#14455</a>)</li>
</ul>
<h3>Chore &amp; Maintenance</h3>
<ul>
<li><code>[jest-cli]</code> Move internal config initialisation logic to
the <code>create-jest</code> package (<a
href="https://redirect.github.com/jestjs/jest/pull/14453">#14465</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4e56991693"><code>4e56991</code></a>
v29.7.0</li>
<li>See full diff in <a
href="https://github.com/jestjs/jest/commits/v29.7.0/packages/jest-environment-jsdom">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-09-15 14:33:25 -07:00
dependabot[bot] 94d1d71a86
chore(deps-dev): Bump @swc/core from 1.3.83 to 1.3.84 (#6951)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.3.83 to
1.3.84.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/swc-project/swc/blob/main/CHANGELOG.md"><code>@​swc/core</code>'s
changelog</a>.</em></p>
<blockquote>
<h2>[1.3.84] - 2023-09-11</h2>
<h3>Bug Fixes</h3>
<ul>
<li>
<p><strong>(es/codegen)</strong> Emit leading comments for
<code>ExprStmt</code> (<a
href="https://redirect.github.com/swc-project/swc/issues/7916">#7916</a>)
(<a
href="2da58959c2">2da5895</a>)</p>
</li>
<li>
<p><strong>(es/codegen)</strong> Use
<code>emitAssertForImportAttributes</code> (<a
href="https://redirect.github.com/swc-project/swc/issues/7936">#7936</a>)
(<a
href="dac8888829">dac8888</a>)</p>
</li>
<li>
<p><strong>(es/compat)</strong> Visit assign expr in generator (<a
href="https://redirect.github.com/swc-project/swc/issues/7932">#7932</a>)
(<a
href="97068e12d1">97068e1</a>)</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c8ac13e60c"><code>c8ac13e</code></a>
chore: Publish <code>v1.3.84</code> with <code>swc_core</code>
<code>v0.83.5</code> (<a
href="https://redirect.github.com/swc-project/swc/issues/7937">#7937</a>)</li>
<li><a
href="0d0f04689c"><code>0d0f046</code></a>
chore: Publish crates</li>
<li><a
href="dac8888829"><code>dac8888</code></a>
fix(es/codegen): Use <code>emitAssertForImportAttributes</code> (<a
href="https://redirect.github.com/swc-project/swc/issues/7936">#7936</a>)</li>
<li><a
href="5431010c75"><code>5431010</code></a>
chore: Publish crates</li>
<li><a
href="2da58959c2"><code>2da5895</code></a>
fix(es/codegen): Emit leading comments for <code>ExprStmt</code> (<a
href="https://redirect.github.com/swc-project/swc/issues/7916">#7916</a>)</li>
<li><a
href="3210556c7e"><code>3210556</code></a>
chore: Publish crates</li>
<li><a
href="97068e12d1"><code>97068e1</code></a>
fix(es/compat): Visit assign expr in generator (<a
href="https://redirect.github.com/swc-project/swc/issues/7932">#7932</a>)</li>
<li><a
href="d15eaf05cd"><code>d15eaf0</code></a>
chore: Publish <code>@swc/helpers@0.5.2</code></li>
<li><a
href="8bb2925e23"><code>8bb2925</code></a>
chore: Publish crates</li>
<li>See full diff in <a
href="https://github.com/swc-project/swc/compare/v1.3.83...v1.3.84">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-09-15 13:04:21 -07:00
dependabot[bot] 3af8d474c2
chore(deps-dev): Bump core-js-bundle from 3.32.1 to 3.32.2 (#6947)
Bumps
[core-js-bundle](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js-bundle)
from 3.32.1 to 3.32.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/zloirock/core-js/blob/master/CHANGELOG.md">core-js-bundle's
changelog</a>.</em></p>
<blockquote>
<h5><a
href="https://github.com/zloirock/core-js/releases/tag/v3.32.2">3.32.2 -
2023.09.07</a></h5>
<ul>
<li>Fixed <code>structuredClone</code> feature detection
<code>core-js@3.32.1</code> bug, <a
href="https://redirect.github.com/zloirock/core-js/issues/1288">#1288</a></li>
<li>Added a workaround of old WebKit + <code>eval</code> bug, <a
href="https://redirect.github.com/zloirock/core-js/pull/1287">#1287</a></li>
<li>Compat data improvements:
<ul>
<li>Added Samsung Internet 23 compat data mapping</li>
<li>Added Quest Browser 29 compat data mapping</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="aaefe98d5f"><code>aaefe98</code></a>
3.32.2</li>
<li>See full diff in <a
href="https://github.com/zloirock/core-js/commits/v3.32.2/packages/core-js-bundle">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-09-08 17:32:06 -07:00
dependabot[bot] 70d7048555
chore(deps-dev): Bump stylelint-config-standard-scss from 10.0.0 to 11.0.0 (#6935)
Bumps
[stylelint-config-standard-scss](https://github.com/stylelint-scss/stylelint-config-standard-scss)
from 10.0.0 to 11.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/stylelint-scss/stylelint-config-standard-scss/releases">stylelint-config-standard-scss's
releases</a>.</em></p>
<blockquote>
<h2>11.0.0</h2>
<ul>
<li>Changed: updated to <a
href="https://github.com/stylelint-scss/stylelint-config-recommended-scss/releases/tag/v13.0.0"><code>stylelint-config-recommended-scss@13.0.0</code></a>.</li>
<li>Changed: updated to <a
href="https://github.com/stylelint/stylelint-config-standard/releases/tag/34.0.0"><code>stylelint-config-standard@34.0.0</code></a></li>
<li>Removed: <code>stylelint</code> less than <code>15.10.0</code> from
peer dependencies.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/stylelint-scss/stylelint-config-standard-scss/blob/main/CHANGELOG.md">stylelint-config-standard-scss's
changelog</a>.</em></p>
<blockquote>
<h1>11.0.0</h1>
<ul>
<li>Changed: updated to <a
href="https://github.com/stylelint-scss/stylelint-config-recommended-scss/releases/tag/v13.0.0"><code>stylelint-config-recommended-scss@13.0.0</code></a>.</li>
<li>Changed: updated to <a
href="https://github.com/stylelint/stylelint-config-standard/releases/tag/34.0.0"><code>stylelint-config-standard@34.0.0</code></a></li>
<li>Removed: <code>stylelint</code> less than <code>15.10.0</code> from
peer dependencies.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="bec10de33a"><code>bec10de</code></a>
11.0.0</li>
<li><a
href="50a92752d1"><code>50a9275</code></a>
Prepare 11.0.0</li>
<li><a
href="8e460799c2"><code>8e46079</code></a>
Bump stylelint-config-recommended-scss from 12.0.0 to 13.0.0 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-config-standard-scss/issues/126">#126</a>)</li>
<li><a
href="0c2ba86e3b"><code>0c2ba86</code></a>
Bump eslint-config-stylelint from 18.0.0 to 20.0.0 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-config-standard-scss/issues/124">#124</a>)</li>
<li><a
href="c4797e477e"><code>c4797e4</code></a>
Bump eslint from 8.46.0 to 8.48.0 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-config-standard-scss/issues/125">#125</a>)</li>
<li><a
href="1703cb1df0"><code>1703cb1</code></a>
Bump jest from 29.6.2 to 29.6.4 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-config-standard-scss/issues/123">#123</a>)</li>
<li><a
href="35ad45a610"><code>35ad45a</code></a>
Bump prettier from 3.0.0 to 3.0.3 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-config-standard-scss/issues/122">#122</a>)</li>
<li><a
href="0b11110871"><code>0b11110</code></a>
Bump stylelint from 15.10.2 to 15.10.3 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-config-standard-scss/issues/121">#121</a>)</li>
<li><a
href="0ba6e28263"><code>0ba6e28</code></a>
Bump jest from 29.6.1 to 29.6.2 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-config-standard-scss/issues/118">#118</a>)</li>
<li><a
href="aa3b2a84ca"><code>aa3b2a8</code></a>
Bump <code>@​stylelint/prettier-config</code> from 2.0.0 to 3.0.0 (<a
href="https://redirect.github.com/stylelint-scss/stylelint-config-standard-scss/issues/119">#119</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/stylelint-scss/stylelint-config-standard-scss/compare/v10.0.0...v11.0.0">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-09-08 10:52:53 -07:00
dependabot[bot] f58f87c366
chore(deps-dev): Bump @typescript-eslint/parser from 6.5.0 to 6.6.0 (#6938)
Bumps
[@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser)
from 6.5.0 to 6.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@​typescript-eslint/parser</code>'s
releases</a>.</em></p>
<blockquote>
<h2>v6.6.0</h2>
<h1><a
href="https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0">6.6.0</a>
(2023-09-04)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>eslint-plugin:</strong> [key-spacing] consider properties
with parens and comments (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7525">#7525</a>)
(<a
href="7012279b85">7012279</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>rule-tester:</strong> allow to create empty tests (<a
href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7467">#7467</a>)
(<a
href="654b35dcf3">654b35d</a>)</li>
</ul>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md"><code>@​typescript-eslint/parser</code>'s
changelog</a>.</em></p>
<blockquote>
<h1><a
href="https://github.com/typescript-eslint/typescript-eslint/compare/v6.5.0...v6.6.0">6.6.0</a>
(2023-09-04)</h1>
<p><strong>Note:</strong> Version bump only for package
<code>@​typescript-eslint/parser</code></p>
<p>You can read about our <a
href="https://main--typescript-eslint.netlify.app/users/versioning">versioning
strategy</a> and <a
href="https://main--typescript-eslint.netlify.app/users/releases">releases</a>
on our website.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="a3a3932129"><code>a3a3932</code></a>
chore: publish v6.6.0</li>
<li><a
href="337525b246"><code>337525b</code></a>
chore(deps): update dependency jest to v29.6.4 (<a
href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser/issues/7575">#7575</a>)</li>
<li>See full diff in <a
href="https://github.com/typescript-eslint/typescript-eslint/commits/v6.6.0/packages/parser">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
2023-09-08 10:11:46 -07:00
Madalyn 26056cf17b
chore: Exclude playwright docker image dependabot updates from ClearlyDefined check (#6917)
#### Details

We use playwright focal docker images for end-to-end tests. This image
is updated by dependabot. The corresponding playwright version that the
image uses will be checked by `ClearlyDefined` when it is updated in
`package.json` but the docker image itself is not included in
`ClearlyDefined` so we can exclude these updates from that check.

##### Motivation

fix the build for #6904 and future similar updates

##### Context


#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a"
in the checkbox -->
- [n/a] Addresses an existing issue: #0000
- [x] Ran `yarn fastpass`
- [n/a] Added/updated relevant unit test(s) (and ran `yarn test`)
- [x] Verified code coverage for the changes made. Check coverage report
at: `<rootDir>/test-results/unit/coverage`
- [x] PR title *AND* final merge commit title both start with a semantic
tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See
`CONTRIBUTING.md`.
- [n/a] (UI changes only) Added screenshots/GIFs to description above
- [n/a] (UI changes only) Verified usability with NVDA/JAWS

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-24 14:08:48 -07:00
Dave Tryon 5e1cf24b66
fix: Correct bug in ClearlyDefined check (#6880)
#### Details

Note: This change is a port of
https://github.com/microsoft/accessibility-insights-windows/pull/1672

#954 had 2 bugs about namespaces:
1. Dependabot adds a `/src` component to the branch name of NuGet
component. The script didn't take this into account and we ended up with
an incorrect url
2. Dependabot omits the `@` from branch names of npm components that
include a namespace. The script didn't take this into accoiunt and we
ended up with an incorrect url

The fix in both cases is the same--we add a function to adjust the raw
namespace that comes from parsing the branch name.

It also includes a batch script to aid in script validation. If we
encounter future branch names that go awry, we can just add additional
test cases and have protection against breakage.

##### Motivation

Tune the desired friction of dependabot PR's, keep the generated notices
file current

##### Output

Here is the output of the script:
```
C:>ValidateScript.bat
Skipped case: Non-dependabot branch
pwsh -f ./check-clearly-defined.ps1 -PipelineType local -BranchName fix-bug
Not a dependabot PR, skipping check
OK

Passing case: ADO PR build of dependabot branch
set SYSTEM_PULLREQUEST_SOURCEBRANCH=dependabot/nuget/src/Moq-4.18.4
pwsh -f ./check-clearly-defined.ps1 -PipelineType ado
Getting data from https://api.clearlydefined.io/definitions/nuget/nuget/-/Moq/4.18.4
ClearlyDefined has a definition for this package version.
OK

Passing case: ADO non-PR build of dependabot branch
set BUILD_SOURCEBRANCH=refs/heads/dependabot/nuget/src/Axe.Windows-2.1.3
pwsh -f ./check-clearly-defined.ps1 -PipelineType ado
Getting data from https://api.clearlydefined.io/definitions/nuget/nuget/-/Axe.Windows/2.1.3
ClearlyDefined has a definition for this package version.
OK

Passing case: action PR build of dependabot branch without namespace
set GITHUB_HEAD_REF=dependabot/npm_and_yarn/eslint-config-prettier-8.9.0
pwsh -f ./check-clearly-defined.ps1 -PipelineType action
Getting data from https://api.clearlydefined.io/definitions/npm/npmjs/-/eslint-config-prettier/8.9.0
ClearlyDefined has a definition for this package version.
OK

Passing case: action PR build of dependabot branch with namespace
set GITHUB_HEAD_REF=dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-6.3.0
pwsh -f ./check-clearly-defined.ps1 -PipelineType action
Getting data from https://api.clearlydefined.io/definitions/npm/npmjs/@typescript-eslint/eslint-plugin/6.3.0
ClearlyDefined has a definition for this package version.
OK

Failing case: Package that does not exist in ClearlyDefined
pwsh -f ./check-clearly-defined.ps1 -PipelineType local -BranchName dependabot/nuget/src/Axe.Windows-2.99.99
Getting data from https://api.clearlydefined.io/definitions/nuget/nuget/-/Axe.Windows/2.99.99
ClearlyDefined does not have a definition for this package version.
If this is a development component, you may safely ignore this warning.

If this is a production component, please do the following:
1. Request that ClearlyDefined harvest information for this package version
2. Wait for the harvest to complete -- check https://clearlydefined.io
3. Re-run the failed build
4. Once the PR build passes, merge the PR
5. If necessary, add this package to clearly-defined-exclusions.json and include it in your PR.
   Merge the PR once the build passes.
OK

ALL TESTS ARE OK :)
```
##### Context

<!-- Are there any parts that you've intentionally left out-of-scope for
a later PR to handle? -->

<!-- Were there any alternative approaches you considered? What
tradeoffs did you consider? -->
The validation script could have been another PowerShell script if we
were concerned about allowing validation cross-platform, but this seems
like a sufficient option

#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a"
in the checkbox -->
- [n/a] Addresses an existing issue
- [x] Ran `yarn fastpass`
- [n/a] Added/updated relevant unit test(s) (and ran `yarn test`)
- [n/a] Verified code coverage for the changes made. Check coverage
report at: `<rootDir>/test-results/unit/coverage`
- [x] PR title *AND* final merge commit title both start with a semantic
tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See
`CONTRIBUTING.md`.
- [n/a] (UI changes only) Added screenshots/GIFs to description above
- [n/a] (UI changes only) Verified usability with NVDA/JAWS
2023-08-09 13:33:09 -07:00
Bill Dengler 378ac4153c
fix: Exclude .ps1 files from yarn format:check (#6867)
This commit excludes all `.ps1` files from format checking to reduce noise in `yarn fastpass`. It also fixes a small typo in the clearly defined script.
2023-08-07 12:20:27 -07:00
Dave Tryon 747b9b0c82
chore: Add script to check ClearlyDefined status in dependabot PR builds (#6859)
#### Details

This adds a script to check the script to detect gaps in ClearlyDefined.
It keys off the branch name to determine the following:
1. Is this a dependabot PR? (exit if no)
2. If so, what is the namespace, package, and package version?
3. Is this namespace + package in the curated exclusion list? (exit if
yes)
4. Does ClearlyDefined include an entry for this update? Succeed if yes,
fail if no)

This check is _not_ a blocking check, so it's possible to squash and
merge without it passing, which would be appropriate for a "deps-dev"
PR. The intent is to make the human aware of the potential impact and to
force a decision. Note that while this will catch PR's that update
versions of existing packages, it will _not_ catch PR's that add new
packages. That will be the responsibility of the task that creates
`NOTICE.html` and will live in a separate repo

##### Motivation

Progress toward #6636, which suggests changes to help ensure that our
`NOTICE.html` file remains correct. Once this change is merged, we
should be able to replace the manually managed `NOTICE.html` file with
the generated version

##### Sample output:

###### Non-Dependabot PR:
```
VERBOSE: Resolved Inputs: PipeLineType=action, BranchName=check-clearlydefined-for-dependabot
Not a dependabot PR, skipping check
```

###### Dependabot PR of a package that ClearlyDefined has already
harvested:
```
VERBOSE: Resolved Inputs: PipeLineType=action, BranchName=dependabot/npm_and_yarn/react-router-dom-6.14.1
Getting data from https://api.clearlydefined.io/definitions/npm/npmjs/-/react-router-dom/6.14.1
VERBOSE: GET with 0-byte payload
VERBOSE: received 6541-byte response of content type application/json
VERBOSE: Content encoding: utf-[8](https://github.com/microsoft/accessibility-insights-web/actions/runs/5755005810/job/15601503428?pr=6859#step:5:9)
ClearlyDefined has a definition for this package version.
```

###### Dependabot PR of a package that ClearlyDefined has not yet
harvested:
```
VERBOSE: Resolved Inputs: PipeLineType=action, BranchName=dependabot/npm_and_yarn/react-router-dom-6.14.10
Getting data from https://api.clearlydefined.io/definitions/npm/npmjs/-/react-router-dom/6.14.10
VERBOSE: GET with 0-byte payload
VERBOSE: received 4[8](https://github.com/microsoft/accessibility-insights-web/actions/runs/5755057600/job/15601673883?pr=6859#step:5:9)2-byte response of content type application/json
VERBOSE: Content encoding: utf-8
Error: ClearlyDefined does not have a definition for this package version.
If this is a development component, you may safely ignore this warning.

If this is a production component, please do the following:
1. Request that ClearlyDefined harvest information for this package version
2. Wait for the harvest to complete -- check at [https://clearlydefined.io](https://clearlydefined.io)
3. Re-run the failed build
4. Once the PR build passes, merge the PR
5. If necessary, add this package to clearly-defined-exclusions.json and include it in your PR.
   Merge the PR once the build passes.
Error: Process completed with exit code 1.
```

##### Context

<!-- Are there any parts that you've intentionally left out-of-scope for
a later PR to handle? -->

<!-- Were there any alternative approaches you considered? What
tradeoffs did you consider? -->
The intent is to use this script across multiple repos, which is why it
includes support for action, ado, and local versions. In an ideal world
we would have this in a single location, but we're not ready to do that
just yet.

#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a"
in the checkbox -->
- [x] Addresses an existing issue: #6636
- [x] Ran `yarn fastpass`
- [n/a] Added/updated relevant unit test(s) (and ran `yarn test`)
- [n/a] Verified code coverage for the changes made. Check coverage
report at: `<rootDir>/test-results/unit/coverage`
- [x] PR title *AND* final merge commit title both start with a semantic
tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See
`CONTRIBUTING.md`.
- [n/a] (UI changes only) Added screenshots/GIFs to description above
- [n/a] (UI changes only) Verified usability with NVDA/JAWS
2023-08-04 12:39:37 -07:00
dependabot[bot] 06c948dada
chore(deps-dev): Bump prettier from 2.8.8 to 3.0.0 (#6790)
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.8 to
3.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/prettier/prettier/releases">prettier's
releases</a>.</em></p>
<blockquote>
<h2>3.0.0</h2>
<p><a
href="https://github.com/prettier/prettier/compare/3.0.0-alpha.6...3.0.0">diff</a></p>
<p>🔗 <a href="https://prettier.io/blog/2023/07/05/3.0.0.html">Release
note</a></p>
<h2>3.0.0-alpha.6</h2>
<h2>What's Changed</h2>
<ul>
<li>Update <code>.d.ts</code> files of plugins to use <code>export
default ...</code> by <a
href="https://github.com/fisker"><code>@​fisker</code></a> in <a
href="https://redirect.github.com/prettier/prettier/pull/14435">prettier/prettier#14435</a></li>
</ul>
<p>Other changes since v2, see <a
href="https://github.com/prettier/prettier/releases/tag/3.0.0-alpha.1"><code>3.0.0-alpha.1</code>
release notes</a></p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/prettier/prettier/compare/3.0.0-alpha.5...3.0.0-alpha.6">https://github.com/prettier/prettier/compare/3.0.0-alpha.5...3.0.0-alpha.6</a></p>
<h2>3.0.0-alpha.5</h2>
<h2>What's Changed</h2>
<ul>
<li>Add <code>.d.ts</code> files by <a
href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>
in <a
href="https://redirect.github.com/prettier/prettier/pull/14212">prettier/prettier#14212</a></li>
<li>Support TypeScript 5 via <code>babel-ts</code> parser by <a
href="https://github.com/fisker"><code>@​fisker</code></a> in <a
href="https://redirect.github.com/prettier/prettier/pull/14391">prettier/prettier#14391</a></li>
</ul>
<p>Other changes since v2, see <a
href="https://github.com/prettier/prettier/releases/tag/3.0.0-alpha.1"><code>3.0.0-alpha.1</code>
release notes</a></p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/prettier/prettier/compare/3.0.0-alpha.4...3.0.0-alpha.5">https://github.com/prettier/prettier/compare/3.0.0-alpha.4...3.0.0-alpha.5</a></p>
<h2>3.0.0-alpha.4</h2>
<h2>What's Changed</h2>
<ul>
<li>Remove support for Flow comment types by <a
href="https://github.com/thorn0"><code>@​thorn0</code></a> in <a
href="https://redirect.github.com/prettier/prettier/pull/13687">prettier/prettier#13687</a></li>
<li>Make <code>resolveParser</code> work like v2 by <a
href="https://github.com/fisker"><code>@​fisker</code></a> in <a
href="https://redirect.github.com/prettier/prettier/pull/13732">prettier/prettier#13732</a></li>
<li>Add <code>__debug</code> apis to cjs version by <a
href="https://github.com/fisker"><code>@​fisker</code></a> in <a
href="https://redirect.github.com/prettier/prettier/pull/13731">prettier/prettier#13731</a></li>
</ul>
<p>Other changes since v2, see <a
href="https://github.com/prettier/prettier/releases/tag/3.0.0-alpha.1"><code>3.0.0-alpha.1</code>
release notes</a></p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/prettier/prettier/compare/3.0.0-alpha.3...3.0.0-alpha.4">https://github.com/prettier/prettier/compare/3.0.0-alpha.3...3.0.0-alpha.4</a></p>
<h2>3.0.0-alpha.3</h2>
<ul>
<li>Fix <code>exports</code> field in <code>package.json</code>
file</li>
</ul>
<p>Other changes since v2, see <a
href="https://github.com/prettier/prettier/releases/tag/3.0.0-alpha.1"><code>3.0.0-alpha.1</code>
release notes</a></p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/prettier/prettier/compare/3.0.0-alpha.2...3.0.0-alpha.3">https://github.com/prettier/prettier/compare/3.0.0-alpha.2...3.0.0-alpha.3</a></p>
<h2>3.0.0-alpha.2</h2>
<ul>
<li>Fix bundled <code>index.cjs</code> file</li>
</ul>
<p>Other changes since v2, see <a
href="https://github.com/prettier/prettier/releases/tag/3.0.0-alpha.1"><code>3.0.0-alpha.1</code>
release notes</a></p>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/prettier/prettier/compare/3.0.0-alpha.1...3.0.0-alpha.2">https://github.com/prettier/prettier/compare/3.0.0-alpha.1...3.0.0-alpha.2</a></p>
<h2>3.0.0-alpha.1</h2>
<p><strong>If you are a plugin developer, please try this version and
send us feedback! Feel free to ping <a
href="https://github.com/fisker"><code>@​fisker</code></a> if you have
any questions about v3 migration.</strong></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md">prettier's
changelog</a>.</em></p>
<blockquote>
<h1>3.0.0</h1>
<p><a
href="https://github.com/prettier/prettier/compare/3.0.0-alpha.6...3.0.0">diff</a></p>
<p>🔗 <a href="https://prettier.io/blog/2023/07/05/3.0.0.html">Release
Notes</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="186e0966b0"><code>186e096</code></a>
Release 3.0.0</li>
<li><a
href="44979b0a37"><code>44979b0</code></a>
Remove test step from release script (<a
href="https://redirect.github.com/prettier/prettier/issues/15011">#15011</a>)</li>
<li><a
href="e12afe89f3"><code>e12afe8</code></a>
Regenerate yarn.lock file (<a
href="https://redirect.github.com/prettier/prettier/issues/15010">#15010</a>)</li>
<li><a
href="db31fd602e"><code>db31fd6</code></a>
Regenerate yarn.lock file for website (<a
href="https://redirect.github.com/prettier/prettier/issues/15009">#15009</a>)</li>
<li><a
href="1a0d9ed800"><code>1a0d9ed</code></a>
chore(deps): update dependency cosmiconfig to v8.2.0 (<a
href="https://redirect.github.com/prettier/prettier/issues/14901">#14901</a>)</li>
<li><a
href="25fa483e35"><code>25fa483</code></a>
chore(deps): update dependency typescript to v5.1.5 (<a
href="https://redirect.github.com/prettier/prettier/issues/14896">#14896</a>)</li>
<li><a
href="d0759650b8"><code>d075965</code></a>
chore(deps): update dependency webpack to v5.88.1 (<a
href="https://redirect.github.com/prettier/prettier/issues/14994">#14994</a>)</li>
<li><a
href="d97f78db99"><code>d97f78d</code></a>
chore(deps): update dependency webpack to v5.88.1 (<a
href="https://redirect.github.com/prettier/prettier/issues/14995">#14995</a>)</li>
<li><a
href="f1ef433e98"><code>f1ef433</code></a>
chore(deps): update dependency flow-parser to v0.211.0 (<a
href="https://redirect.github.com/prettier/prettier/issues/15002">#15002</a>)</li>
<li><a
href="61804e2516"><code>61804e2</code></a>
chore(deps): update dependency espree to v9.6.0 (<a
href="https://redirect.github.com/prettier/prettier/issues/15000">#15000</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/prettier/prettier/compare/2.8.8...3.0.0">compare
view</a></li>
</ul>
</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dave Tryon <45672944+DaveTryon@users.noreply.github.com>
Co-authored-by: Peter Durham <peterdur@microsoft.com>
2023-07-07 16:18:46 -07:00
Dan Bjorge e968833ddc
chore: fix refresh token script and rewrite with fewer dependencies (#6622)
#### Details

This PR rewrites the script we use to rotate our publishing refresh
tokens:

* It uses PowerShell since it's available by default on SAWs, as opposed
to Node/NPM/the request module requiring installation
* It fixes the issue that prevented it from working as of migration to
Desktop OAuth Client instead of the deprecated OOB type
* It improves the output behavior to avoid showing all the intermediate
tokens that the user doesn't normally need to see (you can see these by
running the script with the `-Debug` switch)

See our internal doc pages named "Chrome Web Store Publishing Flow" and
"Chrome WebStore secret rotation guide" for more usage details; these
have already been updated accordingly.

##### Motivation

Make it easier to do secrets rotation, bring script up to date with new
publishing setup.

##### Context

n/a

#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a"
in the checkbox -->
- [x] Addresses an existing issue: Part of feature 2061220
- [x] Ran `yarn fastpass`
- [n/a] Added/updated relevant unit test(s) (and ran `yarn test`)
- [n/a] Verified code coverage for the changes made. Check coverage
report at: `<rootDir>/test-results/unit/coverage`
- [x] PR title *AND* final merge commit title both start with a semantic
tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See
`CONTRIBUTING.md`.
- [n/a] (UI changes only) Added screenshots/GIFs to description above
- [n/a] (UI changes only) Verified usability with NVDA/JAWS
2023-05-11 15:05:17 -04:00
Dan Bjorge 1ea9642a6f
chore(null): switch strictNullChecks config from opt-in to opt-out for new files (#6284)
#### Details

This PR updates our strictNullChecks config and tooling to include all
non-test `.ts` and `.tsx` files in the strict null checks set by
default, only excluding those files explicitly marked as having known
issues in `tsconfig.strictNullChecks.json`. This:

* Simplifies the `strictNullChecks` config file a lot (it reduces the
size by half and is now a flat list of files instead of a mix of files
and glob patterns)
* Saves a step of having to manually run `yarn null:autoadd` for most
changes, since new files are now implicitly added
* Removes the corresponding item from our PR checklist (I left the
automated PR check in place since it doesn't hurt anything and has a
self-descriptive error message if it does fail)

To implement this, I wrote a script to perform the conversion from an
include list to an exclude list. I included it for review in this PR,
but I don't expect it to need to be run again in the future. I verified
that `yarn null:progress` reports finding the same counts of checked and
eligible files before and after the change:

> ## Web strict-null progress
> **81%** complete (**1273**/1562 non-test files)
> *Contribute at
[#2869](https://github.com/microsoft/accessibility-insights-web/issues/2869).
Last update: Tue Dec 20 2022*

I ensured that the assorted helper scripts (`yarn null:find`, `yarn
null:autoadd`, `yarn null:check`) all still work as expected.

##### Motivation

#2869 and see above

##### Context

I considered renaming `autoadd` to something else now that it's arguably
"removing an exclusion" rather than "adding an inclusion", but I decided
to leave it as it; it's still "adding new files to the strict null
checked set" and it felt like more work/confusion than it was worth to
try to update all the issues/team working knowledge/etc about it.

#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a"
in the checkbox -->
- [x] Addresses an existing issue: #2869
- ~~[x] Ran `yarn null:autoadd`~~
- [x] Ran `yarn fastpass`
- [n/a] Added/updated relevant unit test(s) (and ran `yarn test`)
- [n/a] Verified code coverage for the changes made. Check coverage
report at: `<rootDir>/test-results/unit/coverage`
- [x] PR title *AND* final merge commit title both start with a semantic
tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See
`CONTRIBUTING.md`.
- [n/a] (UI changes only) Added screenshots/GIFs to description above
- [n/a] (UI changes only) Verified usability with NVDA/JAWS
2022-12-20 14:41:03 -05:00
Sarah Oslund de5dea55b9
chore: Add script to get chrome refresh token to tools (#6257)
#### Details

Adding script used for getting a chrome refresh token to the tools dir.
This script is used in our secrets rotation process.

##### Motivation

Keep scripts related to this product in a central location

#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a"
in the checkbox -->
- [n/a] Addresses an existing issue: #0000
- [x] Ran `yarn null:autoadd`
- [x] Ran `yarn fastpass`
- [n/a] Added/updated relevant unit test(s) (and ran `yarn test`)
- [n/a] Verified code coverage for the changes made. Check coverage
report at: `<rootDir>/test-results/unit/coverage`
- [x] PR title *AND* final merge commit title both start with a semantic
tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See
`CONTRIBUTING.md`.
- [n/a] (UI changes only) Added screenshots/GIFs to description above
- [n/a] (UI changes only) Verified usability with NVDA/JAWS
2022-12-07 14:25:39 -08:00
Sarah Oslund ab39e52988
feat(mv3-part7): Convert mv3 extension to use build generated JSON validator (#5975)
#### Details

Fixes mv3 bug with loading assessments. Repro steps:

1. Open mv3 canary/ dev assessment
2. Try to load assessment file
3. See nothing happens in details view, see following errors in console:
```
exception-telemetry-listener.ts:87 Error compiling schema, function code: const schema2 = scope.schema[2];const schema1 = scope.schema[1];return function validate1(data, {instancePath="", parentData, parentDataProperty, rootData=data}={}){let vErrors = null;let errors = 0;const _errs1 = errors;if(!(((typeof data == "number") && (!(data % 1) && !isNaN(data))) && (isFinite(data)))){validate1.errors = [{instancePath,schemaPath:"#/definitions/nonNegativeInteger/type",keyword:"type",params:{type: "integer"},message:"must be integer"}];return false;}if(errors === _errs1){if((typeof data == "number") && (isFinite(data))){if(data < 0 || isNaN(data)){validate1.errors = [{instancePath,schemaPath:"#/definitions/nonNegativeInteger/minimum",keyword:"minimum",params:{comparison: ">=", limit: 0},message:"must be >= 0"}];return false;}}}validate1.errors = vErrors;return errors === 0;}
```
```
Uncaught EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: "script-src 'self'".
```

##### Motivation

Feature work

##### Context

The root cause of this bug is that AJV, the library we use to validate the JSON input of assessment files, requires `unsafe-eval` in in the app's content security policy (see their docs: https://ajv.js.org/security.html#content-security-policy). This isn't a problem in mv2, we just add the appropriate line to the manifest: https://github.com/microsoft/accessibility-insights-web/blob/main/Gruntfile.js#L518. But with mv3, chrome no longer allows extensions to include `unsafe-eval` in their manifest CSP, so this is no longer an option. As a solution, this PR migrates us to use AJV's standalone validation code process instead: https://ajv.js.org/standalone.html.

A few changes were necessary to convert to the standalone process:

1. Add json generator package. This allows us to build the validator generation code separately from the rest of the codebase.
2. Add extra steps to mv3 build process to (A) build the validator generation code, (B) run the validation generator, and (C) place the generated validator in the expected file such that it can be accessed by the rest of the code.
3. Add extra logic to `load-assessment-data-validator.ts` to determine if the build generated validator is populated or if we should fallback on using the old, dynamically generated validator. We theoretically could convert all products to use the new, build generated validator and remove the old code, but I decided to only convert the mv3 extension to minimize changes to the other products that share this logic.
5. In the case that we use the build generated validator, also check that the assessments data matches the enabled feature flags. With the dynamically generated validator, we are able to check on the fly which feature flags are enabled/ disabled, and as a result, the schema that the validator checks against excludes any assessments that are behind disabled feature flags. We can't check which flags are disabled when we're generating the validator on build, so instead we include all assessments in the build generated validator schema and separately check in `LoadAssessmentDataValidator.uploadedDataIsValid` that none of the assessments in the uploaded data are behind disabled feature flags.

#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a" in the checkbox -->
- [n/a] Addresses an existing issue: #0000
- [x] Ran `yarn null:autoadd`
- [x] Ran `yarn fastpass`
- [x] Added/updated relevant unit test(s) (and ran `yarn test`)
- [x] Verified code coverage for the changes made. Check coverage report at: `<rootDir>/test-results/unit/coverage`
- [x] PR title *AND* final merge commit title both start with a semantic tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See `CONTRIBUTING.md`.
- [n/a] (UI changes only) Added screenshots/GIFs to description above
- [n/a] (UI changes only) Verified usability with NVDA/JAWS
2022-09-02 14:53:19 -07:00
Sarah Oslund a86ec908b1
feat(mv3-part7): Fix mv3 e2e test failures (#5984)
#### Details

Fix 2 mv3 bugs uncovered by running e2e tests on the mv3 extension (added in https://github.com/microsoft/accessibility-insights-web/pull/5965). The 2 bugs are described below and addressed in the 2 commits separately.

##### Motivation

Feature work.

##### Context

Failing cross origins iframe tests:

- This bug can be repro'ed by running mv3 extension manually. Repro steps: (1) Open all-cross-origin-iframe.html test resource (2) Run fastpass (3) See details view seems to be scanning forever, errors in service worker:
```
error injecting /bundle/injected.css: Error: Cannot access contents of url "file:///C:/code/accessibility-insights-web/src/tests/end-to-end/test-resources/all-cross-origin-iframe.html". Extension manifest must request permission to access this host. Error: Cannot access contents of url "file:///C:/code/accessibility-insights-web/src/tests/end-to-end/test-resources/all-cross-origin-iframe.html". Extension manifest must request permission to access this host.
```
```
error injecting /bundle/injected.bundle.js: Error: Cannot access contents of url "file:///C:/code/accessibility-insights-web/src/tests/end-to-end/test-resources/all-cross-origin-iframe.html". Extension manifest must request permission to access this host. Error: Cannot access contents of url "file:///C:/code/accessibility-insights-web/src/tests/end-to-end/test-resources/all-cross-origin-iframe.html". Extension manifest must request permission to access this host.
```

- Another side effect of this bug is that the yellow banner asking the user to grant permission to access iframes is not appearing at all in the mv3 extension at the moment.
- The cause was the permissions we were setting in the mv3 manifest. For mv2, we always request the activeTab permission (https://github.com/microsoft/accessibility-insights-web/blob/main/src/manifest.json#L12) and conditionally gain `optional_permissions: ['*://*/*']` if a user grants access to iframes from the yellow banner. Prior to this change, we were not requesting `activeTab` permissions for mv3 and we were requiring host permissions instead of making them optional. This PR fixes those mv3 permissions such that they are now analogous to those in the mv2 extension.
- The differing permission formats in mv2 and mv3 also necessitated changes to how we handle editing the manifest in out e2e test logic, which ended up being the bulk of the changes in this PR. 


Failing first time dialog tests: 
- This is a test specific bug, it does not repro when running the mv3 extension manually.
- Tests were attempting to run a script that referenced `chrome.tabs` before the service worker was fully started up and while `chrome.tabs` was still undefined. Fix was to check to ensure `chrome.tabs` is defined before running script.

#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a" in the checkbox -->
- [n/a] Addresses an existing issue: #0000
- [x] Ran `yarn null:autoadd`
- [x] Ran `yarn fastpass`
- [x] Added/updated relevant unit test(s) (and ran `yarn test`)
- [x] Verified code coverage for the changes made. Check coverage report at: `<rootDir>/test-results/unit/coverage`
- [x] PR title *AND* final merge commit title both start with a semantic tag (`fix:`, `chore:`, `feat(feature-name):`, `refactor:`). See `CONTRIBUTING.md`.
- [n/a] (UI changes only) Added screenshots/GIFs to description above
- [n/a] (UI changes only) Verified usability with NVDA/JAWS
2022-09-01 11:15:50 -07:00
pownkel e66ed55d18
chore: turn on no-floating-promises for most directories (#5517)
Turns on the no-floating-promises eslint rule for all directories except background/ and injected/, and fixes the errors that were caught.

This PR fixes 26 issues caught by this rule out of 48 in total. The issues fixed in this PR are fairly minor, and the remaining issues in background/ and injected/ are more complex and involve changes that propagate more to other files. Those issues will be addressed in future PRs.
2022-05-19 14:30:50 -07:00
Madalyn 3be0542553
chore(null): small strict null fixes (#5449)
* update import finder to filter @fluentui and @microsoft

* fix null checks for focus component

* fix null checks for auto-detected-failures-dialog

* add default null return for tab-stops-choice-group

* add null check for simulated-browser-event listener

* fix null checks for window-state-action-creator

* update tsconfig.strictNullChecks

Co-authored-by: madalynrose <madparker@microsoft.com>
2022-05-03 12:42:04 -04:00
dependabot[bot] b25828b27b
chore(deps-dev): bump simple-git from 2.48.0 to 3.0.3 (#5090)
* chore(deps-dev): bump simple-git from 2.48.0 to 3.0.3

Bumps [simple-git](https://github.com/steveukx/git-js) from 2.48.0 to 3.0.3.
- [Release notes](https://github.com/steveukx/git-js/releases)
- [Changelog](https://github.com/steveukx/git-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/steveukx/git-js/compare/v2.48.0...simple-git-v3.0.3)

---
updated-dependencies:
- dependency-name: simple-git
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Swap out use of deprecated import for newer equivalent

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dan Bjorge <danielbj@microsoft.com>
2022-01-21 18:16:06 -05:00
Rob Gallo f2ec74cc5f
Chore: Add more files to eslint coverage (#3869)
* Chore: Add more files to eslint coverage

Previously, only the files under ./src were checked by eslint. Now, all our non-production code should be covered as well.

Fixed the few eslint errors and warnings that popped up.

* Make it so  that eslint is run with individual .eslintrc.js files per project/package. This is so that each project can have its own eslint settings overrides if necessary.

Add lint:check:all to run lint:check on all code under the root and for each package under packages.
2021-02-05 13:56:53 -05:00
pownkel 5791a61e2a
fix: document yarn name collision (#3855)
* update dev scripts to use yarnpkg instead of yarn

* Note the yarnpkg alias in build documentation

* add yarnpkg note to strict-null-checks/README
2021-02-02 15:18:49 -08:00
dependabot-preview[bot] 8e6a417bea
chore(deps-dev): bump commander from 6.2.1 to 7.0.0 (#3825) 2021-01-25 10:00:48 +00:00