@hebcal/geo-sqlite 5.0.3 → 5.0.4
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.cjs +5 -3
- package/dist/index.mjs +5 -3
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/geo-sqlite v5.0.
|
|
1
|
+
/*! @hebcal/geo-sqlite v5.0.4 */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var Database = require('better-sqlite3');
|
|
@@ -707,9 +707,11 @@ async function buildGeonamesSqlite(opts) {
|
|
|
707
707
|
);
|
|
708
708
|
|
|
709
709
|
doSql(logger, db,
|
|
710
|
-
`update admin1 set name='',asciiname='' where key like 'PS.%';`,
|
|
711
|
-
`update country set country = '' where iso = 'PS';`,
|
|
710
|
+
// `update admin1 set name='',asciiname='' where key like 'PS.%';`,
|
|
711
|
+
// `update country set country = '' where iso = 'PS';`,
|
|
712
|
+
`delete from geoname where country = 'PS' and admin1 = 'GZ';`,
|
|
712
713
|
`delete from geoname where geonameid = 7303419;`,
|
|
714
|
+
`update geoname set country = 'IL' where country = 'PS' and admin1 = 'WE';`,
|
|
713
715
|
);
|
|
714
716
|
|
|
715
717
|
doSql(logger, db,
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/geo-sqlite v5.0.
|
|
1
|
+
/*! @hebcal/geo-sqlite v5.0.4 */
|
|
2
2
|
import Database from 'better-sqlite3';
|
|
3
3
|
import { Location, Locale } from '@hebcal/core';
|
|
4
4
|
import '@hebcal/cities';
|
|
@@ -705,9 +705,11 @@ async function buildGeonamesSqlite(opts) {
|
|
|
705
705
|
);
|
|
706
706
|
|
|
707
707
|
doSql(logger, db,
|
|
708
|
-
`update admin1 set name='',asciiname='' where key like 'PS.%';`,
|
|
709
|
-
`update country set country = '' where iso = 'PS';`,
|
|
708
|
+
// `update admin1 set name='',asciiname='' where key like 'PS.%';`,
|
|
709
|
+
// `update country set country = '' where iso = 'PS';`,
|
|
710
|
+
`delete from geoname where country = 'PS' and admin1 = 'GZ';`,
|
|
710
711
|
`delete from geoname where geonameid = 7303419;`,
|
|
712
|
+
`update geoname set country = 'IL' where country = 'PS' and admin1 = 'WE';`,
|
|
711
713
|
);
|
|
712
714
|
|
|
713
715
|
doSql(logger, db,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hebcal/geo-sqlite",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.4",
|
|
4
4
|
"author": "Michael J. Radwin (https://github.com/mjradwin)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hebcal"
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@hebcal/cities": "^5.0.1",
|
|
41
|
-
"@hebcal/core": "^5.
|
|
42
|
-
"better-sqlite3": "^9.
|
|
43
|
-
"pino": "^8.
|
|
41
|
+
"@hebcal/core": "^5.2.2",
|
|
42
|
+
"better-sqlite3": "^9.4.0",
|
|
43
|
+
"pino": "^8.18.0",
|
|
44
44
|
"pino-pretty": "^10.3.1",
|
|
45
45
|
"transliteration": "^2.3.5"
|
|
46
46
|
},
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
56
56
|
"@rollup/plugin-json": "^6.1.0",
|
|
57
57
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
58
|
-
"ava": "^6.
|
|
58
|
+
"ava": "^6.1.1",
|
|
59
59
|
"eslint": "^8.56.0",
|
|
60
60
|
"eslint-config-google": "^0.14.0",
|
|
61
61
|
"jsdoc": "^4.0.2",
|
|
62
|
-
"jsdoc-to-markdown": "^8.0.
|
|
63
|
-
"rollup": "^4.9.
|
|
62
|
+
"jsdoc-to-markdown": "^8.0.1",
|
|
63
|
+
"rollup": "^4.9.6"
|
|
64
64
|
}
|
|
65
65
|
}
|