Releases: Nixinova/LinguistJS
Releases · Nixinova/LinguistJS
2.0.1
Version 2.0.1 of Linguist.
Install on npm using npm install linguist-js@2.0.1
.
Changelog
- Changed file paths in CLI output JSON to be absolute instead of relative (#3).
- Fixed percentages in CLI output displaying
NaN
when the total byte count is0
.
2.0.0
Version 2.0 is out!
A major update to Linguist which includes a host of breaking changes.
Install on npm using npm install linguist-js@2.0.0
.
Changelog
- Breaking: Changed output schema:
count
→files.count
results
→files.results
languages.all
→languages.results
languages.data
→ (deleted)languages.markup
→ (deleted)languages.programming
→ (deleted)languages.prose
→ (deleted)languages.unknown
→unknown.{filenames|extensions}
languages.total.unique
→languages.count
languages.total.bytes
→languages.bytes
languages.total.unknownBytes
→unknown.bytes
- Breaking: Changed the default CLI output format from JSON to summary.
- Breaking: Changed CLI array arguments to require delimiters to be spaces instead of other characters.
- Breaking: Changed the name of option
ignoreFiles
toignoredFiles
. - Breaking: Changed the name of option
ignoreLanguages
toignoredLanguages
. - Added CLI option
--json
to display the results as JSON (the previous default behavior). - Removed CLI option
--summary
as it is now the default output format. - Removed CLI option
--files
to list all files parsed. - Removed deprecated option
ignore
which was superceded byignoredFiles
.
1.9.1
1.9.0
Version 1.9 of Linguist.
Install on npm using npm install linguist-js@1.9.0
.
Changelog
- Add
ignoreLanguages
option to configure which languages to ignore. - Added alias
ignoreFiles
for optionignore
. - Added CLI argument
--tree
to traverse the output tree to a specific object instead of logging the entire results. - Deprecated option
ignore
as it is now ambiguous.
1.8.2
1.8.1
1.8.0
1.7.1
Version 1.7.1 of Linguist.
Install on npm using npm install linguist-js@1.7.1
.
Changelog
- Changed file paths specified in option
ignore
to remain hidden even whenkeepVendored
is enabled. - Fixed file results not being listed when using globbed input.
- Fixed command-line arguments not being fully normalised.
1.7.0
Version 1.7.0 of Linguist.
Install on npm using npm install linguist-js@1.7.0
.
Changelog
- Added
categories
option to control which language categories (data
,markup
,programming
, and/orprose
) should be included in the output. - Fixed some files being incorrectly classified as binary.