Bump jsondiffpatch from 0.2.5 to 0.7.2 by dependabot[bot] · Pull Request #67 · ProcessMaker/processmaker-bpmn-moddle
Bumps jsondiffpatch from 0.2.5 to 0.7.2.
Release notes
Sourced from jsondiffpatch's releases.
v0.6.0
Breaking changes
- This package is now pure ESM. For more info, please read Sindre Sorhus's FAQ (#350).
- Supported Node versions are
^18.0.0 || >=20.0.0(#350).- Requires ES6 support (#350).
- There is no longer a default export. Import this package by using
import * as jsondiffpatch from 'jsondiffpatch'or by importing individual methods (#350).- Formatters are no longer exported from the main entry-point and must be imported from subpaths (#350):
import * as annotatedFormatter from 'jsondiffpatch/formatters/annotated'import * as baseFormatter from 'jsondiffpatch/formatters/base'import * as consoleFormatter from 'jsondiffpatch/formatters/console'import * as htmlFormatter from 'jsondiffpatch/formatters/html'import * as jsonpatchFormatter from 'jsondiffpatch/formatters/jsonpatch'- Updated CSS imports (#350):
import 'jsondiffpatch/formatters/styles/html.css'import 'jsondiffpatch/formatters/styles/annotated.css'- The main entry-point no longer includes text diffing by default. Either pass in the diff-match-patch library via the
textDiff.diffMatchPatchoption, or use thejsondiffpatch/with-text-diffsentry point that is included for convenience (#352).Context.switchTo()has been removed (#345).BaseFormatter.typeFormattterErrorFormatter()now throws an error instead of returning astring(#345).- The UMD browser bundle has been removed. If you were using a
scripttag to includejsondiffpatchin your project, you can now import it inside of your mainscripttag as show below. For a more complete example, see the Visual Diff example before and after this change.<!doctype html> <html> <head> <link rel="stylesheet" href="https://esm.sh/jsondiffpatch@0.6.0/lib/formatters/styles/html.css" type="text/css" /> <link rel="stylesheet" href="https://esm.sh/jsondiffpatch@0.6.0/lib/formatters/styles/annotated.css" type="text/css" /> </head> <body> <script type="module"> import * as jsondiffpatch from 'https://esm.sh/jsondiffpatch@0.6.0'; import * as annotatedFormatter from 'https://esm.sh/jsondiffpatch@0.6.0/formatters/annotated'; import * as htmlFormatter from 'https://esm.sh/jsondiffpatch@0.6.0/formatters/html'; ... </script> </body> </html>Other changes
- Fix demo link in formatters doc by
@johnreesin benjamine/jsondiffpatch#311
... (truncated)
Commits
- See full diff in compare view
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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.