Skip to content

Releases: Nixinova/LinguistJS

2.3.0

12 Feb 19:30
Compare
Choose a tag to compare

Version 2.3.0 of Linguist!

Install on npm using npm install linguist-js@2.3.0.

Changelog

View commits

  • Added option fileContent to provide manual file content to analyse instead of reading from a folder on disk (#9, #10).

2.2.1

11 Feb 02:36
Compare
Choose a tag to compare

Version 2.2.1 of linguist-js.

Install on npm using npm install linguist-js@2.2.1.

Changelog

View commits

  • Fixed files marked as text=auto being classified as text.
  • Fixed a crash occurring when attempting to load unreadable files.

2.2.0

05 Jan 20:14
Compare
Choose a tag to compare

Version 2.2.0 of Linguist!

Install on npm using npm install linguist-js@2.2.0.

Changelog

View commits

  • Added option relativePaths to allow output results to be shown as relative paths (defaults to false).
  • Changed CLI output to display the number of skipped files.
  • Fixed git config entries containing backslashes causing a crash.

2.1.4

29 Sep 00:57
Compare
Choose a tag to compare

Version 2.1.4 of Linguist.

Install on npm using npm install linguist-js@2.1.4.

Changelog

View commits

  • Fixed gitignore entries containing dots not being parsed properly.
  • Fixed git config files containing character classes like [[:digit:]] not being parsed properly.

2.1.3

19 Sep 03:39
Compare
Choose a tag to compare

Version 2.1.3 of Linguist.

Install on npm using npm install linguist-js@2.1.3.

Changelog

View commits

  • Changed gitattributes parsing to support text and binary parameters.
  • Fixed a crash occurring during compilation of regexes.

2.1.2

14 Sep 04:05
Compare
Choose a tag to compare

Version 2.1.2 of Linguist. Fixes a few CLI display errors.

Install on npm using npm install linguist-js@2.1.2.

Changelog

View commits

  • Fixed languages without a colour not having their icon displayed properly in the CLI output.
  • Fixed unknown extensions erroneously having an extra dot prefixed in the CLI output.

2.1.1

12 Sep 04:06
Compare
Choose a tag to compare

Version 2.1.1 of Linguist.

Install on npm using npm install linguist-js@2.1.1.

Changelog

View commits

  • Changed CLI output to display associated language colours.
  • Fixed filenames not taking precedence over extensions when classifying.
  • Fixed parent languages not being checked when parsing heuristics relating to their children.

2.1.0

10 Sep 22:15
Compare
Choose a tag to compare

Version 2.1 of Linguist.

Install on npm using npm install linguist-js@2.1.0.

Changelog

View commits

  • Added nullable parent property to each entry in languages.results to display the parent language.
  • Added option childLanguages to control whether child languages are displayed instead of their parent (defaults to false).

2.0.3

10 Sep 21:26
Compare
Choose a tag to compare

Version 2.0.3 of Linguist.

Install on npm using npm install linguist-js@2.0.3.

Changelog

View commits

  • Changed the error thrown when traversing an invalid tree via CLI to contain a more useful description.
  • Fixed heuristics not applying start- and end-of-line markers properly (#5).
  • Fixed heuristic language fallback not being applied properly.

2.0.2

09 Sep 05:11
Compare
Choose a tag to compare

Version 2.0.2 of Linguist.

Install on npm using npm install linguist-js@2.0.2.

Changelog

View commits

  • Fixed CLI usage not working when installed with Yarn (#2).
  • Fixed a crash that occurred when file contents changed between runs (#4).
  • Fixed heuristics containing dot wildcards being incorrectly applied (#5).
  • Fixed vendored/generated files containing dots not being classified as vendored.