Skip to content

Releases: Nixinova/LinguistJS

1.7.0

19 Aug 06:08
Compare
Choose a tag to compare

Version 1.7.0 of Linguist.

Install on npm using npm install [email protected].

Changelog

  • Added categories option to control which language categories (data, markup, programming, and/or prose) should be included in the output.
  • Fixed some files being incorrectly classified as binary.

1.6.1

17 Aug 08:22
Compare
Choose a tag to compare

Version 1.6.1 of Linguist.

Install on npm using npm install [email protected].

Changelog

  • Changed binary file checking to check file content as well as extension.
  • Fixed filename matching not comparing the full base name to the list of filename matches.

1.6.0

15 Aug 04:01
Compare
Choose a tag to compare

Version 1.6.0 of Linguist.

Install on npm using npm install [email protected].

Changelog

  • Added checking of binary files to avoid including them in the language results.
  • Added keepBinary option to control whether binary files are checked (defaults to false).

1.5.5

15 Aug 03:58
Compare
Choose a tag to compare

Version 1.5.5 of Linguist, which fixes a crash in 1.5.4.

Install on npm using npm install [email protected].

Changelog

  • Fixed a crash occurring when using the CLI.

1.5.4

15 Aug 03:53
Compare
Choose a tag to compare

Version 1.5.4 of Linguist.

Install on npm using npm install [email protected].

Changelog

  • Fixed CLI options not being able to be negated.
  • Fixed CLI option --ignore not allowing delimited paths.

1.5.3

14 Aug 03:58
Compare
Choose a tag to compare

Version 1.5.3 of Linguist.

Install on npm using npm install [email protected].

Changelog

  • Fixed shebang interpreter checking more than just the first line.

1.5.2

13 Aug 21:39
Compare
Choose a tag to compare

Version 1.5.2 of Linguist.

Install on npm using npm install [email protected].

Changelog

  • Changed web requests to be cached upon fetch, improving performance of successive runs.

1.5.1

13 Aug 21:17
Compare
Choose a tag to compare

Version 1.5.1 of Linguist.

Install on npm using npm install [email protected].

Changelog

  • Fixed PCRE regular expressions causing a crash.
  • Fixed shebang lines not being fully checked.
  • Fixed heuristics with two fallback languages not choosing just one of them.
  • Fixed extensions being checked alongside filenames instead of being checked after, as the latter should take priority.

1.5.0

12 Aug 06:34
Compare
Choose a tag to compare

Version 1.5 of Linguist, now with shebang line checking.

Install on npm using npm install [email protected].

Changelog

  • Added checking of shebang (#!) lines for explicit language classification.
  • Added checkShebang option to implement shebang checking (defaults to true unless quick is set).

1.4.5

10 Aug 08:04
Compare
Choose a tag to compare

Version 1.4.5 of Linguist.

Install on npm using npm install [email protected].

Changelog

  • Fixed files prefixed with a dot not being checked.
  • Changed input of command-line --ignore to be delimited by spaces.