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

linguist-js

Package Overview
Dependencies
Maintainers
0
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
7

2.2.0

Diff

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

Changelog

Source

2.0.1

2021-09-08

  • Changed file paths in CLI output JSON to be absolute instead of relative (#3).
  • Fixed percentages in CLI output displaying NaN when the total byte count is 0.
nixinova
published 2.0.0 •

Changelog

Source

2.0.0

2021-09-05

  • Breaking: Changed output schema:
    • countfiles.count
    • resultsfiles.results
    • languages.alllanguages.results
    • languages.data → (deleted)
    • languages.markup → (deleted)
    • languages.programming → (deleted)
    • languages.prose → (deleted)
    • languages.unknownunknown.{filenames|extensions}
    • languages.total.uniquelanguages.count
    • languages.total.byteslanguages.bytes
    • languages.total.unknownBytesunknown.bytes
  • Breaking: Changed the default CLI output format from JSON to summary.
  • Breaking: Changed CLI array arguments to require delimiters to be spaces instead of other characters.
  • Breaking: Changed the name of option ignoreFiles to ignoredFiles.
  • Breaking: Changed the name of option ignoreLanguages to ignoredLanguages.
  • Added CLI option --json to display the results as JSON (the previous default behavior).
  • Removed CLI option --summary as it is now the default output format.
  • Removed CLI option --files to list all files parsed.
  • Removed deprecated option ignore which was superceded by ignoredFiles.
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