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.13.0 to 0.14.0

indexes/text/Selections from the Writings of 'Abdu'l-Bahá.txt

5

CHANGES.md
# CHANGES to `bahai-indexes`
## 0.14.0
- chore: update to non-vulnerable `httpquery`, devDeps. and lint
- chore: update repo metainfo
## 0.13.0

@@ -4,0 +9,0 @@

2

indexes/addBook.js

@@ -9,3 +9,3 @@ import {readFile, writeFile} from 'fs/promises';

Object.entries(bookJSON).forEach(([key, value]) => {
Object.entries(bookJSON).forEach(([, value]) => {
value.$book = book;

@@ -12,0 +12,0 @@ });

@@ -30,2 +30,3 @@ /**

// CHAPTER+PARAGRAPH
// eslint-disable-next-line prefer-const -- Simpler
let {groups: {num, par}} = linkText.match(

@@ -32,0 +33,0 @@ /^(?<num>\d+)\.(?<par>\d+)$/u

@@ -318,3 +318,3 @@ import {$, $$, httpquery, populateFullIndex} from './utils.js';

window.addEventListener('popstate', (e) => {
window.addEventListener('popstate', () => {
// Use fresh copy of location as will otherwise use stale info

@@ -321,0 +321,0 @@ url = new URL(location.href);

@@ -190,3 +190,5 @@ /* eslint-disable no-unsanitized/property -- Source must be trusted as

if (!bookUl) resultsHolder.append(ul);
if (!bookUl) {
resultsHolder.append(ul);
}
}

@@ -193,0 +195,0 @@ }

{
"name": "bahai-indexes",
"type": "module",
"version": "0.13.0",
"version": "0.14.0",
"description": "Indexes to the Bahá'í Writings in JSON form",

@@ -23,3 +23,3 @@ "main": "src/buildFlattenedJSONAndJS.js",

"type": "git",
"url": "git+ssh://git@bitbucket.org/brettz9/bahai-indexes.git"
"url": "git@github.com:bahaidev/bahai-indexes.git"
},

@@ -33,6 +33,6 @@ "keywords": [

"license": "MIT",
"bugs": "https://bitbucket.org/brettz9/bahai-indexes/issues?status=new&status=open",
"homepage": "https://bitbucket.org/brettz9/bahai-indexes#readme",
"bugs": "https://github.com/bahaidev/bahai-indexes/issues/",
"homepage": "https://github.com/bahaidev/bahai-indexes#readme",
"dependencies": {
"httpquery": "^0.8.3"
"httpquery": "^0.9.0"
},

@@ -43,7 +43,8 @@ "engines": {

"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/eslint-parser": "^7.22.15",
"@babel/core": "^7.23.3",
"@babel/eslint-parser": "^7.23.3",
"@brettz9/eslint-plugin": "^1.0.4",
"eslint": "^8.52.0",
"eslint-config-ash-nazg": "^34.18.0",
"@stylistic/eslint-plugin": "^1.2.0",
"eslint": "^8.53.0",
"eslint-config-ash-nazg": "^35.1.0",
"eslint-config-standard": "^17.1.0",

@@ -55,3 +56,3 @@ "eslint-plugin-array-func": "^4.0.0",

"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsdoc": "^46.8.2",
"eslint-plugin-jsdoc": "^46.9.0",
"eslint-plugin-markdown": "^3.0.1",

@@ -62,3 +63,3 @@ "eslint-plugin-no-unsanitized": "^4.0.2",

"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-sonarjs": "^0.22.0",
"eslint-plugin-sonarjs": "^0.23.0",
"eslint-plugin-standard": "^4.1.0",

@@ -65,0 +66,0 @@ "eslint-plugin-unicorn": "^49.0.0",

@@ -177,3 +177,3 @@ // Todo: It would be ideal if this could be made generic to other books, but

iterateKeys(json, {
seeAlso (seeAlsos, indexName, basePath) {
seeAlso (seeAlsos /* , indexName, basePath */) {
if (!seeAlsos) {

@@ -273,2 +273,3 @@ return;

if (Array.isArray(ps)) {
// eslint-disable-next-line prefer-const -- Simpler
let [start, end] = ps.map((n) => Number.parseInt(n.slice(1)));

@@ -275,0 +276,0 @@ // Todo: We could just do `start` and `end` if not

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