kaabalah 1.1.4 → 1.1.5
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/core/index.d.mts +2 -2
- package/dist/core/index.d.ts +2 -2
- package/dist/core/index.js +22 -22
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.mjs +22 -22
- package/dist/core/index.mjs.map +1 -1
- package/dist/gematria/index.d.mts +2 -1
- package/dist/gematria/index.d.ts +2 -1
- package/dist/gematria/index.js +30 -26
- package/dist/gematria/index.js.map +1 -1
- package/dist/gematria/index.mjs +30 -26
- package/dist/gematria/index.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +30 -26
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +30 -26
- package/dist/index.mjs.map +1 -1
- package/dist/{registry-B_FE5hWO.d.mts → registry-BEf1897h.d.mts} +0 -1
- package/dist/{registry-B_FE5hWO.d.ts → registry-BEf1897h.d.ts} +0 -1
- package/package.json +1 -1
package/dist/gematria/index.mjs
CHANGED
|
@@ -195,28 +195,28 @@ var HEBREW_LETTERS = {
|
|
|
195
195
|
TAV: "Tav"
|
|
196
196
|
};
|
|
197
197
|
var HEBREW_LETTERS_DATA = {
|
|
198
|
-
ALEPH: { gematriaValue: 1, type: "mother", symbol: "Man", hieroglyph: "Unity, central point, abstract principle", yvritMeaning: "Universal man and the human gender",
|
|
199
|
-
BETH: { gematriaValue: 2, type: "double", symbol: "Mouth", hieroglyph: "Woman's duality", yvritMeaning: "Man's mouth, habitation, interior",
|
|
200
|
-
GIMEL: { gematriaValue: 3, type: "double", symbol: "Grasping hand", hieroglyph: "Expansion and growth", yvritMeaning: "Man's throat, channel",
|
|
201
|
-
DALET: { gematriaValue: 4, type: "double", symbol: "Breast", hieroglyph: "Universal quaternary, source of physical existence", yvritMeaning: "Abundance and nourishment",
|
|
202
|
-
HE: { gematriaValue: 5, type: "simple", symbol: "Breath", hieroglyph: "Universal life, men's breath, the breath, everything that animates and vivifies", yvritMeaning: "Window",
|
|
203
|
-
VAV: { gematriaValue: 6, type: "simple", symbol: "Eye, ear", hieroglyph: "A point connection that separates being and non-being", yvritMeaning: "Construction nail",
|
|
204
|
-
ZAYIN: { gematriaValue: 7, type: "simple", symbol: "Arrow", hieroglyph: "Goal, objective to achieve", yvritMeaning: "Dart, sword",
|
|
205
|
-
HET: { gematriaValue: 8, type: "simple", symbol: "Field", hieroglyph: "Elemental existence", yvritMeaning: "Fence",
|
|
206
|
-
TET: { gematriaValue: 9, type: "simple", symbol: "A house covering", hieroglyph: "Men's shelter, roof, shield, protection, resistance", yvritMeaning: "Serpent",
|
|
207
|
-
YOD: { gematriaValue: 10, type: "simple", symbol: "Index finger", hieroglyph: "Potential manifestation, eternal worship", yvritMeaning: "Hand, index finger",
|
|
208
|
-
KAPH: { gematriaValue: 20, type: "double", gematriaValueWhenEnding: 500, symbol: "Closing hand", hieroglyph: "Reflective and fleeting life", yvritMeaning: "Palm closing in the act of grasping something",
|
|
209
|
-
LAMED: { gematriaValue: 30, type: "simple", symbol: "Extending arm", hieroglyph: "Extension, elevation", yvritMeaning: "Sting rod, human arm representing extension, elevation",
|
|
210
|
-
MEM: { gematriaValue: 40, type: "mother", gematriaValueWhenEnding: 600, symbol: "Woman", hieroglyph: "External passive action, all formative and plastic principle when starting a word, collectiveness when ending one", yvritMeaning: "Waters, woman, mother, man's companion",
|
|
211
|
-
NUN: { gematriaValue: 50, type: "simple", gematriaValueWhenEnding: 700, symbol: "Fruit", hieroglyph: "Novelty, youth, grace, beauty", yvritMeaning: "Fish",
|
|
212
|
-
SAMEKH: { gematriaValue: 60, type: "simple", symbol: "Serpent", hieroglyph: "Cyclical circular movement", yvritMeaning: "Support, brace, crutch",
|
|
213
|
-
AYIN: { gematriaValue: 70, type: "simple", symbol: "Binding", hieroglyph: "Material side of things, emptiness, nothingness, all evil", yvritMeaning: "Eye",
|
|
214
|
-
PE: { gematriaValue: 80, type: "double", gematriaValueWhenEnding: 800, symbol: "Mouth, tongue", hieroglyph: "Power of the verb, spoken word", yvritMeaning: "Mouth releasing",
|
|
215
|
-
TSADI: { gematriaValue: 90, type: "simple", gematriaValueWhenEnding: 900, symbol: "Roof", hieroglyph: "Fixed thought upon a purpose", yvritMeaning: "Fishhook",
|
|
216
|
-
QOPH: { gematriaValue: 100, type: "simple", symbol: "Axe", hieroglyph: "Repressive pressure", yvritMeaning: "Back of the head",
|
|
217
|
-
RESH: { gematriaValue: 200, type: "double", symbol: "Head", hieroglyph: "Feeling, wanting, thinking, movement, reflection, origin, repetition", yvritMeaning: "Illuminated head",
|
|
218
|
-
SHIN: { gematriaValue: 300, type: "mother", symbol: "Crown", hieroglyph: "Relative duration, existence", yvritMeaning: "Part of the bow from which the arrow is released",
|
|
219
|
-
TAV: { gematriaValue: 400, type: "double", symbol: "Thorax", hieroglyph: "Universal soul, reciprocity, protection, perfection, abundance", yvritMeaning: "Ankh Cross",
|
|
198
|
+
ALEPH: { gematriaValue: 1, type: "mother", symbol: "Man", hieroglyph: "Unity, central point, abstract principle", yvritMeaning: "Universal man and the human gender", character: "\u05D0" },
|
|
199
|
+
BETH: { gematriaValue: 2, type: "double", symbol: "Mouth", hieroglyph: "Woman's duality", yvritMeaning: "Man's mouth, habitation, interior", character: "\u05D1" },
|
|
200
|
+
GIMEL: { gematriaValue: 3, type: "double", symbol: "Grasping hand", hieroglyph: "Expansion and growth", yvritMeaning: "Man's throat, channel", character: "\u05D2" },
|
|
201
|
+
DALET: { gematriaValue: 4, type: "double", symbol: "Breast", hieroglyph: "Universal quaternary, source of physical existence", yvritMeaning: "Abundance and nourishment", character: "\u05D3" },
|
|
202
|
+
HE: { gematriaValue: 5, type: "simple", symbol: "Breath", hieroglyph: "Universal life, men's breath, the breath, everything that animates and vivifies", yvritMeaning: "Window", character: "\u05D4" },
|
|
203
|
+
VAV: { gematriaValue: 6, type: "simple", symbol: "Eye, ear", hieroglyph: "A point connection that separates being and non-being", yvritMeaning: "Construction nail", character: "\u05D5" },
|
|
204
|
+
ZAYIN: { gematriaValue: 7, type: "simple", symbol: "Arrow", hieroglyph: "Goal, objective to achieve", yvritMeaning: "Dart, sword", character: "\u05D6" },
|
|
205
|
+
HET: { gematriaValue: 8, type: "simple", symbol: "Field", hieroglyph: "Elemental existence", yvritMeaning: "Fence", character: "\u05D7" },
|
|
206
|
+
TET: { gematriaValue: 9, type: "simple", symbol: "A house covering", hieroglyph: "Men's shelter, roof, shield, protection, resistance", yvritMeaning: "Serpent", character: "\u05D8" },
|
|
207
|
+
YOD: { gematriaValue: 10, type: "simple", symbol: "Index finger", hieroglyph: "Potential manifestation, eternal worship", yvritMeaning: "Hand, index finger", character: "\u05D9" },
|
|
208
|
+
KAPH: { gematriaValue: 20, type: "double", gematriaValueWhenEnding: 500, symbol: "Closing hand", hieroglyph: "Reflective and fleeting life", yvritMeaning: "Palm closing in the act of grasping something", character: "\u05DB", characterWhenEnding: "\u05DA" },
|
|
209
|
+
LAMED: { gematriaValue: 30, type: "simple", symbol: "Extending arm", hieroglyph: "Extension, elevation", yvritMeaning: "Sting rod, human arm representing extension, elevation", character: "\u05DC" },
|
|
210
|
+
MEM: { gematriaValue: 40, type: "mother", gematriaValueWhenEnding: 600, symbol: "Woman", hieroglyph: "External passive action, all formative and plastic principle when starting a word, collectiveness when ending one", yvritMeaning: "Waters, woman, mother, man's companion", character: "\u05DE", characterWhenEnding: "\u05DD" },
|
|
211
|
+
NUN: { gematriaValue: 50, type: "simple", gematriaValueWhenEnding: 700, symbol: "Fruit", hieroglyph: "Novelty, youth, grace, beauty", yvritMeaning: "Fish", character: "\u05E0", characterWhenEnding: "\u05DF" },
|
|
212
|
+
SAMEKH: { gematriaValue: 60, type: "simple", symbol: "Serpent", hieroglyph: "Cyclical circular movement", yvritMeaning: "Support, brace, crutch", character: "\u05E1" },
|
|
213
|
+
AYIN: { gematriaValue: 70, type: "simple", symbol: "Binding", hieroglyph: "Material side of things, emptiness, nothingness, all evil", yvritMeaning: "Eye", character: "\u05E2" },
|
|
214
|
+
PE: { gematriaValue: 80, type: "double", gematriaValueWhenEnding: 800, symbol: "Mouth, tongue", hieroglyph: "Power of the verb, spoken word", yvritMeaning: "Mouth releasing", character: "\u05E4", characterWhenEnding: "\u05E3" },
|
|
215
|
+
TSADI: { gematriaValue: 90, type: "simple", gematriaValueWhenEnding: 900, symbol: "Roof", hieroglyph: "Fixed thought upon a purpose", yvritMeaning: "Fishhook", character: "\u05E6", characterWhenEnding: "\u05E5" },
|
|
216
|
+
QOPH: { gematriaValue: 100, type: "simple", symbol: "Axe", hieroglyph: "Repressive pressure", yvritMeaning: "Back of the head", character: "\u05E7" },
|
|
217
|
+
RESH: { gematriaValue: 200, type: "double", symbol: "Head", hieroglyph: "Feeling, wanting, thinking, movement, reflection, origin, repetition", yvritMeaning: "Illuminated head", character: "\u05E8" },
|
|
218
|
+
SHIN: { gematriaValue: 300, type: "mother", symbol: "Crown", hieroglyph: "Relative duration, existence", yvritMeaning: "Part of the bow from which the arrow is released", character: "\u05E9" },
|
|
219
|
+
TAV: { gematriaValue: 400, type: "double", symbol: "Thorax", hieroglyph: "Universal soul, reciprocity, protection, perfection, abundance", yvritMeaning: "Ankh Cross", character: "\u05EA" }
|
|
220
220
|
};
|
|
221
221
|
var TAROT_SUITS = {
|
|
222
222
|
WANDS: "Wands",
|
|
@@ -2378,12 +2378,14 @@ var calculateGematria = (word, options = {}, tree) => {
|
|
|
2378
2378
|
const latinLetterId2 = `letter:${combinedLetter}`;
|
|
2379
2379
|
const [mapping2] = tree.walk(latinLetterId2, 2, "hebrewLetter");
|
|
2380
2380
|
if (mapping2?.data) {
|
|
2381
|
+
let hebrewCharacter = mapping2.data.character;
|
|
2381
2382
|
let value = mapping2.data.gematriaValue;
|
|
2382
|
-
if (isEnding2 && mapping2.data.gematriaValueWhenEnding !== void 0) {
|
|
2383
|
+
if (isEnding2 && mapping2.data.gematriaValueWhenEnding !== void 0 && mapping2.data.characterWhenEnding !== void 0) {
|
|
2384
|
+
hebrewCharacter = mapping2.data.characterWhenEnding;
|
|
2383
2385
|
value = mapping2.data.gematriaValueWhenEnding;
|
|
2384
2386
|
}
|
|
2385
2387
|
includedGematriaValues.add(value);
|
|
2386
|
-
includedLetters.push({ latinLetterId: latinLetterId2, value, hebrewLetterId: mapping2.id, isVowel: isVowel(letter) });
|
|
2388
|
+
includedLetters.push({ latinLetterId: latinLetterId2, value, hebrewLetterId: mapping2.id, hebrewCharacter, isVowel: isVowel(letter) });
|
|
2387
2389
|
consonantsSum += value;
|
|
2388
2390
|
i++;
|
|
2389
2391
|
continue;
|
|
@@ -2400,11 +2402,13 @@ var calculateGematria = (word, options = {}, tree) => {
|
|
|
2400
2402
|
const isEnding = i > 0 && i === letters.length - 1;
|
|
2401
2403
|
if (mapping?.data) {
|
|
2402
2404
|
let value = mapping.data.gematriaValue;
|
|
2403
|
-
|
|
2405
|
+
let hebrewCharacter = mapping.data.character;
|
|
2406
|
+
if (isEnding && mapping.data.gematriaValueWhenEnding !== void 0 && mapping.data.characterWhenEnding !== void 0) {
|
|
2404
2407
|
value = mapping.data.gematriaValueWhenEnding;
|
|
2408
|
+
hebrewCharacter = mapping.data.characterWhenEnding;
|
|
2405
2409
|
}
|
|
2406
2410
|
includedGematriaValues.add(value);
|
|
2407
|
-
includedLetters.push({ latinLetterId, value, hebrewLetterId: mapping.id, isVowel: isVowel(letter) });
|
|
2411
|
+
includedLetters.push({ latinLetterId, value, hebrewLetterId: mapping.id, hebrewCharacter, isVowel: isVowel(letter) });
|
|
2408
2412
|
if (isVowel(letter)) {
|
|
2409
2413
|
vowelsSum += value;
|
|
2410
2414
|
} else {
|