Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/istanbul-lib-source-maps

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/istanbul-lib-source-maps - npm Package Compare versions

Comparing version 1.2.2 to 4.0.0

50

istanbul-lib-source-maps/index.d.ts

@@ -1,4 +0,5 @@

// Type definitions for istanbul-lib-source-maps 1.2
// Type definitions for istanbul-lib-source-maps 4.0
// Project: https://istanbul.js.org, https://github.com/istanbuljs/istanbuljs
// Definitions by: Jason Cheatham <https://github.com/jason0x43>
// Sridhar Mallela <https://github.com/sridharmallela>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -10,35 +11,34 @@ // TypeScript Version: 2.4

export function createSourceMapStore(
options?: Partial<MapStoreOptions>
): MapStore;
export function createSourceMapStore(options?: Partial<MapStoreOptions>): MapStore;
export interface MapStoreOptions {
verbose: boolean;
baseDir: string;
sourceStore: 'memory' | 'file';
tmpdir: string;
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;
};
};
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;
transformCoverage(
coverageMap: CoverageMap
): { map: CoverageMap; sourceFinder(path: string): string };
dispose(): void;
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): CoverageMap;
dispose(): void;
}
export class SourceStore {
getSource(filepath: string): string | null;
registerSource(filepath: string, sourceText: string): void;
getSource(filepath: string): string | null;
registerSource(filepath: string, sourceText: string): void;
}
{
"name": "@types/istanbul-lib-source-maps",
"version": "1.2.2",
"version": "4.0.0",
"description": "TypeScript definitions for istanbul-lib-source-maps",

@@ -11,6 +11,11 @@ "license": "MIT",

"githubUsername": "jason0x43"
},
{
"name": "Sridhar Mallela",
"url": "https://github.com/sridharmallela",
"githubUsername": "sridharmallela"
}
],
"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -26,4 +31,4 @@ "type": "git",

},
"typesPublisherContentHash": "d0d8034ffe6782466e111008b43c118edd943f736c3407caddc4e520e6dd3a79",
"typeScriptVersion": "2.4"
"typesPublisherContentHash": "f9000553f016b5c49996b0dba9d7b859bb3dc9051b6203aec10ed11848dfd632",
"typeScriptVersion": "2.8"
}

@@ -5,13 +5,13 @@ # Installation

# Summary
This package contains type definitions for istanbul-lib-source-maps ( https://istanbul.js.org ).
This package contains type definitions for istanbul-lib-source-maps (https://istanbul.js.org).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-lib-source-maps
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/istanbul-lib-source-maps.
Additional Details
* Last updated: Thu, 25 Apr 2019 23:07:44 GMT
* Dependencies: @types/istanbul-lib-coverage, @types/source-map
### Additional Details
* Last updated: Tue, 31 Mar 2020 22:17:29 GMT
* Dependencies: [@types/istanbul-lib-coverage](https://npmjs.com/package/@types/istanbul-lib-coverage), [@types/source-map](https://npmjs.com/package/@types/source-map)
* Global values: none
# Credits
These definitions were written by Jason Cheatham <https://github.com/jason0x43>.
These definitions were written by [Jason Cheatham](https://github.com/jason0x43), and [Sridhar Mallela](https://github.com/sridharmallela).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc