#2471·systemjs

Distribution Files published to npm do not match what is in GitHub for version 16.14.2 (have windows style line breaks)

Author: erikt9Created Oct 4, 2023Updated Jan 1, 2024

Demonstration

Seems to only effect 16.14.2 and 16.14.3

Install systemjs 16.14.2 via npm

Expected Behavior

The file node_modules/systemjs/dist/system.js should match what is in the version's /dist folder on GitHub and be using unix line breaks. The system.js file should have a size of 34903 bytes (the size of the system.js file when downloaded from GitHub).

Actual Behavior

node_modules/systemjs/dist/system.js has a size of 35908 bytes. When opening and examining it, everything is the same with the github version except there are windows (CRLF) line breaks present.

Main issue is if you are storing something derived from these files in git, git will raise some warnings / complaints about the line endings. I 'build' my distribution of systemjs by running cat on the distribution file with the extras I want which results in a file with windows line breaks.