@accordproject/concerto-cto 5.1.0 → 5.2.0

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.
@@ -2,7 +2,7 @@ import { createRequire as __createRequire } from "module";
2
2
  const require = __createRequire(import.meta.url);
3
3
  import {
4
4
  require_parser
5
- } from "./chunk-Z274WV22.mjs";
5
+ } from "./chunk-ZBGTU3HT.mjs";
6
6
  import {
7
7
  __commonJS,
8
8
  __require,
@@ -816,4 +816,4 @@ export {
816
816
  createDefaultFileDownloader,
817
817
  external_default
818
818
  };
819
- //# sourceMappingURL=chunk-L6QXUSLL.mjs.map
819
+ //# sourceMappingURL=chunk-IDQR6YPB.mjs.map
@@ -2,7 +2,7 @@ import { createRequire as __createRequire } from "module";
2
2
  const require = __createRequire(import.meta.url);
3
3
  import {
4
4
  require_parser
5
- } from "./chunk-Z274WV22.mjs";
5
+ } from "./chunk-ZBGTU3HT.mjs";
6
6
  import {
7
7
  parseexception_default
8
8
  } from "./chunk-ADZEFNZ5.mjs";
@@ -50,4 +50,4 @@ export {
50
50
  parseModels,
51
51
  parserMain_default
52
52
  };
53
- //# sourceMappingURL=chunk-AKCFZ6K2.mjs.map
53
+ //# sourceMappingURL=chunk-NA54H34N.mjs.map
@@ -937,6 +937,9 @@ var require_parser = __commonJS({
937
937
  return regex;
938
938
  };
939
939
  var peg$f83 = function(minLength, maxLength) {
940
+ if (!minLength && !maxLength) {
941
+ error("At least one length bound must be specified");
942
+ }
940
943
  const result = {
941
944
  $class: `${metamodelNamespace}.StringLengthValidator`
942
945
  };
@@ -11848,4 +11851,4 @@ var require_parser = __commonJS({
11848
11851
  export {
11849
11852
  require_parser
11850
11853
  };
11851
- //# sourceMappingURL=chunk-Z274WV22.mjs.map
11854
+ //# sourceMappingURL=chunk-ZBGTU3HT.mjs.map