Skip to content

Releases: Nixinova/LinguistJS

2.3.2

18 Feb 01:23

Choose a tag to compare

Version 2.3.2 of Linguist.

Install on npm using npm install [email protected].

Changelog

View commits

  • 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

16 Feb 02:18

Choose a tag to compare

Version 2.3.1 of Linguist.

Install on npm using npm install [email protected].

Changelog

View commits

  • 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

12 Feb 19:30

Choose a tag to compare

Version 2.3.0 of Linguist!

Install on npm using npm install [email protected].

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

Choose a tag to compare

Version 2.2.1 of linguist-js.

Install on npm using npm install [email protected].

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

Choose a tag to compare

Version 2.2.0 of Linguist!

Install on npm using npm install [email protected].

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

Choose a tag to compare

Version 2.1.4 of Linguist.

Install on npm using npm install [email protected].

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

Choose a tag to compare

Version 2.1.3 of Linguist.

Install on npm using npm install [email protected].

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

Choose a tag to compare

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

Install on npm using npm install [email protected].

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

Choose a tag to compare

Version 2.1.1 of Linguist.

Install on npm using npm install [email protected].

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

Choose a tag to compare

Version 2.1 of Linguist.

Install on npm using npm install [email protected].

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).