bahai-indexes
Advanced tools
Comparing version 0.13.0 to 0.14.0
# 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 @@ |
@@ -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 |
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
3921144
36
157748
23
+ Added@tootallnate/once@2.0.0(transitive)
+ Addedabab@2.0.6(transitive)
+ Addedagent-base@6.0.2(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedarray-back@6.2.2(transitive)
+ Addedasynckit@0.4.0(transitive)
+ Addedatomically@2.0.3(transitive)
+ Addedboxen@8.0.1(transitive)
+ Addedcamelcase@8.0.0(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedchalk-template@0.4.0(transitive)
+ Addedcheerio@1.0.0-rc.12(transitive)
+ Addedcheerio-select@2.1.0(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcombined-stream@1.0.8(transitive)
+ Addedcommand-line-basics@2.0.1(transitive)
+ Addedcommand-line-usage@7.0.3(transitive)
+ Addedconfigstore@7.0.0(transitive)
+ Addedcss-select@5.1.0(transitive)
+ Addedcssstyle@3.0.0(transitive)
+ Addeddata-urls@4.0.0(transitive)
+ Addeddebug@4.3.7(transitive)
+ Addeddecimal.js@10.4.3(transitive)
+ Addeddelayed-stream@1.0.0(transitive)
+ Addeddom-serializer@2.0.0(transitive)
+ Addeddomexception@4.0.0(transitive)
+ Addeddomhandler@5.0.3(transitive)
+ Addeddomutils@3.1.0(transitive)
+ Addeddot-prop@9.0.0(transitive)
+ Addedemoji-regex@10.4.0(transitive)
+ Addedentities@4.5.0(transitive)
+ Addedform-data@4.0.1(transitive)
+ Addedget-east-asian-width@1.3.0(transitive)
+ Addedglobal-directory@4.0.1(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedhtml-encoding-sniffer@3.0.0(transitive)
+ Addedhtmlparser2@8.0.2(transitive)
+ Addedhttp-proxy-agent@5.0.0(transitive)
+ Addedhttpquery@0.9.0(transitive)
+ Addedhttps-proxy-agent@5.0.1(transitive)
+ Addediconv-lite@0.6.3(transitive)
+ Addedini@4.1.1(transitive)
+ Addedis-in-ci@1.0.0(transitive)
+ Addedis-installed-globally@1.0.0(transitive)
+ Addedis-path-inside@4.0.0(transitive)
+ Addedis-potential-custom-element-name@1.0.1(transitive)
+ Addedjsdom@22.1.0(transitive)
+ Addedjsonata@2.0.5(transitive)
+ Addedky@1.7.2(transitive)
+ Addedlatest-version@9.0.0(transitive)
+ Addedmime-db@1.52.0(transitive)
+ Addedmime-types@2.1.35(transitive)
+ Addedms@2.1.3(transitive)
+ Addednwsapi@2.2.13(transitive)
+ Addedpackage-json@10.0.1(transitive)
+ Addedparse5@7.2.1(transitive)
+ Addedparse5-htmlparser2-tree-adapter@7.1.0(transitive)
+ Addedpsl@1.13.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedquerystringify@2.2.0(transitive)
+ Addedrequires-port@1.0.0(transitive)
+ Addedrrweb-cssom@0.6.0(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsaxes@6.0.0(transitive)
+ Addedstring-width@7.2.0(transitive)
+ Addedstubborn-fs@1.2.5(transitive)
+ Addedsupports-color@7.2.0(transitive)
+ Addedsymbol-tree@3.2.4(transitive)
+ Addedtable-layout@4.1.1(transitive)
+ Addedtough-cookie@4.1.4(transitive)
+ Addedtr46@4.1.1(transitive)
+ Addedtype-fest@4.27.0(transitive)
+ Addedtypical@7.3.0(transitive)
+ Addeduniversalify@0.2.0(transitive)
+ Addedupdate-notifier@7.3.1(transitive)
+ Addedurl-parse@1.5.10(transitive)
+ Addedw3c-xmlserializer@4.0.0(transitive)
+ Addedwebidl-conversions@7.0.0(transitive)
+ Addedwhatwg-encoding@2.0.0(transitive)
+ Addedwhatwg-mimetype@3.0.0(transitive)
+ Addedwhatwg-url@12.0.1(transitive)
+ Addedwhen-exit@2.1.3(transitive)
+ Addedwidest-line@5.0.0(transitive)
+ Addedwordwrapjs@5.1.0(transitive)
+ Addedwrap-ansi@9.0.0(transitive)
+ Addedws@8.18.0(transitive)
+ Addedxml-name-validator@4.0.0(transitive)
+ Addedxmlchars@2.2.0(transitive)
+ Addedxpath@0.0.33(transitive)
- Removed@sindresorhus/is@5.6.0(transitive)
- Removed@szmarczak/http-timer@5.0.1(transitive)
- Removed@types/http-cache-semantics@4.0.4(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedarray-back@4.0.2(transitive)
- Removedboxen@7.1.1(transitive)
- Removedcacheable-lookup@7.0.0(transitive)
- Removedcacheable-request@10.2.14(transitive)
- Removedcamelcase@7.0.1(transitive)
- Removedchalk@2.4.2(transitive)
- Removedcheerio@1.0.0-rc.10(transitive)
- Removedcheerio-select@1.6.0(transitive)
- Removedci-info@3.9.0(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedcommand-line-basics@1.1.0(transitive)
- Removedcommand-line-usage@6.1.3(transitive)
- Removedconfigstore@6.0.0(transitive)
- Removedcrypto-random-string@4.0.0(transitive)
- Removedcss-select@4.3.0(transitive)
- Removeddecompress-response@6.0.0(transitive)
- Removeddefer-to-connect@2.0.1(transitive)
- Removeddom-serializer@1.4.1(transitive)
- Removeddomhandler@4.3.1(transitive)
- Removeddomutils@2.8.0(transitive)
- Removeddot-prop@6.0.1(transitive)
- Removedeastasianwidth@0.2.0(transitive)
- Removedemoji-regex@9.2.2(transitive)
- Removedentities@2.2.0(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedform-data-encoder@2.1.4(transitive)
- Removedget-stream@6.0.1(transitive)
- Removedglobal-dirs@3.0.1(transitive)
- Removedgot@12.6.1(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removedhas-yarn@3.0.0(transitive)
- Removedhtmlparser2@6.1.0(transitive)
- Removedhttp-cache-semantics@4.1.1(transitive)
- Removedhttp2-wrapper@2.2.1(transitive)
- Removedhttpquery@0.8.3(transitive)
- Removedimport-lazy@4.0.0(transitive)
- Removedimurmurhash@0.1.4(transitive)
- Removedini@2.0.0(transitive)
- Removedis-ci@3.0.1(transitive)
- Removedis-installed-globally@0.4.0(transitive)
- Removedis-obj@2.0.0(transitive)
- Removedis-path-inside@3.0.3(transitive)
- Removedis-typedarray@1.0.0(transitive)
- Removedis-yarn-global@0.4.1(transitive)
- Removedjson-buffer@3.0.1(transitive)
- Removedjsonata@1.8.7(transitive)
- Removedkeyv@4.5.4(transitive)
- Removedlatest-version@7.0.0(transitive)
- Removedlowercase-keys@3.0.0(transitive)
- Removedmimic-response@3.1.04.0.0(transitive)
- Removednormalize-url@8.0.1(transitive)
- Removedp-cancelable@3.0.0(transitive)
- Removedpackage-json@8.1.1(transitive)
- Removedparse5@6.0.1(transitive)
- Removedparse5-htmlparser2-tree-adapter@6.0.1(transitive)
- Removedquick-lru@5.1.1(transitive)
- Removedreduce-flatten@2.0.0(transitive)
- Removedresolve-alpn@1.2.1(transitive)
- Removedresponselike@3.0.0(transitive)
- Removedsemver-diff@4.0.0(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedstring-width@5.1.2(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removedtable-layout@1.0.2(transitive)
- Removedtslib@2.8.1(transitive)
- Removedtype-fest@1.4.02.19.0(transitive)
- Removedtypedarray-to-buffer@3.1.5(transitive)
- Removedtypical@5.2.0(transitive)
- Removedunique-string@3.0.0(transitive)
- Removedupdate-notifier@6.0.2(transitive)
- Removedwidest-line@4.0.1(transitive)
- Removedwordwrapjs@4.0.1(transitive)
- Removedwrap-ansi@8.1.0(transitive)
- Removedwrite-file-atomic@3.0.3(transitive)
- Removedxmldom@0.6.0(transitive)
- Removedxpath@0.0.32(transitive)
Updatedhttpquery@^0.9.0