Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@types/istanbul-lib-source-maps
Advanced tools
TypeScript definitions for istanbul-lib-source-maps
npm install --save @types/istanbul-lib-source-maps
This package contains type definitions for istanbul-lib-source-maps (https://istanbul.js.org).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-lib-source-maps.
import { CoverageMap } from "istanbul-lib-coverage";
import { RawSourceMap } from "source-map";
export function createSourceMapStore(options?: Partial<MapStoreOptions>): MapStore;
export interface MapStoreOptions {
verbose: boolean;
baseDir: string;
sourceStore: "memory" | "file";
tmpdir: string;
}
export interface MapStore {
baseDir: string | null;
verbose: boolean;
sourceStore: SourceStore;
data: {
[filepath: string]: {
type: string;
data: any;
};
};
registerURL(transformedFilePath: string, sourceMapUrl: string): void;
registerMap(filename: string, sourceMap: RawSourceMap): void;
getSourceMapSync(filePath: string): any;
addInputSourceMapsSync(coverageData: any): void;
sourceFinder(filePath: string): string;
transformCoverage(coverageMap: CoverageMap): Promise<CoverageMap>;
dispose(): void;
}
export class SourceStore {
getSource(filepath: string): string | null;
registerSource(filepath: string, sourceText: string): void;
}
These definitions were written by Jason Cheatham, and Sridhar Mallela.
FAQs
TypeScript definitions for istanbul-lib-source-maps
The npm package @types/istanbul-lib-source-maps receives a total of 25,768 weekly downloads. As such, @types/istanbul-lib-source-maps popularity was classified as popular.
We found that @types/istanbul-lib-source-maps 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.