Releases: Nixinova/LinguistJS
Releases · Nixinova/LinguistJS
2.5.2
Version 2.5.2 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
View commits: 2.5.1...2.5.2
- Fixed file extensions with multiple delimiters not being prioritised over basic extensions.
- Fixed modeline checking not trimming comments from the first line.
- Fixed modeline checking being applied to the first line even when it does not contain a modeline.
- Fixed fallback language detection not being applied when an ambiguous interpreter is declared in a shebang line.
2.5.1
Version 2.5.1 of Linguist, which fixes issues with applying heuristics.
Install on npm using npm install [email protected]
.
Changelog
View commits: 2.5.0...2.5.1
- Fixed heuristics not being applied to files.
- Fixed heuristics with multiple rules not being parsed.
2.5.0
Version 2.5.0 of Linguist!
Install on npm using npm install [email protected]
.
Changelog
View commits: 2.4.2...2.5.0
- Added boolean option
offline
to allow the use of pre-packaged metadata files instead of having them fetched from GitHub at runtime. - Added
linguist-js
as an alias of thelinguist
executable.
2.4.2
2.4.1
Version 2.4.1 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Fixed parsing of gitignore statements not matching its specification.
- Fixed generated file names being applied case-sensitively.
- Fixed generated files not being excluded from the input when using raw file mode.
- Fixed modeline language selection not working for languages containing non-alphanumeric characters.
2.4.0
Version 2.4.0 of Linguist!
Install on npm using npm install [email protected]
.
Changelog
- Added boolean option
checkModeline
(defaults totrue
) to check the modeline of files for explicit classification. - Fixed shebang statements not taking priority over other methods of disambiguation.
2.3.2
Version 2.3.2 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Changed vendored checking to include paths marked as documentation.
- Fixed array input not being parsed properly when used with
fileContent
. - Fixed vendor patterns being erroneously applied to parent folders.
- Fixed vendor patterns made for relative paths not being applied.
2.3.1
Version 2.3.1 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Fixed a crash occurring when parsing heuristics containing atomic groups.
- Fixed option
fileContent
being ignored if set to an empty string. - Fixed file extensions being treated as case sensitive.
2.3.0
2.2.1
Version 2.2.1 of linguist-js.
Install on npm using npm install [email protected]
.
Changelog
- Fixed files marked as
text=auto
being classified as text. - Fixed a crash occurring when attempting to load unreadable files.