react-azure-maps
Advanced tools
Comparing version 0.4.2 to 0.4.3-beta.0
@@ -1,2 +0,2 @@ | ||
import { ComponentClass, CSSProperties, ReactElement, StatelessComponent } from 'react'; | ||
import { ComponentClass, CSSProperties, ReactElement, FunctionComponent } from 'react'; | ||
import atlas, { AnimationOptions, CameraBoundsOptions, CameraOptions, DataSourceOptions, HeatMapLayerOptions, HtmlMarker, HtmlMarkerEvents, HtmlMarkerOptions, ImageLayerOptions, LineLayerOptions, Map, MapDataEvent, MapErrorEvent, MapEvent, MapMouseEvent, MapMouseWheelEvent, MapTouchEvent, Options, PolygonExtrusionLayerOptions, PolygonLayerOptions, PopupEvents, PopupOptions, ServiceOptions, Shape, StyleOptions, SymbolLayerOptions, TargetedEvent, TileLayerOptions, TrafficOptions, UserInteractionOptions, Control, BubbleLayerOptions, LayerOptions, VectorTileSourceOptions } from 'azure-maps-control'; | ||
@@ -10,3 +10,3 @@ export declare type IAzureMapOptions = ServiceOptions & StyleOptions & UserInteractionOptions & (CameraOptions | CameraBoundsOptions); | ||
styles?: CSSProperties; | ||
LoaderComponent?: ComponentClass<any> | StatelessComponent<any>; | ||
LoaderComponent?: ComponentClass<any> | FunctionComponent<any>; | ||
options?: IAzureMapOptions; | ||
@@ -77,3 +77,3 @@ imageSprites?: IAzureMapImageSprite[]; | ||
}; | ||
export declare type IAzureDataSourceChildren = IAzureMapFeature | ReactElement<IAzureMapFeature> | ReactElement<IAzureLayerStatefulProviderProps>; | ||
export declare type IAzureDataSourceChildren = (IAzureMapFeature & ReactElement) | ReactElement<IAzureMapFeature> | ReactElement<IAzureLayerStatefulProviderProps>; | ||
export declare type IAzureVectorTileSourceChildren = ReactElement<IAzureLayerStatefulProviderProps>; | ||
@@ -80,0 +80,0 @@ export declare type IAzureMapDataSourceEvent = { |
{ | ||
"name": "react-azure-maps", | ||
"version": "0.4.2", | ||
"version": "0.4.3-beta.0", | ||
"description": "React Wrapper for Azure Maps", | ||
@@ -87,8 +87,7 @@ "keywords": [ | ||
"@testing-library/jest-dom": "^5.11.4", | ||
"@testing-library/react": "^11.1.0", | ||
"@testing-library/react-hooks": "^5.1.0", | ||
"@testing-library/react": "^13.3.0", | ||
"@testing-library/user-event": "^12.1.10", | ||
"@types/jest": "^26.0.15", | ||
"@types/react": "^17.0.39", | ||
"@types/react-dom": "^17.0.11", | ||
"@types/react": "^18.0.15", | ||
"@types/react-dom": "^18.0.6", | ||
"babel-preset-env": "^1.7.0", | ||
@@ -102,4 +101,4 @@ "concurrently": "^5.3.0", | ||
"prettier": "^2.2.0", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-scripts": "4.0.1", | ||
@@ -122,4 +121,4 @@ "rollup": "^2.33.3", | ||
"mapbox-gl": "^1.10.0", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2" | ||
"react": "^17.0.2 || ^18.0.0", | ||
"react-dom": "^17.0.2 || ^18.0.0" | ||
}, | ||
@@ -126,0 +125,0 @@ "dependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45
1283393
1