Skip to content

Bump linguist-js from 2.9.2 to 3.0.2#659

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/linguist-js-3.0.2
Open

Bump linguist-js from 2.9.2 to 3.0.2#659
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/linguist-js-3.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 6, 2026

Copy link
Copy Markdown

Bumps linguist-js from 2.9.2 to 3.0.2.

Release notes

Sourced from linguist-js's releases.

3.0.2

Version 3.0.2 of LinguistJS.

Install on npm using npm install linguist-js@3.0.2.

Changelog

View commits: Nixinova/LinguistJS@3.0.1...3.0.2

  • Fixed binary-extensions import failure (#45).
  • Fixed ignoredFiles not being applied when in raw content mode.
  • Fixed gitignores not applying to subfolders.

3.0.1

Version 3.0.1 of LinguistJS

Install on npm using npm install linguist-js@3.0.1.

Changelog

View commits: Nixinova/LinguistJS@3.0.0...3.0.1

  • Fixed generated checks not working in offline mode.
  • Fixed heuristics featuring referenced named groups not being applied.
    • This resolves misclassification of Hosts File and Adblock Filter List files

3.0.0

Version 3.0 of LinguistJS is finally here!

Plan: #31, PR: #39

Install on npm using npm install linguist-js@3.0.0.

Overview

This release revamps the entry points for the program by splitting them by functionality (analysing raw content vs analysing a folder on disc), changes the output schema to be more sensible, and updates outdated dependencies.

✨ Keeping up with the times, this version includes a vibe–major refactor to the codebase – this doesn't affect usage of this tool at all, but does make it significantly easier to maintain.

Changelog

Full Changelog: Nixinova/LinguistJS@2.9.2...3.0.0, Nixinova/LinguistJS@3.0.0-pre...3.0.0

Breaking changes

  • Removed default-exported analyse function.
    • Replaced with separate functions analyseFolders and analyseRawContent.
  • Removed type, parent and color keys from individual language results.
  • Removed files.alternatives.
  • Removed lines.code.
  • Removed analyze CLI arg alias. British spelling only for the api now.
  • Output is now an ES 2025 module
    • Must be imported using import ... from 'linguist-js' instead of const ... = require('linguist-js')
  • Package now requires Node 26+.

New features

  • Added repositories output object, featuring all languages' metadata.
  • Added count property per language result.

... (truncated)

Changelog

Sourced from linguist-js's changelog.

3.0.2

2026-07-06

  • Fixed binary-extensions import failure (#45).
  • Fixed ignoredFiles not being applied when in raw content mode.
  • Fixed gitignores not applying to subfolders.

3.0.1

2026-05-27

  • Fixed generated checks not working in offline mode.
  • Fixed heuristics featuring referenced named groups not being applied.

3.0.0

3.0.0 (release)

2026-05-26

  • Removed files.alternatives from the output.
  • Changed candidate resolution to use the same prioritisation as github-linguist does.
  • Fixed childLanguages parameter always being enabled.
  • Package now requires Node 26.

3.0.0-pre

2026-05-20

  • Added repositories output object, featuring all languages' metadata.
  • Added count property per language result.
  • Changed entry point from a commonJS default export overloads for filesystem and raw content to an ESModule export object containing separate analyseFolders and analyseRawContent functions.
  • Renamed CLI argument analyze to analyse to match the entry point function names.
  • Removed type, parent and color keys from individual language results.
  • Removed analyze CLI arg alias.
  • Removed lines.code.
  • Changed transpilation to target ES2025 and Node 24.0
  • Changed CLI welcome message.
  • Fixed ReDoS vulnerabilities.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [linguist-js](https://github.com/Nixinova/Linguist) from 2.9.2 to 3.0.2.
- [Release notes](https://github.com/Nixinova/Linguist/releases)
- [Changelog](https://github.com/Nixinova/LinguistJS/blob/main/changelog.md)
- [Commits](Nixinova/LinguistJS@2.9.2...3.0.2)

---
updated-dependencies:
- dependency-name: linguist-js
  dependency-version: 3.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants