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 Compare versions

Comparing version 2.1.1 to 2.1.2

6

dist/cli.js

@@ -57,3 +57,3 @@ "use strict";

const totalBytes = languages.bytes;
console.log(`Analysed ${files.bytes.toLocaleString()} B from ${files.count} files with linguist-js`);
console.log(`\n Analysed ${files.bytes.toLocaleString()} B from ${files.count} files with linguist-js`);
console.log(`\n Language analysis results:`);

@@ -67,3 +67,3 @@ let i = 0;

bytes: bytes.toLocaleString().padStart(10, ' '),
icon: colouredMsg(hexToRgb(color !== null && color !== void 0 ? color : '#eee'), '\u2588'),
icon: colouredMsg(hexToRgb(color !== null && color !== void 0 ? color : '#ededed'), '\u2588'),
};

@@ -79,3 +79,3 @@ console.log(` ${fmtd.index}. ${fmtd.icon} ${fmtd.lang} ${fmtd.percent}% ${fmtd.bytes} B`);

for (const [ext, bytes] of Object.entries(unknown.extensions)) {
console.log(` '.${ext}': ${bytes.toLocaleString()} B`);
console.log(` '${ext}': ${bytes.toLocaleString()} B`);
}

@@ -82,0 +82,0 @@ console.log(` Total: ${unknown.bytes.toLocaleString()} B`);

{
"name": "linguist-js",
"version": "2.1.1",
"version": "2.1.2",
"description": "Analyse languages used in a folder. Powered by GitHub Linguist, although it doesn't need to be installed.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -79,4 +79,4 @@ [![Latest version](https://img.shields.io/github/v/release/Nixinova/Linguist?label=latest%20version&style=flat-square)](https://github.com/Nixinova/Linguist/releases)

- File paths in the output use only forward slashes as delimiters, even on Windows.
- Do not rely on any language classification output from Linguist being immutable between runs.
Language data is fetched each run from the latest classifications of `github-linguist`.
- Do not rely on any language classification output from Linguist being unchanged between runs.
Language data is fetched each run from the latest classifications of [`github-linguist`](https://github.com/github/linguist).
This data is subject to change at any time and may change the results of a run even when using the same version of Linguist.

@@ -83,0 +83,0 @@

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