Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: JackuB/diff-match-patch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: hackmdio/diff-match-patch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 10 commits
  • 5 files changed
  • 4 contributors

Commits on Jul 22, 2016

  1. Fix to handle encodeURI exception

    it might get Malformed URI exception when there is a lone surrogate inside a string
    jackycute authored Jul 22, 2016
    Configuration menu
    Copy the full SHA
    0fba40f View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2017

  1. Configuration menu
    Copy the full SHA
    73e56e7 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2019

  1. chore: bump 1.1.1

    a60814billy committed Apr 11, 2019
    Configuration menu
    Copy the full SHA
    dd6e43a View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2019

  1. Configuration menu
    Copy the full SHA
    eaa2b4f View commit details
    Browse the repository at this point in the history
  2. fix: semicolon

    a60814billy committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    a24449e View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1 from hackmdio/fix/eslint

    fix: semicolon
    a60814billy authored Jul 17, 2019
    Configuration menu
    Copy the full SHA
    5b73bb8 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2020

  1. Fix lineHash.hasOwnProperty might be contaminated

    if calling method like dmp.diff_linesToChars_('hasOwnProperty', ' ') will throw TypeError: lineHash.hasOwnProperty is not a function
    since the lineHash is a instance of Object, the method can be overwritten while walking through the text lines.
    
    To avoid this, we can use Object.prototype.hasOwnProperty.call(lineHash, line) that make it always can call hasOwnProperty properly.
    
    Update diff_match_patch_uncompressed.js
    jackycute authored Jun 24, 2020
    Configuration menu
    Copy the full SHA
    c2f8fb9 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. fix: apply patches

    from dmsnell:issues/69-broken-surrogate-pairs
    stanley2058 committed May 11, 2023
    Configuration menu
    Copy the full SHA
    1964735 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2023

  1. Merge pull request #2 from hackmdio/fix/pathc-stop-breaking-surrogate…

    …-pairs
    
    fix/stop breaking surrogate pairs
    stanley2058 authored May 12, 2023
    Configuration menu
    Copy the full SHA
    fdb2b05 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2023

  1. chore: bump 1.2.0

    a60814billy committed May 15, 2023
    Configuration menu
    Copy the full SHA
    59a9395 View commit details
    Browse the repository at this point in the history
Loading