codexparser 0.0.34 → 0.0.36

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codexparser",
3
- "version": "0.0.34",
3
+ "version": "0.0.36",
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": {
@@ -82,7 +82,6 @@ class CodexParser {
82
82
  ? [initialPassage.start.v, initialPassage.end.v]
83
83
  : [initialPassage.start.v]
84
84
  }
85
- console.log("First Passage, First Log: ", firstPassage)
86
85
  for (let j = 0; j < booksWithResults[i].length; j++) {
87
86
  const passage = booksWithResults[i][j]
88
87
  if (passage.type === "integer") {
@@ -133,10 +132,10 @@ class CodexParser {
133
132
  this.passages.push(subPassage)
134
133
  }
135
134
  }
136
- console.log(firstPassage)
137
135
  this.passages.push(firstPassage)
138
136
  //console.log(this.passages)
139
137
  }
138
+ return this
140
139
  //console.log(booksWithResults)
141
140
  /* for (let i = 0; i < this.found.length; i++) {
142
141
  const hasChapterRange = this.found[i].match(/(?<=-\s?)\b\d+[.:].+\b/)