Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bahai-indexes

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bahai-indexes - npm Package Compare versions

Comparing version 0.12.0 to 0.13.0

indexes/json/books/Lights of Guidance.json

5

CHANGES.md
# 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 @@

5

indexes/json/createLinkForIndexText.js

@@ -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

11

indexes/json/utils.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc