Releases: Nixinova/LinguistJS
Releases · Nixinova/LinguistJS
v2.5.6
Version 2.5.6 of LinguistJS.
Install on npm using npm install linguist-js@2.5.6.
Changelog
View commits: 2.5.5...2.5.6
- Changed fetching of data files to fallback to using the packaged files if the fetch request fails (#21).
- Fixed packaged data files having formatting issues.
v2.5.5
Version 2.5.5 of LinguistJS.
Install on npm using npm install linguist-js@2.5.5.
Changelog
View commits: 2.5.4...2.5.5
- Fixed a crash occurring when parsing heuristics with negative inline PCRE flags.
- Changed cached data files to be compressed when packaged.
- Updated documentation of
--ignoredFiles.
2.5.4
2.5.3
2.5.2
Version 2.5.2 of Linguist.
Install on npm using npm install linguist-js@2.5.2.
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 linguist-js@2.5.1.
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 linguist-js@2.5.0.
Changelog
View commits: 2.4.2...2.5.0
- Added boolean option
offlineto allow the use of pre-packaged metadata files instead of having them fetched from GitHub at runtime. - Added
linguist-jsas an alias of thelinguistexecutable.
2.4.2
2.4.1
Version 2.4.1 of Linguist.
Install on npm using npm install linguist-js@2.4.1.
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 linguist-js@2.4.0.
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.