@hebcal/geo-sqlite 5.5.0 → 5.5.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/cities-patch.txt +1 -0
- package/dist/index.js +4 -4
- package/package.json +4 -4
- package/dist/index.mjs +0 -1389
package/cities-patch.txt
CHANGED
|
@@ -337,3 +337,4 @@
|
|
|
337
337
|
12156446 Beit Aryeh-Ofarim Beit Aryeh-Ofarim byt ʼryh,בית אריה 32.03869 35.04972 P PPL PS WE 5139 254 Asia/Hebron 2020-04-22
|
|
338
338
|
12156452 Beit Aryeh-Ofarim Beit Aryeh-Ofarim 32.03742 35.05004 P PPL PS WE 5139 186 Asia/Hebron 2020-04-22
|
|
339
339
|
295530 Beer Sheva Beer Sheva x 31.25181 34.7913 P PPLA IL 01 186600 285 Asia/Jerusalem 3/15/19
|
|
340
|
+
12042098 Salt Spring Island Salt Spring Island Salt Spring Island 48.81852 -123.49061 T ISL CA 02 5917 0 205 America/Vancouver 2025-06-09
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/geo-sqlite v5.5.
|
|
1
|
+
/*! @hebcal/geo-sqlite v5.5.1 */
|
|
2
2
|
import Database from 'better-sqlite3';
|
|
3
3
|
import { Location, Locale } from '@hebcal/core';
|
|
4
4
|
import '@hebcal/cities';
|
|
@@ -841,7 +841,7 @@ function munge(s) {
|
|
|
841
841
|
}
|
|
842
842
|
|
|
843
843
|
// DO NOT EDIT THIS AUTO-GENERATED FILE!
|
|
844
|
-
const version = '5.5.
|
|
844
|
+
const version = '5.5.1';
|
|
845
845
|
|
|
846
846
|
const GEONAME_SQL = `SELECT
|
|
847
847
|
g.name as name,
|
|
@@ -974,10 +974,10 @@ class GeoDb {
|
|
|
974
974
|
this.geonamesDb = new Database(geonamesFilename, {fileMustExist: true});
|
|
975
975
|
this.zipStmt = this.zipsDb.prepare(ZIPCODE_SQL);
|
|
976
976
|
/** @type {Map<string, Location>} */
|
|
977
|
-
this.zipCache = new QuickLRU({maxSize:
|
|
977
|
+
this.zipCache = new QuickLRU({maxSize: 150});
|
|
978
978
|
this.geonamesStmt = this.geonamesDb.prepare(GEONAME_SQL);
|
|
979
979
|
/** @type {Map<number, Location>} */
|
|
980
|
-
this.geonamesCache = new QuickLRU({maxSize:
|
|
980
|
+
this.geonamesCache = new QuickLRU({maxSize: 750});
|
|
981
981
|
/** @type {Map<string, number>} */
|
|
982
982
|
this.legacyCities = new Map();
|
|
983
983
|
for (const [name, id] of Object.entries(city2geonameid)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hebcal/geo-sqlite",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.1",
|
|
4
4
|
"author": "Michael J. Radwin (https://github.com/mjradwin)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hebcal"
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@hebcal/cities": "^6.1.0",
|
|
39
|
-
"@hebcal/core": "^6.0.
|
|
40
|
-
"better-sqlite3": "^12.
|
|
39
|
+
"@hebcal/core": "^6.0.6",
|
|
40
|
+
"better-sqlite3": "^12.5.0",
|
|
41
41
|
"pino": "^10.1.0",
|
|
42
42
|
"pino-pretty": "^13.1.2",
|
|
43
43
|
"quick-lru": "^7.3.0",
|
|
@@ -64,6 +64,6 @@
|
|
|
64
64
|
"globals": "^16.5.0",
|
|
65
65
|
"jsdoc": "^4.0.5",
|
|
66
66
|
"jsdoc-to-markdown": "^9.1.3",
|
|
67
|
-
"rollup": "^4.53.
|
|
67
|
+
"rollup": "^4.53.3"
|
|
68
68
|
}
|
|
69
69
|
}
|