New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@types/issue-parser

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/issue-parser

TypeScript definitions for issue-parser

Source
npmnpm
Version
3.0.4
Version published
Weekly downloads
4.1K
93.95%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/issue-parser

Summary

This package contains type definitions for issue-parser (https://github.com/pvdlg/issue-parser#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/issue-parser.

index.d.ts

declare function issueParser(
    authOptions?: issueParser.Options,
    extension?: issueParser.Overrides,
): issueParser.Parser;

declare namespace issueParser {
    type Parser = (text: string) => Result;
    interface Overrides {
        actions?: {
            [type: string]: ReadonlyArray<string>;
        } | undefined;
        delimiters?: string | ReadonlyArray<string> | undefined;
        mentionsPrefixes?: string | ReadonlyArray<string> | undefined;
        issuePrefixes?: string | ReadonlyArray<string> | undefined;
        hosts?: string | ReadonlyArray<string> | undefined;
        issueURLSegments?: string | ReadonlyArray<string> | undefined;
        overrides?: string | ReadonlyArray<string> | undefined;
    }
    type Options = "github" | "gitlab" | "bitbucket" | "waffle" | Overrides;
    interface Reference {
        raw: string;
        slug: string | undefined;
        prefix: string | undefined;
        issue: string;
    }
    interface Mention {
        raw: string;
        prefix: string;
        user: string;
    }
    interface Action {
        raw: string;
        action: string;
        slug: string | undefined;
        prefix: string | undefined;
        issue: string;
    }
    interface Actions {
        [action: string]: ReadonlyArray<Action>;
    }
    interface Result {
        refs: ReadonlyArray<Reference>;
        mentions: ReadonlyArray<Mention>;
        actions: Actions;
        allRefs: Array<Reference | Action>;
    }
}

export = issueParser;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Leko.

FAQs

Package last updated on 07 Nov 2023

Did you know?

Socket

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.

Install

Related posts