@hebcal/geo-sqlite 5.10.0 → 5.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -5
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/geo-sqlite v5.10.
|
|
1
|
+
/*! @hebcal/geo-sqlite v5.10.1 */
|
|
2
2
|
import { DatabaseSync } from 'node:sqlite';
|
|
3
3
|
import fs$1, { existsSync } from 'node:fs';
|
|
4
4
|
import QuickLRU from 'quick-lru';
|
|
@@ -512,7 +512,7 @@ function munge(s) {
|
|
|
512
512
|
}
|
|
513
513
|
|
|
514
514
|
// DO NOT EDIT THIS AUTO-GENERATED FILE!
|
|
515
|
-
const version = '5.10.
|
|
515
|
+
const version = '5.10.1';
|
|
516
516
|
|
|
517
517
|
const GEONAME_SQL = `SELECT
|
|
518
518
|
g.name as name,
|
|
@@ -819,9 +819,6 @@ class GeoDb {
|
|
|
819
819
|
if (admin1) {
|
|
820
820
|
location.admin1 = admin1;
|
|
821
821
|
}
|
|
822
|
-
if (result.cc === 'IL' && admin1.startsWith('Jerusalem') && result.name.startsWith('Jerualem')) {
|
|
823
|
-
location.jersualem = true;
|
|
824
|
-
}
|
|
825
822
|
if (result.population) {
|
|
826
823
|
location.population = result.population;
|
|
827
824
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hebcal/geo-sqlite",
|
|
3
|
-
"version": "5.10.
|
|
3
|
+
"version": "5.10.1",
|
|
4
4
|
"author": "Michael J. Radwin (https://github.com/mjradwin)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hebcal"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@hebcal/cities": "^6.1.0",
|
|
42
|
-
"@hebcal/core": "^6.
|
|
42
|
+
"@hebcal/core": "^6.4.1",
|
|
43
43
|
"minimist": "^1.2.8",
|
|
44
44
|
"pino": "^10.3.1",
|
|
45
45
|
"pino-pretty": "^13.1.3",
|