dependabot[bot] opened a new pull request, #43: URL: https://github.com/apache/james-site/pull/43
Removes [tough-cookie](https://github.com/salesforce/tough-cookie). It's no longer used after updating ancestor dependency [npm-check-updates](https://github.com/raineorshine/npm-check-updates). These dependencies need to be updated together. Removes `tough-cookie` Updates `npm-check-updates` from 7.0.2 to 16.10.15 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/raineorshine/npm-check-updates/releases">npm-check-updates's releases</a>.</em></p> <blockquote> <h2>v16.10.0</h2> <h2>Feature</h2> <ul> <li>Added <code>filterResults</code> option to filter out upgrades based on a user provided function.</li> </ul> <p><code>filterResults</code> runs <em>after</em> new versions are fetched, in contrast to <code>filter</code> and <code>filterVersion</code>, which run <em>before</em>. This allows you to filter out upgrades with <code>filterResults</code> based on how the version has changed (e.g. a major version change).</p> <p>Only available in .ncurc.js or when importing npm-check-updates as a module.</p> <pre lang="js"><code>/** Filter out non-major version updates. @param {string} packageName The name of the dependency. @param {string} currentVersion Current version declaration (may be range). @param {SemVer[]} currentVersionSemver Current version declaration in semantic versioning format (may be range). @param {string} upgradedVersion Upgraded version. @param {SemVer} upgradedVersionSemver Upgraded version in semantic versioning format. @returns {boolean} Return true if the upgrade should be kept, otherwise it will be ignored. */ filterResults: (packageName, {currentVersion, currentVersionSemver, upgradedVersion, upgradedVersionSemver}) => { const currentMajorVersion = currentVersionSemver?.[0]?.major const upgradedMajorVersion = upgradedVersionSemver?.major if (currentMajorVersion && upgradedMajorVersion) { return currentMajorVersion < upgradedMajorVersion } return true } </code></pre> <p>For the SemVer type definition, see: <a href="https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring">https://git.coolaj86.com/coolaj86/semver-utils.js#semverutils-parse-semverstring</a></p> <p>Thanks to <a href="https://github.com/mslowiak">mslowiak</a> for this enhancement!</p> <h2>v16.8.0</h2> <h2>Feature</h2> <ul> <li>Added <code>--format lines</code></li> </ul> <pre><code>$ ncu --format lines @ava/typescript@^4.0.0 ava@^5.2.0 eslint@^8.36.0 lerna@^6.5.1 typescript@^5.0.2 </code></pre> <p>This is particularly useful for upgrading global modules:</p> <pre><code>npm install -g $(ncu -g --format lines) </tr></table> </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/raineorshine/npm-check-updates/blob/main/CHANGELOG.md">npm-check-updates's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <p>This file documents all <strong>major version</strong> releases. For other releases, please read the <a href="https://github.com/raineorshine/npm-check-updates/commits/main">commit history</a>.</p> <h2>[16.0.0] - 2022-07-23</h2> <h3>Breaking</h3> <ul> <li>Automatic detection of package data on stdin has been removed. This feature was deprecated in <code>v14.0.0</code>. Add <code>--stdin</code> for old behavior.</li> <li>Wild card filters now apply to scoped packages. Previously, <code>ncu -f '*vite*'</code> would not include <code>@vitejs/plugin-react</code>. Now, filters will match any part of the package name, including the scope. Use a more specific glob or regex expression for old behavior.</li> </ul> <p><a href="https://github.com/raineorshine/npm-check-updates/compare/v15.3.4...v16.0.0">https://github.com/raineorshine/npm-check-updates/compare/v15.3.4...v16.0.0</a></p> <h2>[15.0.0] - 2022-06-30</h2> <h3>Breaking</h3> <ul> <li>node >= 14.14 is now required (<a href="https://redirect.github.com/raineorshine/npm-check-updates/issues/1145">#1145</a>) <ul> <li>Needed to upgrade <code>update-notifier</code> with has a moderate severity vulnerability</li> </ul> </li> <li>yarn autodetect has been improved (<a href="https://redirect.github.com/raineorshine/npm-check-updates/issues/1148">#1148</a>) <ul> <li>This is a patch, though <em>technically</em> it is breaking. In the obscure case where <code>--packageManager</code> is not given, there is no <code>package-lock.json</code> in the current folder, and there is a <code>yarn.lock</code> in an ancestor directory, npm-check-updates will now use yarn.</li> <li>More practically, if you needed to specify <code>--packageManager yarn</code> explicitly before, you may not have to now</li> </ul> </li> </ul> <p><a href="https://github.com/raineorshine/npm-check-updates/compare/v14.1.1...v15.0.0">https://github.com/raineorshine/npm-check-updates/compare/v14.1.1...v15.0.0</a></p> <h2>[14.0.0] - 2022-06-16</h2> <h3>Breaking</h3> <p>Prerelease versions are now "upgraded" to versions with a different <a href="https://docs.npmjs.com/cli/v8/commands/npm-version#preid">preid</a>.</p> <p>For example, if you have a dependency at <code>1.3.3-next.1</code> and the version fetched by ncu is <code>1.2.3-dev.2</code>, ncu <strong>will</strong> suggest an "upgrade" to <code>1.2.3-dev.2</code>. This is because prerelease versions with different preids are incomparable. Since they are incomparable, ncu now assumes the fetched version is desired.</p> <p>Since this change affects only prereleases, there is no impact on default <code>ncu</code> usage that fetches the <code>latest</code> version. With <code>--pre 1</code> or <code>--target newest</code> or <code>--target greatest</code>, this change could affect which version is suggested if versions with different preids are published. The change was made to support the new <code>--target @[tag]</code> feature.</p> <p>If you have a use case where this change is not what is desired, please <a href="https://github.com/raineorshine/npm-check-updates/issues/new">report an issue</a>. The intention is for zero disruption to current usage.</p> <h3>Features</h3> <ul> <li>You can now upgrade to a specific tag, e.g. <code>--target @next</code>. Thanks to <a href="https://github.com/IMalyugin">IMalyugin</a>.</li> </ul> <p><a href="https://github.com/raineorshine/npm-check-updates/compare/v13.1.5...v14.0.0">https://github.com/raineorshine/npm-check-updates/compare/v13.1.5...v14.0.0</a></p> <h2>[13.0.0] - 2022-05-15</h2> <h3>Breaking</h3> <ul> <li>node >= 14 is now required</li> <li>Several options which have long been deprecated have been removed: <ul> <li><code>--greatest</code> - Instead use <code>--target greatest</code></li> </ul> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/c467e24e405b1572484a7a32b8ae28baf73dd12a"><code>c467e24</code></a> 16.10.15</li> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/a56601c297c6fc0008c67b1e58971f23e2e651c9"><code>a56601c</code></a> Bump minor and patch dependencies.</li> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/eec07399a0d37078c3a9147799679108d4b8fcbf"><code>eec0739</code></a> 16.10.14</li> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/42f4d9ba366a0c715ee37a3a5084a83eac3ce71c"><code>42f4d9b</code></a> Parse deprecated timeout option from npm config as a number (<a href="https://redirect.github.com/raineorshine/npm-check-updates/issues/1303">#1303</a>).</li> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/d546ebab06296095584e3cf379e166c7954462f4"><code>d546eba</code></a> 16.10.13</li> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/aba35133c2052f82e452f01105c2867b215f8ad0"><code>aba3513</code></a> lint</li> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/9fa783d490c01e3d070e3bef16e811120451ce0b"><code>9fa783d</code></a> Fix namespaced workspace matching. Fixes <a href="https://redirect.github.com/raineorshine/npm-check-updates/issues/1304">#1304</a>.</li> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/5e46ec0969085d7f187c1cb8c4579ebbde69e954"><code>5e46ec0</code></a> getAllPackages: Minor refactor.</li> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/e66f04f47e4cde2eb02ace836c6ac410b66a8f55"><code>e66f04f</code></a> 16.10.12</li> <li><a href="https://github.com/raineorshine/npm-check-updates/commit/f7979d1ce1b5f68931b1a73911d2c58642b65242"><code>f7979d1</code></a> Add LRU_CACHE_IGNORE_AC_WARNING=1 for node v14.</li> <li>Additional commits viewable in <a href="https://github.com/raineorshine/npm-check-updates/compare/v7.0.2...v16.10.15">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 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/apache/james-site/network/alerts). </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
