bahai-reflib-data
Advanced tools
Comparing version 0.14.0 to 0.15.0
# CHANGES for `bahai-reflib-data` | ||
## 0.15.0 | ||
- chore: updated section/work/paragraph data | ||
## 0.14.0 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "bahai-reflib-data", | ||
"version": "0.14.0", | ||
"version": "0.15.0", | ||
"author": "Brett Zamir <brettz9@yahoo.com>", | ||
@@ -39,3 +39,3 @@ "contributors": [], | ||
"dependencies": { | ||
"file-fetch": "^1.7.0" | ||
"file-fetch": "^2.0.0" | ||
}, | ||
@@ -45,6 +45,6 @@ "devDependencies": { | ||
"@brettz9/node-static": "^0.1.1", | ||
"c8": "^8.0.1", | ||
"chai": "^4.3.10", | ||
"eslint": "^8.52.0", | ||
"eslint-config-ash-nazg": "34.17.1", | ||
"c8": "^9.1.0", | ||
"chai": "^5.0.3", | ||
"eslint": "^8.56.0", | ||
"eslint-config-ash-nazg": "35.4.0", | ||
"eslint-config-standard": "^17.1.0", | ||
@@ -55,13 +55,13 @@ "eslint-plugin-array-func": "^4.0.0", | ||
"eslint-plugin-html": "^7.1.0", | ||
"eslint-plugin-import": "^2.29.0", | ||
"eslint-plugin-jsdoc": "^46.8.2", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-jsdoc": "^48.0.6", | ||
"eslint-plugin-markdown": "^3.0.1", | ||
"eslint-plugin-n": "^16.2.0", | ||
"eslint-plugin-n": "^16.6.2", | ||
"eslint-plugin-no-unsanitized": "^4.0.2", | ||
"eslint-plugin-no-use-extend-native": "^0.5.0", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"eslint-plugin-sonarjs": "^0.21.0", | ||
"eslint-plugin-unicorn": "^48.0.1", | ||
"jsdom": "^22.1.0", | ||
"mocha": "^10.2.0", | ||
"eslint-plugin-sonarjs": "^0.23.0", | ||
"eslint-plugin-unicorn": "^51.0.1", | ||
"jsdom": "^24.0.0", | ||
"mocha": "^10.3.0", | ||
"node-fetch": "^3.3.2", | ||
@@ -68,0 +68,0 @@ "promise-throttle": "^1.1.2" |
@@ -234,7 +234,2 @@ [ | ||
"parentUrl": "https://www.bahai.org/library/authoritative-texts/the-universal-house-of-justice/", | ||
"url": "https://www.bahai.org/library/authoritative-texts/the-universal-house-of-justice/messages/#20020401_001", | ||
"title": "Letter to the World’s Religious Leaders" | ||
}, | ||
{ | ||
"parentUrl": "https://www.bahai.org/library/authoritative-texts/the-universal-house-of-justice/", | ||
"url": "https://www.bahai.org/library/authoritative-texts/the-universal-house-of-justice/messages/#19851001_001", | ||
@@ -250,2 +245,12 @@ "title": "The Promise of World Peace" | ||
"parentUrl": "https://www.bahai.org/library/authoritative-texts/the-universal-house-of-justice/", | ||
"url": "https://www.bahai.org/library/authoritative-texts/the-universal-house-of-justice/messages/#20020401_001", | ||
"title": "Letter to the World’s Religious Leaders" | ||
}, | ||
{ | ||
"parentUrl": "https://www.bahai.org/library/authoritative-texts/the-universal-house-of-justice/", | ||
"url": "https://www.bahai.org/library/authoritative-texts/the-universal-house-of-justice/messages/#20231128_001", | ||
"title": "Reflections on the First Century of the Formative Age" | ||
}, | ||
{ | ||
"parentUrl": "https://www.bahai.org/library/authoritative-texts/the-universal-house-of-justice/", | ||
"url": "https://www.bahai.org/library/authoritative-texts/the-universal-house-of-justice/muhj-1963-1986/", | ||
@@ -366,2 +371,7 @@ "title": "Messages from the Universal House of Justice: 1963–1986, The Third Epoch of the Formative Age" | ||
"parentUrl": "https://www.bahai.org/library/authoritative-texts/compilations/", | ||
"url": "https://www.bahai.org/library/authoritative-texts/compilations/national-spiritual-assembly/", | ||
"title": "The National Spiritual Assembly" | ||
}, | ||
{ | ||
"parentUrl": "https://www.bahai.org/library/authoritative-texts/compilations/", | ||
"url": "https://www.bahai.org/library/authoritative-texts/compilations/peace/", | ||
@@ -368,0 +378,0 @@ "title": "Peace" |
@@ -52,3 +52,5 @@ import {getDataDir, getLanguageSuffix} from './pathInfo.js'; | ||
export function mergeDeep (target, ...sources) { | ||
if (!sources.length) return target; | ||
if (!sources.length) { | ||
return target; | ||
} | ||
const source = sources.shift(); | ||
@@ -59,3 +61,5 @@ | ||
if (isObject(source[key])) { | ||
if (!target[key]) Object.assign(target, {[key]: {}}); | ||
if (!target[key]) { | ||
Object.assign(target, {[key]: {}}); | ||
} | ||
mergeDeep(target[key], source[key]); | ||
@@ -62,0 +66,0 @@ } else if (Array.isArray(target[key])) { |
@@ -48,3 +48,4 @@ import { | ||
? sections.subSections.find(({ | ||
url: subSectionUrl, parentUrl, title: sectionTitle | ||
url: subSectionUrl, // parentUrl, | ||
title: sectionTitle | ||
}) => { | ||
@@ -55,3 +56,3 @@ return subSectionUrl.includes(baseURL) && | ||
: sections.subSections.find(({ | ||
url: subSectionUrl, parentUrl, title: sectionTitle | ||
url: subSectionUrl // , parentUrl, title: sectionTitle | ||
}) => { | ||
@@ -58,0 +59,0 @@ return subSectionUrl.includes(baseURL); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
8781343
24
337216
+ Addedabort-controller@3.0.0(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbuffer@6.0.3(transitive)
+ Addedevent-target-shim@5.0.1(transitive)
+ Addedevents@3.3.0(transitive)
+ Addedfile-fetch@2.0.0(transitive)
+ Addedieee754@1.2.1(transitive)
+ Addedprocess@0.11.10(transitive)
+ Addedreadable-stream@4.5.2(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedstream-chunks@1.0.0(transitive)
+ Addedstring_decoder@1.3.0(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedfile-fetch@1.7.0(transitive)
- Removedget-stream@6.0.1(transitive)
- Removedinherits@2.0.4(transitive)
- Removedisarray@1.0.0(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedreadable-error@1.0.0(transitive)
- Removedreadable-stream@2.3.83.6.2(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedtr46@0.0.3(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)
Updatedfile-fetch@^2.0.0