Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

linguist-js

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linguist-js - npm Package Versions

1
57

1.4.0

Diff

Changelog

Source

1.4.0

2021-08-01

  • 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.
nixinova
published 1.3.2 •

Changelog

Source

1.3.2

2021-07-31

  • 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.
nixinova
published 1.3.1 •

Changelog

Source

1.3.1

2021-07-31

  • Changed the delimiter for ignored paths in the CLI --ignored argument from ; to :/;/| as a semicolon is actually valid on Windows.
nixinova
published 1.3.0 •

Changelog

Source

1.3.0

2021-07-31

  • 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.
nixinova
published 1.2.5 •

Changelog

Source

1.2.5

2021-07-25

  • Fixed file name matching not working.
  • Fixed file extensions being case sensitive.
nixinova
published 1.2.4 •

Changelog

Source

1.2.4

2021-07-22

  • Added type definitions due to TypeScript rewrite.
nixinova
published 1.2.3 •

Changelog

Source

1.2.3

2021-07-21

  • 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.
nixinova
published 1.2.2 •

Changelog

Source

1.2.2

2021-07-21

  • 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.
nixinova
published 1.2.1 •

Changelog

Source

1.2.1

2021-06-24

  • 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.
nixinova
published 1.2.0 •

Changelog

Source

1.2.0

2021-06-06

  • Added gitattributes checking using option checkAttributes (Node) or --gitattributes (CLI).
  • Added unique language count and total bytes size to output as languages.total.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc