New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-ymaps3

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-ymaps3 - npm Package Compare versions

Comparing version 0.0.18 to 0.0.19

8

package.json
{
"name": "react-ymaps3",
"version": "0.0.18",
"version": "0.0.19",
"description": "React Yandex Maps API 3 wrapper",

@@ -17,5 +17,7 @@ "homepage": "https://github.com/sbcrmweb/react-ymaps3",

},
"dependencies": {
"@yandex/ymaps3-types": "latest"
},
"devDependencies": {
"@types/react": "^18.2.44",
"@yandex/ymaps3-types": "^0.0.21",
"@types/react": "^18.2.0",
"react": "^18.2.0",

@@ -22,0 +24,0 @@ "react-dom": "^18.2.0",

import * as YMaps from '@yandex/ymaps3-types';
import * as YMapsReact from '@yandex/ymaps3-types/react';
import * as Controls from '@yandex/ymaps3-types/packages/controls';
import * as ControlsReact from '@yandex/ymaps3-types/packages/controls/react';
import * as Markers from '@yandex/ymaps3-types/packages/markers';
import * as MarkersReact from '@yandex/ymaps3-types/packages/markers/react';
import { YMap as ReactYMap } from '@yandex/ymaps3-types/react';
import utils from './utils';

@@ -22,80 +25,151 @@

export type YMapProps = React.ComponentPropsWithoutRef<
typeof YMapsReact.YMap
>;
export const YMap = utils.createElement<
YMaps.YMap,
React.ComponentProps<typeof ReactYMap>
YMapProps
>('YMap');
export type YMapProps = React.ComponentProps<
typeof ReactYMap
>;
export type YMapMarkerProps =
React.ComponentPropsWithoutRef<
typeof YMapsReact.YMapMarker
>;
export const YMapMarker = utils.createElement<
YMaps.YMapMarker,
YMaps.YMapMarkerProps
YMapMarkerProps
>('YMapMarker');
export type YMapDefaultSchemeLayerProps =
React.ComponentPropsWithoutRef<
typeof YMapsReact.YMapDefaultSchemeLayer
>;
export const YMapDefaultSchemeLayer = utils.createElement<
YMaps.YMapDefaultSchemeLayer,
YMaps.YMapDefaultSchemeLayerProps
YMapDefaultSchemeLayerProps
>('YMapDefaultSchemeLayer');
export type YMapDefaultFeaturesLayerProps =
React.ComponentPropsWithoutRef<
typeof YMapsReact.YMapDefaultFeaturesLayer
>;
export const YMapDefaultFeaturesLayer = utils.createElement<
YMaps.YMapDefaultFeaturesLayer,
YMaps.YMapDefaultFeaturesLayerProps
YMapDefaultFeaturesLayerProps
>('YMapDefaultFeaturesLayer');
export type YMapDefaultSatelliteLayerProps =
React.ComponentPropsWithoutRef<
typeof YMapsReact.YMapDefaultFeaturesLayer
>;
export const YMapDefaultSatelliteLayer =
utils.createElement<
YMaps.YMapDefaultSatelliteLayer,
YMaps.YMapDefaultSatelliteLayerProps
YMapDefaultSatelliteLayerProps
>('YMapDefaultSatelliteLayer');
export type YMapListenerProps =
React.ComponentPropsWithoutRef<
typeof YMapsReact.YMapListener
>;
export const YMapListener = utils.createElement<
YMaps.YMapListener,
YMaps.YMapListenerProps
YMapListenerProps
>('YMapListener');
export type YMapDefaultMarkerProps =
React.ComponentPropsWithoutRef<
typeof MarkersReact.YMapDefaultMarker
>;
export const YMapDefaultMarker = utils.createElement<
Markers.YMapDefaultMarker,
Markers.YMapDefaultMarkerProps
YMapDefaultMarkerProps
>('YMapDefaultMarker', YMapsPackage.Markers);
export type YMapControlsProps =
React.ComponentPropsWithoutRef<
typeof YMapsReact.YMapControls
>;
export const YMapControls = utils.createElement<
YMaps.YMapControls,
YMaps.YMapControlsProps
YMapControlsProps
>('YMapControls');
export type YMapControlButtonProps =
React.ComponentPropsWithoutRef<
typeof YMapsReact.YMapControlButton
>;
export const YMapControlButton = utils.createElement<
YMaps.YMapControlButton,
YMaps.YMapControlButtonProps
YMapControlButtonProps
>('YMapControlButton');
export type YMapContainerProps =
React.ComponentPropsWithoutRef<
typeof YMapsReact.YMapContainer
>;
export const YMapContainer = utils.createElement<
YMaps.YMapContainer,
YMaps.YMapContainerProps<any>
YMapContainerProps
>('YMapContainer');
export type YMapZoomControlProps =
React.ComponentPropsWithoutRef<
typeof ControlsReact.YMapZoomControl
>;
export const YMapZoomControl = utils.createElement<
Controls.YMapZoomControl,
Controls.YMapZoomControlProps
YMapZoomControlProps
>('YMapZoomControl', YMapsPackage.Controls);
export type YMapGeolocationControlProps =
React.ComponentPropsWithoutRef<
typeof ControlsReact.YMapGeolocationControl
>;
export const YMapGeolocationControl = utils.createElement<
Controls.YMapGeolocationControl,
Controls.YMapGeolocationControlProps
YMapGeolocationControlProps
>('YMapGeolocationControl', YMapsPackage.Controls);
export const YMapCollection =
utils.createElement<YMaps.YMapCollection>(
'YMapCollection',
);
export type YMapCollectionProps =
React.ComponentPropsWithoutRef<
typeof YMapsReact.YMapContainer
>;
export const YMapFeature =
utils.createElement<YMaps.YMapFeature>('YMapFeature');
export const YMapCollection = utils.createElement<
YMaps.YMapCollection,
YMapCollectionProps
>('YMapCollection');
export type YMapFeatureProps =
React.ComponentPropsWithoutRef<
typeof YMapsReact.YMapFeature
>;
export const YMapFeature = utils.createElement<
YMaps.YMapFeature,
YMapFeatureProps
>('YMapFeature');
export type YMapFeatureDataSourceProps =
React.ComponentPropsWithoutRef<
typeof YMapsReact.YMapFeatureDataSource
>;
export const YMapFeatureDataSource = utils.createElement<
YMaps.YMapFeatureDataSource,
YMaps.YMapFeatureDataSourceProps
YMapFeatureDataSourceProps
>('YMapFeatureDataSource');
export { default as YMapClusterer } from './components/YMapClusterer';

@@ -10,4 +10,4 @@ import { defineConfig } from 'tsup';

entry: ['src/index.ts', 'src/**/*.ts', 'src/**/*.tsx'],
sourcemap: true,
sourcemap: false,
clean: false,
});

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc