@muze-nl/jsfs-solid 0.1.9 → 0.1.11
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/dist/browser.js +4 -1
- package/dist/browser.js.map +2 -2
- package/dist/browser.min.js +1 -1
- package/dist/browser.min.js.map +2 -2
- package/package.json +1 -1
- package/package.json~ +2 -2
- package/src/SolidAdapter.js +4 -1
package/dist/browser.js
CHANGED
|
@@ -14726,7 +14726,10 @@
|
|
|
14726
14726
|
async list(path) {
|
|
14727
14727
|
let result2 = await this.read(path);
|
|
14728
14728
|
if (result2.data) {
|
|
14729
|
-
|
|
14729
|
+
if (!result2.data.primary?.ldp$contains) {
|
|
14730
|
+
throw new Error(path + " could not find ldp container", { cause: result2 });
|
|
14731
|
+
}
|
|
14732
|
+
return from(result2.data.primary.ldp$contains).where({
|
|
14730
14733
|
a: "ldp$Resource"
|
|
14731
14734
|
}).select({
|
|
14732
14735
|
filename: (o) => jsfs.path.filename(metro.url(o.id).pathname),
|