bahai-indexes
Advanced tools
Comparing version 0.12.0 to 0.13.0
# CHANGES to `bahai-indexes` | ||
## 0.13.0 | ||
- feat: Lights of Guidance | ||
- fix: allow seeAlso processing when children are present | ||
## 0.12.0 | ||
@@ -4,0 +9,0 @@ |
@@ -22,3 +22,6 @@ /** | ||
switch (book) { | ||
case 'Some Answered Questions': { | ||
case 'Lights of Guidance': { | ||
a.href = 'https://bahai-library.com/jumpto2.php?booklist=http%3A%2F%2Fbahai-library.com%2Fhornby_lights_guidance%26chapter%3D%2B%2B%2B%23n%40%40%40&search=' + linkText; | ||
break; | ||
} case 'Some Answered Questions': { | ||
// There are also Roman numeral links to detect, but our online | ||
@@ -25,0 +28,0 @@ // copy doesn't have those page anchors apparently |
@@ -84,7 +84,2 @@ /* eslint-disable no-unsanitized/property -- Source must be trusted as | ||
parent.append(li); | ||
if (obj.$children) { | ||
const innerUl = document.createElement('ul'); | ||
li.append(innerUl); | ||
return innerUl; | ||
} | ||
@@ -135,2 +130,8 @@ if (obj.$seeAlso) { | ||
if (obj.$children) { | ||
const innerUl = document.createElement('ul'); | ||
li.append(innerUl); | ||
return innerUl; | ||
} | ||
return li; | ||
@@ -137,0 +138,0 @@ }); |
{ | ||
"name": "bahai-indexes", | ||
"type": "module", | ||
"version": "0.12.0", | ||
"version": "0.13.0", | ||
"description": "Indexes to the Bahá'í Writings in JSON form", | ||
"main": "src/buildFlattenedJSONAndJS.js", | ||
"scripts": { | ||
"addBook": "node indexes/addBook.js", | ||
"start": "httpquery --path=indexes/json --debug", | ||
"eslint": "eslint --ext=js,md,html .", | ||
"lint": "npm run eslint --", | ||
"build-books": "node indexes/books.js", | ||
"build": "node src/buildFlattenedJSONAndJS.js", | ||
"parse": "npm run parse-aqdas", | ||
"parse-log": "node parsers/text/log.js", | ||
"parse-aqdas": "node parsers/html/aqdas.js", | ||
"parse-saq": "node parsers/html/saq.js", | ||
"parse-iqan": "node parsers/html/iqan.js", | ||
"test": "npm run eslint && echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
@@ -49,16 +63,3 @@ "type": "git", | ||
"jsdom": "^22.1.0" | ||
}, | ||
"scripts": { | ||
"addBook": "node indexes/addBook.js", | ||
"start": "httpquery --path=indexes/json --debug", | ||
"eslint": "eslint --ext=js,md,html .", | ||
"lint": "npm run eslint --", | ||
"build-books": "node indexes/books.js", | ||
"build": "node src/buildFlattenedJSONAndJS.js", | ||
"parse": "npm run parse-aqdas", | ||
"parse-aqdas": "node parsers/html/aqdas.js", | ||
"parse-saq": "node parsers/html/saq.js", | ||
"parse-iqan": "node parsers/html/iqan.js", | ||
"test": "npm run eslint && echo \"Error: no test specified\" && exit 1" | ||
} | ||
} | ||
} |
@@ -29,2 +29,6 @@ # bahai-indexes | ||
- *Lights of Guidance* - From <https://bahai-library.com/hornby_lights_guidance> (using | ||
a script at <https://bahai-library.com/jumpto2.php> | ||
for pagination) | ||
## Higher priority to-dos | ||
@@ -31,0 +35,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3873054
35
157744
61