@shaclmate/compiler 2.0.12 → 2.0.13

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,6 +1,6 @@
1
1
  import type PrefixMap from "@rdfjs/prefix-map/PrefixMap.js";
2
+ import * as shaclAst from "@shaclmate/shacl-ast";
2
3
  import { Either } from "purify-ts";
3
- import * as shaclAst from "shacl-ast";
4
4
  import type * as ast from "./ast";
5
5
  export declare class ShapesGraphToAstTransformer {
6
6
  private readonly astObjectTypePropertiesByIdentifier;
@@ -1,8 +1,8 @@
1
1
  import TermMap from "@rdfjs/term-map";
2
2
  import TermSet from "@rdfjs/term-set";
3
+ import * as shaclAst from "@shaclmate/shacl-ast";
3
4
  import { dash, owl, rdf, rdfs } from "@tpluscode/rdf-ns-builders";
4
5
  import { Either, Left, Maybe } from "purify-ts";
5
- import * as shaclAst from "shacl-ast";
6
6
  import { invariant } from "ts-invariant";
7
7
  import { MintingStrategy } from "./ast/MintingStrategy";
8
8
  import { logger } from "./logger.js";
@@ -1,6 +1,6 @@
1
1
  import type { BlankNode, NamedNode } from "@rdfjs/types";
2
+ import type { NodeKind } from "@shaclmate/shacl-ast";
2
3
  import type { Maybe } from "purify-ts";
3
- import type { NodeKind } from "shacl-ast";
4
4
  /**
5
5
  * A type corresponding to sh:nodeKind of a blank node or IRI, and not corresponding to a node shape.
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import type { NamedNode } from "@rdfjs/types";
2
+ import type { NodeKind } from "@shaclmate/shacl-ast";
3
+ import type { PredicatePath } from "@shaclmate/shacl-ast";
2
4
  import type { Maybe } from "purify-ts";
3
- import type { NodeKind } from "shacl-ast";
4
- import type { PredicatePath } from "shacl-ast";
5
5
  import type { Name, Type } from ".";
6
6
  import type { MintingStrategy } from "./MintingStrategy";
7
7
  export interface ObjectType {
@@ -1,4 +1,4 @@
1
- import * as shaclAst from "shacl-ast";
1
+ import * as shaclAst from "@shaclmate/shacl-ast";
2
2
  function nameToJson(name) {
3
3
  return {
4
4
  curie: name.curie.extract(),
@@ -1,6 +1,6 @@
1
1
  import type { BlankNode, NamedNode } from "@rdfjs/types";
2
+ import { NodeKind } from "@shaclmate/shacl-ast";
2
3
  import { Maybe } from "purify-ts";
3
- import { NodeKind } from "shacl-ast";
4
4
  import { RdfjsTermType } from "./RdfjsTermType.js";
5
5
  import type { Type } from "./Type";
6
6
  export declare class IdentifierType extends RdfjsTermType<BlankNode | NamedNode> {
@@ -4,8 +4,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
4
4
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
5
5
  return c > 3 && r && Object.defineProperty(target, key, r), r;
6
6
  };
7
+ import { NodeKind } from "@shaclmate/shacl-ast";
7
8
  import { Maybe } from "purify-ts";
8
- import { NodeKind } from "shacl-ast";
9
9
  import { invariant } from "ts-invariant";
10
10
  import { Memoize } from "typescript-memoize";
11
11
  import { RdfjsTermType } from "./RdfjsTermType.js";
@@ -1,6 +1,6 @@
1
+ import { NodeKind } from "@shaclmate/shacl-ast";
1
2
  import { rdf } from "@tpluscode/rdf-ns-builders";
2
3
  import { Maybe } from "purify-ts";
3
- import { NodeKind } from "shacl-ast";
4
4
  import { MintingStrategy } from "../../ast";
5
5
  import { Type } from "./Type.js";
6
6
  export class ListType extends Type {
@@ -1,7 +1,7 @@
1
1
  import TermMap from "@rdfjs/term-map";
2
+ import { NodeKind } from "@shaclmate/shacl-ast";
2
3
  import { xsd } from "@tpluscode/rdf-ns-builders";
3
4
  import { Maybe } from "purify-ts";
4
- import { NodeKind } from "shacl-ast";
5
5
  import { BooleanType } from "./BooleanType";
6
6
  import { IdentifierType } from "./IdentifierType";
7
7
  import { IntersectionType } from "./IntersectionType";
package/package.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "dependencies": {
3
+ "@shaclmate/shacl-ast": "2.0.13",
3
4
  "@rdfjs/prefix-map": "^0.1.2",
4
5
  "@rdfjs/term-map": "^2.0.2",
5
6
  "@rdfjs/term-set": "^2.0.3",
@@ -14,13 +15,12 @@
14
15
  "n3": "^1.21.3",
15
16
  "pino": "^9.1.0",
16
17
  "reserved-identifiers": "^1.0.0",
17
- "shacl-ast": "2.0.12",
18
18
  "ts-invariant": "^0.10.3",
19
19
  "ts-morph": "^24.0.0",
20
20
  "typescript-memoize": "^1.1.1"
21
21
  },
22
22
  "devDependencies": {
23
- "@shaclmate/runtime": "2.0.12"
23
+ "@shaclmate/runtime": "2.0.13"
24
24
  },
25
25
  "files": [
26
26
  "*.d.ts",
@@ -67,5 +67,5 @@
67
67
  },
68
68
  "type": "module",
69
69
  "types": "index.d.ts",
70
- "version": "2.0.12"
70
+ "version": "2.0.13"
71
71
  }