New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

linguist-js

Package Overview
Dependencies
Maintainers
0
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linguist-js - npm Package Versions

1
7

2.3.0

Diff

Changelog

Source

2.3.0

2022-02-13

  • Added option fileContent to provide manual file content to analyse instead of reading from a folder on disk.
nixinova
published 2.2.1 •

Changelog

Source

2.2.1

2022-02-11

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

Changelog

Source

2.2.0

2022-01-06

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

Changelog

Source

2.1.4

2021-09-29

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

Changelog

Source

2.1.3

2021-09-19

  • Changed gitattributes parsing to support text and binary parameters.
  • Fixed a crash occurring when compiling regular expressions.
nixinova
published 2.1.2 •

Changelog

Source

2.1.2

2021-09-14

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

Changelog

Source

2.1.1

2021-09-12

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

Changelog

Source

2.1.0

2021-09-11

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

Changelog

Source

2.0.3

2021-09-11

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

Changelog

Source

2.0.2

2021-09-09

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