codexparser 0.1.80 → 0.1.82

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/.trunk/trunk.yaml CHANGED
@@ -17,11 +17,11 @@ runtimes:
17
17
  # This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
18
18
  lint:
19
19
  enabled:
20
- - checkov@3.2.443
20
+ - checkov@3.2.445
21
21
  - git-diff-check
22
22
  - markdownlint@0.45.0
23
23
  - osv-scanner@2.0.3
24
- - prettier@3.5.3
24
+ - prettier@3.6.0
25
25
  - trufflehog@3.89.2
26
26
  actions:
27
27
  disabled:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codexparser",
3
- "version": "0.1.80",
3
+ "version": "0.1.82",
4
4
  "description": "This is a Javascript Bible parser and text scanner. It will search through texts and collate all scripture references into an array and parse them into objects, and it will parse passages into objects by book, chapter, verse, and testament. ",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -104,9 +104,6 @@ class CodexParser {
104
104
  const lowerCaseText = normalizedText.toLowerCase()
105
105
  let i = 0
106
106
 
107
- console.log("[Scan] Input text:", text)
108
- console.log("[Scan] Normalized text:", normalizedText)
109
-
110
107
  const isValidChapterVerseChar = (char) => /[^A-Za-z]/.test(char) // Non-letter characters
111
108
  const isNextBibleBook = (startIndex) => {
112
109
  const textAfterCurrentPosition = lowerCaseText.substring(startIndex).trim()
@@ -151,7 +148,6 @@ class CodexParser {
151
148
  foundBook = fullNames[j]
152
149
  matchedLength = book.length
153
150
  originalBookText = text.slice(i, i + book.length)
154
- console.log(`[Scan] Matched full book name: "${foundBook}" at index ${i}`)
155
151
  }
156
152
  }
157
153
 
@@ -166,9 +162,6 @@ class CodexParser {
166
162
  foundBook = this.abbreviations[abbreviations[k]]
167
163
  matchedLength = match[0].length - match[1].length // Exclude chapter-verse part
168
164
  originalBookText = text.slice(i, i + matchedLength)
169
- console.log(
170
- `[Scan] Matched abbreviation: "${abbreviations[k]}" -> "${foundBook}" at index ${i}`
171
- )
172
165
  }
173
166
  }
174
167
  }
@@ -182,7 +175,6 @@ class CodexParser {
182
175
  // Capture chapter-verse until a letter (potential new book) or semicolon
183
176
  while (i < normalizedText.length && isValidChapterVerseChar(normalizedText[i])) {
184
177
  if (isNextBibleBook(i)) {
185
- console.log(`[Scan] Detected next book at index ${i}, breaking`)
186
178
  break
187
179
  }
188
180
  if (normalizedText[i] === ";") {
@@ -286,7 +278,6 @@ class CodexParser {
286
278
  endIndex: refObj.endIndex,
287
279
  }
288
280
  this.found.push(referenceObj)
289
- console.log(`[Scan] Stored reference: ${JSON.stringify(referenceObj)}`)
290
281
  })
291
282
 
292
283
  // Skip any trailing spaces after the reference
@@ -297,8 +288,6 @@ class CodexParser {
297
288
  i++
298
289
  }
299
290
  }
300
-
301
- console.log("[Scan] Final found references:", JSON.stringify(this.found, null, 2))
302
291
  return this
303
292
  }
304
293
 
@@ -6807,269 +6807,264 @@ module.exports = {
6807
6807
  eng: "88:19",
6808
6808
  },
6809
6809
  "89:1": {
6810
- lxx: "88:1",
6811
- mt: "89:1",
6812
- eng: "89:1",
6813
- },
6814
- "89:2": {
6815
6810
  lxx: "88:2",
6816
6811
  mt: "89:2",
6817
- eng: "89:2",
6812
+ eng: "89:1",
6818
6813
  },
