@rdfx/git 0.0.52 → 0.0.54
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,9 +1,9 @@
|
|
|
1
1
|
import type { DatasetCore, Stream } from "@rdfjs/types";
|
|
2
2
|
import { type FileSystem, type RdfDirectoryGraphStore, type RdfFileGraphStore } from "@rdfx/fs";
|
|
3
3
|
import type { GraphIdentifier, VersionedGraphStore } from "@rdfx/graph-store";
|
|
4
|
+
import { type Logger } from "@rdfx/logger";
|
|
4
5
|
import * as git from "isomorphic-git";
|
|
5
6
|
import { type Either, type Maybe } from "purify-ts";
|
|
6
|
-
import { type Logger } from "ts-log";
|
|
7
7
|
export declare abstract class AbstractVersionedRdfFileGraphStore implements VersionedGraphStore<string> {
|
|
8
8
|
readonly path: string;
|
|
9
9
|
protected readonly gitParameters: GitParameters;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import fs from "node:fs";
|
|
2
2
|
import { join, relative } from "node:path";
|
|
3
3
|
import { NodeFileSystem, } from "@rdfx/fs";
|
|
4
|
+
import { nopLogger } from "@rdfx/logger";
|
|
4
5
|
import * as git from "isomorphic-git";
|
|
5
6
|
import { EitherAsync } from "purify-ts";
|
|
6
|
-
import { dummyLogger } from "ts-log";
|
|
7
7
|
export class AbstractVersionedRdfFileGraphStore {
|
|
8
8
|
path;
|
|
9
9
|
gitParameters;
|
|
@@ -14,7 +14,7 @@ export class AbstractVersionedRdfFileGraphStore {
|
|
|
14
14
|
...gitParameters,
|
|
15
15
|
fs,
|
|
16
16
|
};
|
|
17
|
-
this.logger = logger ??
|
|
17
|
+
this.logger = logger ?? nopLogger;
|
|
18
18
|
}
|
|
19
19
|
async clear() {
|
|
20
20
|
return this.mutate((delegate) => delegate.clear());
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"dependencies": {
|
|
3
|
-
"@rdfx/data-factory": "0.0.
|
|
4
|
-
"@rdfx/fs": "0.0.
|
|
5
|
-
"@rdfx/graph-store": "0.0.
|
|
3
|
+
"@rdfx/data-factory": "0.0.54",
|
|
4
|
+
"@rdfx/fs": "0.0.54",
|
|
5
|
+
"@rdfx/graph-store": "0.0.54",
|
|
6
|
+
"@rdfx/logger": "0.0.54",
|
|
6
7
|
"@rdfjs/types": "~2.0.1",
|
|
7
8
|
"isomorphic-git": "~1.38.3",
|
|
8
9
|
"purify-ts": "~2.1.4",
|
|
9
|
-
"ts-log": "~3.0.2",
|
|
10
10
|
"typescript-memoize": "~1.1.1"
|
|
11
11
|
},
|
|
12
12
|
"devDependencies": {},
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
},
|
|
34
34
|
"type": "module",
|
|
35
35
|
"types": "./dist/index.d.ts",
|
|
36
|
-
"version": "0.0.
|
|
36
|
+
"version": "0.0.54"
|
|
37
37
|
}
|