From 6deccd073ed2f4e8cfe895fe0e5c4a5b1429ee92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Murat=20Go=CC=88zel?= Date: Sun, 31 Mar 2024 19:40:38 +0300 Subject: [PATCH] test transformation --- dist/index.cjs | 2 +- dist/index.js | 2 +- package.json | 2 +- src/data/neighbourhoods.json | 2 +- src/data/neighbourhoodsByDistrictAndCityCode.json | 2 +- src/setup/neighbourhoods.ts | 2 ++ 6 files changed, 7 insertions(+), 5 deletions(-) diff --git a/dist/index.cjs b/dist/index.cjs index cb29d10..22a89bc 100755 --- a/dist/index.cjs +++ b/dist/index.cjs @@ -35445,7 +35445,7 @@ var _neighbourhoodsByDistrictAndCityCode = { "Sultançiftliği Mah", "Uğur Mumcu Mah", "Cebeci Mah", - "Eski Habibler Mah", + "Eski Habipler Mah", "Habibler Mah", "İsmetpaşa Mah", "Malkoçoğlu Mah", diff --git a/dist/index.js b/dist/index.js index 2bf75e2..8bf40c5 100755 --- a/dist/index.js +++ b/dist/index.js @@ -35443,7 +35443,7 @@ var _neighbourhoodsByDistrictAndCityCode = { "Sultançiftliği Mah", "Uğur Mumcu Mah", "Cebeci Mah", - "Eski Habibler Mah", + "Eski Habipler Mah", "Habibler Mah", "İsmetpaşa Mah", "Malkoçoğlu Mah", diff --git a/package.json b/package.json index b043c10..166ae8b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "turkey-neighbourhoods", - "version": "4.0.0", + "version": "4.0.1", "description": "Always up to date names of cities, districts and neighbourhoods in Turkey.", "type": "module", "main": "./dist/index.cjs", diff --git a/src/data/neighbourhoods.json b/src/data/neighbourhoods.json index bfc3478..6cc055d 100644 --- a/src/data/neighbourhoods.json +++ b/src/data/neighbourhoods.json @@ -252031,7 +252031,7 @@ "34", "İstanbul", "Sultangazi", - "Eski Habibler Mah", + "Eski Habipler Mah", "34270" ], [ diff --git a/src/data/neighbourhoodsByDistrictAndCityCode.json b/src/data/neighbourhoodsByDistrictAndCityCode.json index 577e36e..d7bef0c 100644 --- a/src/data/neighbourhoodsByDistrictAndCityCode.json +++ b/src/data/neighbourhoodsByDistrictAndCityCode.json @@ -24226,7 +24226,7 @@ "Sultançiftliği Mah", "Uğur Mumcu Mah", "Cebeci Mah", - "Eski Habibler Mah", + "Eski Habipler Mah", "Habibler Mah", "İsmetpaşa Mah", "Malkoçoğlu Mah", diff --git a/src/setup/neighbourhoods.ts b/src/setup/neighbourhoods.ts index ddf2775..a4ac8fd 100644 --- a/src/setup/neighbourhoods.ts +++ b/src/setup/neighbourhoods.ts @@ -47,9 +47,11 @@ export async function fetchAndParseNeighbourhoods (outputPath: string) { } function transform (rec: string[]) { + /* if (rec[0] === '34' && rec[2] === 'Sultangazi' && rec[3] === 'Eski Habipler Mah') { rec[3] = 'Eski Habibler Mah' } + */ return rec }