Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.