
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@types/git-raw-commits
Advanced tools
TypeScript definitions for git-raw-commits
npm install --save @types/git-raw-commits
This package contains type definitions for git-raw-commits (https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/git-raw-commits#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-raw-commits.
/// <reference types="node" />
import * as Stream from "stream";
/**
* Please check the available options at http://git-scm.com/docs/git-log.
*
* @remarks
* Single dash arguments are not supported because of https://github.com/sindresorhus/dargs/blob/master/index.js#L5.
*
* @remarks
* For `<revision range>` we can also use `<from>..<to>` pattern, and this
* module has the following extra options for shortcut of this pattern:
*
* * `from`
* * `to`
*
* This module also have the following additions:
*
* * `format`
* * `debug`
* * `path`
*/
export interface GitOptions {
/**
* Options to pass to `git` `childProcess`. Current working directory to run git.
*
* @default
* process.cwd()
*/
cwd?: string;
/**
* A function to get debug information.
*
* @default
* false
*/
debug?: boolean | ((message: any) => void);
/**
* Ignore commits that match provided string or RegExp.
*/
ignore?: string | RegExp;
/**
* Only commits that are modifying this path.
*/
path?: string | string[];
/**
* Starting commit reference or hash.
*
* @default
* ''
*/
from?: string;
/**
* Ending commit reference or hash.
*
* @default
* 'HEAD'
*/
to?: string;
/**
* Format of the commit.
*
* @default
* '%B'
*/
format?: string;
[options: string]: any;
}
/**
* Get raw commits from git-log.
*/
export function getRawCommits(options?: GitOptions): AsyncGenerator<string, void, unknown>;
/**
* Get raw commits stream from git-log.
*/
export function getRawCommitsStream(options?: GitOptions): Stream.Readable;
These definitions were written by Jason Kwok.
FAQs
TypeScript definitions for git-raw-commits
The npm package @types/git-raw-commits receives a total of 9,602 weekly downloads. As such, @types/git-raw-commits popularity was classified as popular.
We found that @types/git-raw-commits demonstrated a healthy version release cadence and project activity because the last version was released less than 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.