@hebcal/geo-sqlite 4.7.0 → 4.7.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 CHANGED
@@ -1,4 +1,4 @@
1
- /*! @hebcal/geo-sqlite v4.7.0 */
1
+ /*! @hebcal/geo-sqlite v4.7.1 */
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -236,6 +236,11 @@ class GeoDb {
236
236
 
237
237
  lookupGeoname(geonameid) {
238
238
  geonameid = +geonameid;
239
+
240
+ if (geonameid === 293396) {
241
+ geonameid = 293397;
242
+ }
243
+
239
244
  const found = this.geonamesCache.get(geonameid);
240
245
  if (typeof found !== 'undefined') return found;
241
246
  const result = this.geonamesStmt.get(geonameid);
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! @hebcal/geo-sqlite v4.7.0 */
1
+ /*! @hebcal/geo-sqlite v4.7.1 */
2
2
  import Database from 'better-sqlite3';
3
3
  import { Location, Locale } from '@hebcal/core';
4
4
  import '@hebcal/cities';
@@ -224,6 +224,11 @@ class GeoDb {
224
224
 
225
225
  lookupGeoname(geonameid) {
226
226
  geonameid = +geonameid;
227
+
228
+ if (geonameid === 293396) {
229
+ geonameid = 293397;
230
+ }
231
+
227
232
  const found = this.geonamesCache.get(geonameid);
228
233
  if (typeof found !== 'undefined') return found;
229
234
  const result = this.geonamesStmt.get(geonameid);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hebcal/geo-sqlite",
3
- "version": "4.7.0",
3
+ "version": "4.7.1",
4
4
  "author": "Michael J. Radwin (https://github.com/mjradwin)",
5
5
  "keywords": [
6
6
  "hebcal"