Skip to content

Releases: Nixinova/LinguistJS

1.4.0

01 Aug 04:22
Compare
Choose a tag to compare

Version 1.4 of Linguist.

Install on npm using npm install [email protected].

Changelog

  • Added heuristics checking, using option checkHeuristics (defaults to true unless quick is set).
  • Added --summary CLI option to output language data in human-readable manner instead of JSON.
  • Added unknownBytes key to languages.total which lists the bytes size of unknown languages.
  • Changed vendored file checking to classify generated files as well.

1.3.2

31 Jul 08:05
Compare
Choose a tag to compare

Version 1.3.2 of Linguist.

Install on npm using npm install [email protected].

Changelog

  • Added unknown key to languages 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

30 Jul 22:16
Compare
Choose a tag to compare

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

30 Jul 22:06
Compare
Choose a tag to compare

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 and checkAttributes, which can be set together using the inverse of quick.
  • Fixed unique language count being incorrect.

1.2.5

24 Jul 22:23
Compare
Choose a tag to compare

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

21 Jul 21:54
Compare
Choose a tag to compare

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

21 Jul 08:55
Compare
Choose a tag to compare

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

21 Jul 08:30
Compare
Choose a tag to compare

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

24 Jun 08:45
Compare
Choose a tag to compare

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

06 Jun 06:28
Compare
Choose a tag to compare

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.