@hebcal/geo-sqlite 3.6.1 → 3.6.2
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 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/geo-sqlite v3.6.
|
|
1
|
+
/*! @hebcal/geo-sqlite v3.6.2 */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -52,7 +52,7 @@ const ZIPCODE_SQL = `SELECT CityMixedCase,State,Latitude,Longitude,TimeZone,DayL
|
|
|
52
52
|
FROM ZIPCodes_Primary WHERE ZipCode = ?`;
|
|
53
53
|
const ZIPCODE_ALL_SQL = `SELECT ZipCode,CityMixedCase,State,Latitude,Longitude,TimeZone,DayLightSaving
|
|
54
54
|
FROM ZIPCodes_Primary`;
|
|
55
|
-
const ZIP_COMPLETE_SQL = `SELECT ZipCode,CityMixedCase,State,Latitude,Longitude,TimeZone,DayLightSaving
|
|
55
|
+
const ZIP_COMPLETE_SQL = `SELECT ZipCode,CityMixedCase,State,Latitude,Longitude,TimeZone,DayLightSaving,Population
|
|
56
56
|
FROM ZIPCodes_Primary
|
|
57
57
|
WHERE ZipCode LIKE ?
|
|
58
58
|
ORDER BY Population DESC
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/geo-sqlite v3.6.
|
|
1
|
+
/*! @hebcal/geo-sqlite v3.6.2 */
|
|
2
2
|
import Database from 'better-sqlite3';
|
|
3
3
|
import { Location, Locale } from '@hebcal/core';
|
|
4
4
|
import pino from 'pino';
|
|
@@ -40,7 +40,7 @@ const ZIPCODE_SQL = `SELECT CityMixedCase,State,Latitude,Longitude,TimeZone,DayL
|
|
|
40
40
|
FROM ZIPCodes_Primary WHERE ZipCode = ?`;
|
|
41
41
|
const ZIPCODE_ALL_SQL = `SELECT ZipCode,CityMixedCase,State,Latitude,Longitude,TimeZone,DayLightSaving
|
|
42
42
|
FROM ZIPCodes_Primary`;
|
|
43
|
-
const ZIP_COMPLETE_SQL = `SELECT ZipCode,CityMixedCase,State,Latitude,Longitude,TimeZone,DayLightSaving
|
|
43
|
+
const ZIP_COMPLETE_SQL = `SELECT ZipCode,CityMixedCase,State,Latitude,Longitude,TimeZone,DayLightSaving,Population
|
|
44
44
|
FROM ZIPCodes_Primary
|
|
45
45
|
WHERE ZipCode LIKE ?
|
|
46
46
|
ORDER BY Population DESC
|