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 1.9.0 to 1.9.1

2

dist/cli.js

@@ -10,4 +10,2 @@ "use strict";

const index_1 = __importDefault(require("./index"));
if (typeof commander_1.program === 'undefined')
throw `Dependency 'commander' is not installed.`;
commander_1.program

@@ -14,0 +12,0 @@ .name('linguist --analyze')

2

dist/index.js

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

for (const [file, lang] of Object.entries(finalResults)) {
if (!hiddenCategories.some(cat => lang && langData[lang].type === cat))
if (!hiddenCategories.some(cat => { var _a; return lang && ((_a = langData[lang]) === null || _a === void 0 ? void 0 : _a.type) === cat; }))
continue;

@@ -201,0 +201,0 @@ delete finalResults[file];

{
"name": "linguist-js",
"version": "1.9.0",
"version": "1.9.1",
"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",

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

CLI usage requires `commander`, which is marked as an optional dependency.
If an error saying `Cannot find module 'commander'` is thrown, run `npm install commander --no-save`.
```

@@ -112,0 +115,0 @@ linguist --analyze [<folder>] [<...options>]

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