Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: replace cr and crlf with lf, split on all line endings #310

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

nobkd
Copy link
Collaborator

@nobkd nobkd commented Aug 10, 2024

I tried to replace / split as early as needed, to keep the replace / split changes small.
I also tried checking for places where functions get exported.
Changed in all packages for standalone use.

Added a test, that might not catch everything, but that's probably okay.

The change in packages/nuekit/src/builder.js will probably be different when #278 is merged.

@nobkd nobkd linked an issue Aug 10, 2024 that may be closed by this pull request
@tipiirai tipiirai merged commit aed5143 into nuejs:dev Aug 13, 2024
@tipiirai
Copy link
Contributor

Looks good. Maybe the complex line ending could be a constant?

@nobkd nobkd deleted the fix/crlf-line-endings branch August 13, 2024 12:29
@nobkd
Copy link
Collaborator Author

nobkd commented Aug 13, 2024

Yeah, maybe. But would have to be per package to prevent unnecessary dependencies.

@tipiirai
Copy link
Contributor

Good point. This is better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simple Blog Post cannot load hero image & "Invalid date"?
2 participants