
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
@types/apidoc
Advanced tools
TypeScript definitions for apidoc
npm install --save @types/apidoc
This package contains type definitions for apidoc (https://github.com/apidoc/apidoc).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/apidoc.
export interface ParsedFile {
filename: string;
extension: string;
src: string;
blocks: Array<{ global: any; local: any }>;
}
export interface DocOptions {
excludeFilters?: string[] | undefined;
includeFilters?: string[] | undefined;
src?: string | undefined;
dest?: string | undefined;
template?: string | undefined;
templateSingleFile?: string | undefined;
config?: string | undefined;
apiprivate?: boolean | undefined;
verbose?: boolean | undefined;
single?: boolean | undefined;
debug?: boolean | undefined;
colorize?: boolean | undefined;
filters?: Record<string, string> | {
[keys: string]: {
postFilter: (parsedFiles: ParsedFile[], parsedFilenames: string[]) => void;
};
} | undefined;
languages?: Record<string, string> | {
[language: string]: {
docBlocksRegExp: RegExp;
inlineRegExp: RegExp;
};
} | undefined;
parsers?: Record<string, string> | {
parse: (content: string, source: string, messages: string) => {
name: string;
title: string;
description: string;
};
path: string;
getGroup?: (() => string) | undefined;
markdownFields?: string[] | undefined;
markdownRemovePTags?: string[] | undefined;
} | undefined;
workers?: Record<string, string> | {
[keys: string]: any;
} | undefined;
silent?: boolean | undefined;
dryRun?: boolean | undefined;
markdown?: boolean | undefined;
lineEnding?: string | undefined;
encoding?: string | undefined;
copyDefinitions?: boolean | undefined;
filterBy?: string | string[] | undefined;
}
export function createDoc(
options: DocOptions,
): boolean | { data: Array<Record<string, any>>; project: Record<string, any> };
These definitions were written by rigwild, hoonga, and NicolasCARPi.
FAQs
TypeScript definitions for apidoc
The npm package @types/apidoc receives a total of 3,326 weekly downloads. As such, @types/apidoc popularity was classified as popular.
We found that @types/apidoc 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
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.