diff --git a/.changeset/gentle-countries-kneel.md b/.changeset/gentle-countries-kneel.md new file mode 100644 index 00000000000..1c461059d5d --- /dev/null +++ b/.changeset/gentle-countries-kneel.md @@ -0,0 +1,5 @@ +--- +"@aws-amplify/ui-react-geo": patch +--- + +fix: bump maplibre-gl-js-amplify dep diff --git a/.github/workflows/reusable-build-system-test-react-native.yml b/.github/workflows/reusable-build-system-test-react-native.yml index fbeab3a7626..d402d5ccfc5 100644 --- a/.github/workflows/reusable-build-system-test-react-native.yml +++ b/.github/workflows/reusable-build-system-test-react-native.yml @@ -16,8 +16,7 @@ jobs: fail-fast: false matrix: framework: [react-native] - framework-version: - [ + framework-version: [ # uncomment to enable # { formatted: latest, value: latest }, { formatted: 075, value: 0.75 }, @@ -53,8 +52,8 @@ jobs: platform: android framework-version: { formatted: '071', value: '0.71' } include: - # Expo makes you specify a version of the SDK that supports that a particular version of React Native - # https://stackoverflow.com/questions/63463373/create-an-expo-project-with-a-specific-version + # Expo makes you specify a version of the SDK that supports a specific version of React Native + # https://stackoverflow.com/questions/63463373/create-an-expo-project-with-a-specific-version - framework: react-native framework-version: { formatted: 070, value: '0.70' } build-tool: expo diff --git a/.github/workflows/reusable-build-system-test.yml b/.github/workflows/reusable-build-system-test.yml index bb0d0bc6a34..463fca43d31 100644 --- a/.github/workflows/reusable-build-system-test.yml +++ b/.github/workflows/reusable-build-system-test.yml @@ -28,7 +28,9 @@ jobs: fail-fast: false matrix: framework: [react] - framework-version: [latest] + # temporarily pointing all react tests to v18 + # framework-version: [latest] + framework-version: [18] build-tool: [next, vite] build-tool-version: [latest] pkg-manager: [npm] diff --git a/packages/react-geo/package.json b/packages/react-geo/package.json index 5ff888389d4..0cb74e5d8c4 100644 --- a/packages/react-geo/package.json +++ b/packages/react-geo/package.json @@ -42,7 +42,7 @@ "@aws-amplify/ui-react-core": "3.1.1", "mapbox-gl": "1.13.1", "maplibre-gl": "2.1.9", - "maplibre-gl-js-amplify": "^4.0.1", + "maplibre-gl-js-amplify": "4.0.2", "react-map-gl": "7.0.23", "tslib": "^2.5.2" }, diff --git a/yarn.lock b/yarn.lock index 14e639f9a08..b05b4279405 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7223,7 +7223,7 @@ "@mapbox/geojson-normalize" "0.0.1" geojson-flatten "^1.0.4" -"@mapbox/geojson-extent@^1.0.0", "@mapbox/geojson-extent@^1.0.1": +"@mapbox/geojson-extent@^1.0.0": version "1.0.1" resolved "https://registry.npmjs.org/@mapbox/geojson-extent/-/geojson-extent-1.0.1.tgz#bd99a6b66ba98e63a29511c9cd1bbd1df4c1e203" integrity sha512-hh8LEO3djT4fqfr8sSC6wKt+p0TMiu+KOLMBUiFOyj+zGq7+IXwQGl0ppCVDkyzCewyd9LoGe9zAvDxXrLfhLw== @@ -7269,19 +7269,6 @@ lodash.isequal "^4.5.0" xtend "^4.0.2" -"@mapbox/mapbox-gl-draw@^1.3.0": - version "1.4.1" - resolved "https://registry.npmjs.org/@mapbox/mapbox-gl-draw/-/mapbox-gl-draw-1.4.1.tgz#96dcec4d3957150de854423ac15856fde43d1452" - integrity sha512-g6F49KZagF9269/IoF6vZJeail6qtoc5mVF3eVRikNT7UFnY0QASfe2y53mgE99s6GrHdpV+PZuFxaL71hkMhg== - dependencies: - "@mapbox/geojson-area" "^0.2.2" - "@mapbox/geojson-extent" "^1.0.1" - "@mapbox/geojson-normalize" "^0.0.1" - "@mapbox/point-geometry" "^0.1.0" - hat "0.0.3" - lodash.isequal "^4.5.0" - xtend "^4.0.2" - "@mapbox/mapbox-gl-supported@^1.5.0": version "1.5.0" resolved "https://registry.npmjs.org/@mapbox/mapbox-gl-supported/-/mapbox-gl-supported-1.5.0.tgz#f60b6a55a5d8e5ee908347d2ce4250b15103dc8e" @@ -19723,12 +19710,12 @@ maplibre-gl-draw-circle@^0.1.1: "@turf/helpers" "^6.1.4" "@turf/length" "^6.0.2" -maplibre-gl-js-amplify@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/maplibre-gl-js-amplify/-/maplibre-gl-js-amplify-4.0.1.tgz#bcbc6c63da6cdcb262393a9f697461ed9131a712" - integrity sha512-4DupUVRu+zAgvQRvvM917tsGcKnbajwgvDG6TjpPV4JLnckJqu3YDhqOnERAlckYpH11rH8AhGLsgDz9PUwh3Q== +maplibre-gl-js-amplify@4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/maplibre-gl-js-amplify/-/maplibre-gl-js-amplify-4.0.2.tgz#83ac6270a6ee78c0051df79a3bbf13eccb86f7c3" + integrity sha512-A8AzXJ1x3mgwU+ofQrJNNtPd2bNzXjsZcEBvQiaSigSS9EdIUy/trtuV232i2YDM7nZDGR/otAALrttWhWTLeg== dependencies: - "@mapbox/mapbox-gl-draw" "^1.3.0" + "@mapbox/mapbox-gl-draw" "1.3.0" "@maplibre/maplibre-gl-geocoder" "1.5.0" "@turf/along" "^6.5.0" "@turf/circle" "^6.5.0"