Releases: Nixinova/LinguistJS
1.4.0
Version 1.4 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Added heuristics checking, using option
checkHeuristics
(defaults totrue
unlessquick
is set). - Added
--summary
CLI option to output language data in human-readable manner instead of JSON. - Added
unknownBytes
key tolanguages.total
which lists the bytes size of unknown languages. - Changed vendored file checking to classify generated files as well.
1.3.2
Version 1.3.2 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Added
unknown
key tolanguages
which lists file extensions that cannot be matched with a given language. - Change ignored files list to be globs instead of raw regexes.
- Fixed CLI usage defaulting to quick checking instead of full checking.
1.3.1
Version 1.3.1 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Changed the delimiter for ignored paths in the CLI
--ignored
argument from;
to:
/;
/|
as a semicolon is actually valid on Windows.
1.3.0
Version 1.3 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Added checking of
.gitignore
files. - Added option
ignore
for specifying explicitly-ignored file paths. - Added specific options
checkIgnored
andcheckAttributes
, which can be set together using the inverse ofquick
. - Fixed unique language count being incorrect.
1.2.5
Version 1.2.5 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Fixed file name matching not working.
- Fixed file extensions being case sensitive.
1.2.4
Version 1.2.4 of Linguist: now in TypeScript!
Install on npm using npm install [email protected]
.
Changelog
- Added type definitions due to TypeScript rewrite.
- Added support for CommonJS importing.
1.2.3
Version 1.2.3 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Added CLI argument
--quick
/-q
for skipping the checking of gitattributes files. - Changed the checking of gitattributes files to be default behaviour.
- Removed CLI argument
--gitattributes
/-g
as it is now the default behaviour.
1.2.2
Version 1.2.2 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Added CLI argument alias
-V
for--vendored
. - Changed files with no language to output a language of
null
instead of being removed from the list. - Fixed gitattributes statements not being checked.
1.2.1
Version 1.2.1 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Added alias
--files
for--full
. - Added CLI command
--version
. - Fixed the analyser crashing when it comes across a heuristic that cannot be matched to a language.
- Improved performance.
1.2.0
Version 1.2.0 of Linguist.
Install on npm using npm install [email protected]
.
Changelog
- Added gitattributes checking using option
checkAttributes
(Node) or--gitattributes
(CLI). - Added unique language count and total bytes size to output as
languages.total
.