
Security News
libxml2 Maintainer Ends Embargoed Vulnerability Reports, Citing Unsustainable Burden
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
@types/pretty-quick
Advanced tools
TypeScript definitions for pretty-quick
npm install --save @types/pretty-quick
This package contains type definitions for pretty-quick (https://github.com/azz/pretty-quick#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pretty-quick.
import { ResolveConfigOptions } from "prettier";
declare namespace prettyQuick {
interface Options {
config?: ResolveConfigOptions | undefined;
since?: string | undefined;
/** @default false */
staged?: boolean | undefined;
pattern?: string | string[] | undefined;
/** @default true */
restage?: boolean | undefined;
/**
* @default 'master' | 'default'
*/
branch?: string | undefined;
bail?: boolean | undefined;
check?: boolean | undefined;
ignorePath?: string | undefined;
verbose?: boolean | undefined;
onFoundSinceRevision?: ((name: string, revision: string) => void) | undefined;
onFoundChangedFiles?: ((changedFiles: string[]) => void) | undefined;
onPartiallyStagedFile?: ((file: string) => void) | undefined;
onExamineFile?: ((file: string) => void) | undefined;
onCheckFile?: ((file: string, isFormatted: boolean) => void) | undefined;
onWriteFile?: ((file: string) => void) | undefined;
// ...args support
[key: string]: any;
}
interface Results {
readonly success: boolean;
readonly errors: string[];
}
}
/**
* Runs Prettier on your changed files.
* Supported source control managers:
* * Git
* * Mercurial
*/
declare function prettyQuick(currentDirectory: string, options?: prettyQuick.Options): prettyQuick.Results;
export = prettyQuick;
These definitions were written by Piotr Błażejewicz.
FAQs
TypeScript definitions for pretty-quick
The npm package @types/pretty-quick receives a total of 4,833 weekly downloads. As such, @types/pretty-quick popularity was classified as popular.
We found that @types/pretty-quick 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
Libxml2’s solo maintainer drops embargoed security fixes, highlighting the burden on unpaid volunteers who keep critical open source software secure.
Research
Security News
Socket investigates hidden protestware in npm packages that blocks user interaction and plays the Ukrainian anthem for Russian-language visitors.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.