Socket
Socket
Sign inDemoInstall

@types/geojson

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/geojson - npm Package Compare versions

Comparing version 7946.0.10 to 7946.0.11

22

geojson/index.d.ts

@@ -20,3 +20,3 @@ // Type definitions for non-npm package geojson 7946.0

*/
export type GeoJsonGeometryTypes = Geometry['type'];
export type GeoJsonGeometryTypes = Geometry["type"];

@@ -27,3 +27,3 @@ /**

*/
export type GeoJsonTypes = GeoJSON['type'];
export type GeoJsonTypes = GeoJSON["type"];

@@ -89,3 +89,3 @@ /**

export interface Point extends GeoJsonObject {
type: 'Point';
type: "Point";
coordinates: Position;

@@ -99,3 +99,3 @@ }

export interface MultiPoint extends GeoJsonObject {
type: 'MultiPoint';
type: "MultiPoint";
coordinates: Position[];

@@ -109,3 +109,3 @@ }

export interface LineString extends GeoJsonObject {
type: 'LineString';
type: "LineString";
coordinates: Position[];

@@ -119,3 +119,3 @@ }

export interface MultiLineString extends GeoJsonObject {
type: 'MultiLineString';
type: "MultiLineString";
coordinates: Position[][];

@@ -129,3 +129,3 @@ }

export interface Polygon extends GeoJsonObject {
type: 'Polygon';
type: "Polygon";
coordinates: Position[][];

@@ -139,3 +139,3 @@ }

export interface MultiPolygon extends GeoJsonObject {
type: 'MultiPolygon';
type: "MultiPolygon";
coordinates: Position[][][];

@@ -149,3 +149,3 @@ }

export interface GeometryCollection<G extends Geometry = Geometry> extends GeoJsonObject {
type: 'GeometryCollection';
type: "GeometryCollection";
geometries: G[];

@@ -161,3 +161,3 @@ }

export interface Feature<G extends Geometry | null = Geometry, P = GeoJsonProperties> extends GeoJsonObject {
type: 'Feature';
type: "Feature";
/**

@@ -183,4 +183,4 @@ * The feature's geometry

export interface FeatureCollection<G extends Geometry | null = Geometry, P = GeoJsonProperties> extends GeoJsonObject {
type: 'FeatureCollection';
type: "FeatureCollection";
features: Array<Feature<G, P>>;
}
{
"name": "@types/geojson",
"version": "7946.0.10",
"version": "7946.0.11",
"description": "TypeScript definitions for geojson",

@@ -43,4 +43,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/geojson",

"dependencies": {},
"typesPublisherContentHash": "c643a23a31eff03411bea631b681ed8d12f45c146cc63d329774f19aa6f904bc",
"typeScriptVersion": "4.0"
"typesPublisherContentHash": "1c4142101c1c84433c7816f988efbd1244aec4fadd4d71a0b80c898dcc8a9f8a",
"typeScriptVersion": "4.5"
}

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

### Additional Details
* Last updated: Thu, 14 Jul 2022 00:02:25 GMT
* Last updated: Wed, 20 Sep 2023 17:08:03 GMT
* Dependencies: none

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

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