@riboseinc/anafero-cli 0.0.12 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build-site.mjs
CHANGED
|
@@ -316583,6 +316583,7 @@ var ResourceHelmet = function(props) {
|
|
|
316583
316583
|
var reactKeysPlugin = reactKeys();
|
|
316584
316584
|
var Resource = import_react130.default.forwardRef(function({
|
|
316585
316585
|
className,
|
|
316586
|
+
uri,
|
|
316586
316587
|
useDependency,
|
|
316587
316588
|
locateResource,
|
|
316588
316589
|
document: document2,
|
|
@@ -316622,7 +316623,12 @@ var Resource = import_react130.default.forwardRef(function({
|
|
|
316622
316623
|
}
|
|
316623
316624
|
if (domNode.nodeType === 1) {
|
|
316624
316625
|
const domEl = domNode;
|
|
316625
|
-
processGeneratedDOM(
|
|
316626
|
+
processGeneratedDOM(
|
|
316627
|
+
domEl,
|
|
316628
|
+
locateResource,
|
|
316629
|
+
() => "",
|
|
316630
|
+
(msg) => console.warn(`Integrity issue while processing content of ${uri}: ${msg}`)
|
|
316631
|
+
);
|
|
316626
316632
|
return domEl.innerHTML;
|
|
316627
316633
|
} else {
|
|
316628
316634
|
console.warn("ProseMirror content DOM is not an Element; possibly a Node", domNode);
|
|
@@ -316989,16 +316995,12 @@ var makeContentReader = async function(entryPointURI, storeAdapters, contentAdap
|
|
|
316989
316995
|
return cache3.list(`graphs/${resourceURI}`);
|
|
316990
316996
|
}
|
|
316991
316997
|
function processResourceContents(resourceURI, containingResourcePath) {
|
|
316992
|
-
if (containingResourcePath.indexOf("tocC/tocC_03/tocC_03_01/tocC_03_01_04") >= 0) {
|
|
316993
|
-
console.debug("Marking as contained", containingResourcePath, resourceURI);
|
|
316994
|
-
console.debug(`${containingResourcePath}#${resourceURI}`);
|
|
316995
|
-
}
|
|
316996
316998
|
cache3.set({
|
|
316997
316999
|
[`path-for/${resourceURI}`]: `${containingResourcePath}#${resourceURI}`
|
|
316998
317000
|
});
|
|
316999
317001
|
for (const rel of generateRelations(resourceURI)) {
|
|
317000
317002
|
if (isURIString(rel.target) && !contentAdapter.crossReferences?.(rel)) {
|
|
317001
|
-
processResourceContents(
|
|
317003
|
+
processResourceContents(rel.target, containingResourcePath);
|
|
317002
317004
|
}
|
|
317003
317005
|
}
|
|
317004
317006
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|