@muze-nl/jsfs-solid 0.2.0 → 0.2.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muze-nl/jsfs-solid",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "author": "auke@muze.nl",
5
5
  "source": "src/SolidAdapter.js",
6
6
  "main": "dist/browser.js",
@@ -28,7 +28,7 @@
28
28
  "homepage": "https://github.com/muze-nl/jsfs-solid#readme",
29
29
  "dependencies": {
30
30
  "@muze-nl/jaqt": "^0.10.3",
31
- "@muze-nl/jsfs": "^0.3.3",
31
+ "@muze-nl/jsfs": "^0.3.4",
32
32
  "@muze-nl/metro": "^0.6.17",
33
33
  "@muze-nl/metro-oidc": "^0.5.3",
34
34
  "@muze-nl/metro-oldm": "^0.2.1",
@@ -17,7 +17,7 @@ export default class SolidAdapter extends HttpAdapter
17
17
  metroClient = client(metroClient)
18
18
  .with( oidc.oidcmw(solidConfiguration))
19
19
  .with( oldmmw(solidConfiguration))
20
- path = new Path(path);
20
+ path = Path.collapse(path);
21
21
  super(metroClient, path)
22
22
  this.#client = metroClient
23
23
  this.#path = path
@@ -30,7 +30,7 @@ export default class SolidAdapter extends HttpAdapter
30
30
 
31
31
  async read(path)
32
32
  {
33
- let response = await this.#client.get(path);
33
+ let response = await this.#client.get(Path.collapse(path, this.#path));
34
34
  let result = {
35
35
  type: this.getMimetype(response),
36
36
  name: Path.filename(path),
package/package.json~ DELETED
@@ -1,37 +0,0 @@
1
- {
2
- "name": "@muze-nl/jsfs-solid",
3
- "version": "0.1.11",
4
- "author": "auke@muze.nl",
5
- "source": "src/SolidAdapter.js",
6
- "main": "dist/browser.js",
7
- "type": "module",
8
- "devDependencies": {
9
- "@eslint/js": "^9.39.2",
10
- "esbuild": "^0.25.0",
11
- "eslint": "^9.39.2",
12
- "globals": "^16.5.0"
13
- },
14
- "description": "A filesystem adapter for JSFS that can read/write Solid Storage PODs",
15
- "scripts": {
16
- "test": "echo \"Error: no test specified\" && exit 1",
17
- "build-dev": "esbuild --bundle src/SolidClient.js --outfile=dist/browser.js --sourcemap;",
18
- "build": "esbuild --bundle src/SolidClient.js --outfile=dist/browser.min.js --minify --sourcemap;"
19
- },
20
- "repository": {
21
- "type": "git",
22
- "url": "git+https://github.com/muze-nl/jsfs-solid.git"
23
- },
24
- "license": "MIT",
25
- "bugs": {
26
- "url": "https://github.com/muze-nl/jsfs-solid/issues"
27
- },
28
- "homepage": "https://github.com/muze-nl/jsfs-solid#readme",
29
- "dependencies": {
30
- "@muze-nl/jaqt": "^0.10.3",
31
- "@muze-nl/jsfs": "^0.3.3",
32
- "@muze-nl/metro": "^0.6.17",
33
- "@muze-nl/metro-oidc": "^0.5.3",
34
- "@muze-nl/metro-oldm": "^0.2.1",
35
- "@muze-nl/oldm": "^0.3.6"
36
- }
37
- }