Comments (3)
I think detecting line endings would be better than creating a very unusual custom line endings option.
PRs welcome!
from changelog-parser.
I added the custom line endings option so that in (unusual) cases where the changelog uses multiple line endings (and you don't want the most common one), or line endings other than CR, LF, or CRLF, you have the ability to specify it yourself (I don't see this being a likely occurrence, but it was easy enough to add)
from changelog-parser.
I just ran the test suite on Mac windows and linux and it passed. Windows git does some wacky stuff with line endings, but if git for windows is configured right, it should work fine. Im nervous this adds additional complexity for what boils down to a misconfiguration with windows git.
If I understand correctly, this package currently assumes files will be using line endings appropriate for the OS its running on, and is choking when using line endings that don't match what the OS is set to use, to which the correct solution is, use line endings correct for the OS.
from changelog-parser.
Related Issues (19)
- resources HOT 3
- update parser to be compatible with standard-version HOT 4
- Update `README.md` example to include 'date' keys
- Add Promise support HOT 3
- Add parsed/sorted data to changelog entry objects HOT 9
- support for parsing a string HOT 2
- Inconsistent title and body across platforms HOT 9
- accept input text instead of file HOT 3
- Ignore HTML comments HOT 5
- Hi. I made changelog-parser-action HOT 2
- [feature request] write changelog HOT 1
- `[]` in changelog isn't parsed correctly HOT 1
- use mdast to parse markdown? HOT 4
- Long term plans and support HOT 8
- changelog-parser doesn't parse my changelog correctly HOT 1
- Extract date into seperate key HOT 7
- move instance variables into function
- Library doesn't respect file changes HOT 1
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 changelog-parser.