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.5.3 to 2.5.4

2

dist/index.js

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

}
const fullPath = relPath(folder) + '/' + path;
const fullPath = path_1.default.join(relPath(folder), path);
overrides[fullPath] = forcedLang;

@@ -129,0 +129,0 @@ }

@@ -36,3 +36,3 @@ import { Category, Language } from './types';

}
export declare type VendorSchema = string[];
export type VendorSchema = string[];
export {};

@@ -1,7 +0,7 @@

export declare type LanguageResult = string | null;
export declare type Language = string;
export declare type Category = 'data' | 'markup' | 'programming' | 'prose';
export declare type FilePath = string;
export declare type Bytes = Integer;
export declare type Integer = number;
export type LanguageResult = string | null;
export type Language = string;
export type Category = 'data' | 'markup' | 'programming' | 'prose';
export type FilePath = string;
export type Bytes = Integer;
export type Integer = number;
export interface Options {

@@ -8,0 +8,0 @@ fileContent?: string | string[];

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

@@ -15,4 +15,4 @@ "main": "dist/index.js",

"download-files": "npx tsx@2 build/download-files",
"prepare": "npm run download-files && npm test && npm run perf",
"perf": "tsc && node test/perf",
"pre-publish": "npm run download-files && npm test && npm run test:perf",
"test:perf": "tsc && node test/perf",
"test": "tsc && node test/folder && echo --- && node test/unit"

@@ -44,7 +44,7 @@ },

"binary-extensions": "^2.2.0",
"commander": "^9.4.0",
"commander": "^9.5.0",
"common-path-prefix": "^3.0.0",
"cross-fetch": "^3.1.5",
"ignore": "^5.2.0",
"isbinaryfile": "^4.0.8",
"ignore": "^5.2.4",
"isbinaryfile": "^4.0.8 <5",
"js-yaml": "^4.1.0",

@@ -55,6 +55,6 @@ "node-cache": "^5.1.2"

"@types/js-yaml": "^4.0.5",
"@types/node": "ts4.8",
"deep-object-diff": "^1.1.7",
"typescript": "~4.8.2"
"@types/node": "ts4.9",
"deep-object-diff": "^1.1.9",
"typescript": "~4.9.4"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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