@hebcal/geo-sqlite 5.7.2 → 5.7.3

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -0
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -730,6 +730,7 @@ class GeoDb {
730
730
  */
731
731
  lookupGeoname(geonameid) {
732
732
  geonameid = +geonameid;
733
+ if (!geonameid) return null;
733
734
  if (geonameid === 293396) {
734
735
  geonameid = 293397;
735
736
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hebcal/geo-sqlite",
3
- "version": "5.7.2",
3
+ "version": "5.7.3",
4
4
  "author": "Michael J. Radwin (https://github.com/mjradwin)",
5
5
  "keywords": [
6
6
  "hebcal"
@@ -36,13 +36,13 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@hebcal/cities": "^6.1.0",
39
- "@hebcal/core": "^6.0.6",
40
- "better-sqlite3": "^12.5.0",
39
+ "@hebcal/core": "^6.0.8",
40
+ "better-sqlite3": "^12.6.2",
41
41
  "minimist": "^1.2.8",
42
- "pino": "^10.1.0",
42
+ "pino": "^10.3.1",
43
43
  "pino-pretty": "^13.1.3",
44
44
  "quick-lru": "^7.3.0",
45
- "transliteration": "^2.6.0"
45
+ "transliteration": "^2.6.1"
46
46
  },
47
47
  "scripts": {
48
48
  "build:rollup": "rollup -c",
@@ -66,10 +66,10 @@
66
66
  "ava": "^6.4.1",
67
67
  "eslint": "^9.39.2",
68
68
  "eslint-config-google": "^0.14.0",
69
- "eslint-plugin-n": "^17.23.1",
70
- "globals": "^16.5.0",
69
+ "eslint-plugin-n": "^17.23.2",
70
+ "globals": "^17.3.0",
71
71
  "jsdoc": "^4.0.5",
72
72
  "jsdoc-to-markdown": "^9.1.3",
73
- "rollup": "^4.54.0"
73
+ "rollup": "^4.57.1"
74
74
  }
75
75
  }