@rdfx/git 0.0.49 → 0.0.52

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.
@@ -1,5 +1,6 @@
1
1
  import type { Stream } from "@rdfjs/types";
2
- import { type FileSystem, RdfFileGraphStore, RdfFormat } from "@rdfx/fs";
2
+ import { RdfFormat } from "@rdfx/format";
3
+ import { type FileSystem, RdfFileGraphStore } from "@rdfx/fs";
3
4
  import type { GraphIdentifier } from "@rdfx/graph-store";
4
5
  import { type Either, Maybe } from "purify-ts";
5
6
  import { AbstractVersionedRdfFileGraphStore } from "./AbstractVersionedRdfFileGraphStore.js";
@@ -6,7 +6,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
6
6
  };
7
7
  import { dirname } from "node:path";
8
8
  import { Readable } from "node:stream";
9
- import { CompressedRdfStream, RdfFileGraphStore, RdfFormat, } from "@rdfx/fs";
9
+ import { RdfFormat } from "@rdfx/format";
10
+ import { CompressedRdfStream, RdfFileGraphStore, } from "@rdfx/fs";
10
11
  import * as git from "isomorphic-git";
11
12
  import { EitherAsync, Maybe } from "purify-ts";
12
13
  import { Memoize } from "typescript-memoize";
@@ -20,7 +21,8 @@ export class VersionedRdfFileGraphStore extends AbstractVersionedRdfFileGraphSto
20
21
  },
21
22
  logger: options?.logger,
22
23
  });
23
- this.format = options?.format ?? RdfFormat.fromPath(path).unsafeCoerce();
24
+ this.format =
25
+ options?.format ?? RdfFormat.fromFileName(path).unsafeCoerce();
24
26
  }
25
27
  delegate(options) {
26
28
  return new RdfFileGraphStore(this.path, {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "dependencies": {
3
- "@rdfx/data-factory": "0.0.49",
4
- "@rdfx/fs": "0.0.49",
5
- "@rdfx/graph-store": "0.0.49",
3
+ "@rdfx/data-factory": "0.0.52",
4
+ "@rdfx/fs": "0.0.52",
5
+ "@rdfx/graph-store": "0.0.52",
6
6
  "@rdfjs/types": "~2.0.1",
7
7
  "isomorphic-git": "~1.38.3",
8
8
  "purify-ts": "~2.1.4",
@@ -33,5 +33,5 @@
33
33
  },
34
34
  "type": "module",
35
35
  "types": "./dist/index.d.ts",
36
- "version": "0.0.49"
36
+ "version": "0.0.52"
37
37
  }