dependabot[bot] opened a new pull request, #1492: URL: https://github.com/apache/couchdb-fauxton/pull/1492
Bumps [jsondiffpatch](https://github.com/benjamine/jsondiffpatch) from 0.4.1 to 0.7.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/benjamine/jsondiffpatch/releases">jsondiffpatch's releases</a>.</em></p> <blockquote> <h2>v0.6.0</h2> <h2>Breaking changes</h2> <ul> <li>This package is now pure ESM. For more info, please read <a href="https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c">Sindre Sorhus's FAQ</a> (<a href="https://redirect.github.com/benjamine/jsondiffpatch/issues/350">#350</a>).</li> <li>Supported Node versions are <code>^18.0.0 || >=20.0.0</code> (<a href="https://redirect.github.com/benjamine/jsondiffpatch/issues/350">#350</a>).</li> <li>Requires ES6 support (<a href="https://redirect.github.com/benjamine/jsondiffpatch/issues/350">#350</a>).</li> <li>There is no longer a default export. Import this package by using <code>import * as jsondiffpatch from 'jsondiffpatch'</code> or by importing individual methods (<a href="https://redirect.github.com/benjamine/jsondiffpatch/issues/350">#350</a>).</li> <li>Formatters are no longer exported from the main entry-point and must be imported from subpaths (<a href="https://redirect.github.com/benjamine/jsondiffpatch/issues/350">#350</a>): <ul> <li><code>import * as annotatedFormatter from 'jsondiffpatch/formatters/annotated'</code></li> <li><code>import * as baseFormatter from 'jsondiffpatch/formatters/base'</code></li> <li><code>import * as consoleFormatter from 'jsondiffpatch/formatters/console'</code></li> <li><code>import * as htmlFormatter from 'jsondiffpatch/formatters/html'</code></li> <li><code>import * as jsonpatchFormatter from 'jsondiffpatch/formatters/jsonpatch'</code></li> </ul> </li> <li>Updated CSS imports (<a href="https://redirect.github.com/benjamine/jsondiffpatch/issues/350">#350</a>): <ul> <li><code>import 'jsondiffpatch/formatters/styles/html.css'</code></li> <li><code>import 'jsondiffpatch/formatters/styles/annotated.css'</code></li> </ul> </li> <li>The main entry-point no longer includes text diffing by default. Either pass in the diff-match-patch library via the <code>textDiff.diffMatchPatch</code> option, or use the <code>jsondiffpatch/with-text-diffs</code> entry point that is included for convenience (<a href="https://redirect.github.com/benjamine/jsondiffpatch/issues/352">#352</a>).</li> <li><code>Context.switchTo()</code> has been removed (<a href="https://redirect.github.com/benjamine/jsondiffpatch/issues/345">#345</a>).</li> <li><code>BaseFormatter.typeFormattterErrorFormatter()</code> now throws an error instead of returning a <code>string</code> (<a href="https://redirect.github.com/benjamine/jsondiffpatch/issues/345">#345</a>).</li> <li>The UMD browser bundle has been removed. If you were using a <code>script</code> tag to include <code>jsondiffpatch</code> in your project, you can now import it inside of your main <code>script</code> tag as show below. For a more complete example, see the Visual Diff example <a href="https://github.com/benjamine/jsondiffpatch/tree/v0.5.0?tab=readme-ov-file#visual-diff">before</a> and <a href="https://github.com/benjamine/jsondiffpatch/tree/469f6a7d4660eb9dcbf965271889ad452e86de75?tab=readme-ov-file#visual-diff">after</a> this change.</li> </ul> <pre lang="html"><code><!doctype html> <html> <head> <link rel="stylesheet" href="https://esm.sh/[email protected]/lib/formatters/styles/html.css" type="text/css" /> <link rel="stylesheet" href="https://esm.sh/[email protected]/lib/formatters/styles/annotated.css" type="text/css" /> </head> <body> <script type="module"> import * as jsondiffpatch from 'https://esm.sh/[email protected]'; import * as annotatedFormatter from 'https://esm.sh/[email protected]/formatters/annotated'; import * as htmlFormatter from 'https://esm.sh/[email protected]/formatters/html'; <pre><code> ... &lt;/script&gt; </code></pre> <p></body><br /> </html><br /> </code></pre></p> <h2>Other changes</h2> <ul> <li>Fix demo link in formatters doc by <a href="https://github.com/johnrees"><code>@​johnrees</code></a> in <a href="https://redirect.github.com/benjamine/jsondiffpatch/pull/311">benjamine/jsondiffpatch#311</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/benjamine/jsondiffpatch/commits">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/apache/couchdb-fauxton/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]
