ITADN

Bump axios and cmake-js

#8075Pull Requestdependabot[bot] 创建于 2025-03-07
cla: yesdependenciesjavascript
D
dependabot[bot]commented
Bumps [axios](https://github.com/axios/axios) to 1.8.2 and updates ancestor dependency [cmake-js](https://github.com/cmake-js/cmake-js). These dependencies need to be updated together. Updates `axios` from 0.21.4 to 1.8.2 <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.8.2</h2> <h2>Release notes:</h2> <h3>Bug Fixes</h3> <ul> <li><strong>http-adapter:</strong> add allowAbsoluteUrls to path building (<a href="https://redirect.github.com/axios/axios/issues/6810">#6810</a>) (<a href="https://github.com/axios/axios/commit/fb8eec214ce7744b5ca787f2c3b8339b2f54b00f">fb8eec2</a>)</li> </ul> <h3>Contributors to this release</h3> <ul> <li><!-- raw HTML omitted --> <a href="https://github.com/lexcorp16" title="+1/-1 ([#6810](https://github.com/axios/axios/issues/6810) )">Fasoro-Joseph Alexander</a></li> </ul> <h2>Release v1.8.1</h2> <h2>Release notes:</h2> <h3>Bug Fixes</h3> <ul> <li><strong>utils:</strong> move <code>generateString</code> to platform utils to avoid importing crypto module into client builds; (<a href="https://redirect.github.com/axios/axios/issues/6789">#6789</a>) (<a href="https://github.com/axios/axios/commit/36a5a620bec0b181451927f13ac85b9888b86cec">36a5a62</a>)</li> </ul> <h3>Contributors to this release</h3> <ul> <li><!-- raw HTML omitted --> <a href="https://github.com/DigitalBrainJS" title="+51/-47 ([#6789](https://github.com/axios/axios/issues/6789) )">Dmitriy Mozgovoy</a></li> </ul> <h2>Release v1.8.0</h2> <h2>Release notes:</h2> <h3>Bug Fixes</h3> <ul> <li><strong>examples:</strong> application crashed when navigating examples in browser (<a href="https://redirect.github.com/axios/axios/issues/5938">#5938</a>) (<a href="https://github.com/axios/axios/commit/1260ded634ec101dd5ed05d3b70f8e8f899dba6c">1260ded</a>)</li> <li>missing word in SUPPORT_QUESTION.yml (<a href="https://redirect.github.com/axios/axios/issues/6757">#6757</a>) (<a href="https://github.com/axios/axios/commit/1f890b13f2c25a016f3c84ae78efb769f244133e">1f890b1</a>)</li> <li><strong>utils:</strong> replace getRandomValues with crypto module (<a href="https://redirect.github.com/axios/axios/issues/6788">#6788</a>) (<a href="https://github.com/axios/axios/commit/23a25af0688d1db2c396deb09229d2271cc24f6c">23a25af</a>)</li> </ul> <h3>Features</h3> <ul> <li>Add config for ignoring absolute URLs (<a href="https://redirect.github.com/axios/axios/issues/5902">#5902</a>) (<a href="https://redirect.github.com/axios/axios/issues/6192">#6192</a>) (<a href="https://github.com/axios/axios/commit/32c7bcc0f233285ba27dec73a4b1e81fb7a219b3">32c7bcc</a>)</li> </ul> <h3>Reverts</h3> <ul> <li>Revert &quot;chore: expose fromDataToStream to be consumable (<a href="https://redirect.github.com/axios/axios/issues/6731">#6731</a>)&quot; (<a href="https://redirect.github.com/axios/axios/issues/6732">#6732</a>) (<a href="https://github.com/axios/axios/commit/1317261125e9c419fe9f126867f64d28f9c1efda">1317261</a>), closes <a href="https://redirect.github.com/axios/axios/issues/6731">#6731</a> <a href="https://redirect.github.com/axios/axios/issues/6732">#6732</a></li> </ul> <h3>BREAKING CHANGES</h3> <ul> <li> <p>code relying on the above will now combine the URLs instead of prefer request URL</p> </li> <li> <p>feat: add config option for allowing absolute URLs</p> </li> <li> <p>fix: add default value for allowAbsoluteUrls in buildFullPath</p> </li> <li> <p>fix: typo in flow control when setting allowAbsoluteUrls</p> </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.8.1...v1.8.2">1.8.2</a> (2025-03-07)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>http-adapter:</strong> add allowAbsoluteUrls to path building (<a href="https://redirect.github.com/axios/axios/issues/6810">#6810</a>) (<a href="https://github.com/axios/axios/commit/fb8eec214ce7744b5ca787f2c3b8339b2f54b00f">fb8eec2</a>)</li> </ul> <h3>Contributors to this release</h3> <ul> <li><!-- raw HTML omitted --> <a href="https://github.com/lexcorp16" title="+1/-1 ([#6810](https://github.com/axios/axios/issues/6810) )">Fasoro-Joseph Alexander</a></li> </ul> <h2><a href="https://github.com/axios/axios/compare/v1.8.0...v1.8.1">1.8.1</a> (2025-02-26)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>utils:</strong> move <code>generateString</code> to platform utils to avoid importing crypto module into client builds; (<a href="https://redirect.github.com/axios/axios/issues/6789">#6789</a>) (<a href="https://github.com/axios/axios/commit/36a5a620bec0b181451927f13ac85b9888b86cec">36a5a62</a>)</li> </ul> <h3>Contributors to this release</h3> <ul> <li><!-- raw HTML omitted --> <a href="https://github.com/DigitalBrainJS" title="+51/-47 ([#6789](https://github.com/axios/axios/issues/6789) )">Dmitriy Mozgovoy</a></li> </ul> <h1><a href="https://github.com/axios/axios/compare/v1.7.9...v1.8.0">1.8.0</a> (2025-02-25)</h1> <h3>Bug Fixes</h3> <ul> <li><strong>examples:</strong> application crashed when navigating examples in browser (<a href="https://redirect.github.com/axios/axios/issues/5938">#5938</a>) (<a href="https://github.com/axios/axios/commit/1260ded634ec101dd5ed05d3b70f8e8f899dba6c">1260ded</a>)</li> <li>missing word in SUPPORT_QUESTION.yml (<a href="https://redirect.github.com/axios/axios/issues/6757">#6757</a>) (<a href="https://github.com/axios/axios/commit/1f890b13f2c25a016f3c84ae78efb769f244133e">1f890b1</a>)</li> <li><strong>utils:</strong> replace getRandomValues with crypto module (<a href="https://redirect.github.com/axios/axios/issues/6788">#6788</a>) (<a href="https://github.com/axios/axios/commit/23a25af0688d1db2c396deb09229d2271cc24f6c">23a25af</a>)</li> </ul> <h3>Features</h3> <ul> <li>Add config for ignoring absolute URLs (<a href="https://redirect.github.com/axios/axios/issues/5902">#5902</a>) (<a href="https://redirect.github.com/axios/axios/issues/6192">#6192</a>) (<a href="https://github.com/axios/axios/commit/32c7bcc0f233285ba27dec73a4b1e81fb7a219b3">32c7bcc</a>)</li> </ul> <h3>Reverts</h3> <ul> <li>Revert &quot;chore: expose fromDataToStream to be consumable (<a href="https://redirect.github.com/axios/axios/issues/6731">#6731</a>)&quot; (<a href="https://redirect.github.com/axios/axios/issues/6732">#6732</a>) (<a href="https://github.com/axios/axios/commit/1317261125e9c419fe9f126867f64d28f9c1efda">1317261</a>), closes <a href="https://redirect.github.com/axios/axios/issues/6731">#6731</a> <a href="https://redirect.github.com/axios/axios/issues/6732">#6732</a></li> </ul> <h3>BREAKING CHANGES</h3> <ul> <li> <p>code relying on the above will now combine the URLs instead of prefer request URL</p> </li> <li> <p>feat: add config option for allowing absolute URLs</p> </li> <li> <p>fix: add default value for allowAbsoluteUrls in buildFullPath</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/axios/axios/commit/a9f7689b0c4b6d68c7f587c3aa376860da509d94"><code>a9f7689</code></a> chore(release): v1.8.2 (<a href="https://redirect.github.com/axios/axios/issues/6812">#6812</a>)</li> <li><a href="https://github.com/axios/axios/commit/fb8eec214ce7744b5ca787f2c3b8339b2f54b00f"><code>fb8eec2</code></a> fix(http-adapter): add allowAbsoluteUrls to path building (<a href="https://redirect.github.com/axios/axios/issues/6810">#6810</a>)</li> <li><a href="https://github.com/axios/axios/commit/98120457559e573024862e2925d56295a965ad7e"><code>9812045</code></a> chore(sponsor): update sponsor block (<a href="https://redirect.github.com/axios/axios/issues/6804">#6804</a>)</li> <li><a href="https://github.com/axios/axios/commit/72acf759373ef4e211d5299818d19e50e08c02f8"><code>72acf75</code></a> chore(sponsor): update sponsor block (<a href="https://redirect.github.com/axios/axios/issues/6794">#6794</a>)</li> <li><a href="https://github.com/axios/axios/commit/2e64afdff5c41e38284a6fb8312f2745072513a1"><code>2e64afd</code></a> chore(release): v1.8.1 (<a href="https://redirect.github.com/axios/axios/issues/6800">#6800</a>)</li> <li><a href="https://github.com/axios/axios/commit/36a5a620bec0b181451927f13ac85b9888b86cec"><code>36a5a62</code></a> fix(utils): move <code>generateString</code> to platform utils to avoid importing crypto...</li> <li><a href="https://github.com/axios/axios/commit/cceb7b1e154fbf294135c93d3f91921643bbe49f"><code>cceb7b1</code></a> chore(release): v1.8.0 (<a href="https://redirect.github.com/axios/axios/issues/6795">#6795</a>)</li> <li><a href="https://github.com/axios/axios/commit/23a25af0688d1db2c396deb09229d2271cc24f6c"><code>23a25af</code></a> fix(utils): replace getRandomValues with crypto module (<a href="https://redirect.github.com/axios/axios/issues/6788">#6788</a>)</li> <li><a href="https://github.com/axios/axios/commit/32c7bcc0f233285ba27dec73a4b1e81fb7a219b3"><code>32c7bcc</code></a> feat: Add config for ignoring absolute URLs (<a href="https://redirect.github.com/axios/axios/issues/5902">#5902</a>) (<a href="https://redirect.github.com/axios/axios/issues/6192">#6192</a>)</li> <li><a href="https://github.com/axios/axios/commit/4a3e26cf65bb040b7eb4577d5fd62199b0f3d017"><code>4a3e26c</code></a> chore(config): adjust rollup config to preserve license header to minified Ja...</li> <li>Additional commits viewable in <a href="https://github.com/axios/axios/compare/v0.21.4...v1.8.2">compare view</a></li> </ul> </details> <br /> Updates `cmake-js` from 6.3.2 to 7.3.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/cmake-js/cmake-js/releases">cmake-js's releases</a>.</em></p> <blockquote> <h2>v7.0.0</h2> <p>This is a breaking change and will likely require some small changes to your cmake config to keep your project building.</p> <h3>Summary</h3> <p>A lot of work has gone into this release, to try and make the general usage of the library smoother. It has better support for building modules with node-api. The on disk footprint of the library is much smaller than before, with various dependencies removed, or updated.</p> <h3>Upgrading</h3> <p>We recommend having the following at the top of your cmake file, before the <code>project(...)</code> definition.</p> <pre lang="cmake"><code>cmake_minimum_required(VERSION 3.15) cmake_policy(SET CMP0091 NEW) cmake_policy(SET CMP0042 NEW) </code></pre> <p>This will force MSVC to do a MT build, so if you were doing that another way, it should be possible to remove that. If you need to keep it building as MD, you can add <code>set(CMAKE_MSVC_RUNTIME_LIBRARY &quot;MultiThreaded$&lt;$&lt;CONFIG:Debug&gt;:Debug&gt;DLL&quot;)</code> in your cmake file.</p> <p>If you are using node-api, make sure that your <code>package.json</code> has the following, but with the correct NAPI_VERSION filled in. We use this to autodetect that your module is building with node-api.</p> <pre><code>&quot;binary&quot;: { &quot;napi_versions&quot;: [7] }, </code></pre> <p>You should also add the following to the bottom of your cmake file. This lets us avoid downloading the full nodejs headers, and lets us use bundle a much more lightweight copy instead</p> <pre lang="cmake"><code>if(MSVC AND CMAKE_JS_NODELIB_DEF AND CMAKE_JS_NODELIB_TARGET) # Generate node.lib execute_process(COMMAND ${CMAKE_AR} /def:${CMAKE_JS_NODELIB_DEF} /out:${CMAKE_JS_NODELIB_TARGET} ${CMAKE_STATIC_LINKER_FLAGS}) endif() </code></pre> <p>If you have something like:</p> <pre lang="cmake"><code>execute_process(COMMAND node -p &quot;require('node-addon-api').include&quot; WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} OUTPUT_VARIABLE NODE_ADDON_API_DIR ) string(REPLACE &quot;\n&quot; &quot;&quot; NODE_ADDON_API_DIR ${NODE_ADDON_API_DIR}) string(REPLACE &quot;\&quot;&quot; &quot;&quot; NODE_ADDON_API_DIR ${NODE_ADDON_API_DIR}) target_include_directories(${PROJECT_NAME} PRIVATE ${NODE_ADDON_API_DIR}) </code></pre> <p>in your file, it is no longer needed. We will inject the correct include paths for you, similar to what is done for <code>nan</code>.</p> <p>That should be everything.<br /> If we missed something in these steps, or if you are having problems getting your module building again, let us know in an issue.</p> <h3>All changes:</h3> <ul> <li>update dependencies</li> <li>replace some dependencies with modern language features</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/cmake-js/cmake-js/blob/master/changelog.md">cmake-js's changelog</a>.</em></p> <blockquote> <h1>v7.3.0 - 15/01/23</h1> <ul> <li>feat(windows): replace custom libnode.def generation with version from node-api-headers</li> <li>fix: support for vs2015 with nodejs 18 and older (<a href="https://redirect.github.com/cmake-js/cmake-js/issues/317">#317</a>)</li> <li>fix(windows): always remove Path if PATH is also defined (<a href="https://redirect.github.com/cmake-js/cmake-js/issues/319">#319</a>)</li> <li>fix: Cmake arguments got converted to numbers (<a href="https://redirect.github.com/cmake-js/cmake-js/issues/314">#314</a>)</li> <li>fix: update node-api-headers</li> <li>chore: update dependencies</li> </ul> <h1>v7.2.1 - 14/02/23</h1> <ul> <li>fix: support Windows11SDK</li> </ul> <h1>v7.2.0 - 12/02/23</h1> <ul> <li>fix: <code>-DCMAKE_JS_VERSION=undefined</code> (<a href="https://redirect.github.com/cmake-js/cmake-js/issues/298">#298</a>)</li> <li>fix: Only add build type to <code>CMAKE_LIBRARY_OUTPUT_DIRECTORY</code> if needed (<a href="https://redirect.github.com/cmake-js/cmake-js/issues/299">#299</a>)</li> <li>feat: Forward extra arguments to CMake commands (<a href="https://redirect.github.com/cmake-js/cmake-js/issues/297">#297</a>)</li> </ul> <h1>v7.1.1 - 15/12/22</h1> <ul> <li>fix build errors on windows</li> </ul> <h1>v7.1.0 - 14/12/22</h1> <ul> <li>add commands for retrieving cmake-js include and lib directories</li> <li>fix win delay hook issues with electron</li> <li>fix missing js_native_api_symbols in windows node.lib</li> </ul> <h1>v7.0.0 - 08/10/22</h1> <ul> <li>update dependencies</li> <li>replace some dependencies with modern language features</li> <li>follow node-gyp behaviour for visual-studio version detection and selection</li> <li>automatically locate node-addon-api and add to include paths</li> <li>avoid downloads when building for node-api</li> <li>encourage use of MT builds with MSVC, rather than MD</li> </ul> <h1>v6.3.1 - 05/06/22</h1> <ul> <li>add missing bluebird dependency</li> <li>fix platform detection for visual studio 2019 and newer</li> <li>fix platform detection for macos</li> </ul> <h1>v6.3.0 - 26/11/21</h1> <ul> <li>add offline mode: <a href="https://redirect.github.com/cmake-js/cmake-js/pull/260">cmake-js/cmake-js#260</a></li> <li>handle missing buildSystem.log: <a href="https://redirect.github.com/cmake-js/cmake-js/pull/259">cmake-js/cmake-js#259</a></li> <li>Add config flag: <a href="https://redirect.github.com/cmake-js/cmake-js/pull/251">cmake-js/cmake-js#251</a></li> <li>Remove escaped quotes from windows registry queries: <a href="https://redirect.github.com/cmake-js/cmake-js/pull/250">cmake-js/cmake-js#250</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/cmake-js/cmake-js/commit/b4b5b160ee6cd7b0b3756709c0590df490d2815d"><code>b4b5b16</code></a> v7.3.0</li> <li><a href="https://github.com/cmake-js/cmake-js/commit/eee8351ca320393ba030bb49b1e4ba4300bc0872"><code>eee8351</code></a> chore: update dependencies</li> <li><a href="https://github.com/cmake-js/cmake-js/commit/b3d4cc6eb198745e8e45a6ad03d99383f62564df"><code>b3d4cc6</code></a> fix: Cmake arguments got converted to numbers (<a href="https://redirect.github.com/cmake-js/cmake-js/issues/314">#314</a>)</li> <li><a href="https://github.com/cmake-js/cmake-js/commit/30e9ae5d96a51e4dbd01fb01be3602b1639fdcec"><code>30e9ae5</code></a> chore: fix typo in README.md (<a href="https://redirect.github.com/cmake-js/cmake-js/issues/316">#316</a>)</li> <li><a href="https://github.com/cmake-js/cmake-js/commit/f3169e835c0f6839b8d00feff0bd7adef2a548ed"><code>f3169e8</code></a> fix(windows): always remove <code>Path</code> if <code>PATH</code> is also defined (<a href="https://redirect.github.com/cmake-js/cmake-js/issues/319">#319</a>)</li> <li><a href="https://github.com/cmake-js/cmake-js/commit/eee2b4d6b7e78d3d32afc985e34f6207346bc49a"><code>eee2b4d</code></a> chore: add some more examples to readme</li> <li><a href="https://github.com/cmake-js/cmake-js/commit/8e3905003d6e84af1218246cc8af8bc9cf815132"><code>8e39050</code></a> chore: enable tests for pull_requests</li> <li><a href="https://github.com/cmake-js/cmake-js/commit/62f98e00f19d8293451babb623d07fb52ffa0cf6"><code>62f98e0</code></a> fix: update find-visualstudio <a href="https://redirect.github.com/cmake-js/cmake-js/issues/317">#317</a></li> <li><a href="https://github.com/cmake-js/cmake-js/commit/789bfa7a82fa9f45ee969e22580bc78d6b8c5e07"><code>789bfa7</code></a> chore: update ci platforms</li> <li><a href="https://github.com/cmake-js/cmake-js/commit/d9c190bf2a4f0d60e39222bb1ddb7a4f88c28a49"><code>d9c190b</code></a> fix(windows): replace custom <code>libnode.def</code> with version provided by `node-api...</li> <li>Additional commits viewable in <a href="https://github.com/cmake-js/cmake-js/compare/v6.3.2...v7.3.0">compare view</a></li> </ul> </details> <br /> 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/realm/realm-core/network/alerts). </details>
合并状态:未合并 关闭于 2025-03-28 2 条评论