
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
@biomejs/version-utils
Advanced tools
This library provides helper functions to detect the version of Biome from the dependencies of a given project.
This library provides helper functions to detect the version of Biome from the dependencies of a given project.
[!WARNING] This is an internal library, and semver is not guaranteed to be followed, so depend on it at your own risk.
npm install @biomejs/version-utils
To detect the version of Biome from the dependencies of a given project, use
the detectFromDependencies helper function. This function will look for the
version of Biome in the dependencies of the lockfile for the project, and fall
back to the package.json file if no lockfile is found, or if it cannot be read.
import { detectFromDependencies } from '@biomejs/version-utils';
const version = detectFromDependencies('/path/to/project');
[!TIP] The lockfiles of the following package managers are supported:
- npm (
package-lock.json)- pnpm (
pnpm-lock.yaml)- yarn (
yarn.lock)Bun's lockfile is binary and cannot be easily read, so we fall back to the
package.jsonfile for Bun projects.
Copyright © 2024, Nicolas Hedger. Released under the MIT License.
FAQs
This library provides helper functions to detect the version of Biome from the dependencies of a given project.
The npm package @biomejs/version-utils receives a total of 126 weekly downloads. As such, @biomejs/version-utils popularity was classified as not popular.
We found that @biomejs/version-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.