Comments (3)
I think the possible reason could be line ending wich is different on windows and linux. So JsDiff must be do not working well with windows line ending.
from jsdiff.
#24 has been merged and released under 1.0.8. If that does not resolve this issue for you, please let me know and I can reopen.
from jsdiff.
Can someone share me diff.js file
from jsdiff.
Related Issues (20)
- eslint config is broken somehow - `yarn eslint .` and `yarn grunt eslint` give completely different results HOT 1
- Repo can't make up its mind if we use npm or Yarn
- Document how to create custom differs with their own tokenize/equals/etc methods HOT 1
- Eliminate `linedelimiters` from structured diff hunks HOT 1
- diffWords doesn't consistently ignore whitespace, despite the README saying it should HOT 1
- wordDiff.tokenize includes empty strings in its list of tokens
- Support using an Intl.Segmenter for word tokenization in diffWords
- Markdown comparison includes headings unnecessarily HOT 6
- Compare with diff-match-patch
- `parsePatch` should preserve "leading garbage" HOT 1
- Turn strict mode on by default in `parsePatch` HOT 2
- Provide an example of how to use applyPatches from Node in the docs
- `callback` option has a weird signature
- createPatch & createTwoFilesPatch throw meaningless exceptions if structuredPatch returns undefined HOT 1
- Support callback option in patch-creation functions
- applyPatch with a `fuzzFactor` will happily delete an entirely different line to the one shown in the diff HOT 1
- Document (and throw an error over) the incompatibility between newlineIsToken and ignoreWhitespace
- Unexpected diffArrays result on a basic example HOT 5
- Support diffs with substitutions
- Race condition with this.options in async mode?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsdiff.