Skip to content

Commit

Permalink
Bump axios-mock-adapter from 2.0.0 to 2.1.0 (#2533)
Browse files Browse the repository at this point in the history
Bumps
[axios-mock-adapter](https://github.com/ctimmerm/axios-mock-adapter)
from 2.0.0 to 2.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/ctimmerm/axios-mock-adapter/releases">axios-mock-adapter's
releases</a>.</em></p>
<blockquote>
<h2>v2.1.0</h2>
<ul>
<li>Migrate to modern js <a
href="https://redirect.github.com/ctimmerm/axios-mock-adapter/pull/393">ctimmerm/axios-mock-adapter#393</a>
<ul>
<li>♻️ Migrate internal handler to an object</li>
<li>♻️ Migrate to ES2022</li>
<li>♻️ Migrate to Class</li>
<li>♻️ Migrate to async/await</li>
<li>🎁 Migrate handlers and history to a flat array. That way one only
needs to check the history array to see all requests. The verbs on the
array are still exposed, so there's no downside.</li>
<li>🎁 Add MockResponse types</li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/ctimmerm/axios-mock-adapter/commit/64d25b38a246eea276296d52b337c10879fd171a"><code>64d25b3</code></a>
2.1.0</li>
<li><a
href="https://github.com/ctimmerm/axios-mock-adapter/commit/533d3d9c6c8c8d1cf6f97035679c57b4e05b8059"><code>533d3d9</code></a>
chore: Upgrade axios, as there was a security issue, they fixed the url
behavior</li>
<li><a
href="https://github.com/ctimmerm/axios-mock-adapter/commit/c958a546979c350bb843039bb7c73a030c535b7b"><code>c958a54</code></a>
Migrate to class</li>
<li><a
href="https://github.com/ctimmerm/axios-mock-adapter/commit/cf3d88136870c7b98436c0c16c4d390bd9fbc4c3"><code>cf3d881</code></a>
Add MockResponse types</li>
<li><a
href="https://github.com/ctimmerm/axios-mock-adapter/commit/47db99552b6f6802630341b80d48dc9827aa4fd8"><code>47db995</code></a>
Migrate handle_request.js to async/await</li>
<li><a
href="https://github.com/ctimmerm/axios-mock-adapter/commit/c1b4a0fcd079511b62063b20ffb9c809a029973e"><code>c1b4a0f</code></a>
Upgrade eslint and rewrite to modern js</li>
<li><a
href="https://github.com/ctimmerm/axios-mock-adapter/commit/6acbf993abf277f5035788523b2d12c13532cbc2"><code>6acbf99</code></a>
Migrate handlers and history to a flat array</li>
<li><a
href="https://github.com/ctimmerm/axios-mock-adapter/commit/1291950c201c2e24cfac6a6ea513cce2a9a2debc"><code>1291950</code></a>
Migrate handler to an object</li>
<li><a
href="https://github.com/ctimmerm/axios-mock-adapter/commit/25541417915d49c3985535160f7997b672122578"><code>2554141</code></a>
Use AxiosMockAdapter throughout README</li>
<li>See full diff in <a
href="https://github.com/ctimmerm/axios-mock-adapter/compare/v2.0.0...v2.1.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=axios-mock-adapter&package-manager=npm_and_yarn&previous-version=2.0.0&new-version=2.1.0)](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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: William Allen <[email protected]>
  • Loading branch information
dependabot[bot] and williamjallen authored Nov 6, 2024
1 parent b729141 commit 4d0f948
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"devDependencies": {
"@vue/test-utils": "^2.4.6",
"@vue/vue3-jest": "^29.2.6",
"axios-mock-adapter": "^2.0.0",
"axios-mock-adapter": "^2.1.0",
"babel-core": "^7.0.0-bridge.0",
"cypress": "13.15.1",
"expect": "^29.7.0",
Expand Down
2 changes: 2 additions & 0 deletions tests/Spec/build-summary.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ test('BuildSummary can add a build note', async () => {
await component.vm.$nextTick();
await component.vm.$nextTick();
await component.vm.$nextTick();
await component.vm.$nextTick();
await component.vm.$nextTick();
expect(component.vm.cdash.notes.length).toBe(1);
expect(component.vm.cdash.notes[0].text).toBe('This is a note');
});

0 comments on commit 4d0f948

Please sign in to comment.