⚝
One Hat Cyber Team
⚝
Your IP:
172.22.0.1
Server IP:
151.80.20.34
Server:
Linux 794f04d97d5e 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
Server Software:
Apache/2.4.62 (Debian)
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
nodejs
/
@types
/
istanbul-lib-instrument
/
View File Name :
index.d.ts
// Type definitions for istanbul-lib-instrument 1.7 // Project: https://istanbul.js.org, https://github.com/istanbuljs/istanbuljs // Definitions by: Jason Cheatham <https://github.com/jason0x43> // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 import { FileCoverage, FileCoverageData, Range } from 'istanbul-lib-coverage'; import { RawSourceMap } from 'source-map'; import * as babelTypes from 'babel-types'; export interface InstrumenterOptions { coverageVariable: string; preserveComments: boolean; compact: boolean; esModules: boolean; autoWrap: boolean; produceSourceMap: boolean; sourceMapUrlCallback(filename: string, url: string): void; debug: boolean; } export type InstrumenterCallback = (error: Error | null, code: string) => void; export class Instrumenter { fileCoverage: FileCoverage; sourceMap: RawSourceMap | null; opts: InstrumenterOptions; constructor(options?: Partial<InstrumenterOptions>); normalizeOpts(options?: Partial<InstrumenterOptions>): InstrumenterOptions; instrumentSync( code: string, filename: string, inputSourceMap?: RawSourceMap ): string; instrument( code: string, filenameOrCallback: string | InstrumenterCallback, callback?: InstrumenterCallback, inputSourceMap?: RawSourceMap ): void; lastFileCoverage(): FileCoverageData; lastSourceMap(): RawSourceMap; } export function createInstrumenter( options?: Partial<InstrumenterOptions> ): Instrumenter; export interface InitialCoverage { path: string; hash: string; gcv: any; coverageData: any; } export function readInitialCoverage(code: string): InitialCoverage; export interface Visitor { enter(path: string): void; exit(path: string): { fileCoverage: FileCoverage; sourceMappingURL: string }; } export interface VisitorOptions { coverageVariable: string; inputSourceMap: RawSourceMap; } export function programVisitor( types: typeof babelTypes, sourceFilePath?: string, opts?: Partial<VisitorOptions> ): Visitor;