minotor 9.0.1 → 9.0.2

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
- ## [9.0.1](https://github.com/aubryio/minotor/compare/v9.0.0...v9.0.1) (2025-11-17)
1
+ ## [9.0.2](https://github.com/aubryio/minotor/compare/v9.0.1...v9.0.2) (2025-11-18)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * downgrade compiler target to be compatible with older browsers ([#53](https://github.com/aubryio/minotor/issues/53)) ([c4d054d](https://github.com/aubryio/minotor/commit/c4d054da4f0ffd1dad104d81ba678087c1787d78))
6
+ * compare transfer destination with global earliest arrival ([#54](https://github.com/aubryio/minotor/issues/54)) ([58eeba9](https://github.com/aubryio/minotor/commit/58eeba98c4e606f03c5b17cb4f7221b127f54631))
package/dist/cli.mjs CHANGED
@@ -21854,7 +21854,7 @@ class Router {
21854
21854
  transferTime = options.minTransferTime;
21855
21855
  }
21856
21856
  const arrivalAfterTransfer = currentArrival.arrival.plus(transferTime);
21857
- const originalArrival = (_b = (_a = arrivalsAtCurrentRound.get(transfer.destination)) === null || _a === void 0 ? void 0 : _a.arrival) !== null && _b !== void 0 ? _b : UNREACHED;
21857
+ const originalArrival = (_b = (_a = routingState.earliestArrivals.get(transfer.destination)) === null || _a === void 0 ? void 0 : _a.arrival) !== null && _b !== void 0 ? _b : UNREACHED;
21858
21858
  if (arrivalAfterTransfer.isBefore(originalArrival)) {
21859
21859
  arrivalsAtCurrentRound.set(transfer.destination, {
21860
21860
  arrival: arrivalAfterTransfer,