@teselagen/range-utils 0.1.15 → 0.1.17
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/index.js +9 -2
- package/index.mjs +9 -2
- package/index.umd.js +9 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -6191,9 +6191,16 @@ function trimRangeByAnotherRange(rangeToBeTrimmed, trimmingRange, sequenceLength
|
|
6191
6191
|
}
|
6192
6192
|
__name(trimRangeByAnotherRange, "trimRangeByAnotherRange");
|
6193
6193
|
function adjustRangeToDeletionOfAnotherRange(rangeToBeAdjusted, anotherRange, maxLength) {
|
6194
|
-
const trimmedRange = trimRangeByAnotherRange(
|
6194
|
+
const trimmedRange = trimRangeByAnotherRange(
|
6195
|
+
rangeToBeAdjusted,
|
6196
|
+
anotherRange,
|
6197
|
+
maxLength
|
6198
|
+
);
|
6195
6199
|
if (trimmedRange) {
|
6196
|
-
const nonCircularDeletionRanges = splitRangeIntoTwoPartsIfItIsCircular(
|
6200
|
+
const nonCircularDeletionRanges = splitRangeIntoTwoPartsIfItIsCircular(
|
6201
|
+
anotherRange,
|
6202
|
+
maxLength
|
6203
|
+
);
|
6197
6204
|
nonCircularDeletionRanges.forEach(function(nonCircularDeletionRange) {
|
6198
6205
|
const deletionLength = nonCircularDeletionRange.end - nonCircularDeletionRange.start + 1;
|
6199
6206
|
if (trimmedRange.start > trimmedRange.end) {
|
package/index.mjs
CHANGED
@@ -6189,9 +6189,16 @@ function trimRangeByAnotherRange(rangeToBeTrimmed, trimmingRange, sequenceLength
|
|
6189
6189
|
}
|
6190
6190
|
__name(trimRangeByAnotherRange, "trimRangeByAnotherRange");
|
6191
6191
|
function adjustRangeToDeletionOfAnotherRange(rangeToBeAdjusted, anotherRange, maxLength) {
|
6192
|
-
const trimmedRange = trimRangeByAnotherRange(
|
6192
|
+
const trimmedRange = trimRangeByAnotherRange(
|
6193
|
+
rangeToBeAdjusted,
|
6194
|
+
anotherRange,
|
6195
|
+
maxLength
|
6196
|
+
);
|
6193
6197
|
if (trimmedRange) {
|
6194
|
-
const nonCircularDeletionRanges = splitRangeIntoTwoPartsIfItIsCircular(
|
6198
|
+
const nonCircularDeletionRanges = splitRangeIntoTwoPartsIfItIsCircular(
|
6199
|
+
anotherRange,
|
6200
|
+
maxLength
|
6201
|
+
);
|
6195
6202
|
nonCircularDeletionRanges.forEach(function(nonCircularDeletionRange) {
|
6196
6203
|
const deletionLength = nonCircularDeletionRange.end - nonCircularDeletionRange.start + 1;
|
6197
6204
|
if (trimmedRange.start > trimmedRange.end) {
|
package/index.umd.js
CHANGED
@@ -6193,9 +6193,16 @@ var __name = (target, value) => __defProp(target, "name", { value, configurable:
|
|
6193
6193
|
}
|
6194
6194
|
__name(trimRangeByAnotherRange, "trimRangeByAnotherRange");
|
6195
6195
|
function adjustRangeToDeletionOfAnotherRange(rangeToBeAdjusted, anotherRange, maxLength) {
|
6196
|
-
const trimmedRange = trimRangeByAnotherRange(
|
6196
|
+
const trimmedRange = trimRangeByAnotherRange(
|
6197
|
+
rangeToBeAdjusted,
|
6198
|
+
anotherRange,
|
6199
|
+
maxLength
|
6200
|
+
);
|
6197
6201
|
if (trimmedRange) {
|
6198
|
-
const nonCircularDeletionRanges = splitRangeIntoTwoPartsIfItIsCircular(
|
6202
|
+
const nonCircularDeletionRanges = splitRangeIntoTwoPartsIfItIsCircular(
|
6203
|
+
anotherRange,
|
6204
|
+
maxLength
|
6205
|
+
);
|
6199
6206
|
nonCircularDeletionRanges.forEach(function(nonCircularDeletionRange) {
|
6200
6207
|
const deletionLength = nonCircularDeletionRange.end - nonCircularDeletionRange.start + 1;
|
6201
6208
|
if (trimmedRange.start > trimmedRange.end) {
|