@volar/source-map 2.3.0-alpha.5 → 2.3.0-alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/buildMappings.js +0 -1
- package/lib/sourceMap.d.ts +3 -4
- package/package.json +2 -2
package/lib/buildMappings.js
CHANGED
package/lib/sourceMap.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
export type CodeRangeKey = 'sourceOffsets' | 'generatedOffsets';
|
|
2
|
-
export interface Mapping<
|
|
3
|
-
source?: string;
|
|
2
|
+
export interface Mapping<Data = unknown> {
|
|
4
3
|
sourceOffsets: number[];
|
|
5
4
|
generatedOffsets: number[];
|
|
6
5
|
lengths: number[];
|
|
7
6
|
generatedLengths?: number[];
|
|
8
|
-
data:
|
|
7
|
+
data: Data;
|
|
9
8
|
}
|
|
10
|
-
export declare class SourceMap<Data =
|
|
9
|
+
export declare class SourceMap<Data = unknown> {
|
|
11
10
|
readonly mappings: Mapping<Data>[];
|
|
12
11
|
private sourceCodeOffsetsMemo;
|
|
13
12
|
private generatedCodeOffsetsMemo;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@volar/source-map",
|
|
3
|
-
"version": "2.3.0-alpha.
|
|
3
|
+
"version": "2.3.0-alpha.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"files": [
|
|
6
6
|
"**/*.js",
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"muggle-string": "^0.4.0"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "f3103e86be8d80cb36f66be4c054ef9a255c29b1"
|
|
18
18
|
}
|