
Security News
Django Joins curl in Pushing Back on AI Slop Security Reports
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
@types/parse-node-version
Advanced tools
TypeScript definitions for parse-node-version
npm install --save @types/parse-node-version
This package contains type definitions for parse-node-version (https://github.com/gulpjs/parse-node-version#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-node-version.
interface ParsedNodeVersion {
/**
* Major version
*/
major: number;
/**
* Minor version
*/
minor: number;
/**
* Patch version
*/
patch: number;
/**
* Pre-release version
*/
pre: string;
/**
* Build information
*/
build: string;
}
/**
* Takes a Node version string (usually `process.version`) and returns an object
* with the `major`/`minor`/`patch` (which will all be numbers) and `pre`/`build`
* keys (which will always be a string). If the version doesn't contain any
* pre-release or build information, the properties will be returned
* as empty string.
*
* @param nodeVersionString Node version string
*/
declare function parseNodeVersion(nodeVersionString: string): ParsedNodeVersion;
export = parseNodeVersion;
These definitions were written by Ivan Nikolić.
FAQs
TypeScript definitions for parse-node-version
We found that @types/parse-node-version demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.