Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/mapbox__mapbox-gl-draw

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/mapbox__mapbox-gl-draw - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

8

mapbox__mapbox-gl-draw/index.d.ts

@@ -410,9 +410,9 @@ // Type definitions for @mapbox/mapbox-gl-draw 1.4

createMidPoint(parent: string, startVertex: DrawFeature, endVertex: DrawFeature): GeoJSON;
createMidPoint(parent: string, startVertex: Feature, endVertex: Feature): Feature<Point> | null;
createSupplementaryPoints(
geojson: DrawFeature,
geojson: Feature,
options?: { midpoints?: boolean; selectedPaths?: string[] },
basePath?: string,
): GeoJSON[];
): Array<Feature<Point>>;

@@ -430,3 +430,3 @@ /**

*/
createVertex(parentId: string, coordinates: Position, path: string, selected: boolean): GeoJSON;
createVertex(parentId: string, coordinates: Position, path: string, selected: boolean): Feature<Point>;

@@ -433,0 +433,0 @@ // TODO: define a proper type for ctx since is not exposed correctly

{
"name": "@types/mapbox__mapbox-gl-draw",
"version": "1.4.1",
"version": "1.4.2",
"description": "TypeScript definitions for @mapbox/mapbox-gl-draw",

@@ -36,4 +36,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mapbox__mapbox-gl-draw",

},
"typesPublisherContentHash": "53b52af400f1135a1680cf639825cdf924fb704d383acf6ec5553093de006328",
"typeScriptVersion": "4.3"
"typesPublisherContentHash": "9d694067b3f4a490b04aaf292f62cdae2b279659a182c37021538c4b8571c73e",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Sat, 09 Sep 2023 07:03:08 GMT
* Last updated: Sun, 17 Sep 2023 12:40:30 GMT
* Dependencies: [@types/geojson](https://npmjs.com/package/@types/geojson), [@types/mapbox-gl](https://npmjs.com/package/@types/mapbox-gl)

@@ -14,0 +14,0 @@ * Global values: `MapboxDraw`

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