Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Bump diff from 1.4.0 to 5.2.0 in the npm_and_yarn group across 1 directory#1

Open
dependabot[bot] wants to merge 1 commit intomastertuckpuck/javascripting:masterfrom
dependabot/npm_and_yarn/npm_and_yarn-102a2af4cftuckpuck/javascripting:dependabot/npm_and_yarn/npm_and_yarn-102a2af4cfCopy head branch name to clipboard
Open

Bump diff from 1.4.0 to 5.2.0 in the npm_and_yarn group across 1 directory#1
dependabot[bot] wants to merge 1 commit intomastertuckpuck/javascripting:masterfrom
dependabot/npm_and_yarn/npm_and_yarn-102a2af4cftuckpuck/javascripting:dependabot/npm_and_yarn/npm_and_yarn-102a2af4cfCopy head branch name to clipboard

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github May 16, 2024

Bumps the npm_and_yarn group with 1 update in the / directory: diff.

Updates diff from 1.4.0 to 5.2.0

Changelog

Sourced from diff's changelog.

v5.2.0

Commits

  • #411 Big performance improvement. Previously an O(n) array-copying operation inside the innermost loop of jsdiff's base diffing code increased the overall worst-case time complexity of computing a diff from O(n²) to O(n³). This is now fixed, bringing the worst-case time complexity down to what it theoretically should be for a Myers diff implementation.
  • #448 Performance improvement. Diagonals whose furthest-reaching D-path would go off the edge of the edit graph are now skipped, rather than being pointlessly considered as called for by the original Myers diff algorithm. This dramatically speeds up computing diffs where the new text just appends or truncates content at the end of the old text.
  • #351 Importing from the lib folder - e.g. require("diff/lib/diff/word.js") - will work again now. This had been broken for users on the latest version of Node since Node 17.5.0, which changed how Node interprets the exports property in jsdiff's package.json file.
  • #344 diffLines, createTwoFilesPatch, and other patch-creation methods now take an optional stripTrailingCr: true option which causes Windows-style \r\n line endings to be replaced with Unix-style \n line endings before calculating the diff, just like GNU diff's --strip-trailing-cr flag.
  • #451 Added diff.formatPatch.
  • #450 Added diff.reversePatch.
  • #478 Added timeout option.

v5.1.0

  • #365 Allow early termination to limit execution time with degenerate cases

Commits

v5.0.0

  • Breaking: UMD export renamed from JsDiff to Diff.
  • Breaking: Newlines separated into separate tokens for word diff.
  • Breaking: Unified diffs now match "quirks"

Commits

v4.0.1 - January 6th, 2019

  • Fix main reference path - b826104

Commits

v4.0.0 - January 5th, 2019

  • #94 - Missing "No newline at end of file" when comparing two texts that do not end in newlines (@​federicotdn)
  • #227 - Licence
  • #199 - Import statement for jsdiff
  • #159 - applyPatch affecting wrong line number with with new lines
  • #8 - A new state "replace"
  • Drop ie9 from karma targets - 79c31bd
  • Upgrade deps. Convert from webpack to rollup - 2c1a29c
  • Make ()[]"' as word boundaries between each other - f27b899
  • jsdiff: Replaced phantomJS by chrome - ec3114e
  • Add yarn.lock to .npmignore - 29466d8

Compatibility notes:

  • Bower and Component packages no longer supported

Commits

... (truncated)

Commits
  • 370a9df 5.2.0 release (#483)
  • a2f726a Add myself to the list of maintainers (#482)
  • dfc6fe4 Add examples to docs of creating and applying patches (importantly including ...
  • b5d1cfa Modify node_example.js to support showing added/deleted spaces (#479)
  • 533893d Add timeout option (#478)
  • 1f1ec96 Replace broken link to Myers's paper in the README with a working one (#476)
  • 707fccc Add note to README about setting context to Infinity or MAX_SAFE_INTEGER. (...
  • 1c7514c Fix mistake in README (#471)
  • ca8718c Bump follow-redirects from 1.14.8 to 1.15.4 (#470)
  • 25a14af Migrate to DABH's fork of colors (#469)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by explodingcabbage, a new releaser for diff since your current version.


Dependabot compatibility score

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 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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps the npm_and_yarn group with 1 update in the / directory: [diff](https://github.com/kpdecker/jsdiff).


Updates `diff` from 1.4.0 to 5.2.0
- [Changelog](https://github.com/kpdecker/jsdiff/blob/master/release-notes.md)
- [Commits](kpdecker/jsdiff@v1.4.0...v5.2.0)

---
updated-dependencies:
- dependency-name: diff
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.