@vuedx/shared
Advanced tools
Comparing version 0.7.5-next-1664852417.0 to 0.7.5-next-1665816659.0
export interface Disposable { | ||
dispose(): void | Promise<void>; | ||
dispose(): void; | ||
} | ||
//# sourceMappingURL=disposable.d.ts.map |
@@ -28,6 +28,14 @@ export declare type SourceMapSegment = [generatedColumn: number] | [ | ||
} | ||
declare class LineColumnMapper { | ||
private readonly offsets; | ||
constructor(source: string); | ||
positionAt(position: number): { | ||
line: number; | ||
column: number; | ||
}; | ||
offsetAt(line: number, column: number): number; | ||
} | ||
export declare class SourceTransformer { | ||
private readonly source; | ||
private readonly sourceMap; | ||
private sourceLineColumnMapper?; | ||
private code; | ||
@@ -39,2 +47,4 @@ private line; | ||
append(code: string, sourceMap?: SourceMapLike): void; | ||
private _sourceLineColumnMapper?; | ||
get sourceLineColumnMapper(): LineColumnMapper; | ||
clone(start: number, end: number): void; | ||
@@ -41,0 +51,0 @@ end(): { |
{ | ||
"name": "@vuedx/shared", | ||
"version": "0.7.5-next-1664852417.0", | ||
"version": "0.7.5-next-1665816659.0", | ||
"main": "lib/index.cjs", | ||
@@ -5,0 +5,0 @@ "module": "lib/index.mjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
418945
3897