Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.4 to 4.0.8. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/micromatch/micromatch/blob/4.0.8/CHANGELOG.md">micromatch's changelog</a>.</em></p> <blockquote> <h2>[4.0.8] - 2024-08-22</h2> <ul> <li>backported CVE-2024-4067 fix (from v4.0.6) over to 4.x branch</li> </ul> <h2>[4.0.7] - 2024-05-22</h2> <ul> <li>this is basically v4.0.5, with some README updates</li> <li><strong>it is vulnerable to CVE-2024-4067</strong></li> <li>Updated braces to v3.0.3 to avoid CVE-2024-4068</li> <li>does NOT break API compatibility</li> </ul> <h2>[4.0.6] - 2024-05-21</h2> <ul> <li>Added <code>hasBraces</code> to check if a pattern contains braces.</li> <li>Fixes CVE-2024-4067</li> <li><strong>BREAKS API COMPATIBILITY</strong></li> <li>Should be labeled as a major release, but it's not.</li> </ul> <h2>[4.0.1 - 4.0.5]</h2> <h2>[4.0.0] - 2019-03-20</h2> <h3>Added</h3> <ul> <li>Adds support for <code>options.onMatch</code>. See the readme for details</li> <li>Adds support for <code>options.onIgnore</code>. See the readme for details</li> <li>Adds support for <code>options.onResult</code>. See the readme for details</li> </ul> <h3>Breaking changes</h3> <ul> <li>Require Node.js >= 8.6</li> <li>Removed support for passing an array of brace patterns to <code>micromatch.braces()</code>.</li> <li>To strictly enforce closing brackets (for <code>{</code>, <code>[</code>, and <code>(</code>), you must now use <code>strictBrackets=true</code> instead of <code>strictErrors</code>.</li> <li><code>cache</code> - caching and all related options and methods have been removed</li> <li><code>options.unixify</code> was renamed to <code>options.windows</code></li> <li><code>options.nodupes</code> Was removed. Duplicates are always removed by default. You can override this with custom behavior by using the <code>onMatch</code>, <code>onResult</code> and <code>onIgnore</code> functions.</li> <li><code>options.snapdragon</code> was removed, as snapdragon is no longer used.</li> <li><code>options.sourcemap</code> was removed, as snapdragon is no longer used, which provided sourcemap support.</li> </ul> <h2>[3.0.0] - 2017-04-11</h2> <p>Complete overhaul, with 36,000+ new unit tests validated against actual output generated by Bash and minimatch. More specifically, 35,000+ of the tests:</p> <ul> <li>micromatch results are directly compared to bash results</li> <li>in rare cases, when micromatch and bash disagree, micromatch's results are compared to minimatch's results</li> <li>micromatch is much more accurate than minimatch, so there were cases where I had to make assumptions. I'll try to document these.</li> </ul> <p>This refactor introduces a parser and compiler that are supersets of more granular parsers and compilers from other sub-modules. Each of these sub-modules has a singular responsibility and focuses on a certain type of matching that aligns with a specific part of the Bash "expansion" API.</p> <p>These sub-modules work like plugins to seamlessly create the micromatch parser/compiler, so that strings are parsed in one pass, an <a href="https://gist.github.com/jonschlinkert/099c8914f56529f75bc757cc9e5e8e2a">AST is created</a>, then a new string is generated by the compiler.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="8bd704ec0d"><code>8bd704e</code></a> 4.0.8</li> <li><a href="a0e68416a4"><code>a0e6841</code></a> run verb to generate README documentation</li> <li><a href="4ec288484f"><code>4ec2884</code></a> Merge branch 'v4' into hauserkristof-feature/v4.0.8</li> <li><a href="03aa805217"><code>03aa805</code></a> Merge pull request <a href="https://redirect.github.com/micromatch/micromatch/issues/266">#266</a> from hauserkristof/feature/v4.0.8</li> <li><a href="814f5f70ef"><code>814f5f7</code></a> lint</li> <li><a href="67fcce6a10"><code>67fcce6</code></a> fix: CHANGELOG about braces & CVE-2024-4068, v4.0.5</li> <li><a href="113f2e3fa7"><code>113f2e3</code></a> fix: CVE numbers in CHANGELOG</li> <li><a href="d9dbd9a266"><code>d9dbd9a</code></a> feat: updated CHANGELOG</li> <li><a href="2ab13157f4"><code>2ab1315</code></a> fix: use actions/setup-node@v4</li> <li><a href="1406ea38f3"><code>1406ea3</code></a> feat: rework test to work on macos with node 10,12 and 14</li> <li>Additional commits viewable in <a href="https://github.com/micromatch/micromatch/compare/4.0.4...4.0.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.