
Product
Introducing GitHub Actions Scanning Support
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
@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.
Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.