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

@types/wellknown

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/wellknown - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

6

wellknown/index.d.ts

@@ -14,2 +14,7 @@ // Type definitions for wellknown 0.5

export interface GeoJSONGeometryCollection {
type: "GeometryCollection";
geometries: GeoJSONGeometry[];
}
export type GeoJSONPoint = Geometry<"Point", GeoJSONPosition>;

@@ -33,2 +38,3 @@ export type GeoJSONMultiPoint = Geometry<"MultiPoint", GeoJSONPosition[]>;

| GeoJSONMultiPolygon
| GeoJSONGeometryCollection
| null;

@@ -35,0 +41,0 @@

7

wellknown/package.json
{
"name": "@types/wellknown",
"version": "0.5.1",
"version": "0.5.2",
"description": "TypeScript definitions for wellknown",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wellknown",
"license": "MIT",

@@ -27,4 +28,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "5996460fe5b6a57c3f581ea2c111a4f6bda5863481ed0fc3736c60d735e644aa",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "08ed3fee8f95436b343ed3dff58b9444fd9d8c975de5864f047062e2e726d381",
"typeScriptVersion": "3.9"
}

@@ -9,5 +9,50 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wellknown.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wellknown/index.d.ts)
````ts
// Type definitions for wellknown 0.5
// Project: https://github.com/mapbox/wellknown#readme
// Definitions by: Davide Scalzo <https://github.com/davodesign84>
// Yair Tawil <https://github.com/yairtawil>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export type GeoJSONPosition = [number, number] | [number, number, number];
export interface Geometry<T, C> {
type: T;
coordinates: C;
}
export interface GeoJSONGeometryCollection {
type: "GeometryCollection";
geometries: GeoJSONGeometry[];
}
export type GeoJSONPoint = Geometry<"Point", GeoJSONPosition>;
export type GeoJSONMultiPoint = Geometry<"MultiPoint", GeoJSONPosition[]>;
export type GeoJSONLineString = Geometry<"LineString", GeoJSONPosition[]>;
export type GeoJSONMultiLineString = Geometry<"MultiLineString", GeoJSONPosition[][]>;
export type GeoJSONPolygon = Geometry<"Polygon", GeoJSONPosition[][]>;
export type GeoJSONMultiPolygon = Geometry<"MultiPolygon", GeoJSONPosition[][][]>;
export type GeoJSONGeometry =
| GeoJSONPoint
| GeoJSONMultiPoint
| GeoJSONLineString
| GeoJSONMultiLineString
| GeoJSONPolygon
| GeoJSONMultiPolygon
| GeoJSONGeometryCollection
| null;
export function parse(input: string): GeoJSONGeometry;
export function stringify(gj: GeoJSONGeometry): string;
````
### Additional Details
* Last updated: Thu, 16 Jan 2020 20:52:25 GMT
* Last updated: Wed, 20 Apr 2022 19:01:26 GMT
* Dependencies: none

@@ -17,2 +62,2 @@ * Global values: none

# Credits
These definitions were written by Davide Scalzo (https://github.com/davodesign84), and Yair Tawil (https://github.com/yairtawil).
These definitions were written by [Davide Scalzo](https://github.com/davodesign84), and [Yair Tawil](https://github.com/yairtawil).

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