@shaclmate/shacl-ast 4.0.32 → 4.0.33

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.
Files changed (2) hide show
  1. package/dist/generated.js +20 -4
  2. package/package.json +4 -4
package/dist/generated.js CHANGED
@@ -844,7 +844,7 @@ export var PropertyShape;
844
844
  else {
845
845
  xone = parameters.xone;
846
846
  }
847
- return {
847
+ const $object = {
848
848
  $identifier,
849
849
  $type,
850
850
  and,
@@ -880,6 +880,10 @@ export var PropertyShape;
880
880
  uniqueLang,
881
881
  xone,
882
882
  };
883
+ if (!globalThis.Object.prototype.hasOwnProperty.call($object, "toString")) {
884
+ $object.toString = $toString;
885
+ }
886
+ return $object;
883
887
  }
884
888
  PropertyShape.create = create;
885
889
  let Identifier;
@@ -2139,7 +2143,11 @@ export var PropertyGroup;
2139
2143
  else {
2140
2144
  label = parameters?.label;
2141
2145
  }
2142
- return { $identifier, $type, comment, label };
2146
+ const $object = { $identifier, $type, comment, label };
2147
+ if (!globalThis.Object.prototype.hasOwnProperty.call($object, "toString")) {
2148
+ $object.toString = $toString;
2149
+ }
2150
+ return $object;
2143
2151
  }
2144
2152
  PropertyGroup.create = create;
2145
2153
  let Identifier;
@@ -2341,7 +2349,11 @@ export var Ontology;
2341
2349
  else {
2342
2350
  label = parameters?.label;
2343
2351
  }
2344
- return { $identifier, $type, comment, label };
2352
+ const $object = { $identifier, $type, comment, label };
2353
+ if (!globalThis.Object.prototype.hasOwnProperty.call($object, "toString")) {
2354
+ $object.toString = $toString;
2355
+ }
2356
+ return $object;
2345
2357
  }
2346
2358
  Ontology.create = create;
2347
2359
  let Identifier;
@@ -3022,7 +3034,7 @@ export var NodeShape;
3022
3034
  else {
3023
3035
  xone = parameters?.xone;
3024
3036
  }
3025
- return {
3037
+ const $object = {
3026
3038
  $identifier,
3027
3039
  $type,
3028
3040
  and,
@@ -3056,6 +3068,10 @@ export var NodeShape;
3056
3068
  types,
3057
3069
  xone,
3058
3070
  };
3071
+ if (!globalThis.Object.prototype.hasOwnProperty.call($object, "toString")) {
3072
+ $object.toString = $toString;
3073
+ }
3074
+ return $object;
3059
3075
  }
3060
3076
  NodeShape.create = create;
3061
3077
  let Identifier;
package/package.json CHANGED
@@ -4,9 +4,9 @@
4
4
  "@rdfjs/term-map": "~2.0.2",
5
5
  "@rdfjs/term-set": "~2.0.3",
6
6
  "@rdfjs/types": "~2.0.1",
7
- "@rdfx/data-factory": "0.0.12",
8
- "@rdfx/resource": "0.0.12",
9
- "@rdfx/string": "0.0.12",
7
+ "@rdfx/data-factory": "0.0.13",
8
+ "@rdfx/resource": "0.0.13",
9
+ "@rdfx/string": "0.0.13",
10
10
  "@tpluscode/rdf-ns-builders": "~4.3.0",
11
11
  "@types/rdfjs__dataset": "~2.0.7",
12
12
  "@types/rdfjs__term-map": "~2.0.10",
@@ -44,5 +44,5 @@
44
44
  },
45
45
  "type": "module",
46
46
  "types": "./dist/index.d.ts",
47
- "version": "4.0.32"
47
+ "version": "4.0.33"
48
48
  }