@hebcal/geo-sqlite 3.4.4 → 3.5.0
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 +3 -3
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @hebcal/geo-sqlite v3.
|
|
1
|
+
/*! @hebcal/geo-sqlite v3.5.0 */
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -454,7 +454,7 @@ function filterPlacesHebrew(a) {
|
|
|
454
454
|
const firstchar = name[0];
|
|
455
455
|
|
|
456
456
|
if (firstchar >= '\u05D0' && firstchar <= '\u05EA') {
|
|
457
|
-
a[1] = name; // replace 'name' field with Hebrew
|
|
457
|
+
a[1] = core.Locale.hebrewStripNikkud(name); // replace 'name' field with Hebrew
|
|
458
458
|
|
|
459
459
|
return true;
|
|
460
460
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! @hebcal/geo-sqlite v3.
|
|
1
|
+
/*! @hebcal/geo-sqlite v3.5.0 */
|
|
2
2
|
import Database from 'better-sqlite3';
|
|
3
|
-
import { Location } from '@hebcal/core';
|
|
3
|
+
import { Location, Locale } from '@hebcal/core';
|
|
4
4
|
import pino from 'pino';
|
|
5
5
|
import events from 'events';
|
|
6
6
|
import fs from 'fs';
|
|
@@ -442,7 +442,7 @@ function filterPlacesHebrew(a) {
|
|
|
442
442
|
const firstchar = name[0];
|
|
443
443
|
|
|
444
444
|
if (firstchar >= '\u05D0' && firstchar <= '\u05EA') {
|
|
445
|
-
a[1] = name; // replace 'name' field with Hebrew
|
|
445
|
+
a[1] = Locale.hebrewStripNikkud(name); // replace 'name' field with Hebrew
|
|
446
446
|
|
|
447
447
|
return true;
|
|
448
448
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hebcal/geo-sqlite",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"author": "Michael J. Radwin (https://github.com/mjradwin)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hebcal"
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"geo-sqlite.d.ts"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@hebcal/core": "^3.
|
|
32
|
-
"better-sqlite3": "^7.4.
|
|
33
|
-
"pino": "^7.
|
|
34
|
-
"pino-pretty": "^7.
|
|
31
|
+
"@hebcal/core": "^3.32.0",
|
|
32
|
+
"better-sqlite3": "^7.4.6",
|
|
33
|
+
"pino": "^7.6.2",
|
|
34
|
+
"pino-pretty": "^7.3.0"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "rollup -c",
|
|
@@ -60,19 +60,19 @@
|
|
|
60
60
|
"license": "BSD-2-Clause",
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@ava/babel": "^2.0.0",
|
|
63
|
-
"@babel/core": "^7.16.
|
|
63
|
+
"@babel/core": "^7.16.7",
|
|
64
64
|
"@babel/polyfill": "^7.12.1",
|
|
65
|
-
"@babel/preset-env": "^7.16.
|
|
66
|
-
"@babel/register": "^7.16.
|
|
65
|
+
"@babel/preset-env": "^7.16.7",
|
|
66
|
+
"@babel/register": "^7.16.7",
|
|
67
67
|
"@rollup/plugin-babel": "^5.3.0",
|
|
68
68
|
"@rollup/plugin-commonjs": "^21.0.1",
|
|
69
69
|
"@rollup/plugin-json": "^4.1.0",
|
|
70
|
-
"@rollup/plugin-node-resolve": "^13.
|
|
70
|
+
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
71
71
|
"ava": "^3.15.0",
|
|
72
|
-
"eslint": "^8.
|
|
72
|
+
"eslint": "^8.6.0",
|
|
73
73
|
"eslint-config-google": "^0.14.0",
|
|
74
74
|
"jsdoc": "^3.6.7",
|
|
75
75
|
"jsdoc-to-markdown": "^7.1.0",
|
|
76
|
-
"rollup": "^2.
|
|
76
|
+
"rollup": "^2.63.0"
|
|
77
77
|
}
|
|
78
78
|
}
|