From 485d28b90a7df58392c7b922f9d2156edb9b81db Mon Sep 17 00:00:00 2001 From: miles-grant-ibigroup Date: Fri, 8 Nov 2024 12:38:42 -0500 Subject: [PATCH 1/2] restore missing otp1 fields --- lib/components/map/connected-transit-vehicle-overlay.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/components/map/connected-transit-vehicle-overlay.js b/lib/components/map/connected-transit-vehicle-overlay.js index 0a52f1c1e..9eed2356d 100644 --- a/lib/components/map/connected-transit-vehicle-overlay.js +++ b/lib/components/map/connected-transit-vehicle-overlay.js @@ -142,6 +142,8 @@ const mapStateToProps = (state) => { vehicle.routeShortName = vehicle.routeShortName || route?.shortName vehicle.routeLongName = vehicle.routeLongName || route?.longName vehicle.textColor = route?.routeTextColor + + vehicle.lastUpdated = vehicle?.seconds return vehicle }) From 36e54f00e092aa8d229502ac41af846462046649 Mon Sep 17 00:00:00 2001 From: miles-grant-ibigroup Date: Wed, 13 Nov 2024 14:49:20 -0500 Subject: [PATCH 2/2] chore(deps): update otp-ui --- package.json | 10 ++++----- yarn.lock | 61 +++++++++++++++++++++++++++++----------------------- 2 files changed, 39 insertions(+), 32 deletions(-) diff --git a/package.json b/package.json index 8c7af7b2e..898bc9182 100644 --- a/package.json +++ b/package.json @@ -43,14 +43,14 @@ "@bugsnag/plugin-react": "^7.17.0", "@floating-ui/react": "^0.19.2", "@opentripplanner/base-map": "4.0.0", - "@opentripplanner/building-blocks": "2.0.0", + "@opentripplanner/building-blocks": "2.1.0", "@opentripplanner/core-utils": "12.0.1", "@opentripplanner/endpoints-overlay": "3.0.1", "@opentripplanner/from-to-location-picker": "3.0.0", "@opentripplanner/geocoder": "^3.0.2", "@opentripplanner/humanize-distance": "^1.2.0", "@opentripplanner/icons": "3.0.1", - "@opentripplanner/itinerary-body": "6.0.1", + "@opentripplanner/itinerary-body": "6.0.3", "@opentripplanner/location-field": "3.0.0", "@opentripplanner/location-icon": "^1.4.1", "@opentripplanner/map-popup": "5.1.0", @@ -60,10 +60,10 @@ "@opentripplanner/route-viewer-overlay": "3.0.0", "@opentripplanner/stop-viewer-overlay": "3.0.0", "@opentripplanner/stops-overlay": "6.0.0", - "@opentripplanner/transit-vehicle-overlay": "5.0.0", - "@opentripplanner/transitive-overlay": "4.0.0", + "@opentripplanner/transit-vehicle-overlay": "5.0.1", + "@opentripplanner/transitive-overlay": "4.0.1", "@opentripplanner/trip-details": "6.0.0", - "@opentripplanner/trip-form": "4.1.0", + "@opentripplanner/trip-form": "4.1.1", "@opentripplanner/trip-viewer-overlay": "3.0.0", "@opentripplanner/vehicle-rental-overlay": "3.0.0", "@styled-icons/fa-regular": "^10.34.0", diff --git a/yarn.lock b/yarn.lock index fae1e042f..75e4f6c32 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2403,16 +2403,23 @@ maplibre-gl "^2.1.9" react-map-gl "^7.0.15" -"@opentripplanner/building-blocks@2.0.0", "@opentripplanner/building-blocks@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@opentripplanner/building-blocks/-/building-blocks-2.0.0.tgz#8282c01dff7db5c7e809f6ea91cb52df559a2f9d" - integrity sha512-N07rDaZL8fp552eI9/0j1udKjc0uOpvO0Wv1P19Ge0a4roques463MJgWJ026fbopRCi3uwbc/gYTlh4/ske9A== +"@opentripplanner/building-blocks@2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@opentripplanner/building-blocks/-/building-blocks-2.1.0.tgz#20d688dbc7a152256f571562199981099bde7820" + integrity sha512-Vnc/W2EGybIbzXXofthGVW8HN1o5ThW1+XjWquVlKlSb2xxruWscstz9frOWlbHg239SEdTpZUuaARwMWflVaA== + dependencies: + "@styled-icons/bootstrap" "^10.47.0" "@opentripplanner/building-blocks@^1.2.2": version "1.2.3" resolved "https://registry.yarnpkg.com/@opentripplanner/building-blocks/-/building-blocks-1.2.3.tgz#404e8f9038867d66d55f51adf8855b1326c51ed5" integrity sha512-I0AxiZrTZu+e7+av4u0tHW2ijqpxH0AkLHrhf75BHf1Ep2FOGxaul/v+8UT18mNYiM5eHNstOX3XiXaDjtCUaw== +"@opentripplanner/building-blocks@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@opentripplanner/building-blocks/-/building-blocks-2.0.0.tgz#8282c01dff7db5c7e809f6ea91cb52df559a2f9d" + integrity sha512-N07rDaZL8fp552eI9/0j1udKjc0uOpvO0Wv1P19Ge0a4roques463MJgWJ026fbopRCi3uwbc/gYTlh4/ske9A== + "@opentripplanner/core-utils@12.0.1": version "12.0.1" resolved "https://registry.yarnpkg.com/@opentripplanner/core-utils/-/core-utils-12.0.1.tgz#2bafb78133393213b4943c76fec5d46436c0fb6d" @@ -2535,10 +2542,10 @@ "@opentripplanner/core-utils" "^11.4.4" prop-types "^15.7.2" -"@opentripplanner/itinerary-body@6.0.1": - version "6.0.1" - resolved "https://registry.yarnpkg.com/@opentripplanner/itinerary-body/-/itinerary-body-6.0.1.tgz#74139536b34083af5b324fb94e69be267ea6bbeb" - integrity sha512-6Z+ZEW28MwtteOwZZUjkPkTnYQ0Aq1lMpfKMZW7F+OD6hfKhFBUx4NLMExTffXHswXQ3faYaHScOHxpalX73UQ== +"@opentripplanner/itinerary-body@6.0.3", "@opentripplanner/itinerary-body@^6.0.0": + version "6.0.3" + resolved "https://registry.yarnpkg.com/@opentripplanner/itinerary-body/-/itinerary-body-6.0.3.tgz#84573d20ac9cc1fc7f2d2e032fac5a072ac3e142" + integrity sha512-1qrH8hpR5Rr9KMGNnajI7GJyuoV+rogmyGqd5Z5DErZGp4luVzksIsnyW1IbxRslnV3bqKll+DH8lTXy4QIyZg== dependencies: "@opentripplanner/core-utils" "^12.0.0" "@opentripplanner/humanize-distance" "^1.2.0" @@ -2676,25 +2683,25 @@ "@opentripplanner/map-popup" "^4.0.0" flat "^5.0.2" -"@opentripplanner/transit-vehicle-overlay@5.0.0": - version "5.0.0" - resolved "https://registry.yarnpkg.com/@opentripplanner/transit-vehicle-overlay/-/transit-vehicle-overlay-5.0.0.tgz#1a3ea04abce38d65a21a9eaad8c5e0ac19a41100" - integrity sha512-N0vM89xozWTbbb63pBeZEZIbdlbgnP2K0qNJZ0vk87clJU0T7RxBtq/sdftBQ6CzB86AjXCCxfitCZH9HOD7/A== +"@opentripplanner/transit-vehicle-overlay@5.0.1": + version "5.0.1" + resolved "https://registry.yarnpkg.com/@opentripplanner/transit-vehicle-overlay/-/transit-vehicle-overlay-5.0.1.tgz#500f0d3e16823d0ebafce906bb4fa2184af69e7b" + integrity sha512-kHnzjFg8yWHc9iL7jO4ST2qJuSLq+KhV52A/+Fw2YtvXYou+gDLNHMNkJGePYBFLzUnzWZjwyiCfC7AyHEYvEg== dependencies: - "@opentripplanner/base-map" "^3.2.2" - "@opentripplanner/core-utils" "^11.4.4" - "@opentripplanner/icons" "^2.0.12" + "@opentripplanner/base-map" "^4.0.0" + "@opentripplanner/core-utils" "^12.0.0" + "@opentripplanner/icons" "^3.0.0" flat "^5.0.2" -"@opentripplanner/transitive-overlay@4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/@opentripplanner/transitive-overlay/-/transitive-overlay-4.0.0.tgz#1a0c41dd4a22704b74da105ef67c0ac63624c335" - integrity sha512-kFKRbKGeIKNDx2t21HaPXsOOkG+qlnHgXN8lbTZRxpfy+EIV3ZeoH72/ymWuiHdLnxUORHBAjhacQh+2fryc4A== +"@opentripplanner/transitive-overlay@4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@opentripplanner/transitive-overlay/-/transitive-overlay-4.0.1.tgz#37efb8c4a7356b28ddb31a8c6fbde4aa54dfe8bc" + integrity sha512-EUTBvO33c/qKznjEukWvUlj0Nyl7AjtdraNjJuFsybqKY+KWcxZdJYgDLkBARyV5RnU9ES6eaCQlqjVdLOe1sA== dependencies: "@mapbox/polyline" "^1.1.1" - "@opentripplanner/base-map" "^3.2.2" - "@opentripplanner/core-utils" "^11.4.4" - "@opentripplanner/itinerary-body" "^5.3.6" + "@opentripplanner/base-map" "^4.0.0" + "@opentripplanner/core-utils" "^12.0.0" + "@opentripplanner/itinerary-body" "^6.0.0" "@turf/bbox" "^6.5.0" "@turf/bearing" "^6.5.0" "@turf/destination" "^6.5.0" @@ -2713,10 +2720,10 @@ flat "^5.0.2" react-animate-height "^3.0.4" -"@opentripplanner/trip-form@4.1.0": - version "4.1.0" - resolved "https://registry.yarnpkg.com/@opentripplanner/trip-form/-/trip-form-4.1.0.tgz#83bd7135d1c814f1ea0be4f6896dd2494c9ddba9" - integrity sha512-VOWoyAfnnmwNnsolYLk7vfXRQvF3rj2XW5pXJ+OKwplGTgOhxJGNMKjZxau4legRedauyf0MHBNRpD3M3vsqRg== +"@opentripplanner/trip-form@4.1.1": + version "4.1.1" + resolved "https://registry.yarnpkg.com/@opentripplanner/trip-form/-/trip-form-4.1.1.tgz#892b3b5f8b32dae5dc3f85bc1d6e9c26342b7cf8" + integrity sha512-+q9HnQDgV1wNu2qA7jFYFLbRXRlvrV4DE1RNUND87s8yd1qAxuoB/SSX/QF+wX9/gsugOKDMIC7PMdyBgoUPIA== dependencies: "@floating-ui/react" "^0.19.2" "@opentripplanner/building-blocks" "^2.0.0" @@ -3138,7 +3145,7 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@styled-icons/bootstrap@^10.34.0": +"@styled-icons/bootstrap@^10.34.0", "@styled-icons/bootstrap@^10.47.0": version "10.47.0" resolved "https://registry.yarnpkg.com/@styled-icons/bootstrap/-/bootstrap-10.47.0.tgz#c3e363dfe87b732a5da818f320f90f5ab4961b84" integrity sha512-xpnPdrLhAhpTRE4iljQIEK73twVj7VPglwHSL+8nQdH7EsW5RJIOWsmlkZMyqhQHN0H7fGmT10F3/6OQhSpfGg==