hebrew-transliteration 2.0.3 → 2.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.esm.js +1 -1
- package/dist/index.js +9 -14
- package/package.json +11 -11
package/dist/index.esm.js
CHANGED
|
@@ -272,6 +272,7 @@ var Schema = class {
|
|
|
272
272
|
};
|
|
273
273
|
var SBL = class extends Schema {
|
|
274
274
|
constructor(schema) {
|
|
275
|
+
var _a, _b, _c, _d, _e, _f;
|
|
275
276
|
super({
|
|
276
277
|
VOCAL_SHEVA: schema.VOCAL_SHEVA || "\u01DD",
|
|
277
278
|
HATAF_SEGOL: schema.HATAF_SEGOL || "\u0115",
|
|
@@ -344,7 +345,6 @@ var SBL = class extends Schema {
|
|
|
344
345
|
wawShureq: (_e = schema.wawShureq) != null ? _e : true,
|
|
345
346
|
article: (_f = schema.article) != null ? _f : true
|
|
346
347
|
});
|
|
347
|
-
var _a, _b, _c, _d, _e, _f;
|
|
348
348
|
}
|
|
349
349
|
};
|
|
350
350
|
|
package/dist/index.js
CHANGED
|
@@ -2,24 +2,19 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
|
|
6
5
|
var __export = (target, all) => {
|
|
7
6
|
for (var name in all)
|
|
8
7
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
8
|
};
|
|
10
|
-
var
|
|
11
|
-
if (
|
|
12
|
-
for (let key of __getOwnPropNames(
|
|
13
|
-
if (!__hasOwnProp.call(
|
|
14
|
-
__defProp(
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
14
|
}
|
|
16
|
-
return
|
|
15
|
+
return to;
|
|
17
16
|
};
|
|
18
|
-
var __toCommonJS =
|
|
19
|
-
return (module2, temp) => {
|
|
20
|
-
return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
|
|
21
|
-
};
|
|
22
|
-
})(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
18
|
|
|
24
19
|
// src/index.ts
|
|
25
20
|
var src_exports = {};
|
|
@@ -30,6 +25,7 @@ __export(src_exports, {
|
|
|
30
25
|
sequence: () => sequence,
|
|
31
26
|
transliterate: () => transliterate
|
|
32
27
|
});
|
|
28
|
+
module.exports = __toCommonJS(src_exports);
|
|
33
29
|
var import_havarotjs3 = require("havarotjs");
|
|
34
30
|
|
|
35
31
|
// src/sequence.ts
|
|
@@ -303,6 +299,7 @@ var Schema = class {
|
|
|
303
299
|
};
|
|
304
300
|
var SBL = class extends Schema {
|
|
305
301
|
constructor(schema) {
|
|
302
|
+
var _a, _b, _c, _d, _e, _f;
|
|
306
303
|
super({
|
|
307
304
|
VOCAL_SHEVA: schema.VOCAL_SHEVA || "\u01DD",
|
|
308
305
|
HATAF_SEGOL: schema.HATAF_SEGOL || "\u0115",
|
|
@@ -375,7 +372,6 @@ var SBL = class extends Schema {
|
|
|
375
372
|
wawShureq: (_e = schema.wawShureq) != null ? _e : true,
|
|
376
373
|
article: (_f = schema.article) != null ? _f : true
|
|
377
374
|
});
|
|
378
|
-
var _a, _b, _c, _d, _e, _f;
|
|
379
375
|
}
|
|
380
376
|
};
|
|
381
377
|
|
|
@@ -426,7 +422,6 @@ var remove = (text, { removeVowels = false, removeShinDot = false, removeSinDot
|
|
|
426
422
|
const remShin = removeShinDot ? removeItem(remVowels, shinDot) : remVowels;
|
|
427
423
|
return removeSinDot ? removeItem(remShin, sinDot) : remShin;
|
|
428
424
|
};
|
|
429
|
-
module.exports = __toCommonJS(src_exports);
|
|
430
425
|
// Annotate the CommonJS export names for ESM import in node:
|
|
431
426
|
0 && (module.exports = {
|
|
432
427
|
Schema,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hebrew-transliteration",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "a package for transliterating Hebrew",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -38,21 +38,21 @@
|
|
|
38
38
|
"license": "MIT",
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/jest": "^27.4.1",
|
|
41
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
42
|
-
"esbuild": "^0.14.
|
|
43
|
-
"eslint": "^8.
|
|
41
|
+
"@typescript-eslint/eslint-plugin": "^5.19.0",
|
|
42
|
+
"esbuild": "^0.14.34",
|
|
43
|
+
"eslint": "^8.13.0",
|
|
44
44
|
"eslint-config-prettier": "^8.5.0",
|
|
45
|
-
"eslint-plugin-jest": "^26.1.
|
|
46
|
-
"eslint-plugin-jsdoc": "^
|
|
45
|
+
"eslint-plugin-jest": "^26.1.4",
|
|
46
|
+
"eslint-plugin-jsdoc": "^39.1.0",
|
|
47
47
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
48
48
|
"jest": "^27.5.1",
|
|
49
|
-
"npm-check-updates": "^12.5.
|
|
49
|
+
"npm-check-updates": "^12.5.8",
|
|
50
50
|
"npm-dts": "^1.3.11",
|
|
51
|
-
"prettier": "^2.
|
|
52
|
-
"ts-jest": "^27.1.
|
|
53
|
-
"typescript": "^4.6.
|
|
51
|
+
"prettier": "^2.6.2",
|
|
52
|
+
"ts-jest": "^27.1.4",
|
|
53
|
+
"typescript": "^4.6.3"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"havarotjs": "^0.7.
|
|
56
|
+
"havarotjs": "^0.7.4"
|
|
57
57
|
}
|
|
58
58
|
}
|