@tricoteuses/tisseuse 0.7.0 → 0.8.0
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/dist/index.js
CHANGED
|
@@ -3649,14 +3649,15 @@ function Te(e) {
|
|
|
3649
3649
|
return t.next({ start: 0, stop: 0 }), t;
|
|
3650
3650
|
}
|
|
3651
3651
|
function no(e, t) {
|
|
3652
|
-
|
|
3652
|
+
let i = t.map((n) => [n]);
|
|
3653
|
+
for (const { sourceMap: n } of [
|
|
3653
3654
|
...We(e)
|
|
3654
3655
|
].reverse())
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3656
|
+
i = Sn(
|
|
3657
|
+
n,
|
|
3658
|
+
i
|
|
3658
3659
|
);
|
|
3659
|
-
return
|
|
3660
|
+
return i;
|
|
3660
3661
|
}
|
|
3661
3662
|
function Sn(e, t) {
|
|
3662
3663
|
const i = [];
|
|
@@ -44,7 +44,8 @@ export declare function chainTransformers(title: string, transformers: Array<Tra
|
|
|
44
44
|
export declare function newReverseTransformationsMergedFromPositionsIterator(transformation: Transformation): Generator<FragmentReverseTransformation, void, FragmentPosition | undefined>;
|
|
45
45
|
/**
|
|
46
46
|
* Converts an array of transformed (e.g. simplified) positions to an array
|
|
47
|
-
*
|
|
47
|
+
* of arrays of original (e.g. HTML) positions (one array of original positions
|
|
48
|
+
* for each transformed position)
|
|
48
49
|
*
|
|
49
50
|
* Each position is split to ensure that it doesn't contain any HTML element.
|
|
50
51
|
*
|
|
@@ -52,7 +53,7 @@ export declare function newReverseTransformationsMergedFromPositionsIterator(tra
|
|
|
52
53
|
*
|
|
53
54
|
* Use this function for diffs.
|
|
54
55
|
*/
|
|
55
|
-
export declare function reversePositionsSplitFromPositions(transformation: Transformation,
|
|
56
|
+
export declare function reversePositionsSplitFromPositions(transformation: Transformation, transformedPositions: FragmentPosition[]): Array<FragmentPosition[]>;
|
|
56
57
|
/**
|
|
57
58
|
* Converts an array of transformed (e.g. simplified) positions to an array
|
|
58
59
|
* of original (e.g. HTML) positions
|