Bumps [axios](https://github.com/axios/axios) from 0.25.0 to 1.6.8. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/axios/axios/releases">axios's releases</a>.</em></p> <blockquote> <h2>Release v1.6.8</h2> <h2>Release notes:</h2> <h3>Bug Fixes</h3> <ul> <li><strong>AxiosHeaders:</strong> fix AxiosHeaders conversion to an object during config merging (<a href="https://redirect.github.com/axios/axios/issues/6243">#6243</a>) (<a href="2656612bc1">2656612</a>)</li> <li><strong>import:</strong> use named export for EventEmitter; (<a href="7320430aef">7320430</a>)</li> <li><strong>vulnerability:</strong> update follow-redirects to 1.15.6 (<a href="https://redirect.github.com/axios/axios/issues/6300">#6300</a>) (<a href="8786e0ff55">8786e0f</a>)</li> </ul> <h3>Contributors to this release</h3> <ul> <li><!-- raw HTML omitted --> <a href="https://github.com/jasonsaayman" title="+4572/-3446 ([#6238](https://github.com/axios/axios/issues/6238) )">Jay</a></li> <li><!-- raw HTML omitted --> <a href="https://github.com/DigitalBrainJS" title="+30/-0 ([#6231](https://github.com/axios/axios/issues/6231) )">Dmitriy Mozgovoy</a></li> <li><!-- raw HTML omitted --> <a href="https://github.com/Creaous" title="+9/-9 ([#6300](https://github.com/axios/axios/issues/6300) )">Mitchell</a></li> <li><!-- raw HTML omitted --> <a href="https://github.com/mannoeu" title="+2/-2 ([#6196](https://github.com/axios/axios/issues/6196) )">Emmanuel</a></li> <li><!-- raw HTML omitted --> <a href="https://github.com/ljkeller" title="+3/-0 ([#6194](https://github.com/axios/axios/issues/6194) )">Lucas Keller</a></li> <li><!-- raw HTML omitted --> <a href="https://github.com/ADITYA-176" title="+1/-1 ()">Aditya Mogili</a></li> <li><!-- raw HTML omitted --> <a href="https://github.com/petrovmiroslav" title="+1/-1 ([#6243](https://github.com/axios/axios/issues/6243) )">Miroslav Petrov</a></li> </ul> <h2>Release v1.6.7</h2> <h2>Release notes:</h2> <h3>Bug Fixes</h3> <ul> <li>capture async stack only for rejections with native error objects; (<a href="https://redirect.github.com/axios/axios/issues/6203">#6203</a>) (<a href="1a08f90f40">1a08f90</a>)</li> </ul> <h3>Contributors to this release</h3> <ul> <li><!-- raw HTML omitted --> <a href="https://github.com/DigitalBrainJS" title="+30/-26 ([#6203](https://github.com/axios/axios/issues/6203) )">Dmitriy Mozgovoy</a></li> <li><!-- raw HTML omitted --> <a href="https://github.com/zh-lx" title="+0/-3 ([#6186](https://github.com/axios/axios/issues/6186) )">zhoulixiang</a></li> </ul> <h2>Release v1.6.6</h2> <h2>Release notes:</h2> <h3>Bug Fixes</h3> <ul> <li>fixed missed dispatchBeforeRedirect argument (<a href="https://redirect.github.com/axios/axios/issues/5778">#5778</a>) (<a href="a1938ff073">a1938ff</a>)</li> <li>wrap errors to improve async stack trace (<a href="https://redirect.github.com/axios/axios/issues/5987">#5987</a>) (<a href="123f354b92">123f354</a>)</li> </ul> <h3>Contributors to this release</h3> <ul> <li><!-- raw HTML omitted --> <a href="https://github.com/ikonst" title="+91/-8 ([#5987](https://github.com/axios/axios/issues/5987) )">Ilya Priven</a></li> <li><!-- raw HTML omitted --> <a href="https://github.com/zaosoula" title="+6/-6 ([#5778](https://github.com/axios/axios/issues/5778) )">Zao Soula</a></li> </ul> <h2>Release v1.6.5</h2> <h2>Release notes:</h2> <h3>Bug Fixes</h3> <ul> <li><strong>ci:</strong> refactor notify action as a job of publish action; (<a href="https://redirect.github.com/axios/axios/issues/6176">#6176</a>) (<a href="0736f95ce8">0736f95</a>)</li> <li><strong>dns:</strong> fixed lookup error handling; (<a href="https://redirect.github.com/axios/axios/issues/6175">#6175</a>) (<a href="f4f2b039dd">f4f2b03</a>)</li> </ul> <h3>Contributors to this release</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/axios/axios/blob/v1.x/CHANGELOG.md">axios's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/axios/axios/compare/v1.6.7...v1.6.8">1.6.8</a> (2024-03-15)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>AxiosHeaders:</strong> fix AxiosHeaders conversion to an object during config merging (<a href="https://redirect.github.com/axios/axios/issues/6243">#6243</a>) (<a href="2656612bc1">2656612</a>)</li> <li><strong>import:</strong> use named export for EventEmitter; (<a href="7320430aef">7320430</a>)</li> <li><strong>vulnerability:</strong> update follow-redirects to 1.15.6 (<a href="https://redirect.github.com/axios/axios/issues/6300">#6300</a>) (<a href="8786e0ff55">8786e0f</a>)</li> </ul> <h3>Contributors to this release</h3> <ul> <li><!-- raw HTML omitted --> <a href="https://github.com/jasonsaayman" title="+4572/-3446 ([#6238](https://github.com/axios/axios/issues/6238) )">Jay</a></li> <li><!-- raw HTML omitted --> <a href="https://github.com/DigitalBrainJS" title="+30/-0 ([#6231](https://github.com/axios/axios/issues/6231) )">Dmitriy Mozgovoy</a></li> <li><!-- raw HTML omitted --> <a href="https://github.com/Creaous" title="+9/-9 ([#6300](https://github.com/axios/axios/issues/6300) )">Mitchell</a></li> <li><!-- raw HTML omitted --> <a href="https://github.com/mannoeu" title="+2/-2 ([#6196](https://github.com/axios/axios/issues/6196) )">Emmanuel</a></li> <li><!-- raw HTML omitted --> <a href="https://github.com/ljkeller" title="+3/-0 ([#6194](https://github.com/axios/axios/issues/6194) )">Lucas Keller</a></li> <li><!-- raw HTML omitted --> <a href="https://github.com/ADITYA-176" title="+1/-1 ()">Aditya Mogili</a></li> <li><!-- raw HTML omitted --> <a href="https://github.com/petrovmiroslav" title="+1/-1 ([#6243](https://github.com/axios/axios/issues/6243) )">Miroslav Petrov</a></li> </ul> <h2><a href="https://github.com/axios/axios/compare/v1.6.6...v1.6.7">1.6.7</a> (2024-01-25)</h2> <h3>Bug Fixes</h3> <ul> <li>capture async stack only for rejections with native error objects; (<a href="https://redirect.github.com/axios/axios/issues/6203">#6203</a>) (<a href="1a08f90f40">1a08f90</a>)</li> </ul> <h3>Contributors to this release</h3> <ul> <li><!-- raw HTML omitted --> <a href="https://github.com/DigitalBrainJS" title="+30/-26 ([#6203](https://github.com/axios/axios/issues/6203) )">Dmitriy Mozgovoy</a></li> <li><!-- raw HTML omitted --> <a href="https://github.com/zh-lx" title="+0/-3 ([#6186](https://github.com/axios/axios/issues/6186) )">zhoulixiang</a></li> </ul> <h2><a href="https://github.com/axios/axios/compare/v1.6.5...v1.6.6">1.6.6</a> (2024-01-24)</h2> <h3>Bug Fixes</h3> <ul> <li>fixed missed dispatchBeforeRedirect argument (<a href="https://redirect.github.com/axios/axios/issues/5778">#5778</a>) (<a href="a1938ff073">a1938ff</a>)</li> <li>wrap errors to improve async stack trace (<a href="https://redirect.github.com/axios/axios/issues/5987">#5987</a>) (<a href="123f354b92">123f354</a>)</li> </ul> <h3>Contributors to this release</h3> <ul> <li><!-- raw HTML omitted --> <a href="https://github.com/ikonst" title="+91/-8 ([#5987](https://github.com/axios/axios/issues/5987) )">Ilya Priven</a></li> <li><!-- raw HTML omitted --> <a href="https://github.com/zaosoula" title="+6/-6 ([#5778](https://github.com/axios/axios/issues/5778) )">Zao Soula</a></li> </ul> <h2><a href="https://github.com/axios/axios/compare/v1.6.4...v1.6.5">1.6.5</a> (2024-01-05)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>ci:</strong> refactor notify action as a job of publish action; (<a href="https://redirect.github.com/axios/axios/issues/6176">#6176</a>) (<a href="0736f95ce8">0736f95</a>)</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="ab3f0f9a94"><code>ab3f0f9</code></a> chore(release): v1.6.8 (<a href="https://redirect.github.com/axios/axios/issues/6303">#6303</a>)</li> <li><a href="2656612bc1"><code>2656612</code></a> fix(AxiosHeaders): fix AxiosHeaders conversion to an object during config mer...</li> <li><a href="7320430aef"><code>7320430</code></a> fix(import): use named export for EventEmitter;</li> <li><a href="8786e0ff55"><code>8786e0f</code></a> fix(vulnerability): update follow-redirects to 1.15.6 (<a href="https://redirect.github.com/axios/axios/issues/6300">#6300</a>)</li> <li><a href="d844227411"><code>d844227</code></a> chore: update and bump deps (<a href="https://redirect.github.com/axios/axios/issues/6238">#6238</a>)</li> <li><a href="caa0625201"><code>caa0625</code></a> docs: update README responseEncoding types (<a href="https://redirect.github.com/axios/axios/issues/6194">#6194</a>)</li> <li><a href="41c4584a41"><code>41c4584</code></a> docs: Update README.md to point to current axios version in CDN links (<a href="https://redirect.github.com/axios/axios/issues/6196">#6196</a>)</li> <li><a href="bf6974f16a"><code>bf6974f</code></a> chore(ci): add npm tag action; (<a href="https://redirect.github.com/axios/axios/issues/6231">#6231</a>)</li> <li><a href="a52e4d9af5"><code>a52e4d9</code></a> chore(release): v1.6.7 (<a href="https://redirect.github.com/axios/axios/issues/6204">#6204</a>)</li> <li><a href="2b69888dd5"><code>2b69888</code></a> chore: remove unnecessary check (<a href="https://redirect.github.com/axios/axios/issues/6186">#6186</a>)</li> <li>Additional commits viewable in <a href="https://github.com/axios/axios/compare/v0.25.0...v1.6.8">compare view</a></li> </ul> </details> <br /> [](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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/dcs-liberation/dcs_liberation/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
DCS Liberation Client
This is a React app for the front-end of DCS Liberation. It is a work in progress that just barely implements the map. This is not useful for players yet.
For development, set the following environment variables when launching DCS Liberation (the Qt UI):
-
CORS_ALLOW_DEBUG_SERVER=trueThis will allow the front-end to make requests to the server, as long as the front-end is running on http://localhost:3000.
Then, run npm start to start the development server. Launch the Qt UI with
--new-map --dev to connect the webview to the development server, or navigate
to http://localhost:3000 in your browser.
Regenerating the API stubs
The backend uses FastAPI which exposes /openapi.json. This is consumed by
@rtk-query/codegen-openapi to automatically generate the API stubs in
src/api/liberationApi.ts.
If you make a change to the API surface the typescript API will need to be regenerated. To do this, first launch Liberation (to start the backend) and run
npm run regenerate-api
See https://redux-toolkit.js.org/rtk-query/usage/code-generation for more information.
Available Scripts
In the project directory, you can run:
npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
npm test
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
npm run build
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
npm run eject
Note: this is a one-way operation. Once you eject, you can’t go back!
If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
Learn More
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.