6819
- "89:3": {
6814
+ "89:2": {
6820
6815
  lxx: "88:3",
6821
6816
  mt: "89:3",
6822
- eng: "89:3",
6817
+ eng: "89:2",
6823
6818
  },
6824
- "89:4": {
6819
+ "89:3": {
6825
6820
  lxx: "88:4",
6826
6821
  mt: "89:4",
6827
- eng: "89:4",
6822
+ eng: "89:3",
6828
6823
  },
6829
- "89:5": {
6824
+ "89:4": {
6830
6825
  lxx: "88:5",
6831
6826
  mt: "89:5",
6832
- eng: "89:5",
6827
+ eng: "89:4",
6833
6828
  },
6834
- "89:6": {
6829
+ "89:5": {
6835
6830
  lxx: "88:6",
6836
6831
  mt: "89:6",
6837
- eng: "89:6",
6832
+ eng: "89:5",
6838
6833
  },
6839
- "89:7": {
6834
+ "89:6": {
6840
6835
  lxx: "88:7",
6841
6836
  mt: "89:7",
6842
- eng: "89:7",
6837
+ eng: "89:6",
6843
6838
  },
6844
- "89:8": {
6839
+ "89:7": {
6845
6840
  lxx: "88:8",
6846
6841
  mt: "89:8",
6847
- eng: "89:8",
6842
+ eng: "89:7",
6848
6843
  },
6849
- "89:9": {
6844
+ "89:8": {
6850
6845
  lxx: "88:9",
6851
6846
  mt: "89:9",
6852
- eng: "89:9",
6847
+ eng: "89:8",
6853
6848
  },
6854
- "89:10": {
6849
+ "89:9": {
6855
6850
  lxx: "88:10",
6856
6851
  mt: "89:10",
6857
- eng: "89:10",
6852
+ eng: "89:9",
6858
6853
  },
6859
- "89:11": {
6854
+ "89:10": {
6860
6855
  lxx: "88:11",
6861
6856
  mt: "89:11",
6862
- eng: "89:11",
6857
+ eng: "89:10",
6863
6858
  },
6864
- "89:12": {
6859
+ "89:11": {
6865
6860
  lxx: "88:12",
6866
6861
  mt: "89:12",
6867
- eng: "89:12",
6862
+ eng: "89:11",
6868
6863
  },
6869
- "89:13": {
6864
+ "89:12": {
6870
6865
  lxx: "88:13",
6871
6866
  mt: "89:13",
6872
- eng: "89:13",
6867
+ eng: "89:12",
6873
6868
  },
6874
- "89:14": {
6869
+ "89:13": {
6875
6870
  lxx: "88:14",
6876
6871
  mt: "89:14",
6877
- eng: "89:14",
6872
+ eng: "89:13",
6878
6873
  },
6879
- "89:15": {
6874
+ "89:14": {
6880
6875
  lxx: "88:15",
6881
6876
  mt: "89:15",
6882
- eng: "89:15",
6877
+ eng: "89:14",
6883
6878
  },
6884
- "89:16": {
6879
+ "89:15": {
6885
6880
  lxx: "88:16",
6886
6881
  mt: "89:16",
6887
- eng: "89:16",
6882
+ eng: "89:15",
6888
6883
  },
6889
- "89:17": {
6884
+ "89:16": {
6890
6885
  lxx: "88:17",
6891
6886
  mt: "89:17",
6892
- eng: "89:17",
6887
+ eng: "89:16",
6893
6888
  },
6894
- "89:18": {
6889
+ "89:17": {
6895
6890
  lxx: "88:18",
6896
6891
  mt: "89:18",
6897
- eng: "89:18",
6892
+ eng: "89:17",
6898
6893
  },
6899
- "89:19": {
6894
+ "89:18": {
6900
6895
  lxx: "88:19",
6901
6896
  mt: "89:19",
6902
- eng: "89:19",
6897
+ eng: "89:18",
6903
6898
  },
6904
- "89:20": {
6899
+ "89:19": {
6905
6900
  lxx: "88:20",
6906
6901
  mt: "89:20",
6907
- eng: "89:20",
6902
+ eng: "89:19",
6908
6903
  },
6909
- "89:21": {
6904
+ "89:20": {
6910
6905
  lxx: "88:21",
6911
6906
  mt: "89:21",
6912
- eng: "89:21",
6907
+ eng: "89:20",
6913
6908
  },
6914
- "89:22": {
6909
+ "89:21": {
6915
6910
  lxx: "88:22",
6916
6911
  mt: "89:22",
6917
- eng: "89:22",
6912
+ eng: "89:21",
6918
6913
  },
6919
- "89:23": {
6914
+ "89:22": {
6920
6915
  lxx: "88:23",
6921
6916
  mt: "89:23",
6922
- eng: "89:23",
6917
+ eng: "89:22",
6923
6918
  },
6924
- "89:24": {
6919
+ "89:23": {
6925
6920
  lxx: "88:24",
6926
6921
  mt: "89:24",
6927
- eng: "89:24",
6922
+ eng: "89:23",
6928
6923
  },
6929
- "89:25": {
6924
+ "89:24": {
6930
6925
  lxx: "88:25",
6931
6926
  mt: "89:25",
6932
- eng: "89:25",
6927
+ eng: "89:24",
6933
6928
  },
6934
- "89:26": {
6929
+ "89:25": {
6935
6930
  lxx: "88:26",
6936
6931
  mt: "89:26",
6937
- eng: "89:26",
6932
+ eng: "89:25",
6938
6933
  },
6939
- "89:27": {
6934
+ "89:26": {
6940
6935
  lxx: "88:27",
6941
6936
  mt: "89:27",
6942
- eng: "89:27",
6937
+ eng: "89:26",
6943
6938
  },
6944
- "89:28": {
6939
+ "89:27": {
6945
6940
  lxx: "88:28",
6946
6941
  mt: "89:28",
6947
- eng: "89:28",
6942
+ eng: "89:27",
6948
6943
  },
6949
- "89:29": {
6944
+ "89:28": {
6950
6945
  lxx: "88:29",
6951
6946
  mt: "89:29",
6952
- eng: "89:29",
6947
+ eng: "89:28",
6953
6948
  },
6954
- "89:30": {
6949
+ "89:29": {
6955
6950
  lxx: "88:30",
6956
6951
  mt: "89:30",
6957
- eng: "89:30",
6952
+ eng: "89:29",
6958
6953
  },
6959
- "89:31": {
6954
+ "89:30": {
6960
6955
  lxx: "88:31",
6961
6956
  mt: "89:31",
6962
- eng: "89:31",
6957
+ eng: "89:30",
6963
6958
  },
6964
- "89:32": {
6959
+ "89:31": {
6965
6960
  lxx: "88:32",
6966
6961
  mt: "89:32",
6967
- eng: "89:32",
6962
+ eng: "89:31",
6968
6963
  },
6969
- "89:33": {
6964
+ "89:32": {
6970
6965
  lxx: "88:33",
6971
6966
  mt: "89:33",
6972
- eng: "89:33",
6967
+ eng: "89:32",
6973
6968
  },
6974
- "89:34": {
6969
+ "89:33": {
6975
6970
  lxx: "88:34",
6976
6971
  mt: "89:34",
6977
- eng: "89:34",
6972
+ eng: "89:33",
6978
6973
  },
6979
- "89:35": {
6974
+ "89:34": {
6980
6975
  lxx: "88:35",
6981
6976
  mt: "89:35",
6982
- eng: "89:35",
6977
+ eng: "89:34",
6983
6978
  },
6984
- "89:36": {
6979
+ "89:35": {
6985
6980
  lxx: "88:36",
6986
6981
  mt: "89:36",
6987
- eng: "89:36",
6982
+ eng: "89:35",
6988
6983
  },
6989
- "89:37": {
6984
+ "89:36": {
6990
6985
  lxx: "88:37",
6991
6986
  mt: "89:37",
6992
- eng: "89:37",
6987
+ eng: "89:36",
6993
6988
  },
6994
- "89:38": {
6989
+ "89:37": {
6995
6990
  lxx: "88:38",
6996
6991
  mt: "89:38",
6997
- eng: "89:38",
6992
+ eng: "89:37",
6998
6993
  },
6999
- "89:39": {
6994
+ "89:38": {
7000
6995
  lxx: "88:39",
7001
6996
  mt: "89:39",
7002
- eng: "89:39",
6997
+ eng: "89:38",
7003
6998
  },
7004
- "89:40": {
6999
+ "89:39": {
7005
7000
  lxx: "88:40",
7006
7001
  mt: "89:40",
7007
- eng: "89:40",
7002
+ eng: "89:39",
7008
7003
  },
7009
- "89:41": {
7004
+ "89:40": {
7010
7005
  lxx: "88:41",
7011
7006
  mt: "89:41",
7012
- eng: "89:41",
7007
+ eng: "89:40",
7013
7008
  },
7014
- "89:42": {
7009
+ "89:41": {
7015
7010
  lxx: "88:42",
7016
7011
  mt: "89:42",
7017
- eng: "89:42",
7012
+ eng: "89:41",
7018
7013
  },
7019
- "89:43": {
7014
+ "89:42": {
7020
7015
  lxx: "88:43",
7021
7016
  mt: "89:43",
7022
- eng: "89:43",
7017
+ eng: "89:42",
7023
7018
  },
7024
- "89:44": {
7019
+ "89:43": {
7025
7020
  lxx: "88:44",
7026
7021
  mt: "89:44",
7027
- eng: "89:44",
7022
+ eng: "89:43",
7028
7023
  },
7029
- "89:45": {
7024
+ "89:44": {
7030
7025
  lxx: "88:45",
7031
7026
  mt: "89:45",
7032
- eng: "89:45",
7027
+ eng: "89:44",
7033
7028
  },
7034
- "89:46": {
7029
+ "89:45": {
7035
7030
  lxx: "88:46",
7036
7031
  mt: "89:46",
7037
- eng: "89:46",
7032
+ eng: "89:45",
7038
7033
  },
7039
- "89:47": {
7034
+ "89:46": {
7040
7035
  lxx: "88:47",
7041
7036
  mt: "89:47",
7042
- eng: "89:47",
7037
+ eng: "89:46",
7043
7038
  },
7044
- "89:48": {
7039
+ "89:47": {
7045
7040
  lxx: "88:48",
7046
7041
  mt: "89:48",
7047
- eng: "89:48",
7042
+ eng: "89:47",
7048
7043
  },
7049
- "89:49": {
7044
+ "89:48": {
7050
7045
  lxx: "88:49",
7051
7046
  mt: "89:49",
7052
- eng: "89:49",
7047
+ eng: "89:48",
7053
7048
  },
7054
- "89:50": {
7049
+ "89:49": {
7055
7050
  lxx: "88:50",
7056
7051
  mt: "89:50",
7057
- eng: "89:50",
7052
+ eng: "89:49",
7058
7053
  },
7059
- "89:51": {
7054
+ "89:50": {
7060
7055
  lxx: "88:51",
7061
7056
  mt: "89:51",
7062
- eng: "89:51",
7057
+ eng: "89:50",
7063
7058
  },
7064
- "89:52": {
7059
+ "89:51": {
7065
7060
  lxx: "88:52",
7066
7061
  mt: "89:52",
7067
- eng: "89:52",
7062
+ eng: "89:51",
7068
7063
  },
7069
- "89:53": {
7064
+ "89:52": {
7070
7065
  lxx: "88:53",
7071
7066
  mt: "89:53",
7072
- eng: "89:53",
7067
+ eng: "89:52",
7073
7068
  },
7074
7069
  "90:1": {
7075
7070
  lxx: "89:1",