GithubHelp home page GithubHelp logo

Comments (6)

rtfpessoa avatar rtfpessoa commented on May 26, 2024

Wow, some bad thing going on here.
Seems like in was introduced in version 5.0.0. Last version where is seems fine is 4.2.1.

from diff2html-cli.

rtfpessoa avatar rtfpessoa commented on May 26, 2024

Reinstalling diff2html-cli should be enough to get the new version from diff2html.

Seems to work fine in the demo: https://diff2html.xyz/demo.html?matching=none&matchWordsThreshold=0.25&maxLineLengthHighlight=10000&diffStyle=word&renderNothingWhenEmpty=0&matchingMaxComparisons=2500&maxLineSizeInBlockForComparison=200&outputFormat=line-by-line&drawFileList=1&synchronisedScroll=1&highlight=1&fileListToggle=1&fileListStartVisible=0&smartSelection=1&diff=https://github.com/mensfeld/broken-diff/commit/8750ece41b3e89d9f8497f062458d826cdd79d6f#d2h-719103

from diff2html-cli.

mensfeld avatar mensfeld commented on May 26, 2024

Hey @rtfpessoa any idea what I can do beyond removing the node_modules from my project? I tried that, reinstalled and seeing same effects :(

cleaning yarn cache does not help as well

from diff2html-cli.

rtfpessoa avatar rtfpessoa commented on May 26, 2024

Weird. I just did yarn global remove diff2html-cli and then yarn global add diff2html-cli.

If it is local to a repository I was expecting that yarn remove diff2html-cli followed by yarn add diff2html-cli would do it.

Can you try adding --force and see if it works?
If not I will add a new version. I was really expecting the ^3.x.x to allow minor and patch updated automatically.

from diff2html-cli.

mensfeld avatar mensfeld commented on May 26, 2024

@rtfpessoa please forgive me for pinging you prematurely. I forgot to update the yarn.lock file, thus it was pointing to the old version of diff2html. After purging, cleaning and forcing things work great.

Once again: thank you for your amazing work!

from diff2html-cli.

rtfpessoa avatar rtfpessoa commented on May 26, 2024

No worries. Nice that it worked.

from diff2html-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.