@ideditor/country-coder
Advanced tools
Comparing version 5.0.4 to 5.1.0
@@ -1,2 +0,2 @@ | ||
declare type RegionFeatureProperties = { | ||
type RegionFeatureProperties = { | ||
id: string; | ||
@@ -22,3 +22,3 @@ iso1A2: string | undefined; | ||
}; | ||
declare type RegionFeature = { | ||
type RegionFeature = { | ||
type: string; | ||
@@ -28,13 +28,13 @@ geometry: any; | ||
}; | ||
declare type RegionFeatureCollection = { | ||
type RegionFeatureCollection = { | ||
type: string; | ||
features: Array<RegionFeature>; | ||
}; | ||
declare type Vec2 = [number, number]; | ||
declare type Bbox = [number, number, number, number]; | ||
declare type PointGeometry = { | ||
type Vec2 = [number, number]; | ||
type Bbox = [number, number, number, number]; | ||
type PointGeometry = { | ||
type: string; | ||
coordinates: Vec2; | ||
}; | ||
declare type PointFeature = { | ||
type PointFeature = { | ||
type: string; | ||
@@ -44,4 +44,4 @@ geometry: PointGeometry; | ||
}; | ||
declare type Location = Vec2 | PointGeometry | PointFeature; | ||
declare type CodingOptions = { | ||
type Location = Vec2 | PointGeometry | PointFeature; | ||
type CodingOptions = { | ||
level?: string | undefined; | ||
@@ -48,0 +48,0 @@ maxLevel?: string | undefined; |
{ | ||
"name": "@ideditor/country-coder", | ||
"version": "5.0.4", | ||
"version": "5.1.0", | ||
"description": "Convert longitude-latitude pairs to ISO 3166-1 codes quickly and locally", | ||
@@ -32,12 +32,13 @@ "repository": "github:ideditor/country-coder", | ||
"devDependencies": { | ||
"@mapbox/geojson-rewind": "^0.5.0", | ||
"@types/jest": "^27.5.0", | ||
"esbuild": "^0.14.38", | ||
"@mapbox/geojson-rewind": "^0.5.2", | ||
"@types/jest": "^29.2.4", | ||
"@types/node": "^18.11.12", | ||
"esbuild": "^0.16.3", | ||
"esbuild-jest": "~0.5.0", | ||
"jest": "^28.0.3", | ||
"jest-extended": "^2.0.0", | ||
"jest": "^29.3.1", | ||
"jest-extended": "^3.2.0", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^2.6.2", | ||
"prettier": "^2.8.1", | ||
"shx": "^0.3.4", | ||
"typescript": "^4.6.4" | ||
"typescript": "^4.9.4" | ||
}, | ||
@@ -99,4 +100,4 @@ "scripts": { | ||
"engines": { | ||
"node": "^12.20.0 || ^14.13.1 || >=16.0.0" | ||
"node": ">=16.14.0" | ||
} | ||
} |
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 too big to display
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 too big to display
2910968
13362
11