Releases: Nixinova/LinguistJS
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.
1.4.2
Version 1.4.2 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Fixed crash occurring when checking named patterns.
1.4.1
Version 1.4.1 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Added
all
key tolanguages
which collates all language data into one object.