@shaclmate/cli 4.0.72 → 4.0.74

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.
@@ -24,10 +24,7 @@ export async function generate({ generator, inputPaths, outputFilePath, }) {
24
24
  // return;
25
25
  // }
26
26
  // }
27
- const output = await liftEither(ShapesGraph.builder()
28
- .parseDataset(dataset, { prefixMap })
29
- .map((_) => _.build())
30
- .chain((shapesGraph) => new Compiler({ generator, logger }).compile(shapesGraph)));
27
+ const output = await liftEither(ShapesGraph.fromDataset(dataset, { prefixMap }).chain((shapesGraph) => new Compiler({ generator, logger }).compile(shapesGraph)));
31
28
  if (outputFilePath.length === 0) {
32
29
  process.stdout.write(output);
33
30
  }
package/package.json CHANGED
@@ -3,13 +3,13 @@
3
3
  "shaclmate": "dist/cli.js"
4
4
  },
5
5
  "dependencies": {
6
- "@shaclmate/compiler": "4.0.72",
7
- "@shaclmate/validator": "4.0.72",
6
+ "@shaclmate/compiler": "4.0.74",
7
+ "@shaclmate/validator": "4.0.74",
8
8
  "@rdfjs/dataset": "~2.0.2",
9
9
  "@rdfjs/prefix-map": "~0.1.2",
10
- "@rdfx/data-factory": "0.0.35",
11
- "@rdfx/fs": "0.0.35",
12
- "@rdfx/serializers": "0.0.35",
10
+ "@rdfx/data-factory": "0.0.36",
11
+ "@rdfx/fs": "0.0.36",
12
+ "@rdfx/serializers": "0.0.36",
13
13
  "cmd-ts": "~0.15.0",
14
14
  "pino": "~9.1.0",
15
15
  "pino-pretty": "~13.1.2",
@@ -65,5 +65,5 @@
65
65
  },
66
66
  "type": "module",
67
67
  "types": "./dist/index.d.ts",
68
- "version": "4.0.72"
68
+ "version": "4.0.74"
69
69
  }