Releases: Nixinova/LinguistJS
1.6.0
Version 1.6.0 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Added checking of binary files to avoid including them in the language results.
- Added
keepBinary
option to control whether binary files are checked (defaults tofalse
).
1.5.5
Version 1.5.5 of Linguist, which fixes a crash in 1.5.4.
Install on npm using npm install [email protected]
.
Changelog
- Fixed a crash occurring when using the CLI.
1.5.4
Version 1.5.4 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Fixed CLI options not being able to be negated.
- Fixed CLI option
--ignore
not allowing delimited paths.
1.5.3
Version 1.5.3 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Fixed shebang interpreter checking more than just the first line.
1.5.2
Version 1.5.2 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Changed web requests to be cached upon fetch, improving performance of successive runs.
1.5.1
Version 1.5.1 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Fixed PCRE regular expressions causing a crash.
- Fixed shebang lines not being fully checked.
- Fixed heuristics with two fallback languages not choosing just one of them.
- Fixed extensions being checked alongside filenames instead of being checked after, as the latter should take priority.
1.5.0
Version 1.5 of Linguist, now with shebang line checking.
Install on npm using npm install [email protected]
.
Changelog
- Added checking of shebang (
#!
) lines for explicit language classification. - Added
checkShebang
option to implement shebang checking (defaults totrue
unlessquick
is set).
1.4.5
Version 1.4.5 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Fixed files prefixed with a dot not being checked.
- Changed input of command-line
--ignore
to be delimited by spaces.
1.4.4
Version 1.4.4 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Added an nullable
color
key to each entry inlanguages.all
.
1.4.3
Version 1.4.3 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Changed outputted file paths to always be absolute regardless of input.