@algoux/standard-ranklist-utils 0.2.7 → 0.2.8

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.cjs CHANGED
@@ -574,9 +574,9 @@ function genSeriesCalcFns(series, rows, ranks, officialRanks) {
574
574
  const shouldInclude = filterTests.every((test) => test(row));
575
575
  if (shouldInclude) {
576
576
  currentFilteredRows.push(row);
577
- currentRank++;
578
577
  const oldRank = officialRanks[index];
579
578
  if (oldRank !== null) {
579
+ currentRank++;
580
580
  if (currentOfficialRankOld !== oldRank) {
581
581
  currentOfficialRank2 = currentRank;
582
582
  currentOfficialRankOld = oldRank;
package/dist/index.mjs CHANGED
@@ -572,9 +572,9 @@ function genSeriesCalcFns(series, rows, ranks, officialRanks) {
572
572
  const shouldInclude = filterTests.every((test) => test(row));
573
573
  if (shouldInclude) {
574
574
  currentFilteredRows.push(row);
575
- currentRank++;
576
575
  const oldRank = officialRanks[index];
577
576
  if (oldRank !== null) {
577
+ currentRank++;
578
578
  if (currentOfficialRankOld !== oldRank) {
579
579
  currentOfficialRank2 = currentRank;
580
580
  currentOfficialRankOld = oldRank;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algoux/standard-ranklist-utils",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "author": "bLue",
5
5
  "keywords": [
6
6
  "standard ranklist",