From 44351868431310ad1f86902d49d99f2bd9875adc Mon Sep 17 00:00:00 2001 From: Rodrigues Date: Sun, 30 Mar 2025 09:57:57 -0300 Subject: [PATCH 1/4] fix: maps is working well in android --- plugin/src/android.ts | 735 +++++++++++++++++++++++++++++++++++ plugin/src/implementation.ts | 1 + plugin/src/map.ts | 13 +- 3 files changed, 742 insertions(+), 7 deletions(-) create mode 100644 plugin/src/android.ts diff --git a/plugin/src/android.ts b/plugin/src/android.ts new file mode 100644 index 00000000..a21c4c2b --- /dev/null +++ b/plugin/src/android.ts @@ -0,0 +1,735 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ +import { WebPlugin } from '@capacitor/core'; +import type { Cluster, onClusterClickHandler } from '@googlemaps/markerclusterer'; +import { MarkerClusterer, SuperClusterAlgorithm } from '@googlemaps/markerclusterer'; + +import type { Marker } from './definitions'; +import { MapType, LatLngBounds } from './definitions'; +import type { + AddMarkerArgs, + CameraArgs, + AddMarkersArgs, + CapacitorGoogleMapsPlugin, + CreateMapArgs, + CurrentLocArgs, + DestroyMapArgs, + MapTypeArgs, + PaddingArgs, + RemoveMarkerArgs, + TrafficLayerArgs, + RemoveMarkersArgs, + MapBoundsContainsArgs, + EnableClusteringArgs, + FitBoundsArgs, + MapBoundsExtendArgs, + AddPolygonsArgs, + RemovePolygonsArgs, + AddCirclesArgs, + RemoveCirclesArgs, + AddPolylinesArgs, + RemovePolylinesArgs, + IndoorMapArgs, +} from './implementation'; + +export class CapacitorGoogleMapsAndroid extends WebPlugin implements CapacitorGoogleMapsPlugin { + private gMapsRef: typeof window.google.maps | undefined = undefined; + private AdvancedMarkerElement: typeof window.google.maps.marker.AdvancedMarkerElement | undefined = undefined; + private PinElement: typeof window.google.maps.marker.PinElement | undefined = undefined; + private maps: { + [id: string]: { + element: HTMLElement; + map: google.maps.Map; + markers: { + [id: string]: google.maps.marker.AdvancedMarkerElement; + }; + polygons: { + [id: string]: google.maps.Polygon; + }; + circles: { + [id: string]: google.maps.Circle; + }; + polylines: { + [id: string]: google.maps.Polyline; + }; + markerClusterer?: MarkerClusterer; + trafficLayer?: google.maps.TrafficLayer; + }; + } = {}; + private currMarkerId = 0; + private currPolygonId = 0; + private currCircleId = 0; + private currPolylineId = 0; + + private onClusterClickHandler: onClusterClickHandler = ( + _: google.maps.MapMouseEvent, + cluster: Cluster, + map: google.maps.Map + ): void => { + const mapId = this.getIdFromMap(map); + const items: any[] = []; + + if (cluster.markers != undefined && this.AdvancedMarkerElement) { + for (const marker of cluster.markers) { + if (marker instanceof this.AdvancedMarkerElement) { + const markerId = this.getIdFromMarker(mapId, marker); + const position = marker.position as google.maps.LatLngLiteral; + + items.push({ + markerId: markerId, + latitude: position.lat, + longitude: position.lng, + title: marker.title ?? '', + snippet: '', + }); + } + } + } + + this.notifyListeners('onClusterClick', { + mapId: mapId, + latitude: cluster.position.lat, + longitude: cluster.position.lng, + size: cluster.count, + items: items, + }); + }; + + private getIdFromMap(map: google.maps.Map): string { + for (const id in this.maps) { + if (this.maps[id].map == map) { + return id; + } + } + + return ''; + } + + private getIdFromMarker(mapId: string, marker: google.maps.marker.AdvancedMarkerElement): string { + for (const id in this.maps[mapId].markers) { + if (this.maps[mapId].markers[id] == marker) { + return id; + } + } + + return ''; + } + + private async importGoogleLib(apiKey: string, region?: string, language?: string): Promise { + try { + if (this.gMapsRef === undefined) { + if (typeof window.google !== 'undefined' && window.google.maps) { + this.gMapsRef = window.google.maps; + alert('Google Maps already loaded.'); + console.log('Google Maps already loaded.'); + return; + } + + // Load Google Maps API manually + await this.loadGoogleMapsScript(apiKey, region, language); + + if (typeof window.google !== 'undefined' && window.google.maps) { + this.gMapsRef = window.google.maps; + + // Import marker library + if (window.google.maps.importLibrary) { + const { AdvancedMarkerElement, PinElement } = (await window.google.maps.importLibrary( + 'marker' + )) as google.maps.MarkerLibrary; + this.AdvancedMarkerElement = AdvancedMarkerElement; + this.PinElement = PinElement; + } + } else { + alert('importGoogleLib error'); + throw new Error('Google Maps API failed to load'); + } + } + } catch (error) { + console.error('Error importGoogleLib:', error); + alert('importGoogleLib error: ' + error); + } + } + + private loadGoogleMapsScript(apiKey: string, region?: string, language?: string): Promise { + return new Promise((resolve, reject) => { + if (document.getElementById('google-maps-script')) { + resolve(); + return; + } + + const script = document.createElement('script'); + script.id = 'google-maps-script'; + script.src = `https://maps.googleapis.com/maps/api/js?key=${apiKey}&callback=initMap&libraries=places&language=${ + language || 'en' + }®ion=${region || ''}`; + script.async = true; + script.defer = true; + + script.onload = () => { + console.log('Google Maps script loaded successfully'); + resolve(); + }; + + script.onerror = (error) => { + alert('loadGoogleMapsScript loaded error'); + console.error('Google Maps script failed to load', error); + reject(new Error('Google Maps failed to load')); + }; + + document.head.appendChild(script); + }); + } + + async enableTouch(_args: { id: string }): Promise { + this.maps[_args.id].map.setOptions({ gestureHandling: 'auto' }); + } + + async disableTouch(_args: { id: string }): Promise { + this.maps[_args.id].map.setOptions({ gestureHandling: 'none' }); + } + + async setCamera(_args: CameraArgs): Promise { + // Animation not supported yet... + this.maps[_args.id].map.moveCamera({ + center: _args.config.coordinate, + heading: _args.config.bearing, + tilt: _args.config.angle, + zoom: _args.config.zoom, + }); + } + + async getMapType(_args: { id: string }): Promise<{ type: string }> { + let type = this.maps[_args.id].map.getMapTypeId(); + if (type !== undefined) { + if (type === 'roadmap') { + type = MapType.Normal; + } + return { type: `${type.charAt(0).toUpperCase()}${type.slice(1)}` }; + } + throw new Error('Map type is undefined'); + } + + async setMapType(_args: MapTypeArgs): Promise { + let mapType = _args.mapType.toLowerCase(); + if (_args.mapType === MapType.Normal) { + mapType = 'roadmap'; + } + this.maps[_args.id].map.setMapTypeId(mapType); + } + + async enableIndoorMaps(_args: IndoorMapArgs): Promise { + this.maps[_args.id].map.setOptions({ gestureHandling: 'auto' }); + } + + async enableTrafficLayer(_args: TrafficLayerArgs): Promise { + const trafficLayer = this.maps[_args.id].trafficLayer ?? new window.google.maps.TrafficLayer(); + + if (_args.enabled) { + trafficLayer.setMap(this.maps[_args.id].map); + this.maps[_args.id].trafficLayer = trafficLayer; + } else if (this.maps[_args.id].trafficLayer) { + trafficLayer.setMap(null); + this.maps[_args.id].trafficLayer = undefined; + } + } + + async enableAccessibilityElements(): Promise { + throw new Error('Method not supported on web.'); + } + + dispatchMapEvent(): Promise { + throw new Error('Method not supported on web.'); + } + + async enableCurrentLocation(_args: CurrentLocArgs): Promise { + if (_args.enabled) { + if (navigator.geolocation) { + navigator.geolocation.getCurrentPosition( + (position: GeolocationPosition) => { + const pos = { + lat: position.coords.latitude, + lng: position.coords.longitude, + }; + + this.maps[_args.id].map.setCenter(pos); + + this.notifyListeners('onMyLocationButtonClick', {}); + + this.notifyListeners('onMyLocationClick', {}); + }, + () => { + throw new Error('Geolocation not supported on web browser.'); + } + ); + } else { + throw new Error('Geolocation not supported on web browser.'); + } + } + } + async setPadding(_args: PaddingArgs): Promise { + const bounds = this.maps[_args.id].map.getBounds(); + + if (bounds !== undefined) { + this.maps[_args.id].map.fitBounds(bounds, _args.padding); + } + } + + async getMapBounds(_args: { id: string }): Promise { + const bounds = this.maps[_args.id].map.getBounds(); + + if (!bounds) { + alert('Google Map Bounds could not be found.'); + throw new Error('Google Map Bounds could not be found.'); + } + + return new LatLngBounds({ + southwest: { + lat: bounds.getSouthWest().lat(), + lng: bounds.getSouthWest().lng(), + }, + center: { + lat: bounds.getCenter().lat(), + lng: bounds.getCenter().lng(), + }, + northeast: { + lat: bounds.getNorthEast().lat(), + lng: bounds.getNorthEast().lng(), + }, + }); + } + + async fitBounds(_args: FitBoundsArgs): Promise { + const map = this.maps[_args.id].map; + const bounds = this.getLatLngBounds(_args.bounds); + map.fitBounds(bounds, _args.padding); + } + + async addMarkers(_args: AddMarkersArgs): Promise<{ ids: string[] }> { + const markerIds: string[] = []; + const map = this.maps[_args.id]; + + for (const markerArgs of _args.markers) { + const advancedMarker = this.buildMarkerOpts(markerArgs, map.map); + + const id = '' + this.currMarkerId; + + map.markers[id] = advancedMarker; + await this.setMarkerListeners(_args.id, id, advancedMarker); + + markerIds.push(id); + this.currMarkerId++; + } + + return { ids: markerIds }; + } + + async addMarker(_args: AddMarkerArgs): Promise<{ id: string }> { + const advancedMarker = this.buildMarkerOpts(_args.marker, this.maps[_args.id].map); + + const id = '' + this.currMarkerId; + + this.maps[_args.id].markers[id] = advancedMarker; + await this.setMarkerListeners(_args.id, id, advancedMarker); + + this.currMarkerId++; + + return { id: id }; + } + + async removeMarkers(_args: RemoveMarkersArgs): Promise { + const map = this.maps[_args.id]; + + for (const id of _args.markerIds) { + if (map.markers[id]) { + map.markers[id].map = null; + delete map.markers[id]; + } + } + } + + async removeMarker(_args: RemoveMarkerArgs): Promise { + if (this.maps[_args.id].markers[_args.markerId]) { + this.maps[_args.id].markers[_args.markerId].map = null; + delete this.maps[_args.id].markers[_args.markerId]; + } + } + + async addPolygons(args: AddPolygonsArgs): Promise<{ ids: string[] }> { + const polygonIds: string[] = []; + const map = this.maps[args.id]; + + for (const polygonArgs of args.polygons) { + const polygon = new window.google.maps.Polygon(polygonArgs); + polygon.setMap(map.map); + + const id = '' + this.currPolygonId; + this.maps[args.id].polygons[id] = polygon; + this.setPolygonListeners(args.id, id, polygon); + + polygonIds.push(id); + this.currPolygonId++; + } + + return { ids: polygonIds }; + } + + async removePolygons(args: RemovePolygonsArgs): Promise { + const map = this.maps[args.id]; + + for (const id of args.polygonIds) { + map.polygons[id].setMap(null); + delete map.polygons[id]; + } + } + + async addCircles(args: AddCirclesArgs): Promise<{ ids: string[] }> { + const circleIds: string[] = []; + const map = this.maps[args.id]; + + for (const circleArgs of args.circles) { + const circle = new window.google.maps.Circle(circleArgs); + circle.setMap(map.map); + + const id = '' + this.currCircleId; + this.maps[args.id].circles[id] = circle; + this.setCircleListeners(args.id, id, circle); + + circleIds.push(id); + this.currCircleId++; + } + + return { ids: circleIds }; + } + + async removeCircles(args: RemoveCirclesArgs): Promise { + const map = this.maps[args.id]; + + for (const id of args.circleIds) { + map.circles[id].setMap(null); + delete map.circles[id]; + } + } + + async addPolylines(args: AddPolylinesArgs): Promise<{ ids: string[] }> { + const lineIds: string[] = []; + const map = this.maps[args.id]; + + for (const polylineArgs of args.polylines) { + const polyline = new window.google.maps.Polyline(polylineArgs); + polyline.set('tag', polylineArgs.tag); + polyline.setMap(map.map); + + const id = '' + this.currPolylineId; + this.maps[args.id].polylines[id] = polyline; + this.setPolylineListeners(args.id, id, polyline); + + lineIds.push(id); + this.currPolylineId++; + } + + return { + ids: lineIds, + }; + } + + async removePolylines(args: RemovePolylinesArgs): Promise { + const map = this.maps[args.id]; + + for (const id of args.polylineIds) { + map.polylines[id].setMap(null); + delete map.polylines[id]; + } + } + + async enableClustering(_args: EnableClusteringArgs): Promise { + const markers: google.maps.marker.AdvancedMarkerElement[] = []; + + for (const id in this.maps[_args.id].markers) { + markers.push(this.maps[_args.id].markers[id]); + } + + this.maps[_args.id].markerClusterer = new MarkerClusterer({ + map: this.maps[_args.id].map, + markers: markers, + algorithm: new SuperClusterAlgorithm({ + minPoints: _args.minClusterSize ?? 4, + }), + onClusterClick: this.onClusterClickHandler, + }); + } + + async disableClustering(_args: { id: string }): Promise { + const mapInstance = this.maps[_args.id]; + if (mapInstance.markerClusterer) { + const markers = Object.values(mapInstance.markers); + + mapInstance.markerClusterer.setMap(null); + mapInstance.markerClusterer = undefined; + + for (const marker of markers) { + marker.map = mapInstance.map; + } + } + } + + async onScroll(): Promise { + throw new Error('Method not supported on web.'); + } + + async onResize(): Promise { + throw new Error('Method not supported on web.'); + } + + async onDisplay(): Promise { + throw new Error('Method not supported on web.'); + } + + async create(_args: CreateMapArgs): Promise { + try { + await this.importGoogleLib(_args.apiKey, _args.region, _args.language); + + // Ensure we have a Map ID for Advanced Markers + const config = { ..._args.config }; + if (config.androidMapId) { + config.mapId = config.androidMapId; + } + + this.maps[_args.id] = { + map: new window.google.maps.Map(_args.element, config), + element: _args.element, + markers: {}, + polygons: {}, + circles: {}, + polylines: {}, + }; + await this.setMapListeners(_args.id); + } catch (error) { + console.error('[android]Error creating map:', error); + alert(`[android]Error creating map: ${error}`); + } + } + + async destroy(_args: DestroyMapArgs): Promise { + console.log(`Destroy map: ${_args.id}`); + const mapItem = this.maps[_args.id]; + mapItem.element.innerHTML = ''; + mapItem.map.unbindAll(); + delete this.maps[_args.id]; + } + + async mapBoundsContains(_args: MapBoundsContainsArgs): Promise<{ contains: boolean }> { + const bounds = this.getLatLngBounds(_args.bounds); + const point = new window.google.maps.LatLng(_args.point.lat, _args.point.lng); + return { contains: bounds.contains(point) }; + } + + async mapBoundsExtend(_args: MapBoundsExtendArgs): Promise<{ bounds: LatLngBounds }> { + const bounds = this.getLatLngBounds(_args.bounds); + const point = new window.google.maps.LatLng(_args.point.lat, _args.point.lng); + bounds.extend(point); + const result = new LatLngBounds({ + southwest: { + lat: bounds.getSouthWest().lat(), + lng: bounds.getSouthWest().lng(), + }, + center: { + lat: bounds.getCenter().lat(), + lng: bounds.getCenter().lng(), + }, + northeast: { + lat: bounds.getNorthEast().lat(), + lng: bounds.getNorthEast().lng(), + }, + }); + return { bounds: result }; + } + + private getLatLngBounds(_args: LatLngBounds): google.maps.LatLngBounds { + return new window.google.maps.LatLngBounds( + new window.google.maps.LatLng(_args.southwest.lat, _args.southwest.lng), + new window.google.maps.LatLng(_args.northeast.lat, _args.northeast.lng) + ); + } + + async setCircleListeners(mapId: string, circleId: string, circle: google.maps.Circle): Promise { + circle.addListener('click', () => { + this.notifyListeners('onCircleClick', { + mapId: mapId, + circleId: circleId, + tag: circle.get('tag'), + }); + }); + } + + async setPolygonListeners(mapId: string, polygonId: string, polygon: google.maps.Polygon): Promise { + polygon.addListener('click', () => { + this.notifyListeners('onPolygonClick', { + mapId: mapId, + polygonId: polygonId, + tag: polygon.get('tag'), + }); + }); + } + + async setPolylineListeners(mapId: string, polylineId: string, polyline: google.maps.Polyline): Promise { + polyline.addListener('click', () => { + this.notifyListeners('onPolylineClick', { + mapId: mapId, + polylineId: polylineId, + tag: polyline.get('tag'), + }); + }); + } + + async setMarkerListeners( + mapId: string, + markerId: string, + marker: google.maps.marker.AdvancedMarkerElement + ): Promise { + marker.addListener('click', () => { + const position = marker.position as google.maps.LatLngLiteral; + this.notifyListeners('onMarkerClick', { + mapId: mapId, + markerId: markerId, + latitude: position.lat, + longitude: position.lng, + title: marker.title ?? '', + snippet: '', + }); + }); + + if (marker.gmpDraggable) { + marker.addListener('dragstart', () => { + const position = marker.position as google.maps.LatLngLiteral; + this.notifyListeners('onMarkerDragStart', { + mapId: mapId, + markerId: markerId, + latitude: position.lat, + longitude: position.lng, + title: marker.title ?? '', + snippet: '', + }); + }); + + marker.addListener('drag', () => { + const position = marker.position as google.maps.LatLngLiteral; + this.notifyListeners('onMarkerDrag', { + mapId: mapId, + markerId: markerId, + latitude: position.lat, + longitude: position.lng, + title: marker.title ?? '', + snippet: '', + }); + }); + + marker.addListener('dragend', () => { + const position = marker.position as google.maps.LatLngLiteral; + this.notifyListeners('onMarkerDragEnd', { + mapId: mapId, + markerId: markerId, + latitude: position.lat, + longitude: position.lng, + title: marker.title ?? '', + snippet: '', + }); + }); + } + } + + async setMapListeners(mapId: string): Promise { + const map = this.maps[mapId].map; + + map.addListener('idle', async () => { + const bounds = await this.getMapBounds({ id: mapId }); + this.notifyListeners( + 'onCameraIdle', + { + mapId, + bearing: map.getHeading() ?? 0, + bounds, + latitude: map.getCenter()?.lat(), + longitude: map.getCenter()?.lng(), + tilt: map.getTilt(), + zoom: map.getZoom(), + }, + true + ); + }); + + map.addListener('center_changed', () => { + this.notifyListeners('onCameraMoveStarted', { + mapId, + isGesture: true, + }); + }); + + map.addListener('bounds_changed', async () => { + const bounds = await this.getMapBounds({ id: mapId }); + this.notifyListeners( + 'onBoundsChanged', + { + mapId, + bearing: map.getHeading() ?? 0, // Ensure valid value + bounds, + latitude: map.getCenter()?.lat(), + longitude: map.getCenter()?.lng(), + tilt: map.getTilt(), + zoom: map.getZoom(), + }, + true + ); + }); + + map.addListener('click', (e: google.maps.MapMouseEvent | google.maps.IconMouseEvent) => { + this.notifyListeners('onMapClick', { + mapId, + latitude: e.latLng?.lat(), + longitude: e.latLng?.lng(), + }); + }); + + this.notifyListeners('onMapReady', { + mapId, + }); + } + + private buildMarkerOpts(marker: Marker, map: google.maps.Map): google.maps.marker.AdvancedMarkerElement { + if (!this.AdvancedMarkerElement || !this.PinElement) { + alert('Marker library not loaded'); + throw new Error('Marker library not loaded'); + } + + let content: HTMLElement | undefined = undefined; + + if (marker.iconUrl) { + const img = document.createElement('img'); + img.src = marker.iconUrl; + if (marker.iconSize) { + img.style.width = `${marker.iconSize.width}px`; + img.style.height = `${marker.iconSize.height}px`; + } + content = img; + } else { + const pinOptions: google.maps.marker.PinElementOptions = { + scale: marker.opacity ?? 1, + glyph: marker.title, + background: marker.tintColor + ? `rgb(${marker.tintColor.r}, ${marker.tintColor.g}, ${marker.tintColor.b})` + : undefined, + }; + + const pin = new this.PinElement(pinOptions); + content = pin.element; + } + + const advancedMarker = new this.AdvancedMarkerElement({ + position: marker.coordinate, + map: map, + content: content, + title: marker.title, + gmpDraggable: marker.draggable, + }); + + return advancedMarker; + } +} diff --git a/plugin/src/implementation.ts b/plugin/src/implementation.ts index a7ff4535..2eb132b6 100644 --- a/plugin/src/implementation.ts +++ b/plugin/src/implementation.ts @@ -206,6 +206,7 @@ export interface CapacitorGoogleMapsPlugin extends Plugin { const CapacitorGoogleMaps = registerPlugin('CapacitorGoogleMaps', { web: () => import('./web').then((m) => new m.CapacitorGoogleMapsWeb()), + android: () => import('./android').then((m) => new m.CapacitorGoogleMapsAndroid()), }); CapacitorGoogleMaps.addListener('isMapInFocus', (data) => { diff --git a/plugin/src/map.ts b/plugin/src/map.ts index 977c032c..550f9965 100644 --- a/plugin/src/map.ts +++ b/plugin/src/map.ts @@ -170,8 +170,6 @@ export class GoogleMap { } if (Capacitor.isNativePlatform()) { - (options.element as any) = {}; - const getMapBounds = () => { const mapRect = newMap.element?.getBoundingClientRect() ?? ({} as DOMRect); return { @@ -217,21 +215,22 @@ export class GoogleMap { }; newMap.resizeObserver = new ResizeObserver(() => { if (newMap.element != null) { - const mapRect = newMap.element.getBoundingClientRect(); + const { width, height } = newMap.element.getBoundingClientRect(); - const isHidden = mapRect.width === 0 && mapRect.height === 0; + const isHidden = width === 0 && height === 0; if (!isHidden) { if (lastState.isHidden) { if (Capacitor.getPlatform() === 'ios' && !ionicPage) { onDisplay(); } - } else if (lastState.width !== mapRect.width || lastState.height !== mapRect.height) { + } else if (lastState.width !== width || lastState.height !== height) { onResize(); } + onResize(); } - lastState.width = mapRect.width; - lastState.height = mapRect.height; + lastState.width = width; + lastState.height = height; lastState.isHidden = isHidden; } }); From b8ca1e5b5989465bf1e75ca0e4563eebffa2e4b1 Mon Sep 17 00:00:00 2001 From: Rodrigues Date: Mon, 31 Mar 2025 12:27:27 -0300 Subject: [PATCH 2/4] fix: maps is working well in android and adjusts --- package.json | 9 +- plugin/.prettierrc | 2 +- plugin/package.json | 2 +- plugin/src/android.ts | 65 ++- plugin/src/index.ts | 1 + plugin/src/map.ts | 2 +- plugin/src/web.ts | 1 + pnpm-lock.yaml | 955 +++++++++++++++++++++++------------------- 8 files changed, 579 insertions(+), 458 deletions(-) diff --git a/package.json b/package.json index 9a9d540f..ab2ff155 100644 --- a/package.json +++ b/package.json @@ -20,14 +20,19 @@ "@types/node": "^20.11.25", "husky": "^9.0.1", "lerna": "^8.1.2", + "prettier": "^3.5.3", + "prettier-plugin-java": "^2.6.7", "typescript": "^5.4.2" }, "engines": { "node": ">=20", "pnpm": ">=8" }, - "dependencies": {}, "workspaces": [ "plugin" - ] + ], + "exports": { + "import": "./plugin/dist/esm/index.js", + "require": "./plugin/dist/plugin.cjs.js" + } } diff --git a/plugin/.prettierrc b/plugin/.prettierrc index 9faad955..89beb971 100644 --- a/plugin/.prettierrc +++ b/plugin/.prettierrc @@ -1,5 +1,5 @@ { - "plugins": ["./node_modules/prettier-plugin-java"], + "plugins": ["./node_modules/prettier-plugin-java/dist/index.js"], "printWidth":120, "tabWidth":2, "useTabs":false, diff --git a/plugin/package.json b/plugin/package.json index 11371167..557f6053 100644 --- a/plugin/package.json +++ b/plugin/package.json @@ -2,7 +2,7 @@ "name": "@capacitor/google-maps", "version": "7.0.1", "description": "Google maps on Capacitor", - "main": "dist/plugin.cjs.js", + "main": "dist/esm/index.js", "module": "dist/esm/index.js", "typings": "dist/typings/index.d.ts", "typesVersions": { diff --git a/plugin/src/android.ts b/plugin/src/android.ts index a21c4c2b..a5f7743b 100644 --- a/plugin/src/android.ts +++ b/plugin/src/android.ts @@ -29,6 +29,7 @@ import type { AddPolylinesArgs, RemovePolylinesArgs, IndoorMapArgs, + MapBoundsArgs, } from './implementation'; export class CapacitorGoogleMapsAndroid extends WebPlugin implements CapacitorGoogleMapsPlugin { @@ -233,11 +234,11 @@ export class CapacitorGoogleMapsAndroid extends WebPlugin implements CapacitorGo } async enableAccessibilityElements(): Promise { - throw new Error('Method not supported on web.'); + throw new Error('Method not supported on android.'); } dispatchMapEvent(): Promise { - throw new Error('Method not supported on web.'); + throw new Error('Method not supported on android.'); } async enableCurrentLocation(_args: CurrentLocArgs): Promise { @@ -256,12 +257,9 @@ export class CapacitorGoogleMapsAndroid extends WebPlugin implements CapacitorGo this.notifyListeners('onMyLocationClick', {}); }, - () => { - throw new Error('Geolocation not supported on web browser.'); - } ); } else { - throw new Error('Geolocation not supported on web browser.'); + throw new Error('Geolocation not supported on android.'); } } } @@ -471,16 +469,59 @@ export class CapacitorGoogleMapsAndroid extends WebPlugin implements CapacitorGo } } - async onScroll(): Promise { - throw new Error('Method not supported on web.'); + async onScroll(_args: MapBoundsArgs): Promise { + try { + const mapInstance = this.maps[_args.id]?.map; + if (!mapInstance) { + console.error(`Map with ID ${_args.id} not found.`); + return; + } + + const { x, y, width, height } = _args.mapBounds; + + const bounds = new google.maps.LatLngBounds( + new google.maps.LatLng(y, x), + new google.maps.LatLng(y + height, x + width) + ); + + mapInstance.fitBounds(bounds); + } catch (error) { + console.error('Error updating map bounds:', error); + } } + + + async onResize(_args: MapBoundsArgs): Promise { + try { + const mapInstance = this.maps[_args.id]?.map; + if (!mapInstance) { + console.error(`Map with ID ${_args.id} not found.`); + return; + } + + google.maps.event.trigger(mapInstance, 'resize'); - async onResize(): Promise { - throw new Error('Method not supported on web.'); + this.onScroll(_args); + } catch (error) { + console.error('Error resizing map:', error); + } } + + + async onDisplay(_args: MapBoundsArgs): Promise { + try { + const mapInstance = this.maps[_args.id]?.map; + if (!mapInstance) { + console.error(`Map with ID ${_args.id} not found.`); + return; + } + + google.maps.event.trigger(mapInstance, 'resize'); - async onDisplay(): Promise { - throw new Error('Method not supported on web.'); + this.onScroll(_args); + } catch (error) { + console.error('Error displaying map:', error); + } } async create(_args: CreateMapArgs): Promise { diff --git a/plugin/src/index.ts b/plugin/src/index.ts index 1900cdad..c1737892 100644 --- a/plugin/src/index.ts +++ b/plugin/src/index.ts @@ -1,4 +1,5 @@ /* eslint-disable @typescript-eslint/no-namespace */ +/* eslint-disable @typescript-eslint/no-explicit-any */ import { LatLngBounds, MapType, Marker, Polygon, Circle, Polyline, StyleSpan } from './definitions'; import { GoogleMap } from './map'; diff --git a/plugin/src/map.ts b/plugin/src/map.ts index 550f9965..8a5f6f92 100644 --- a/plugin/src/map.ts +++ b/plugin/src/map.ts @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ import { Capacitor } from '@capacitor/core'; import type { PluginListenerHandle } from '@capacitor/core'; @@ -226,7 +227,6 @@ export class GoogleMap { } else if (lastState.width !== width || lastState.height !== height) { onResize(); } - onResize(); } lastState.width = width; diff --git a/plugin/src/web.ts b/plugin/src/web.ts index 08fa11ce..8f30b4cd 100644 --- a/plugin/src/web.ts +++ b/plugin/src/web.ts @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-explicit-any */ import { WebPlugin } from '@capacitor/core'; import type { Cluster, onClusterClickHandler } from '@googlemaps/markerclusterer'; import { MarkerClusterer, SuperClusterAlgorithm } from '@googlemaps/markerclusterer'; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 160af27e..035924e1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,16 +13,22 @@ importers: version: 7.0.0-rc.0(@capacitor/core@7.0.0-rc.0) '@types/node': specifier: ^20.11.25 - version: 20.17.14 + version: 20.17.28 husky: specifier: ^9.0.1 version: 9.1.7 lerna: specifier: ^8.1.2 - version: 8.1.9(encoding@0.1.13) + version: 8.2.1(encoding@0.1.13) + prettier: + specifier: ^3.5.3 + version: 3.5.3 + prettier-plugin-java: + specifier: ^2.6.7 + version: 2.6.7(prettier@3.5.3) typescript: specifier: ^5.4.2 - version: 5.7.3 + version: 5.8.2 plugin: dependencies: @@ -59,10 +65,10 @@ importers: version: 7.1.3 '@typescript-eslint/eslint-plugin': specifier: ^5.59.2 - version: 5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3) + version: 5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.8.2))(eslint@8.57.1)(typescript@5.8.2) '@typescript-eslint/parser': specifier: ^5.59.2 - version: 5.62.0(eslint@8.57.1)(typescript@5.7.3) + version: 5.62.0(eslint@8.57.1)(typescript@5.8.2) downlevel-dts: specifier: ^0.7.0 version: 0.7.0 @@ -74,7 +80,7 @@ importers: version: 8.10.0(eslint@8.57.1) eslint-plugin-import: specifier: ^2.25.4 - version: 2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1) + version: 2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.8.2))(eslint@8.57.1) prettier: specifier: ^2.8.8 version: 2.8.8 @@ -92,7 +98,7 @@ importers: version: 1.0.2 typescript: specifier: ^5.4.2 - version: 5.7.3 + version: 5.8.2 packages: @@ -122,17 +128,32 @@ packages: peerDependencies: '@capacitor/core': ^7.0.0-rc.0 - '@emnapi/core@1.3.1': - resolution: {integrity: sha512-pVGjBIt1Y6gg3EJN8jTcfpP/+uuRksIo055oE/OBkDNcjZqVbfkWCksG1Jp4yZnj3iKWyWX8fdG/j6UDYPbFog==} + '@chevrotain/cst-dts-gen@11.0.3': + resolution: {integrity: sha512-BvIKpRLeS/8UbfxXxgC33xOumsacaeCKAjAeLyOn7Pcp95HiRbrpl14S+9vaZLolnbssPIUuiUd8IvgkRyt6NQ==} + + '@chevrotain/gast@11.0.3': + resolution: {integrity: sha512-+qNfcoNk70PyS/uxmj3li5NiECO+2YKZZQMbmjTqRI3Qchu8Hig/Q9vgkHpI3alNjr7M+a2St5pw5w5F6NL5/Q==} + + '@chevrotain/regexp-to-ast@11.0.3': + resolution: {integrity: sha512-1fMHaBZxLFvWI067AVbGJav1eRY7N8DDvYCTwGBiE/ytKBgP8azTdgyrKyWZ9Mfh09eHWb5PgTSO8wi7U824RA==} + + '@chevrotain/types@11.0.3': + resolution: {integrity: sha512-gsiM3G8b58kZC2HaWR50gu6Y1440cHiJ+i3JUvcp/35JchYejb2+5MVeJK0iKThYpAa/P2PYFV4hoi44HD+aHQ==} - '@emnapi/runtime@1.3.1': - resolution: {integrity: sha512-kEBmG8KyqtxJZv+ygbEim+KCGtIq1fC22Ms3S4ziXmYKm8uyoLX0MHONVKwp+9opg390VaKRNt4a7A9NwmpNhw==} + '@chevrotain/utils@11.0.3': + resolution: {integrity: sha512-YslZMgtJUyuMbZ+aKvfF3x1f5liK4mWNxghFRv7jqRR9C3R3fAOGTTKvxXDa2Y1s9zSbcpuO0cAxDYsc9SrXoQ==} + + '@emnapi/core@1.4.0': + resolution: {integrity: sha512-H+N/FqT07NmLmt6OFFtDfwe8PNygprzBikrEMyQfgqSmT0vzE515Pz7R8izwB9q/zsH/MA64AKoul3sA6/CzVg==} + + '@emnapi/runtime@1.4.0': + resolution: {integrity: sha512-64WYIf4UYcdLnbKn/umDlNjQDSS8AgZrI/R9+x5ilkUVFxXcA1Ebl+gQLc/6mERA4407Xof0R7wEyEuj091CVw==} '@emnapi/wasi-threads@1.0.1': resolution: {integrity: sha512-iIBu7mwkq4UQGeMEM8bLwNK962nXdhodeScX4slfQnRhEMMzvYivHhutCIk8uojvmASXXPC2WNEjwxFWk72Oqw==} - '@eslint-community/eslint-utils@4.4.1': - resolution: {integrity: sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==} + '@eslint-community/eslint-utils@4.5.1': + resolution: {integrity: sha512-soEIOALTfTK6EjmKMMoLugwaP0rzkad90iIWd1hMO9ARkSAyjfMfkRRhLvD5qH7vvM0Cg72pieUfR6yh6XxC4w==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 @@ -216,8 +237,8 @@ packages: resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - '@lerna/create@8.1.9': - resolution: {integrity: sha512-DPnl5lPX4v49eVxEbJnAizrpMdMTBz1qykZrAbBul9rfgk531v8oAt+Pm6O/rpAleRombNM7FJb5rYGzBJatOQ==} + '@lerna/create@8.2.1': + resolution: {integrity: sha512-Cz2u/fwc03D1EE6VFZCLMmI8FIUtGmxHQ3ECeNblsxv9i0YSKWe4Xm18sjO1xltG/K5ByiH8/HMeY9dlyAv22A==} engines: {node: '>=18.0.0'} '@napi-rs/wasm-runtime@0.2.4': @@ -293,130 +314,125 @@ packages: resolution: {integrity: sha512-y7efHHwghQfk28G2z3tlZ67pLG0XdfYbcVG26r7YIXALRsrVQcTq4/tdenSmdOrEsNahIYA/eh8aEVROWGFUDg==} engines: {node: ^16.14.0 || >=18.0.0} - '@nx/devkit@20.3.2': - resolution: {integrity: sha512-VhbxEsSTCZlOVgjuQC+6HQmb9Oz9VoHUeo4001Pw6BFBcSXZUi5q37C/lxbAgQPnMKLkFcLva3WKZ+fOLwhGIg==} + '@nx/devkit@20.6.4': + resolution: {integrity: sha512-lyEidfyPhTuHt1X6EsskugBREazS5VOKSPIcreQ8Qt0MaULxn0bQ9o0N6C+BQaw5Zu6RTaMRMWKGW0I0Qni0UA==} peerDependencies: nx: '>= 19 <= 21' - '@nx/nx-darwin-arm64@20.3.2': - resolution: {integrity: sha512-lQOXMIPmE9o36TuZ+SX6iq7PPWa3s1fjNRqCujlviExX69245NNCMxd754gXlLrsxC1onrx/zmJciKmmEWDIiw==} + '@nx/nx-darwin-arm64@20.6.4': + resolution: {integrity: sha512-urdLFCY0c2X11FBuokSgCktKTma7kjZKWJi8mVO8PbTJh0h2Qtp4l9/px8tv9EHeHuusA18p2Wq3ZM6c95qcBg==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] - '@nx/nx-darwin-x64@20.3.2': - resolution: {integrity: sha512-RvvSz4QYVOYOfC8sUE63b6dy8iHk2AEI0r1FF5FCQuqE1DdTeTjPETY2sY35tRqF+mO/6oLGp2+m9ti/ysRoTg==} + '@nx/nx-darwin-x64@20.6.4': + resolution: {integrity: sha512-nNOXc9ccdsdmylC/InRud/F977ldat2zQuSWfhoI5+9exHIjMo0TNU8gZdT53t3S1OTQKOEbNXZcoEaURb6STA==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] - '@nx/nx-freebsd-x64@20.3.2': - resolution: {integrity: sha512-KBDTyGn1evlZ17pupwRUDh2wrCMuHhP2j8cOCdgF5cl7vRki8BOK9yyL6jD11d/d/6DgXzy1jmQEX4Xx+AGCug==} + '@nx/nx-freebsd-x64@20.6.4': + resolution: {integrity: sha512-jPGzjdB9biMu8N4038qBe0VBfrQ+HDjXfxBhETqrVIJPBfgdxN1I8CXIhCqMPG2CHBAM6kDQCU6QCTMWADJcEw==} engines: {node: '>= 10'} cpu: [x64] os: [freebsd] - '@nx/nx-linux-arm-gnueabihf@20.3.2': - resolution: {integrity: sha512-mW+OcOnJEMvs7zD3aSwEG3z5M9bI4CuUU5Q/ePmnNzWIucRHpoAMNt/Sd+yu6L4+QttvoUf967uwcMsX8l4nrw==} + '@nx/nx-linux-arm-gnueabihf@20.6.4': + resolution: {integrity: sha512-j4ekxzZPc5lj+VbaLBpKJl6w2VyFXycLrT65CWQYAj9yqV5dUuDtTR33r50ddLtqQt3PVV5hJAj8+g7sGPXUWQ==} engines: {node: '>= 10'} cpu: [arm] os: [linux] - '@nx/nx-linux-arm64-gnu@20.3.2': - resolution: {integrity: sha512-hbXpZqUvGY5aeEWvh0SNsiYjP1ytSM30XOT6qN6faLO2CL/7j9D2UB69SKOqF3TJOvuNU6cweFgZCxyGfXBYIQ==} + '@nx/nx-linux-arm64-gnu@20.6.4': + resolution: {integrity: sha512-nYMB4Sh5yI7WbunizZ/mgR21MQgrs77frnAChs+6aPF5HA7N1VGEn3FMKX+ypd3DjTl14zuwB/R5ilwNgKzL+A==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@nx/nx-linux-arm64-musl@20.3.2': - resolution: {integrity: sha512-HXthtN7adXCNVWs2F4wIqq2f7BcKTjsEnqg2LWV5lm4hRYvMfEvPftb0tECsEhcSQQYcvIJnLfv3vtu9HZSfVA==} + '@nx/nx-linux-arm64-musl@20.6.4': + resolution: {integrity: sha512-ukjB1pmBvtinT0zeYJ1lWi7BAw6cDnPQnfXMbyV+afYnNRcgdDFzQaUpo3UUeai69Fo3TTr0SWx6DjMVifxJZw==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] - '@nx/nx-linux-x64-gnu@20.3.2': - resolution: {integrity: sha512-HhgHqOUT05H45zuQL+XPywQbRNFttd7Rkkr7dZnpCRdp4W8GDjfyKCoCS5qVyowAyNh9Vc7VEq9qmiLMlvf6Zg==} + '@nx/nx-linux-x64-gnu@20.6.4': + resolution: {integrity: sha512-+6DloqqB8ZzuZOY4A1PryuPD5hGoxbSafRN++sXUFvKx6mRYNyLGrn5APT3Kiq1qPBxkAxcsreexcu/wsTcrcw==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@nx/nx-linux-x64-musl@20.3.2': - resolution: {integrity: sha512-NrZ8L9of2GmYEM8GMJX6QRrLJlAwM+ds2rhdY1bxwpiyCNcD3IO/gzJlBs+kG4ly05F1u/X4k/FI5dXPpjUSgw==} + '@nx/nx-linux-x64-musl@20.6.4': + resolution: {integrity: sha512-+ZuF6dobfGo5EN55syuUEdbYs9qxbLmTkGPMq66X7dZ/jm7kKTsVzDYnf9v3ynQCOq4DMFtdACneL32Ks22+NQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] - '@nx/nx-win32-arm64-msvc@20.3.2': - resolution: {integrity: sha512-yLjacZND7C1XmsC0jfRLSgeLWZUw2Oz+u3nXNvj5JX6YHtYTVLFnRbTAcI+pG2Y6v0Otf2GKb3VT5d1mQb8JvA==} + '@nx/nx-win32-arm64-msvc@20.6.4': + resolution: {integrity: sha512-z+Y8iwEPZ8L8SISh/tcyqEtAy9Ju6aB5kLe8E/E1Wwzy5DU/jNvqM9Wq4HRPMY0r1S4jzwC6x7W3/fkxeFjZ7A==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] - '@nx/nx-win32-x64-msvc@20.3.2': - resolution: {integrity: sha512-oDhcctfk0UB1V+Otp1161VKNMobzkFQxGyiEIjp0CjCBa2eRHC1r35L695F1Hj0bvLQPSni9XIe9evh2taeAkg==} + '@nx/nx-win32-x64-msvc@20.6.4': + resolution: {integrity: sha512-9LMVHZQqc1m2Fulvfz1nPZFHUKvFjmU7igxoWJXj/m+q+DyYWEbE710ARK9JtMibLg+xSRfERKOcIy11k6Ro1A==} engines: {node: '>= 10'} cpu: [x64] os: [win32] - '@octokit/auth-token@3.0.4': - resolution: {integrity: sha512-TWFX7cZF2LXoCvdmJWY7XVPi74aSY0+FfBZNSXEXFkMpjcqsQwDSYVv5FhRFaI0V1ECnwbz4j59T/G+rXNWaIQ==} - engines: {node: '>= 14'} + '@octokit/auth-token@4.0.0': + resolution: {integrity: sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==} + engines: {node: '>= 18'} - '@octokit/core@4.2.4': - resolution: {integrity: sha512-rYKilwgzQ7/imScn3M9/pFfUf4I1AZEH3KhyJmtPdE2zfaXAn2mFfUy4FbKewzc2We5y/LlKLj36fWJLKC2SIQ==} - engines: {node: '>= 14'} + '@octokit/core@5.2.1': + resolution: {integrity: sha512-dKYCMuPO1bmrpuogcjQ8z7ICCH3FP6WmxpwC03yjzGfZhj9fTJg6+bS1+UAplekbN2C+M61UNllGOOoAfGCrdQ==} + engines: {node: '>= 18'} - '@octokit/endpoint@7.0.6': - resolution: {integrity: sha512-5L4fseVRUsDFGR00tMWD/Trdeeihn999rTMGRMC1G/Ldi1uWlWJzI98H4Iak5DB/RVvQuyMYKqSK/R6mbSOQyg==} - engines: {node: '>= 14'} + '@octokit/endpoint@9.0.6': + resolution: {integrity: sha512-H1fNTMA57HbkFESSt3Y9+FBICv+0jFceJFPWDePYlR/iMGrwM5ph+Dd4XRQs+8X+PUFURLQgX9ChPfhJ/1uNQw==} + engines: {node: '>= 18'} - '@octokit/graphql@5.0.6': - resolution: {integrity: sha512-Fxyxdy/JH0MnIB5h+UQ3yCoh1FG4kWXfFKkpWqjZHw/p+Kc8Y44Hu/kCgNBT6nU1shNumEchmW/sUO1JuQnPcw==} - engines: {node: '>= 14'} + '@octokit/graphql@7.1.1': + resolution: {integrity: sha512-3mkDltSfcDUoa176nlGoA32RGjeWjl3K7F/BwHwRMJUW/IteSa4bnSV8p2ThNkcIcZU2umkZWxwETSSCJf2Q7g==} + engines: {node: '>= 18'} - '@octokit/openapi-types@18.1.1': - resolution: {integrity: sha512-VRaeH8nCDtF5aXWnjPuEMIYf1itK/s3JYyJcWFJT8X9pSNnBtriDf7wlEWsGuhPLl4QIH4xM8fqTXDwJ3Mu6sw==} + '@octokit/openapi-types@24.2.0': + resolution: {integrity: sha512-9sIH3nSUttelJSXUrmGzl7QUBFul0/mB8HRYl3fOlgHbIWG+WnYDXU3v/2zMtAvuzZ/ed00Ei6on975FhBfzrg==} '@octokit/plugin-enterprise-rest@6.0.1': resolution: {integrity: sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw==} - '@octokit/plugin-paginate-rest@6.1.2': - resolution: {integrity: sha512-qhrmtQeHU/IivxucOV1bbI/xZyC/iOBhclokv7Sut5vnejAIAEXVcGQeRpQlU39E0WwK9lNvJHphHri/DB6lbQ==} - engines: {node: '>= 14'} + '@octokit/plugin-paginate-rest@11.4.4-cjs.2': + resolution: {integrity: sha512-2dK6z8fhs8lla5PaOTgqfCGBxgAv/le+EhPs27KklPhm1bKObpu6lXzwfUEQ16ajXzqNrKMujsFyo9K2eaoISw==} + engines: {node: '>= 18'} peerDependencies: - '@octokit/core': '>=4' + '@octokit/core': '5' - '@octokit/plugin-request-log@1.0.4': - resolution: {integrity: sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA==} + '@octokit/plugin-request-log@4.0.1': + resolution: {integrity: sha512-GihNqNpGHorUrO7Qa9JbAl0dbLnqJVrV8OXe2Zm5/Y4wFkZQDfTreBzVmiRfJVfE4mClXdihHnbpyyO9FSX4HA==} + engines: {node: '>= 18'} peerDependencies: - '@octokit/core': '>=3' + '@octokit/core': '5' - '@octokit/plugin-rest-endpoint-methods@7.2.3': - resolution: {integrity: sha512-I5Gml6kTAkzVlN7KCtjOM+Ruwe/rQppp0QU372K1GP7kNOYEKe8Xn5BW4sE62JAHdwpq95OQK/qGNyKQMUzVgA==} - engines: {node: '>= 14'} + '@octokit/plugin-rest-endpoint-methods@13.3.2-cjs.1': + resolution: {integrity: sha512-VUjIjOOvF2oELQmiFpWA1aOPdawpyaCUqcEBc/UOUnj3Xp6DJGrJ1+bjUIIDzdHjnFNO6q57ODMfdEZnoBkCwQ==} + engines: {node: '>= 18'} peerDependencies: - '@octokit/core': '>=3' + '@octokit/core': ^5 - '@octokit/request-error@3.0.3': - resolution: {integrity: sha512-crqw3V5Iy2uOU5Np+8M/YexTlT8zxCfI+qu+LxUB7SZpje4Qmx3mub5DfEKSO8Ylyk0aogi6TYdf6kxzh2BguQ==} - engines: {node: '>= 14'} + '@octokit/request-error@5.1.1': + resolution: {integrity: sha512-v9iyEQJH6ZntoENr9/yXxjuezh4My67CBSu9r6Ve/05Iu5gNgnisNWOsoJHTP6k0Rr0+HQIpnH+kyammu90q/g==} + engines: {node: '>= 18'} - '@octokit/request@6.2.8': - resolution: {integrity: sha512-ow4+pkVQ+6XVVsekSYBzJC0VTVvh/FCTUUgTsboGq+DTeWdyIFV8WSCdo0RIxk6wSkBTHqIK1mYuY7nOBXOchw==} - engines: {node: '>= 14'} + '@octokit/request@8.4.1': + resolution: {integrity: sha512-qnB2+SY3hkCmBxZsR/MPCybNmbJe4KAlfWErXq+rBKkQJlbjdJeS85VI9r8UqeLYLvnAenU8Q1okM/0MBsAGXw==} + engines: {node: '>= 18'} - '@octokit/rest@19.0.11': - resolution: {integrity: sha512-m2a9VhaP5/tUw8FwfnW2ICXlXpLPIqxtg3XcAiGMLj/Xhw3RSBfZ8le/466ktO1Gcjr8oXudGnHhxV1TXJgFxw==} - engines: {node: '>= 14'} - - '@octokit/tsconfig@1.0.2': - resolution: {integrity: sha512-I0vDR0rdtP8p2lGMzvsJzbhdOWy405HcGovrspJ8RRibHnyRgggUSNO5AIox5LmqiwmatHKYsvj6VGFHkqS7lA==} + '@octokit/rest@20.1.2': + resolution: {integrity: sha512-GmYiltypkHHtihFwPRxlaorG5R9VAHuk/vbszVoRTGXnAsY60wYLkh/E2XiFmdZmqrisw+9FaazS1i5SbdWYgA==} + engines: {node: '>= 18'} - '@octokit/types@10.0.0': - resolution: {integrity: sha512-Vm8IddVmhCgU1fxC1eyinpwqzXPEYu0NrYzD3YZjlGjyftdLBTeqNblRC0jmJmgxbJIsQlyogVeGnrNaaMVzIg==} - - '@octokit/types@9.3.2': - resolution: {integrity: sha512-D4iHGTdAnEEVsB8fl95m1hiz7D5YiRdQ9b/OEb3BYRVwbLsGHcRVPz+u+BgRLNk0Q0/4iZCBqDN96j2XNxfXrA==} + '@octokit/types@13.10.0': + resolution: {integrity: sha512-ifLaO34EbbPj0Xgro4G5lP5asESjwHracYJvVaPIyXMuiuXLlhic3S47cBdTb+jfODkTE5YtGCLt3Ay3+J97sA==} '@pkgjs/parseargs@0.11.0': resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} @@ -466,8 +482,8 @@ packages: '@types/fs-extra@8.1.5': resolution: {integrity: sha512-0dzKcwO+S8s2kuF5Z9oUWatQJj5Uq/iqphEtE3GQJVRRYm/tD1LglU2UnXi2A8jLq5umkGouOXOR9y0n613ZwQ==} - '@types/geojson@7946.0.15': - resolution: {integrity: sha512-9oSxFzDCT2Rj6DfcHF8G++jxBKS7mBqXl5xrRW+Kbvjry6Uduya2iiwqHPhVXpasAVMBYKkEPGgKhd3+/HZ6xA==} + '@types/geojson@7946.0.16': + resolution: {integrity: sha512-6C8nqWur3j98U6+lXDfTUWIfgvZU+EumvpHKcYjujKH7woYyLj2sUmff0tRhrqM7BohUw7Pz3ZB1jj2gW9Fvmg==} '@types/google.maps@3.58.1': resolution: {integrity: sha512-X9QTSvGJ0nCfMzYOnaVs/k6/4L+7F5uCS+4iUmkLEls6J9S/Phv+m/i3mDeyc49ZBgwab3EFO1HEoBY7k98EGQ==} @@ -487,8 +503,8 @@ packages: '@types/node@14.18.63': resolution: {integrity: sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ==} - '@types/node@20.17.14': - resolution: {integrity: sha512-w6qdYetNL5KRBiSClK/KWai+2IMEJuAj+EujKCumalFOwXtvOXaEan9AuwcRID2IcOIAWSIfR495hBtgKlx2zg==} + '@types/node@20.17.28': + resolution: {integrity: sha512-DHlH/fNL6Mho38jTy7/JT7sn2wnXI+wULR6PV4gy4VHLVvnrV/d3pHAMQHhc4gjdLmK2ZiPoMxzp6B3yRajLSQ==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -499,8 +515,8 @@ packages: '@types/resize-observer-browser@0.1.11': resolution: {integrity: sha512-cNw5iH8JkMkb3QkCoe7DaZiawbDQEUX8t7iuQaRTyLOyQCR2h+ibBD4GJt7p5yhUHrlOeL7ZtbxNHeipqNsBzQ==} - '@types/semver@7.5.8': - resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} + '@types/semver@7.7.0': + resolution: {integrity: sha512-k107IF4+Xr7UHjwDc7Cfd6PRQfbdkiRabXGRjo07b4WyPahFBZCZ1sE+BNxYIJPPg73UkfOsVOLwqVc/6ETrIA==} '@types/slice-ansi@4.0.0': resolution: {integrity: sha512-+OpjSaq85gvlZAYINyzKpLeiFkSC4EsC6IIiT6v6TLSU5k5U83fHGj9Lel8oKEXM0HqgrMVCjXPDPVICtxF7EQ==} @@ -566,8 +582,8 @@ packages: resolution: {integrity: sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@ungap/structured-clone@1.2.1': - resolution: {integrity: sha512-fEzPV3hSkSMltkw152tJKNARhOupqbH96MZWyRjNaYZOMIzbrTeQDG+MTc6Mr2pgzFQzFxAfmhGDNP5QK++2ZA==} + '@ungap/structured-clone@1.3.0': + resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==} '@yarnpkg/lockfile@1.1.0': resolution: {integrity: sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==} @@ -593,8 +609,8 @@ packages: peerDependencies: acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 - acorn@8.14.0: - resolution: {integrity: sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==} + acorn@8.14.1: + resolution: {integrity: sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==} engines: {node: '>=0.4.0'} hasBin: true @@ -668,8 +684,8 @@ packages: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} - array.prototype.findlastindex@1.2.5: - resolution: {integrity: sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==} + array.prototype.findlastindex@1.2.6: + resolution: {integrity: sha512-F/TKATkzseUExPlfvmwQKGITM3DGTK+vkAsCZoDc5daVygbJBnjEUCbgkAvVFsgfXfX4YIqZ/27G3k3tdXrTxQ==} engines: {node: '>= 0.4'} array.prototype.flat@1.3.3: @@ -696,6 +712,10 @@ packages: resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==} engines: {node: '>=8'} + async-function@1.0.0: + resolution: {integrity: sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==} + engines: {node: '>= 0.4'} + async@3.2.6: resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==} @@ -710,8 +730,8 @@ packages: resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} - axios@1.7.9: - resolution: {integrity: sha512-LhLcE7Hbiryz8oMDdDptSrWowmB4Bl6RCt6sIJKpRB4XtVf0iEgewX3au/pJqm+Py1kCASkb/FFKjxQaLtxJvw==} + axios@1.8.4: + resolution: {integrity: sha512-eBSYY4Y68NNlHbHBMdeDmKNtDgXWhQsJcGqzO3iLUM0GraQFSS9cVgPX5I9b3lbdFKyYoAEGAZF1DwhTaljNAw==} balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} @@ -753,16 +773,16 @@ packages: resolution: {integrity: sha512-B+L5iIa9mgcjLbliir2th36yEwPftrzteHYujzsx3dFP/31GCHcIeS8f5MGd80odLOjaOvSpU3EEAmRQptkxLQ==} engines: {node: ^16.14.0 || >=18.0.0} - call-bind-apply-helpers@1.0.1: - resolution: {integrity: sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g==} + call-bind-apply-helpers@1.0.2: + resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==} engines: {node: '>= 0.4'} call-bind@1.0.8: resolution: {integrity: sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==} engines: {node: '>= 0.4'} - call-bound@1.0.3: - resolution: {integrity: sha512-YTd+6wGlNlPxSuri7Y6X8tY2dmm12UMH66RpKMhiX6rsk5wXXnYgbUcOt8kiS31/AjfoTOvCsE+w8nZQLQnzHA==} + call-bound@1.0.4: + resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==} engines: {node: '>= 0.4'} callsites@3.1.0: @@ -788,6 +808,14 @@ packages: chardet@0.7.0: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} + chevrotain-allstar@0.3.1: + resolution: {integrity: sha512-b7g+y9A0v4mxCW1qUhf3BSVPg+/NvGErk/dOkrDaHA0nQIQGAtrOjlX//9OQtRlSCy+x9rfB5N8yC71lH1nvMw==} + peerDependencies: + chevrotain: ^11.0.0 + + chevrotain@11.0.3: + resolution: {integrity: sha512-ci2iJH6LeIkvP9eJW6gpueU8cnZhv85ELY8w8WiFtNjMHA5ad6pQLaJo9mEly/9qUyCpvqX8/POVUTf18/HFdw==} + chevrotain@6.5.0: resolution: {integrity: sha512-BwqQ/AgmKJ8jcMEjaSnfMybnKMgGTrtDKowfTP3pX4jwVy0kNjRsT/AP6h+wC3+3NC+X8X15VWBnTCQlX+wQFg==} @@ -799,8 +827,8 @@ packages: resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} engines: {node: '>=8'} - ci-info@4.1.0: - resolution: {integrity: sha512-HutrvTNsF48wnxkzERIXOe5/mlcfFcbfCmwcg6CJnizbSue78AbDt+1cgl26zwn61WFxhcPykPfZrbqjGmBb4A==} + ci-info@4.2.0: + resolution: {integrity: sha512-cYY9mypksY8NRqgDB1XD1RiJL338v/551niynFTGkZOO2LHuB2OmOYxDIe/ttN9AHwrqdum1360G3ald0W9kCg==} engines: {node: '>=8'} clean-stack@2.2.0: @@ -1115,8 +1143,9 @@ packages: resolution: {integrity: sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==} engines: {node: '>= 0.4'} - es-shim-unscopables@1.0.2: - resolution: {integrity: sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==} + es-shim-unscopables@1.1.0: + resolution: {integrity: sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==} + engines: {node: '>= 0.4'} es-to-primitive@1.3.0: resolution: {integrity: sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==} @@ -1228,8 +1257,8 @@ packages: resolution: {integrity: sha512-ov6w/2LCiuyO4RLYGdpFGjkcs0wMTgGE8PrkTHikeUy5iJekXyPIKUjifk5CsE0pt7sMCrMZ3YNqoCj6idQOnQ==} engines: {node: '>=10'} - exponential-backoff@3.1.1: - resolution: {integrity: sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw==} + exponential-backoff@3.1.2: + resolution: {integrity: sha512-8QxYTVXUkuy7fIIoitQkPwGonB8F3Zj8eEO8Sqg9Zv/bkI7RJAzowee4gr81Hak/dUTpA2Z7VfQgoijjPNlUZA==} external-editor@3.1.0: resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} @@ -1248,8 +1277,8 @@ packages: fast-levenshtein@2.0.6: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} - fastq@1.18.0: - resolution: {integrity: sha512-QKHXPW0hD8g4UET03SdOdunzSouc9N4AuHdsX8XNcTsuz+yYFILVNIX4l9yHABMhiEI9Db0JTTIpu0wB+Y1QQw==} + fastq@1.19.1: + resolution: {integrity: sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==} figures@3.2.0: resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==} @@ -1286,8 +1315,8 @@ packages: resolution: {integrity: sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==} hasBin: true - flatted@3.3.2: - resolution: {integrity: sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==} + flatted@3.3.3: + resolution: {integrity: sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==} follow-redirects@1.15.9: resolution: {integrity: sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==} @@ -1298,15 +1327,16 @@ packages: debug: optional: true - for-each@0.3.3: - resolution: {integrity: sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==} + for-each@0.3.5: + resolution: {integrity: sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==} + engines: {node: '>= 0.4'} - foreground-child@3.3.0: - resolution: {integrity: sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==} + foreground-child@3.3.1: + resolution: {integrity: sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==} engines: {node: '>=14'} - form-data@4.0.1: - resolution: {integrity: sha512-tzN8e4TX8+kkxGPK8D5u0FNmjPUjw3lwC9lSLxxoB/+GtsJG91CO8bSWy73APlgAZzZbXEYZJuxjkHH2w+Ezhw==} + form-data@4.0.2: + resolution: {integrity: sha512-hGfm/slu0ZabnNt4oaRZ6uREyfCj6P4fT/n6A1rGV+Z0VdGXjfOhVUpkn6qVQONHGIFwmveGXyDs75+nr6FM8w==} engines: {node: '>= 6'} front-matter@4.0.2: @@ -1353,8 +1383,8 @@ packages: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} engines: {node: 6.* || 8.* || >= 10.*} - get-intrinsic@1.2.7: - resolution: {integrity: sha512-VW6Pxhsrk0KAOqs3WEd0klDiF/+V7gQOpAvY1jVU/LHmaD/kQO4523aiJuikX/QAKYiW6x8Jh+RJej1almdtCA==} + get-intrinsic@1.3.0: + resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==} engines: {node: '>= 0.4'} get-pkg-repo@4.2.1: @@ -1535,8 +1565,8 @@ packages: resolution: {integrity: sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==} engines: {node: '>= 4'} - import-fresh@3.3.0: - resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} + import-fresh@3.3.1: + resolution: {integrity: sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==} engines: {node: '>=6'} import-local@3.1.0: @@ -1593,16 +1623,16 @@ packages: is-arrayish@0.2.1: resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} - is-async-function@2.1.0: - resolution: {integrity: sha512-GExz9MtyhlZyXYLxzlJRj5WUCE661zhDa1Yna52CN57AJsymh+DvXXjyveSioqSRdxvUrdKdvqB1b5cVKsNpWQ==} + is-async-function@2.1.1: + resolution: {integrity: sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==} engines: {node: '>= 0.4'} is-bigint@1.1.0: resolution: {integrity: sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==} engines: {node: '>= 0.4'} - is-boolean-object@1.2.1: - resolution: {integrity: sha512-l9qO6eFlUETHtuihLcYOaLKByJ1f+N4kthcU9YjHy3N+B3hWv0y/2Nd0mu/7lTFnRQHTrSdXF50HQ3bl5fEnng==} + is-boolean-object@1.2.2: + resolution: {integrity: sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==} engines: {node: '>= 0.4'} is-callable@1.2.7: @@ -1685,10 +1715,6 @@ packages: resolution: {integrity: sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==} engines: {node: '>=0.10.0'} - is-plain-object@5.0.0: - resolution: {integrity: sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==} - engines: {node: '>=0.10.0'} - is-regex@1.2.1: resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==} engines: {node: '>= 0.4'} @@ -1701,8 +1727,8 @@ packages: resolution: {integrity: sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==} engines: {node: '>= 0.4'} - is-ssh@1.4.0: - resolution: {integrity: sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ==} + is-ssh@1.4.1: + resolution: {integrity: sha512-JNeu1wQsHjyHgn9NcWTaXq6zWSR6hqE0++zhfZlkFBbScNkyvxCdeV8sRkSBaeLKxmbpR21brail63ACNxJ0Tg==} is-stream@2.0.0: resolution: {integrity: sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==} @@ -1732,8 +1758,8 @@ packages: resolution: {integrity: sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==} engines: {node: '>= 0.4'} - is-weakref@1.1.0: - resolution: {integrity: sha512-SXM8Nwyys6nT5WP6pltOwKytLV7FqQ4UiibxVmW+EIosHcmCqkkjViTb5SNssDlkCiEYRP1/pdWUKVvZBmsR2Q==} + is-weakref@1.1.1: + resolution: {integrity: sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==} engines: {node: '>= 0.4'} is-weakset@2.0.4: @@ -1772,6 +1798,9 @@ packages: java-parser@2.0.4: resolution: {integrity: sha512-8dzy+3lJdSakeXgYArzqJCTy2PuH4iW1WjbhPsDaiYDXPeeroksy0s1/TWoc9Zw8zWzS3x8soanHh0AThwwqrQ==} + java-parser@2.3.3: + resolution: {integrity: sha512-9YY8OGlNGfq5TDDq2SBjtIEHMVLeV8vSSZrXDaQBhQ84hi1zc3/+5l3DF3wW8JGqQT2kNVha05dziSamvN8M/g==} + jest-diff@29.7.0: resolution: {integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -1854,8 +1883,8 @@ packages: resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==} engines: {node: '>=0.10.0'} - lerna@8.1.9: - resolution: {integrity: sha512-ZRFlRUBB2obm+GkbTR7EbgTMuAdni6iwtTQTMy7LIrQ4UInG44LyfRepljtgUxh4HA0ltzsvWfPkd5J1DKGCeQ==} + lerna@8.2.1: + resolution: {integrity: sha512-Xwjv9/4ixp7fpBWhtvp7dz4NoQT8DEf7hzibHKCgu/8kmZUHeXsTn+TKspHqhI+p4YDmdkDnkg8xmymz73kVOg==} engines: {node: '>=18.0.0'} hasBin: true @@ -1898,6 +1927,9 @@ packages: resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} engines: {node: '>=10'} + lodash-es@4.17.21: + resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==} + lodash.ismatch@4.4.0: resolution: {integrity: sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==} @@ -2143,8 +2175,8 @@ packages: resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} engines: {node: '>=8'} - nx@20.3.2: - resolution: {integrity: sha512-VWUHX0uCn8ACFbpBTpgucDzwe4q/a/UU3AYOhzKCvTzb3kQiyvoxLjORSze93ZNEqgor0PMkCQgcoMBUjxJfzQ==} + nx@20.6.4: + resolution: {integrity: sha512-mkRgGvPSZpezn65upZ9psuyywr03XTirHDsqlnRYp90qqDQqMH/I1FsHqqUG5qdy4gbm5qFkZ5Vvc8Z3RkN/jg==} hasBin: true peerDependencies: '@swc-node/register': ^1.8.0 @@ -2155,8 +2187,8 @@ packages: '@swc/core': optional: true - object-inspect@1.13.3: - resolution: {integrity: sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA==} + object-inspect@1.13.4: + resolution: {integrity: sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew==} engines: {node: '>= 0.4'} object-keys@1.1.1: @@ -2298,8 +2330,8 @@ packages: resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} engines: {node: '>=8'} - parse-path@7.0.0: - resolution: {integrity: sha512-Euf9GG8WT9CdqwuWJGdf3RkUcTBArppHABkO7Lm8IzRQp0e2r/kkFnmhu4TSK30Wcu5rVAZLmfPKSBBi9tWFog==} + parse-path@7.0.1: + resolution: {integrity: sha512-6ReLMptznuuOEzLoGEa+I1oWRSj2Zna5jLWC+l6zlfAI4dbbSaIES29ThzuPkbhNahT65dWzfoZEO6cfJw2Ksg==} parse-url@8.1.0: resolution: {integrity: sha512-xDvOoLU5XRrcOZvnI6b8zA6n9O9ejNk/GExuz1yBuWUGn9KA97GI6HTs6u02wKara1CeVmZhH+0TZFdWScR89w==} @@ -2362,8 +2394,8 @@ packages: resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} engines: {node: '>=8'} - possible-typed-array-names@1.0.0: - resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==} + possible-typed-array-names@1.1.0: + resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==} engines: {node: '>= 0.4'} postcss-selector-parser@6.1.2: @@ -2377,6 +2409,11 @@ packages: prettier-plugin-java@2.1.0: resolution: {integrity: sha512-fALvx3PoabX6gar5Ock/reSEJVTmmJXowkvEXWhn6AxXnLfXoZxKqPNsUdQ+jcVaXO7jnQTW39hVGBnbfgFj+A==} + prettier-plugin-java@2.6.7: + resolution: {integrity: sha512-AVm+X7fhAZpYKiUCdUIGZ8HJbkGkTUgYQIKVuCQEplcqpGw2ewVnNGcPb1Kc3+MYMfiEqzhd8ZYhMGVHw6tZdQ==} + peerDependencies: + prettier: ^3.0.0 + prettier@2.8.4: resolution: {integrity: sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==} engines: {node: '>=10.13.0'} @@ -2387,6 +2424,11 @@ packages: engines: {node: '>=10.13.0'} hasBin: true + prettier@3.5.3: + resolution: {integrity: sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==} + engines: {node: '>=14'} + hasBin: true + pretty-format@29.7.0: resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -2424,8 +2466,8 @@ packages: resolution: {integrity: sha512-2FPputGL+mP3jJ3UZg/Dl9YOkovB7DX0oOr+ck5QbZ5MtORtds8k/BZdn+02peDLI8/YWbmzx34k5fA+fHvCVQ==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} - protocols@2.0.1: - resolution: {integrity: sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q==} + protocols@2.0.2: + resolution: {integrity: sha512-hHVTzba3wboROl0/aWRRG9dMytgH6ow//STBZh43l/wQgmMhYhOFi0EHWAPtoCz9IAUymsyP0TSBHkhgMEGNnQ==} proxy-from-env@1.1.0: resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} @@ -2531,8 +2573,8 @@ packages: resolution: {integrity: sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==} engines: {node: '>= 4'} - reusify@1.0.4: - resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} + reusify@1.1.0: + resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} rimraf@3.0.2: @@ -2557,8 +2599,8 @@ packages: run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} - rxjs@7.8.1: - resolution: {integrity: sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==} + rxjs@7.8.2: + resolution: {integrity: sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==} safe-array-concat@1.1.3: resolution: {integrity: sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==} @@ -2589,8 +2631,8 @@ packages: resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} hasBin: true - semver@7.6.3: - resolution: {integrity: sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==} + semver@7.7.1: + resolution: {integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==} engines: {node: '>=10'} hasBin: true @@ -2669,8 +2711,8 @@ packages: resolution: {integrity: sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==} engines: {node: '>= 14'} - socks@2.8.3: - resolution: {integrity: sha512-l5x7VUUWbjVFbafGLxPWkYsHIhEvmF85tbIeFZWc8ZPtoMyybuEhL7Jye/ooC4/d48FgOjSJXgsF/AJPYCW8Zw==} + socks@2.8.4: + resolution: {integrity: sha512-D3YaD0aRxR3mEcqnidIs7ReYJFVzWdd6fXJYUM8ixcQcJRGTka/b3saV0KflYhyVJXKhb947GndU35SxYNResQ==} engines: {node: '>= 10.0.0', npm: '>= 3.0.0'} sort-keys@2.0.0: @@ -2915,8 +2957,8 @@ packages: engines: {node: '>=4.2.0'} hasBin: true - typescript@5.7.3: - resolution: {integrity: sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==} + typescript@5.8.2: + resolution: {integrity: sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==} engines: {node: '>=14.17'} hasBin: true @@ -2996,8 +3038,8 @@ packages: resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==} engines: {node: '>= 0.4'} - which-typed-array@1.1.18: - resolution: {integrity: sha512-qEcY+KJYlWyLH9vNbsr6/5j59AXk5ni5aakf8ldzBvGde6Iz4sxZGkJyWSAueTG7QhOvNRYb1lDdFmL5Td0QKA==} + which-typed-array@1.1.19: + resolution: {integrity: sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw==} engines: {node: '>= 0.4'} which@2.0.2: @@ -3065,8 +3107,8 @@ packages: resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==} engines: {node: '>= 6'} - yaml@2.7.0: - resolution: {integrity: sha512-+hSoy/QHluxmC9kCIJyL/uyFmLmc+e5CFR5Wa+bpIhIj85LVb9ZH2nVnqrHoSvKogwODv0ClqZkmiSSaIH5LTA==} + yaml@2.7.1: + resolution: {integrity: sha512-10ULxpnOCQXxJvBgxsn9ptjq6uviG/htZKk9veJGhlqn3w/DxQ631zFF+nlQXLwmImeS5amR2dl2U8sg6U9jsQ==} engines: {node: '>= 14'} hasBin: true @@ -3120,12 +3162,29 @@ snapshots: dependencies: '@capacitor/core': 7.0.0-rc.0 - '@emnapi/core@1.3.1': + '@chevrotain/cst-dts-gen@11.0.3': + dependencies: + '@chevrotain/gast': 11.0.3 + '@chevrotain/types': 11.0.3 + lodash-es: 4.17.21 + + '@chevrotain/gast@11.0.3': + dependencies: + '@chevrotain/types': 11.0.3 + lodash-es: 4.17.21 + + '@chevrotain/regexp-to-ast@11.0.3': {} + + '@chevrotain/types@11.0.3': {} + + '@chevrotain/utils@11.0.3': {} + + '@emnapi/core@1.4.0': dependencies: '@emnapi/wasi-threads': 1.0.1 tslib: 2.8.1 - '@emnapi/runtime@1.3.1': + '@emnapi/runtime@1.4.0': dependencies: tslib: 2.8.1 @@ -3133,7 +3192,7 @@ snapshots: dependencies: tslib: 2.8.1 - '@eslint-community/eslint-utils@4.4.1(eslint@8.57.1)': + '@eslint-community/eslint-utils@4.5.1(eslint@8.57.1)': dependencies: eslint: 8.57.1 eslint-visitor-keys: 3.4.3 @@ -3147,7 +3206,7 @@ snapshots: espree: 9.6.1 globals: 13.24.0 ignore: 5.3.2 - import-fresh: 3.3.0 + import-fresh: 3.3.1 js-yaml: 4.1.0 minimatch: 3.1.2 strip-json-comments: 3.1.1 @@ -3264,14 +3323,14 @@ snapshots: dependencies: '@sinclair/typebox': 0.27.8 - '@lerna/create@8.1.9(encoding@0.1.13)(typescript@5.7.3)': + '@lerna/create@8.2.1(encoding@0.1.13)(typescript@5.8.2)': dependencies: '@npmcli/arborist': 7.5.4 '@npmcli/package-json': 5.2.0 '@npmcli/run-script': 8.1.0 - '@nx/devkit': 20.3.2(nx@20.3.2) + '@nx/devkit': 20.6.4(nx@20.6.4) '@octokit/plugin-enterprise-rest': 6.0.1 - '@octokit/rest': 19.0.11(encoding@0.1.13) + '@octokit/rest': 20.1.2 aproba: 2.0.0 byte-size: 8.1.1 chalk: 4.1.0 @@ -3282,7 +3341,7 @@ snapshots: console-control-strings: 1.1.0 conventional-changelog-core: 5.0.1 conventional-recommended-bump: 7.0.1 - cosmiconfig: 9.0.0(typescript@5.7.3) + cosmiconfig: 9.0.0(typescript@5.8.2) dedent: 1.5.3 execa: 5.0.0 fs-extra: 11.3.0 @@ -3308,7 +3367,7 @@ snapshots: npm-package-arg: 11.0.2 npm-packlist: 8.0.2 npm-registry-fetch: 17.1.0 - nx: 20.3.2 + nx: 20.6.4 p-map: 4.0.0 p-map-series: 2.1.0 p-queue: 6.6.2 @@ -3318,13 +3377,12 @@ snapshots: read-cmd-shim: 4.0.0 resolve-from: 5.0.0 rimraf: 4.4.1 - semver: 7.6.3 + semver: 7.7.1 set-blocking: 2.0.0 signal-exit: 3.0.7 slash: 3.0.0 ssri: 10.0.6 string-width: 4.2.3 - strip-ansi: 6.0.1 strong-log-transformer: 2.1.0 tar: 6.2.1 temp-dir: 1.0.0 @@ -3349,8 +3407,8 @@ snapshots: '@napi-rs/wasm-runtime@0.2.4': dependencies: - '@emnapi/core': 1.3.1 - '@emnapi/runtime': 1.3.1 + '@emnapi/core': 1.4.0 + '@emnapi/runtime': 1.4.0 '@tybys/wasm-util': 0.9.0 '@nodelib/fs.scandir@2.1.5': @@ -3363,7 +3421,7 @@ snapshots: '@nodelib/fs.walk@1.2.8': dependencies: '@nodelib/fs.scandir': 2.1.5 - fastq: 1.18.0 + fastq: 1.19.1 '@npmcli/agent@2.2.2': dependencies: @@ -3408,7 +3466,7 @@ snapshots: promise-all-reject-late: 1.0.1 promise-call-limit: 3.0.2 read-package-json-fast: 3.0.2 - semver: 7.6.3 + semver: 7.7.1 ssri: 10.0.6 treeverse: 3.0.0 walk-up-path: 3.0.1 @@ -3418,7 +3476,7 @@ snapshots: '@npmcli/fs@3.1.1': dependencies: - semver: 7.6.3 + semver: 7.7.1 '@npmcli/git@5.0.8': dependencies: @@ -3429,7 +3487,7 @@ snapshots: proc-log: 4.2.0 promise-inflight: 1.0.1 promise-retry: 2.0.1 - semver: 7.6.3 + semver: 7.7.1 which: 4.0.0 transitivePeerDependencies: - bluebird @@ -3452,7 +3510,7 @@ snapshots: json-parse-even-better-errors: 3.0.2 pacote: 18.0.6 proc-log: 4.2.0 - semver: 7.6.3 + semver: 7.7.1 transitivePeerDependencies: - bluebird - supports-color @@ -3469,7 +3527,7 @@ snapshots: json-parse-even-better-errors: 3.0.2 normalize-package-data: 6.0.2 proc-log: 4.2.0 - semver: 7.6.3 + semver: 7.7.1 transitivePeerDependencies: - bluebird @@ -3495,130 +3553,112 @@ snapshots: - bluebird - supports-color - '@nx/devkit@20.3.2(nx@20.3.2)': + '@nx/devkit@20.6.4(nx@20.6.4)': dependencies: ejs: 3.1.10 enquirer: 2.3.6 ignore: 5.3.2 minimatch: 9.0.3 - nx: 20.3.2 - semver: 7.6.3 + nx: 20.6.4 + semver: 7.7.1 tmp: 0.2.3 tslib: 2.8.1 yargs-parser: 21.1.1 - '@nx/nx-darwin-arm64@20.3.2': + '@nx/nx-darwin-arm64@20.6.4': optional: true - '@nx/nx-darwin-x64@20.3.2': + '@nx/nx-darwin-x64@20.6.4': optional: true - '@nx/nx-freebsd-x64@20.3.2': + '@nx/nx-freebsd-x64@20.6.4': optional: true - '@nx/nx-linux-arm-gnueabihf@20.3.2': + '@nx/nx-linux-arm-gnueabihf@20.6.4': optional: true - '@nx/nx-linux-arm64-gnu@20.3.2': + '@nx/nx-linux-arm64-gnu@20.6.4': optional: true - '@nx/nx-linux-arm64-musl@20.3.2': + '@nx/nx-linux-arm64-musl@20.6.4': optional: true - '@nx/nx-linux-x64-gnu@20.3.2': + '@nx/nx-linux-x64-gnu@20.6.4': optional: true - '@nx/nx-linux-x64-musl@20.3.2': + '@nx/nx-linux-x64-musl@20.6.4': optional: true - '@nx/nx-win32-arm64-msvc@20.3.2': + '@nx/nx-win32-arm64-msvc@20.6.4': optional: true - '@nx/nx-win32-x64-msvc@20.3.2': + '@nx/nx-win32-x64-msvc@20.6.4': optional: true - '@octokit/auth-token@3.0.4': {} + '@octokit/auth-token@4.0.0': {} - '@octokit/core@4.2.4(encoding@0.1.13)': + '@octokit/core@5.2.1': dependencies: - '@octokit/auth-token': 3.0.4 - '@octokit/graphql': 5.0.6(encoding@0.1.13) - '@octokit/request': 6.2.8(encoding@0.1.13) - '@octokit/request-error': 3.0.3 - '@octokit/types': 9.3.2 + '@octokit/auth-token': 4.0.0 + '@octokit/graphql': 7.1.1 + '@octokit/request': 8.4.1 + '@octokit/request-error': 5.1.1 + '@octokit/types': 13.10.0 before-after-hook: 2.2.3 universal-user-agent: 6.0.1 - transitivePeerDependencies: - - encoding - '@octokit/endpoint@7.0.6': + '@octokit/endpoint@9.0.6': dependencies: - '@octokit/types': 9.3.2 - is-plain-object: 5.0.0 + '@octokit/types': 13.10.0 universal-user-agent: 6.0.1 - '@octokit/graphql@5.0.6(encoding@0.1.13)': + '@octokit/graphql@7.1.1': dependencies: - '@octokit/request': 6.2.8(encoding@0.1.13) - '@octokit/types': 9.3.2 + '@octokit/request': 8.4.1 + '@octokit/types': 13.10.0 universal-user-agent: 6.0.1 - transitivePeerDependencies: - - encoding - '@octokit/openapi-types@18.1.1': {} + '@octokit/openapi-types@24.2.0': {} '@octokit/plugin-enterprise-rest@6.0.1': {} - '@octokit/plugin-paginate-rest@6.1.2(@octokit/core@4.2.4(encoding@0.1.13))': + '@octokit/plugin-paginate-rest@11.4.4-cjs.2(@octokit/core@5.2.1)': dependencies: - '@octokit/core': 4.2.4(encoding@0.1.13) - '@octokit/tsconfig': 1.0.2 - '@octokit/types': 9.3.2 + '@octokit/core': 5.2.1 + '@octokit/types': 13.10.0 - '@octokit/plugin-request-log@1.0.4(@octokit/core@4.2.4(encoding@0.1.13))': + '@octokit/plugin-request-log@4.0.1(@octokit/core@5.2.1)': dependencies: - '@octokit/core': 4.2.4(encoding@0.1.13) + '@octokit/core': 5.2.1 - '@octokit/plugin-rest-endpoint-methods@7.2.3(@octokit/core@4.2.4(encoding@0.1.13))': + '@octokit/plugin-rest-endpoint-methods@13.3.2-cjs.1(@octokit/core@5.2.1)': dependencies: - '@octokit/core': 4.2.4(encoding@0.1.13) - '@octokit/types': 10.0.0 + '@octokit/core': 5.2.1 + '@octokit/types': 13.10.0 - '@octokit/request-error@3.0.3': + '@octokit/request-error@5.1.1': dependencies: - '@octokit/types': 9.3.2 + '@octokit/types': 13.10.0 deprecation: 2.3.1 once: 1.4.0 - '@octokit/request@6.2.8(encoding@0.1.13)': + '@octokit/request@8.4.1': dependencies: - '@octokit/endpoint': 7.0.6 - '@octokit/request-error': 3.0.3 - '@octokit/types': 9.3.2 - is-plain-object: 5.0.0 - node-fetch: 2.6.7(encoding@0.1.13) + '@octokit/endpoint': 9.0.6 + '@octokit/request-error': 5.1.1 + '@octokit/types': 13.10.0 universal-user-agent: 6.0.1 - transitivePeerDependencies: - - encoding - '@octokit/rest@19.0.11(encoding@0.1.13)': + '@octokit/rest@20.1.2': dependencies: - '@octokit/core': 4.2.4(encoding@0.1.13) - '@octokit/plugin-paginate-rest': 6.1.2(@octokit/core@4.2.4(encoding@0.1.13)) - '@octokit/plugin-request-log': 1.0.4(@octokit/core@4.2.4(encoding@0.1.13)) - '@octokit/plugin-rest-endpoint-methods': 7.2.3(@octokit/core@4.2.4(encoding@0.1.13)) - transitivePeerDependencies: - - encoding + '@octokit/core': 5.2.1 + '@octokit/plugin-paginate-rest': 11.4.4-cjs.2(@octokit/core@5.2.1) + '@octokit/plugin-request-log': 4.0.1(@octokit/core@5.2.1) + '@octokit/plugin-rest-endpoint-methods': 13.3.2-cjs.1(@octokit/core@5.2.1) - '@octokit/tsconfig@1.0.2': {} - - '@octokit/types@10.0.0': - dependencies: - '@octokit/openapi-types': 18.1.1 - - '@octokit/types@9.3.2': + '@octokit/types@13.10.0': dependencies: - '@octokit/openapi-types': 18.1.1 + '@octokit/openapi-types': 24.2.0 '@pkgjs/parseargs@0.11.0': optional: true @@ -3672,9 +3712,9 @@ snapshots: '@types/fs-extra@8.1.5': dependencies: - '@types/node': 20.17.14 + '@types/node': 20.17.28 - '@types/geojson@7946.0.15': {} + '@types/geojson@7946.0.16': {} '@types/google.maps@3.58.1': {} @@ -3688,7 +3728,7 @@ snapshots: '@types/node@14.18.63': {} - '@types/node@20.17.14': + '@types/node@20.17.28': dependencies: undici-types: 6.19.8 @@ -3698,42 +3738,42 @@ snapshots: '@types/resize-observer-browser@0.1.11': {} - '@types/semver@7.5.8': {} + '@types/semver@7.7.0': {} '@types/slice-ansi@4.0.0': {} '@types/supercluster@7.1.3': dependencies: - '@types/geojson': 7946.0.15 + '@types/geojson': 7946.0.16 - '@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1)(typescript@5.7.3)': + '@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.8.2))(eslint@8.57.1)(typescript@5.8.2)': dependencies: '@eslint-community/regexpp': 4.12.1 - '@typescript-eslint/parser': 5.62.0(eslint@8.57.1)(typescript@5.7.3) + '@typescript-eslint/parser': 5.62.0(eslint@8.57.1)(typescript@5.8.2) '@typescript-eslint/scope-manager': 5.62.0 - '@typescript-eslint/type-utils': 5.62.0(eslint@8.57.1)(typescript@5.7.3) - '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.7.3) + '@typescript-eslint/type-utils': 5.62.0(eslint@8.57.1)(typescript@5.8.2) + '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.8.2) debug: 4.4.0 eslint: 8.57.1 graphemer: 1.4.0 ignore: 5.3.2 natural-compare-lite: 1.4.0 - semver: 7.6.3 - tsutils: 3.21.0(typescript@5.7.3) + semver: 7.7.1 + tsutils: 3.21.0(typescript@5.8.2) optionalDependencies: - typescript: 5.7.3 + typescript: 5.8.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.3)': + '@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.8.2)': dependencies: '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.7.3) + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.8.2) debug: 4.4.0 eslint: 8.57.1 optionalDependencies: - typescript: 5.7.3 + typescript: 5.8.2 transitivePeerDependencies: - supports-color @@ -3742,45 +3782,45 @@ snapshots: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 - '@typescript-eslint/type-utils@5.62.0(eslint@8.57.1)(typescript@5.7.3)': + '@typescript-eslint/type-utils@5.62.0(eslint@8.57.1)(typescript@5.8.2)': dependencies: - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.7.3) - '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.7.3) + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.8.2) + '@typescript-eslint/utils': 5.62.0(eslint@8.57.1)(typescript@5.8.2) debug: 4.4.0 eslint: 8.57.1 - tsutils: 3.21.0(typescript@5.7.3) + tsutils: 3.21.0(typescript@5.8.2) optionalDependencies: - typescript: 5.7.3 + typescript: 5.8.2 transitivePeerDependencies: - supports-color '@typescript-eslint/types@5.62.0': {} - '@typescript-eslint/typescript-estree@5.62.0(typescript@5.7.3)': + '@typescript-eslint/typescript-estree@5.62.0(typescript@5.8.2)': dependencies: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 debug: 4.4.0 globby: 11.1.0 is-glob: 4.0.3 - semver: 7.6.3 - tsutils: 3.21.0(typescript@5.7.3) + semver: 7.7.1 + tsutils: 3.21.0(typescript@5.8.2) optionalDependencies: - typescript: 5.7.3 + typescript: 5.8.2 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@5.62.0(eslint@8.57.1)(typescript@5.7.3)': + '@typescript-eslint/utils@5.62.0(eslint@8.57.1)(typescript@5.8.2)': dependencies: - '@eslint-community/eslint-utils': 4.4.1(eslint@8.57.1) + '@eslint-community/eslint-utils': 4.5.1(eslint@8.57.1) '@types/json-schema': 7.0.15 - '@types/semver': 7.5.8 + '@types/semver': 7.7.0 '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.7.3) + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.8.2) eslint: 8.57.1 eslint-scope: 5.1.1 - semver: 7.6.3 + semver: 7.7.1 transitivePeerDependencies: - supports-color - typescript @@ -3790,7 +3830,7 @@ snapshots: '@typescript-eslint/types': 5.62.0 eslint-visitor-keys: 3.4.3 - '@ungap/structured-clone@1.2.1': {} + '@ungap/structured-clone@1.3.0': {} '@yarnpkg/lockfile@1.1.0': {} @@ -3810,11 +3850,11 @@ snapshots: abbrev@2.0.0: {} - acorn-jsx@5.3.2(acorn@8.14.0): + acorn-jsx@5.3.2(acorn@8.14.1): dependencies: - acorn: 8.14.0 + acorn: 8.14.1 - acorn@8.14.0: {} + acorn@8.14.1: {} add-stream@1.0.0: {} @@ -3860,7 +3900,7 @@ snapshots: array-buffer-byte-length@1.0.2: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 is-array-buffer: 3.0.5 array-differ@3.0.0: {} @@ -3873,33 +3913,34 @@ snapshots: define-properties: 1.2.1 es-abstract: 1.23.9 es-object-atoms: 1.1.1 - get-intrinsic: 1.2.7 + get-intrinsic: 1.3.0 is-string: 1.1.1 array-union@2.1.0: {} - array.prototype.findlastindex@1.2.5: + array.prototype.findlastindex@1.2.6: dependencies: call-bind: 1.0.8 + call-bound: 1.0.4 define-properties: 1.2.1 es-abstract: 1.23.9 es-errors: 1.3.0 es-object-atoms: 1.1.1 - es-shim-unscopables: 1.0.2 + es-shim-unscopables: 1.1.0 array.prototype.flat@1.3.3: dependencies: call-bind: 1.0.8 define-properties: 1.2.1 es-abstract: 1.23.9 - es-shim-unscopables: 1.0.2 + es-shim-unscopables: 1.1.0 array.prototype.flatmap@1.3.3: dependencies: call-bind: 1.0.8 define-properties: 1.2.1 es-abstract: 1.23.9 - es-shim-unscopables: 1.0.2 + es-shim-unscopables: 1.1.0 arraybuffer.prototype.slice@1.0.4: dependencies: @@ -3908,7 +3949,7 @@ snapshots: define-properties: 1.2.1 es-abstract: 1.23.9 es-errors: 1.3.0 - get-intrinsic: 1.2.7 + get-intrinsic: 1.3.0 is-array-buffer: 3.0.5 arrify@1.0.1: {} @@ -3917,6 +3958,8 @@ snapshots: astral-regex@2.0.0: {} + async-function@1.0.0: {} + async@3.2.6: {} asynckit@0.4.0: {} @@ -3925,12 +3968,12 @@ snapshots: available-typed-arrays@1.0.7: dependencies: - possible-typed-array-names: 1.0.0 + possible-typed-array-names: 1.1.0 - axios@1.7.9: + axios@1.8.4: dependencies: follow-redirects: 1.15.9 - form-data: 4.0.1 + form-data: 4.0.2 proxy-from-env: 1.1.0 transitivePeerDependencies: - debug @@ -3991,22 +4034,22 @@ snapshots: tar: 6.2.1 unique-filename: 3.0.0 - call-bind-apply-helpers@1.0.1: + call-bind-apply-helpers@1.0.2: dependencies: es-errors: 1.3.0 function-bind: 1.1.2 call-bind@1.0.8: dependencies: - call-bind-apply-helpers: 1.0.1 + call-bind-apply-helpers: 1.0.2 es-define-property: 1.0.1 - get-intrinsic: 1.2.7 + get-intrinsic: 1.3.0 set-function-length: 1.2.2 - call-bound@1.0.3: + call-bound@1.0.4: dependencies: - call-bind-apply-helpers: 1.0.1 - get-intrinsic: 1.2.7 + call-bind-apply-helpers: 1.0.2 + get-intrinsic: 1.3.0 callsites@3.1.0: {} @@ -4030,6 +4073,20 @@ snapshots: chardet@0.7.0: {} + chevrotain-allstar@0.3.1(chevrotain@11.0.3): + dependencies: + chevrotain: 11.0.3 + lodash-es: 4.17.21 + + chevrotain@11.0.3: + dependencies: + '@chevrotain/cst-dts-gen': 11.0.3 + '@chevrotain/gast': 11.0.3 + '@chevrotain/regexp-to-ast': 11.0.3 + '@chevrotain/types': 11.0.3 + '@chevrotain/utils': 11.0.3 + lodash-es: 4.17.21 + chevrotain@6.5.0: dependencies: regexp-to-ast: 0.4.0 @@ -4038,7 +4095,7 @@ snapshots: ci-info@3.9.0: {} - ci-info@4.1.0: {} + ci-info@4.2.0: {} clean-stack@2.2.0: {} @@ -4138,7 +4195,7 @@ snapshots: handlebars: 4.7.8 json-stringify-safe: 5.0.1 meow: 8.1.2 - semver: 7.6.3 + semver: 7.7.1 split: 1.0.1 conventional-commits-filter@3.0.0: @@ -4168,19 +4225,19 @@ snapshots: cosmiconfig@6.0.0: dependencies: '@types/parse-json': 4.0.2 - import-fresh: 3.3.0 + import-fresh: 3.3.1 parse-json: 5.2.0 path-type: 4.0.0 yaml: 1.10.2 - cosmiconfig@9.0.0(typescript@5.7.3): + cosmiconfig@9.0.0(typescript@5.8.2): dependencies: env-paths: 2.2.1 - import-fresh: 3.3.0 + import-fresh: 3.3.1 js-yaml: 4.1.0 parse-json: 5.2.0 optionalDependencies: - typescript: 5.7.3 + typescript: 5.8.2 cross-spawn@7.0.6: dependencies: @@ -4194,19 +4251,19 @@ snapshots: data-view-buffer@1.0.2: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 es-errors: 1.3.0 is-data-view: 1.0.2 data-view-byte-length@1.0.2: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 es-errors: 1.3.0 is-data-view: 1.0.2 data-view-byte-offset@1.0.1: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 es-errors: 1.3.0 is-data-view: 1.0.2 @@ -4281,13 +4338,13 @@ snapshots: downlevel-dts@0.7.0: dependencies: - semver: 7.6.3 + semver: 7.7.1 shelljs: 0.8.5 typescript: 4.9.5 dunder-proto@1.0.1: dependencies: - call-bind-apply-helpers: 1.0.1 + call-bind-apply-helpers: 1.0.2 es-errors: 1.3.0 gopd: 1.2.0 @@ -4332,7 +4389,7 @@ snapshots: arraybuffer.prototype.slice: 1.0.4 available-typed-arrays: 1.0.7 call-bind: 1.0.8 - call-bound: 1.0.3 + call-bound: 1.0.4 data-view-buffer: 1.0.2 data-view-byte-length: 1.0.2 data-view-byte-offset: 1.0.1 @@ -4342,7 +4399,7 @@ snapshots: es-set-tostringtag: 2.1.0 es-to-primitive: 1.3.0 function.prototype.name: 1.1.8 - get-intrinsic: 1.2.7 + get-intrinsic: 1.3.0 get-proto: 1.0.1 get-symbol-description: 1.1.0 globalthis: 1.0.4 @@ -4359,9 +4416,9 @@ snapshots: is-shared-array-buffer: 1.0.4 is-string: 1.1.1 is-typed-array: 1.1.15 - is-weakref: 1.1.0 + is-weakref: 1.1.1 math-intrinsics: 1.1.0 - object-inspect: 1.13.3 + object-inspect: 1.13.4 object-keys: 1.1.1 object.assign: 4.1.7 own-keys: 1.0.1 @@ -4378,7 +4435,7 @@ snapshots: typed-array-byte-offset: 1.0.4 typed-array-length: 1.0.7 unbox-primitive: 1.1.0 - which-typed-array: 1.1.18 + which-typed-array: 1.1.19 es-define-property@1.0.1: {} @@ -4391,11 +4448,11 @@ snapshots: es-set-tostringtag@2.1.0: dependencies: es-errors: 1.3.0 - get-intrinsic: 1.2.7 + get-intrinsic: 1.3.0 has-tostringtag: 1.0.2 hasown: 2.0.2 - es-shim-unscopables@1.0.2: + es-shim-unscopables@1.1.0: dependencies: hasown: 2.0.2 @@ -4423,28 +4480,28 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1): + eslint-module-utils@2.12.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.8.2))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 5.62.0(eslint@8.57.1)(typescript@5.7.3) + '@typescript-eslint/parser': 5.62.0(eslint@8.57.1)(typescript@5.8.2) eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 transitivePeerDependencies: - supports-color - eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.3))(eslint@8.57.1): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.8.2))(eslint@8.57.1): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 - array.prototype.findlastindex: 1.2.5 + array.prototype.findlastindex: 1.2.6 array.prototype.flat: 1.3.3 array.prototype.flatmap: 1.3.3 debug: 3.2.7 doctrine: 2.1.0 eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.7.3))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@5.62.0(eslint@8.57.1)(typescript@5.8.2))(eslint-import-resolver-node@0.3.9)(eslint@8.57.1) hasown: 2.0.2 is-core-module: 2.16.1 is-glob: 4.0.3 @@ -4456,7 +4513,7 @@ snapshots: string.prototype.trimend: 1.0.9 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 5.62.0(eslint@8.57.1)(typescript@5.7.3) + '@typescript-eslint/parser': 5.62.0(eslint@8.57.1)(typescript@5.8.2) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -4476,14 +4533,14 @@ snapshots: eslint@8.57.1: dependencies: - '@eslint-community/eslint-utils': 4.4.1(eslint@8.57.1) + '@eslint-community/eslint-utils': 4.5.1(eslint@8.57.1) '@eslint-community/regexpp': 4.12.1 '@eslint/eslintrc': 2.1.4 '@eslint/js': 8.57.1 '@humanwhocodes/config-array': 0.13.0 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 - '@ungap/structured-clone': 1.2.1 + '@ungap/structured-clone': 1.3.0 ajv: 6.12.6 chalk: 4.1.2 cross-spawn: 7.0.6 @@ -4519,8 +4576,8 @@ snapshots: espree@9.6.1: dependencies: - acorn: 8.14.0 - acorn-jsx: 5.3.2(acorn@8.14.0) + acorn: 8.14.1 + acorn-jsx: 5.3.2(acorn@8.14.1) eslint-visitor-keys: 3.4.3 esprima@4.0.1: {} @@ -4553,7 +4610,7 @@ snapshots: signal-exit: 3.0.7 strip-final-newline: 2.0.0 - exponential-backoff@3.1.1: {} + exponential-backoff@3.1.2: {} external-editor@3.1.0: dependencies: @@ -4575,9 +4632,9 @@ snapshots: fast-levenshtein@2.0.6: {} - fastq@1.18.0: + fastq@1.19.1: dependencies: - reusify: 1.0.4 + reusify: 1.1.0 figures@3.2.0: dependencies: @@ -4611,29 +4668,30 @@ snapshots: flat-cache@3.2.0: dependencies: - flatted: 3.3.2 + flatted: 3.3.3 keyv: 4.5.4 rimraf: 3.0.2 flat@5.0.2: {} - flatted@3.3.2: {} + flatted@3.3.3: {} follow-redirects@1.15.9: {} - for-each@0.3.3: + for-each@0.3.5: dependencies: is-callable: 1.2.7 - foreground-child@3.3.0: + foreground-child@3.3.1: dependencies: cross-spawn: 7.0.6 signal-exit: 4.1.0 - form-data@4.0.1: + form-data@4.0.2: dependencies: asynckit: 0.4.0 combined-stream: 1.0.8 + es-set-tostringtag: 2.1.0 mime-types: 2.1.35 front-matter@4.0.2: @@ -4673,7 +4731,7 @@ snapshots: function.prototype.name@1.1.8: dependencies: call-bind: 1.0.8 - call-bound: 1.0.3 + call-bound: 1.0.4 define-properties: 1.2.1 functions-have-names: 1.2.3 hasown: 2.0.2 @@ -4683,9 +4741,9 @@ snapshots: get-caller-file@2.0.5: {} - get-intrinsic@1.2.7: + get-intrinsic@1.3.0: dependencies: - call-bind-apply-helpers: 1.0.1 + call-bind-apply-helpers: 1.0.2 es-define-property: 1.0.1 es-errors: 1.3.0 es-object-atoms: 1.1.1 @@ -4714,9 +4772,9 @@ snapshots: get-symbol-description@1.1.0: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 es-errors: 1.3.0 - get-intrinsic: 1.2.7 + get-intrinsic: 1.3.0 git-raw-commits@3.0.0: dependencies: @@ -4732,11 +4790,11 @@ snapshots: git-semver-tags@5.0.1: dependencies: meow: 8.1.2 - semver: 7.6.3 + semver: 7.7.1 git-up@7.0.0: dependencies: - is-ssh: 1.4.0 + is-ssh: 1.4.1 parse-url: 8.1.0 git-url-parse@14.0.0: @@ -4759,7 +4817,7 @@ snapshots: glob@10.4.5: dependencies: - foreground-child: 3.3.0 + foreground-child: 3.3.1 jackspeak: 3.4.3 minimatch: 9.0.5 minipass: 7.1.2 @@ -4888,7 +4946,7 @@ snapshots: ignore@5.3.2: {} - import-fresh@3.3.0: + import-fresh@3.3.1: dependencies: parent-module: 1.0.1 resolve-from: 4.0.0 @@ -4919,7 +4977,7 @@ snapshots: npm-package-arg: 11.0.2 promzard: 1.0.2 read: 3.0.1 - semver: 7.6.3 + semver: 7.7.1 validate-npm-package-license: 3.0.4 validate-npm-package-name: 5.0.1 transitivePeerDependencies: @@ -4937,7 +4995,7 @@ snapshots: mute-stream: 0.0.8 ora: 5.4.1 run-async: 2.4.1 - rxjs: 7.8.1 + rxjs: 7.8.2 string-width: 4.2.3 strip-ansi: 6.0.1 through: 2.3.8 @@ -4959,14 +5017,15 @@ snapshots: is-array-buffer@3.0.5: dependencies: call-bind: 1.0.8 - call-bound: 1.0.3 - get-intrinsic: 1.2.7 + call-bound: 1.0.4 + get-intrinsic: 1.3.0 is-arrayish@0.2.1: {} - is-async-function@2.1.0: + is-async-function@2.1.1: dependencies: - call-bound: 1.0.3 + async-function: 1.0.0 + call-bound: 1.0.4 get-proto: 1.0.1 has-tostringtag: 1.0.2 safe-regex-test: 1.1.0 @@ -4975,9 +5034,9 @@ snapshots: dependencies: has-bigints: 1.1.0 - is-boolean-object@1.2.1: + is-boolean-object@1.2.2: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 has-tostringtag: 1.0.2 is-callable@1.2.7: {} @@ -4992,13 +5051,13 @@ snapshots: is-data-view@1.0.2: dependencies: - call-bound: 1.0.3 - get-intrinsic: 1.2.7 + call-bound: 1.0.4 + get-intrinsic: 1.3.0 is-typed-array: 1.1.15 is-date-object@1.1.0: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 has-tostringtag: 1.0.2 is-docker@2.2.1: {} @@ -5007,13 +5066,13 @@ snapshots: is-finalizationregistry@1.1.1: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 is-fullwidth-code-point@3.0.0: {} is-generator-function@1.1.0: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 get-proto: 1.0.1 has-tostringtag: 1.0.2 safe-regex-test: 1.1.0 @@ -5030,7 +5089,7 @@ snapshots: is-number-object@1.1.1: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 has-tostringtag: 1.0.2 is-number@7.0.0: {} @@ -5045,11 +5104,9 @@ snapshots: dependencies: isobject: 3.0.1 - is-plain-object@5.0.0: {} - is-regex@1.2.1: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 gopd: 1.2.0 has-tostringtag: 1.0.2 hasown: 2.0.2 @@ -5058,22 +5115,22 @@ snapshots: is-shared-array-buffer@1.0.4: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 - is-ssh@1.4.0: + is-ssh@1.4.1: dependencies: - protocols: 2.0.1 + protocols: 2.0.2 is-stream@2.0.0: {} is-string@1.1.1: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 has-tostringtag: 1.0.2 is-symbol@1.1.1: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 has-symbols: 1.1.0 safe-regex-test: 1.1.0 @@ -5083,20 +5140,20 @@ snapshots: is-typed-array@1.1.15: dependencies: - which-typed-array: 1.1.18 + which-typed-array: 1.1.19 is-unicode-supported@0.1.0: {} is-weakmap@2.0.2: {} - is-weakref@1.1.0: + is-weakref@1.1.1: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 is-weakset@2.0.4: dependencies: - call-bound: 1.0.3 - get-intrinsic: 1.2.7 + call-bound: 1.0.4 + get-intrinsic: 1.3.0 is-wsl@2.2.0: dependencies: @@ -5130,6 +5187,12 @@ snapshots: chevrotain: 6.5.0 lodash: 4.17.21 + java-parser@2.3.3: + dependencies: + chevrotain: 11.0.3 + chevrotain-allstar: 0.3.1(chevrotain@11.0.3) + lodash: 4.17.21 + jest-diff@29.7.0: dependencies: chalk: 4.1.0 @@ -5196,15 +5259,15 @@ snapshots: kind-of@6.0.3: {} - lerna@8.1.9(encoding@0.1.13): + lerna@8.2.1(encoding@0.1.13): dependencies: - '@lerna/create': 8.1.9(encoding@0.1.13)(typescript@5.7.3) + '@lerna/create': 8.2.1(encoding@0.1.13)(typescript@5.8.2) '@npmcli/arborist': 7.5.4 '@npmcli/package-json': 5.2.0 '@npmcli/run-script': 8.1.0 - '@nx/devkit': 20.3.2(nx@20.3.2) + '@nx/devkit': 20.6.4(nx@20.6.4) '@octokit/plugin-enterprise-rest': 6.0.1 - '@octokit/rest': 19.0.11(encoding@0.1.13) + '@octokit/rest': 20.1.2 aproba: 2.0.0 byte-size: 8.1.1 chalk: 4.1.0 @@ -5216,7 +5279,7 @@ snapshots: conventional-changelog-angular: 7.0.0 conventional-changelog-core: 5.0.1 conventional-recommended-bump: 7.0.1 - cosmiconfig: 9.0.0(typescript@5.7.3) + cosmiconfig: 9.0.0(typescript@5.8.2) dedent: 1.5.3 envinfo: 7.13.0 execa: 5.0.0 @@ -5247,7 +5310,7 @@ snapshots: npm-package-arg: 11.0.2 npm-packlist: 8.0.2 npm-registry-fetch: 17.1.0 - nx: 20.3.2 + nx: 20.6.4 p-map: 4.0.0 p-map-series: 2.1.0 p-pipe: 3.1.0 @@ -5259,17 +5322,16 @@ snapshots: read-cmd-shim: 4.0.0 resolve-from: 5.0.0 rimraf: 4.4.1 - semver: 7.6.3 + semver: 7.7.1 set-blocking: 2.0.0 signal-exit: 3.0.7 slash: 3.0.0 ssri: 10.0.6 string-width: 4.2.3 - strip-ansi: 6.0.1 strong-log-transformer: 2.1.0 tar: 6.2.1 temp-dir: 1.0.0 - typescript: 5.7.3 + typescript: 5.8.2 upath: 2.0.1 uuid: 10.0.0 validate-npm-package-license: 3.0.4 @@ -5302,12 +5364,12 @@ snapshots: libnpmpublish@9.0.9: dependencies: - ci-info: 4.1.0 + ci-info: 4.2.0 normalize-package-data: 6.0.2 npm-package-arg: 11.0.2 npm-registry-fetch: 17.1.0 proc-log: 4.2.0 - semver: 7.6.3 + semver: 7.7.1 sigstore: 2.3.1 ssri: 10.0.6 transitivePeerDependencies: @@ -5344,6 +5406,8 @@ snapshots: dependencies: p-locate: 5.0.0 + lodash-es@4.17.21: {} + lodash.ismatch@4.4.0: {} lodash.merge@4.6.2: {} @@ -5352,7 +5416,7 @@ snapshots: log-symbols@4.1.0: dependencies: - chalk: 4.1.2 + chalk: 4.1.0 is-unicode-supported: 0.1.0 lru-cache@10.4.3: {} @@ -5368,7 +5432,7 @@ snapshots: make-dir@4.0.0: dependencies: - semver: 7.6.3 + semver: 7.7.1 make-fetch-happen@13.0.1: dependencies: @@ -5532,13 +5596,13 @@ snapshots: node-gyp@10.3.1: dependencies: env-paths: 2.2.1 - exponential-backoff: 3.1.1 + exponential-backoff: 3.1.2 glob: 10.4.5 graceful-fs: 4.2.11 make-fetch-happen: 13.0.1 nopt: 7.2.1 proc-log: 4.2.0 - semver: 7.6.3 + semver: 7.7.1 tar: 6.2.1 which: 4.0.0 transitivePeerDependencies: @@ -5561,13 +5625,13 @@ snapshots: dependencies: hosted-git-info: 4.1.0 is-core-module: 2.16.1 - semver: 7.6.3 + semver: 7.7.1 validate-npm-package-license: 3.0.4 normalize-package-data@6.0.2: dependencies: hosted-git-info: 7.0.2 - semver: 7.6.3 + semver: 7.7.1 validate-npm-package-license: 3.0.4 npm-bundled@3.0.1: @@ -5576,7 +5640,7 @@ snapshots: npm-install-checks@6.3.0: dependencies: - semver: 7.6.3 + semver: 7.7.1 npm-normalize-package-bin@3.0.1: {} @@ -5584,7 +5648,7 @@ snapshots: dependencies: hosted-git-info: 7.0.2 proc-log: 4.2.0 - semver: 7.6.3 + semver: 7.7.1 validate-npm-package-name: 5.0.1 npm-packlist@8.0.2: @@ -5596,7 +5660,7 @@ snapshots: npm-install-checks: 6.3.0 npm-normalize-package-bin: 3.0.1 npm-package-arg: 11.0.2 - semver: 7.6.3 + semver: 7.7.1 npm-registry-fetch@17.1.0: dependencies: @@ -5615,13 +5679,13 @@ snapshots: dependencies: path-key: 3.1.1 - nx@20.3.2: + nx@20.6.4: dependencies: '@napi-rs/wasm-runtime': 0.2.4 '@yarnpkg/lockfile': 1.1.0 '@yarnpkg/parsers': 3.0.2 '@zkochan/js-yaml': 0.0.7 - axios: 1.7.9 + axios: 1.8.4 chalk: 4.1.0 cli-cursor: 3.1.0 cli-spinners: 2.6.1 @@ -5642,37 +5706,37 @@ snapshots: open: 8.4.2 ora: 5.3.0 resolve.exports: 2.0.3 - semver: 7.6.3 + semver: 7.7.1 string-width: 4.2.3 tar-stream: 2.2.0 tmp: 0.2.3 tsconfig-paths: 4.2.0 tslib: 2.8.1 - yaml: 2.7.0 + yaml: 2.7.1 yargs: 17.7.2 yargs-parser: 21.1.1 optionalDependencies: - '@nx/nx-darwin-arm64': 20.3.2 - '@nx/nx-darwin-x64': 20.3.2 - '@nx/nx-freebsd-x64': 20.3.2 - '@nx/nx-linux-arm-gnueabihf': 20.3.2 - '@nx/nx-linux-arm64-gnu': 20.3.2 - '@nx/nx-linux-arm64-musl': 20.3.2 - '@nx/nx-linux-x64-gnu': 20.3.2 - '@nx/nx-linux-x64-musl': 20.3.2 - '@nx/nx-win32-arm64-msvc': 20.3.2 - '@nx/nx-win32-x64-msvc': 20.3.2 + '@nx/nx-darwin-arm64': 20.6.4 + '@nx/nx-darwin-x64': 20.6.4 + '@nx/nx-freebsd-x64': 20.6.4 + '@nx/nx-linux-arm-gnueabihf': 20.6.4 + '@nx/nx-linux-arm64-gnu': 20.6.4 + '@nx/nx-linux-arm64-musl': 20.6.4 + '@nx/nx-linux-x64-gnu': 20.6.4 + '@nx/nx-linux-x64-musl': 20.6.4 + '@nx/nx-win32-arm64-msvc': 20.6.4 + '@nx/nx-win32-x64-msvc': 20.6.4 transitivePeerDependencies: - debug - object-inspect@1.13.3: {} + object-inspect@1.13.4: {} object-keys@1.1.1: {} object.assign@4.1.7: dependencies: call-bind: 1.0.8 - call-bound: 1.0.3 + call-bound: 1.0.4 define-properties: 1.2.1 es-object-atoms: 1.1.1 has-symbols: 1.1.0 @@ -5694,7 +5758,7 @@ snapshots: object.values@1.2.1: dependencies: call-bind: 1.0.8 - call-bound: 1.0.3 + call-bound: 1.0.4 define-properties: 1.2.1 es-object-atoms: 1.1.1 @@ -5748,7 +5812,7 @@ snapshots: own-keys@1.0.1: dependencies: - get-intrinsic: 1.2.7 + get-intrinsic: 1.3.0 object-keys: 1.1.1 safe-push-apply: 1.0.0 @@ -5852,13 +5916,13 @@ snapshots: json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 - parse-path@7.0.0: + parse-path@7.0.1: dependencies: - protocols: 2.0.1 + protocols: 2.0.2 parse-url@8.1.0: dependencies: - parse-path: 7.0.0 + parse-path: 7.0.1 path-exists@3.0.0: {} @@ -5897,7 +5961,7 @@ snapshots: dependencies: find-up: 4.1.0 - possible-typed-array-names@1.0.0: {} + possible-typed-array-names@1.1.0: {} postcss-selector-parser@6.1.2: dependencies: @@ -5912,10 +5976,18 @@ snapshots: lodash: 4.17.21 prettier: 2.8.4 + prettier-plugin-java@2.6.7(prettier@3.5.3): + dependencies: + java-parser: 2.3.3 + lodash: 4.17.21 + prettier: 3.5.3 + prettier@2.8.4: {} prettier@2.8.8: {} + prettier@3.5.3: {} + pretty-format@29.7.0: dependencies: '@jest/schemas': 29.6.3 @@ -5943,7 +6015,7 @@ snapshots: dependencies: read: 3.0.1 - protocols@2.0.1: {} + protocols@2.0.2: {} proxy-from-env@1.1.0: {} @@ -6022,7 +6094,7 @@ snapshots: es-abstract: 1.23.9 es-errors: 1.3.0 es-object-atoms: 1.1.1 - get-intrinsic: 1.2.7 + get-intrinsic: 1.3.0 get-proto: 1.0.1 which-builtin-type: 1.2.1 @@ -6062,7 +6134,7 @@ snapshots: retry@0.12.0: {} - reusify@1.0.4: {} + reusify@1.1.0: {} rimraf@3.0.2: dependencies: @@ -6082,15 +6154,15 @@ snapshots: dependencies: queue-microtask: 1.2.3 - rxjs@7.8.1: + rxjs@7.8.2: dependencies: tslib: 2.8.1 safe-array-concat@1.1.3: dependencies: call-bind: 1.0.8 - call-bound: 1.0.3 - get-intrinsic: 1.2.7 + call-bound: 1.0.4 + get-intrinsic: 1.3.0 has-symbols: 1.1.0 isarray: 2.0.5 @@ -6105,7 +6177,7 @@ snapshots: safe-regex-test@1.1.0: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 es-errors: 1.3.0 is-regex: 1.2.1 @@ -6115,7 +6187,7 @@ snapshots: semver@6.3.1: {} - semver@7.6.3: {} + semver@7.7.1: {} set-blocking@2.0.0: {} @@ -6124,7 +6196,7 @@ snapshots: define-data-property: 1.1.4 es-errors: 1.3.0 function-bind: 1.1.2 - get-intrinsic: 1.2.7 + get-intrinsic: 1.3.0 gopd: 1.2.0 has-property-descriptors: 1.0.2 @@ -6160,27 +6232,27 @@ snapshots: side-channel-list@1.0.0: dependencies: es-errors: 1.3.0 - object-inspect: 1.13.3 + object-inspect: 1.13.4 side-channel-map@1.0.1: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 es-errors: 1.3.0 - get-intrinsic: 1.2.7 - object-inspect: 1.13.3 + get-intrinsic: 1.3.0 + object-inspect: 1.13.4 side-channel-weakmap@1.0.2: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 es-errors: 1.3.0 - get-intrinsic: 1.2.7 - object-inspect: 1.13.3 + get-intrinsic: 1.3.0 + object-inspect: 1.13.4 side-channel-map: 1.0.1 side-channel@1.1.0: dependencies: es-errors: 1.3.0 - object-inspect: 1.13.3 + object-inspect: 1.13.4 side-channel-list: 1.0.0 side-channel-map: 1.0.1 side-channel-weakmap: 1.0.2 @@ -6214,11 +6286,11 @@ snapshots: dependencies: agent-base: 7.1.3 debug: 4.4.0 - socks: 2.8.3 + socks: 2.8.4 transitivePeerDependencies: - supports-color - socks@2.8.3: + socks@2.8.4: dependencies: ip-address: 9.0.5 smart-buffer: 4.2.0 @@ -6274,7 +6346,7 @@ snapshots: string.prototype.trim@1.2.10: dependencies: call-bind: 1.0.8 - call-bound: 1.0.3 + call-bound: 1.0.4 define-data-property: 1.1.4 define-properties: 1.2.1 es-abstract: 1.23.9 @@ -6284,7 +6356,7 @@ snapshots: string.prototype.trimend@1.0.9: dependencies: call-bind: 1.0.8 - call-bound: 1.0.3 + call-bound: 1.0.4 define-properties: 1.2.1 es-object-atoms: 1.1.1 @@ -6411,10 +6483,10 @@ snapshots: tslib@2.8.1: {} - tsutils@3.21.0(typescript@5.7.3): + tsutils@3.21.0(typescript@5.8.2): dependencies: tslib: 1.14.1 - typescript: 5.7.3 + typescript: 5.8.2 tuf-js@2.2.1: dependencies: @@ -6442,14 +6514,14 @@ snapshots: typed-array-buffer@1.0.3: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 es-errors: 1.3.0 is-typed-array: 1.1.15 typed-array-byte-length@1.0.3: dependencies: call-bind: 1.0.8 - for-each: 0.3.3 + for-each: 0.3.5 gopd: 1.2.0 has-proto: 1.2.0 is-typed-array: 1.1.15 @@ -6458,7 +6530,7 @@ snapshots: dependencies: available-typed-arrays: 1.0.7 call-bind: 1.0.8 - for-each: 0.3.3 + for-each: 0.3.5 gopd: 1.2.0 has-proto: 1.2.0 is-typed-array: 1.1.15 @@ -6467,10 +6539,10 @@ snapshots: typed-array-length@1.0.7: dependencies: call-bind: 1.0.8 - for-each: 0.3.3 + for-each: 0.3.5 gopd: 1.2.0 is-typed-array: 1.1.15 - possible-typed-array-names: 1.0.0 + possible-typed-array-names: 1.1.0 reflect.getprototypeof: 1.0.10 typedarray@0.0.6: {} @@ -6479,14 +6551,14 @@ snapshots: typescript@4.9.5: {} - typescript@5.7.3: {} + typescript@5.8.2: {} uglify-js@3.19.3: optional: true unbox-primitive@1.1.0: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 has-bigints: 1.1.0 has-symbols: 1.1.0 which-boxed-primitive: 1.1.1 @@ -6540,26 +6612,26 @@ snapshots: which-boxed-primitive@1.1.1: dependencies: is-bigint: 1.1.0 - is-boolean-object: 1.2.1 + is-boolean-object: 1.2.2 is-number-object: 1.1.1 is-string: 1.1.1 is-symbol: 1.1.1 which-builtin-type@1.2.1: dependencies: - call-bound: 1.0.3 + call-bound: 1.0.4 function.prototype.name: 1.1.8 has-tostringtag: 1.0.2 - is-async-function: 2.1.0 + is-async-function: 2.1.1 is-date-object: 1.1.0 is-finalizationregistry: 1.1.1 is-generator-function: 1.1.0 is-regex: 1.2.1 - is-weakref: 1.1.0 + is-weakref: 1.1.1 isarray: 2.0.5 which-boxed-primitive: 1.1.1 which-collection: 1.0.2 - which-typed-array: 1.1.18 + which-typed-array: 1.1.19 which-collection@1.0.2: dependencies: @@ -6568,12 +6640,13 @@ snapshots: is-weakmap: 2.0.2 is-weakset: 2.0.4 - which-typed-array@1.1.18: + which-typed-array@1.1.19: dependencies: available-typed-arrays: 1.0.7 call-bind: 1.0.8 - call-bound: 1.0.3 - for-each: 0.3.3 + call-bound: 1.0.4 + for-each: 0.3.5 + get-proto: 1.0.1 gopd: 1.2.0 has-tostringtag: 1.0.2 @@ -6647,7 +6720,7 @@ snapshots: yaml@1.10.2: {} - yaml@2.7.0: {} + yaml@2.7.1: {} yargs-parser@20.2.9: {} From 2e487fc02e36c163499c31ddc747b199badaab77 Mon Sep 17 00:00:00 2001 From: Rodrigues Date: Mon, 31 Mar 2025 12:29:55 -0300 Subject: [PATCH 3/4] fix: maps is working well in android and adjusts --- plugin/src/android.ts | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/plugin/src/android.ts b/plugin/src/android.ts index a5f7743b..f05769b0 100644 --- a/plugin/src/android.ts +++ b/plugin/src/android.ts @@ -244,25 +244,24 @@ export class CapacitorGoogleMapsAndroid extends WebPlugin implements CapacitorGo async enableCurrentLocation(_args: CurrentLocArgs): Promise { if (_args.enabled) { if (navigator.geolocation) { - navigator.geolocation.getCurrentPosition( - (position: GeolocationPosition) => { - const pos = { - lat: position.coords.latitude, - lng: position.coords.longitude, - }; + navigator.geolocation.getCurrentPosition((position: GeolocationPosition) => { + const pos = { + lat: position.coords.latitude, + lng: position.coords.longitude, + }; - this.maps[_args.id].map.setCenter(pos); + this.maps[_args.id].map.setCenter(pos); - this.notifyListeners('onMyLocationButtonClick', {}); + this.notifyListeners('onMyLocationButtonClick', {}); - this.notifyListeners('onMyLocationClick', {}); - }, - ); + this.notifyListeners('onMyLocationClick', {}); + }); } else { throw new Error('Geolocation not supported on android.'); } } } + async setPadding(_args: PaddingArgs): Promise { const bounds = this.maps[_args.id].map.getBounds(); @@ -476,11 +475,11 @@ export class CapacitorGoogleMapsAndroid extends WebPlugin implements CapacitorGo console.error(`Map with ID ${_args.id} not found.`); return; } - + const { x, y, width, height } = _args.mapBounds; - + const bounds = new google.maps.LatLngBounds( - new google.maps.LatLng(y, x), + new google.maps.LatLng(y, x), new google.maps.LatLng(y + height, x + width) ); @@ -489,7 +488,6 @@ export class CapacitorGoogleMapsAndroid extends WebPlugin implements CapacitorGo console.error('Error updating map bounds:', error); } } - async onResize(_args: MapBoundsArgs): Promise { try { @@ -498,7 +496,7 @@ export class CapacitorGoogleMapsAndroid extends WebPlugin implements CapacitorGo console.error(`Map with ID ${_args.id} not found.`); return; } - + google.maps.event.trigger(mapInstance, 'resize'); this.onScroll(_args); @@ -506,7 +504,6 @@ export class CapacitorGoogleMapsAndroid extends WebPlugin implements CapacitorGo console.error('Error resizing map:', error); } } - async onDisplay(_args: MapBoundsArgs): Promise { try { @@ -515,7 +512,7 @@ export class CapacitorGoogleMapsAndroid extends WebPlugin implements CapacitorGo console.error(`Map with ID ${_args.id} not found.`); return; } - + google.maps.event.trigger(mapInstance, 'resize'); this.onScroll(_args); From 10d01aea9e648c3f867bef73b681463297939cf1 Mon Sep 17 00:00:00 2001 From: Rodrigues Date: Tue, 1 Apr 2025 02:05:19 -0300 Subject: [PATCH 4/4] doc: api key --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6d9e3473..28588bb8 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ const mapRef = document.getElementById('map'); const newMap = await GoogleMap.create({ id: 'my-map', // Unique identifier for this map instance element: mapRef, // reference to the capacitor-google-map element - apiKey: apiKey, // Your Google Maps API Key + apiKey: apiKey, // Your Google Maps API Key **JUST WEB Api Key works in Android** config: { center: { // The initial position to be rendered by the map @@ -198,7 +198,7 @@ export class MyMap { this.newMap = await GoogleMap.create({ id: 'my-cool-map', element: this.mapRef.nativeElement, - apiKey: environment.apiKey, + apiKey: environment.apiKey, config: { center: { lat: 33.6, @@ -227,7 +227,7 @@ const MyMap: React.FC = () => { newMap = await GoogleMap.create({ id: 'my-cool-map', element: mapRef.current, - apiKey: process.env.REACT_APP_YOUR_API_KEY_HERE, + apiKey: process.env.REACT_APP_YOUR_API_KEY_HERE, // **JUST WEB Api Key works in Android** config: { center: { lat: 33.6,