Skip to content

Releases: Nixinova/LinguistJS

1.4.2

01 Aug 05:42
Compare
Choose a tag to compare

Version 1.4.2 of Linguist.

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

Changelog

  • Fixed crash occurring when checking named patterns.

1.4.1

01 Aug 04:45
Compare
Choose a tag to compare

Version 1.4.1 of Linguist.

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

Changelog

  • Added all key to languages which collates all language data into one object.

1.4.0

01 Aug 04:22
Compare
Choose a tag to compare

Version 1.4 of Linguist.

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

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 linguist-js@1.3.2.

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 linguist-js@1.3.1.

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 linguist-js@1.3.0.

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 linguist-js@1.2.5.

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 linguist-js@1.2.4.

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 linguist-js@1.2.3.

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 linguist-js@1.2.2.

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.