@sdkgen/parser 2.1.0 → 2.3.1

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 (38) hide show
  1. package/dist/spec/parser.spec.js +23 -0
  2. package/dist/src/ast.d.ts +8 -0
  3. package/dist/src/ast.js +16 -1
  4. package/dist/src/compatibility/index.js +2 -0
  5. package/dist/src/helpers.d.ts +2 -0
  6. package/dist/src/helpers.js +23 -0
  7. package/dist/src/index.d.ts +2 -0
  8. package/dist/src/index.js +5 -1
  9. package/dist/src/json.d.ts +7 -4
  10. package/dist/src/json.js +29 -4
  11. package/dist/src/lexer.js +2 -1
  12. package/dist/src/parser.d.ts +1 -1
  13. package/dist/src/parser.js +14 -8
  14. package/dist/src/semantic/01_check_multiple_declaration.d.ts +1 -1
  15. package/dist/src/semantic/01_check_multiple_declaration.js +1 -1
  16. package/dist/src/semantic/02_give_struct_and_enum_names.d.ts +1 -1
  17. package/dist/src/semantic/02_give_struct_and_enum_names.js +1 -1
  18. package/dist/src/semantic/03_match_type_definitions.d.ts +1 -1
  19. package/dist/src/semantic/03_match_type_definitions.js +1 -1
  20. package/dist/src/semantic/04_check_dont_return_secret.d.ts +1 -1
  21. package/dist/src/semantic/04_check_dont_return_secret.js +1 -1
  22. package/dist/src/semantic/05_expand_spreads.d.ts +1 -1
  23. package/dist/src/semantic/05_expand_spreads.js +1 -1
  24. package/dist/src/semantic/06_check_empty_struct_or_enum.d.ts +1 -1
  25. package/dist/src/semantic/06_check_empty_struct_or_enum.js +1 -1
  26. package/dist/src/semantic/07_validate_recursive_types.d.ts +1 -1
  27. package/dist/src/semantic/07_validate_recursive_types.js +1 -1
  28. package/dist/src/semantic/08_collect_struct_and_enum_types.d.ts +1 -1
  29. package/dist/src/semantic/08_collect_struct_and_enum_types.js +1 -1
  30. package/dist/src/semantic/09_validate_annotations.d.ts +1 -1
  31. package/dist/src/semantic/09_validate_annotations.js +17 -1
  32. package/dist/src/semantic/10_check_duplicate_members_on_enum.d.ts +5 -0
  33. package/dist/src/semantic/10_check_duplicate_members_on_enum.js +16 -0
  34. package/dist/src/semantic/analyser.js +3 -1
  35. package/dist/src/utils.d.ts +1 -1
  36. package/dist/src/utils.js +1 -0
  37. package/dist/tsconfig.tsbuildinfo +1 -1
  38. package/package.json +10 -7
@@ -414,6 +414,9 @@ describe(parser_1.Parser, () => {
414
414
 
415
415
  @rest GET /users/count?{since}&{until}
416
416
  fn userCount(since: date?, until: date?): uint
417
+
418
+ @rest GET /users/{userId}/addresses/{addressId}
419
+ fn userAddress(userId: string, addressId: string): string
417
420
  `, {
418
421
  annotations: {
419
422
  "fn.foo": [
@@ -455,6 +458,19 @@ describe(parser_1.Parser, () => {
455
458
  },
456
459
  },
457
460
  ],
461
+ "fn.userAddress": [
462
+ {
463
+ type: "rest",
464
+ value: {
465
+ bodyVariable: null,
466
+ headers: [],
467
+ method: "GET",
468
+ path: "/users/{userId}/addresses/{addressId}",
469
+ pathVariables: ["userId", "addressId"],
470
+ queryVariables: [],
471
+ },
472
+ },
473
+ ],
458
474
  },
459
475
  errors: ["Fatal"],
460
476
  functionTable: {
@@ -475,6 +491,13 @@ describe(parser_1.Parser, () => {
475
491
  },
476
492
  ret: "uint",
477
493
  },
494
+ userAddress: {
495
+ args: {
496
+ userId: "string",
497
+ addressId: "string",
498
+ },
499
+ ret: "string",
500
+ },
478
501
  },
479
502
  typeTable: {},
480
503
  });
package/dist/src/ast.d.ts CHANGED
@@ -13,6 +13,7 @@ export declare abstract class Type extends AstNode {
13
13
  export declare class ErrorNode extends AstNode {
14
14
  name: string;
15
15
  dataType: Type;
16
+ annotations: Annotation[];
16
17
  constructor(name: string, dataType: Type);
17
18
  }
18
19
  export declare abstract class Annotation extends AstNode {
@@ -41,6 +42,10 @@ export declare class RestAnnotation extends Annotation {
41
42
  }
42
43
  export declare class HiddenAnnotation extends Annotation {
43
44
  }
45
+ export declare class StatusCodeAnnotation extends Annotation {
46
+ statusCode: number;
47
+ constructor(statusCode: number);
48
+ }
44
49
  export declare abstract class PrimitiveType extends Type {
45
50
  toJSON(): string;
46
51
  }
@@ -77,6 +82,9 @@ export declare class VoidPrimitiveType extends PrimitiveType {
77
82
  export declare class MoneyPrimitiveType extends PrimitiveType {
78
83
  name: string;
79
84
  }
85
+ export declare class DecimalPrimitiveType extends PrimitiveType {
86
+ name: string;
87
+ }
80
88
  export declare class CpfPrimitiveType extends PrimitiveType {
81
89
  name: string;
82
90
  }
package/dist/src/ast.js CHANGED
@@ -11,7 +11,7 @@ var __rest = (this && this.__rest) || function (s, e) {
11
11
  return t;
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.AstRoot = exports.FunctionOperation = exports.TypeDefinition = exports.StructType = exports.TypeReference = exports.Spread = exports.Field = exports.EnumType = exports.EnumValue = exports.ArrayType = exports.OptionalType = exports.JsonPrimitiveType = exports.XmlPrimitiveType = exports.Base64PrimitiveType = exports.HtmlPrimitiveType = exports.HexPrimitiveType = exports.UuidPrimitiveType = exports.UrlPrimitiveType = exports.EmailPrimitiveType = exports.CnpjPrimitiveType = exports.CpfPrimitiveType = exports.MoneyPrimitiveType = exports.VoidPrimitiveType = exports.BytesPrimitiveType = exports.BoolPrimitiveType = exports.DateTimePrimitiveType = exports.DatePrimitiveType = exports.BigIntPrimitiveType = exports.FloatPrimitiveType = exports.UIntPrimitiveType = exports.IntPrimitiveType = exports.StringPrimitiveType = exports.PrimitiveType = exports.HiddenAnnotation = exports.RestAnnotation = exports.ArgDescriptionAnnotation = exports.ThrowsAnnotation = exports.DescriptionAnnotation = exports.Annotation = exports.ErrorNode = exports.Type = exports.AstNode = void 0;
14
+ exports.AstRoot = exports.FunctionOperation = exports.TypeDefinition = exports.StructType = exports.TypeReference = exports.Spread = exports.Field = exports.EnumType = exports.EnumValue = exports.ArrayType = exports.OptionalType = exports.JsonPrimitiveType = exports.XmlPrimitiveType = exports.Base64PrimitiveType = exports.HtmlPrimitiveType = exports.HexPrimitiveType = exports.UuidPrimitiveType = exports.UrlPrimitiveType = exports.EmailPrimitiveType = exports.CnpjPrimitiveType = exports.CpfPrimitiveType = exports.DecimalPrimitiveType = exports.MoneyPrimitiveType = exports.VoidPrimitiveType = exports.BytesPrimitiveType = exports.BoolPrimitiveType = exports.DateTimePrimitiveType = exports.DatePrimitiveType = exports.BigIntPrimitiveType = exports.FloatPrimitiveType = exports.UIntPrimitiveType = exports.IntPrimitiveType = exports.StringPrimitiveType = exports.PrimitiveType = exports.StatusCodeAnnotation = exports.HiddenAnnotation = exports.RestAnnotation = exports.ArgDescriptionAnnotation = exports.ThrowsAnnotation = exports.DescriptionAnnotation = exports.Annotation = exports.ErrorNode = exports.Type = exports.AstNode = void 0;
15
15
  const token_1 = require("./token");
16
16
  class AstNode {
17
17
  constructor() {
@@ -40,6 +40,7 @@ class ErrorNode extends AstNode {
40
40
  super();
41
41
  this.name = name;
42
42
  this.dataType = dataType;
43
+ this.annotations = [];
43
44
  }
44
45
  }
45
46
  exports.ErrorNode = ErrorNode;
@@ -83,6 +84,13 @@ exports.RestAnnotation = RestAnnotation;
83
84
  class HiddenAnnotation extends Annotation {
84
85
  }
85
86
  exports.HiddenAnnotation = HiddenAnnotation;
87
+ class StatusCodeAnnotation extends Annotation {
88
+ constructor(statusCode) {
89
+ super();
90
+ this.statusCode = statusCode;
91
+ }
92
+ }
93
+ exports.StatusCodeAnnotation = StatusCodeAnnotation;
86
94
  class PrimitiveType extends Type {
87
95
  toJSON() {
88
96
  return this.name;
@@ -166,6 +174,13 @@ class MoneyPrimitiveType extends PrimitiveType {
166
174
  }
167
175
  }
168
176
  exports.MoneyPrimitiveType = MoneyPrimitiveType;
177
+ class DecimalPrimitiveType extends PrimitiveType {
178
+ constructor() {
179
+ super(...arguments);
180
+ this.name = "decimal";
181
+ }
182
+ }
183
+ exports.DecimalPrimitiveType = DecimalPrimitiveType;
169
184
  class CpfPrimitiveType extends PrimitiveType {
170
185
  constructor() {
171
186
  super(...arguments);
@@ -70,6 +70,7 @@ function checkClientToServer(path, issues, t1, t2) {
70
70
  (t1 instanceof ast_1.BytesPrimitiveType && t2 instanceof ast_1.Base64PrimitiveType) ||
71
71
  (t1 instanceof ast_1.UrlPrimitiveType && t2 instanceof ast_1.StringPrimitiveType) ||
72
72
  (t1 instanceof ast_1.EmailPrimitiveType && t2 instanceof ast_1.StringPrimitiveType) ||
73
+ (t1 instanceof ast_1.DecimalPrimitiveType && t2 instanceof ast_1.StringPrimitiveType) ||
73
74
  (t1 instanceof ast_1.EnumType && t2 instanceof ast_1.StringPrimitiveType)) {
74
75
  return;
75
76
  }
@@ -154,6 +155,7 @@ function checkServerToClient(path, issues, t1, t2) {
154
155
  (t1 instanceof ast_1.Base64PrimitiveType && t2 instanceof ast_1.BytesPrimitiveType) ||
155
156
  (t1 instanceof ast_1.StringPrimitiveType && t2 instanceof ast_1.UrlPrimitiveType) ||
156
157
  (t1 instanceof ast_1.StringPrimitiveType && t2 instanceof ast_1.EmailPrimitiveType) ||
158
+ (t1 instanceof ast_1.StringPrimitiveType && t2 instanceof ast_1.DecimalPrimitiveType) ||
157
159
  (t1 instanceof ast_1.StringPrimitiveType && t2 instanceof ast_1.EnumType)) {
158
160
  return;
159
161
  }
@@ -0,0 +1,2 @@
1
+ import type { AstRoot, Type } from "./ast";
2
+ export declare function hasType(root: AstRoot, type: typeof Type): boolean;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.hasType = void 0;
4
+ const visitor_1 = require("./semantic/visitor");
5
+ class HasTypeVisitor extends visitor_1.Visitor {
6
+ constructor(root, type) {
7
+ super(root);
8
+ this.type = type;
9
+ this.found = false;
10
+ }
11
+ visit(node) {
12
+ if (node.constructor === this.type) {
13
+ this.found = true;
14
+ }
15
+ super.visit(node);
16
+ }
17
+ }
18
+ function hasType(root, type) {
19
+ const visitor = new HasTypeVisitor(root, type);
20
+ visitor.process();
21
+ return visitor.found;
22
+ }
23
+ exports.hasType = hasType;
@@ -4,3 +4,5 @@ export { AstJson, astToJson, jsonToAst, TypeDescription } from "./json";
4
4
  export * from "./lexer";
5
5
  export * from "./parser";
6
6
  export * from "./token";
7
+ export { Visitor } from "./semantic/visitor";
8
+ export { hasType } from "./helpers";
package/dist/src/index.js CHANGED
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.jsonToAst = exports.astToJson = void 0;
17
+ exports.hasType = exports.Visitor = exports.jsonToAst = exports.astToJson = void 0;
18
18
  __exportStar(require("./ast"), exports);
19
19
  __exportStar(require("./compatibility"), exports);
20
20
  var json_1 = require("./json");
@@ -23,3 +23,7 @@ Object.defineProperty(exports, "jsonToAst", { enumerable: true, get: function ()
23
23
  __exportStar(require("./lexer"), exports);
24
24
  __exportStar(require("./parser"), exports);
25
25
  __exportStar(require("./token"), exports);
26
+ var visitor_1 = require("./semantic/visitor");
27
+ Object.defineProperty(exports, "Visitor", { enumerable: true, get: function () { return visitor_1.Visitor; } });
28
+ var helpers_1 = require("./helpers");
29
+ Object.defineProperty(exports, "hasType", { enumerable: true, get: function () { return helpers_1.hasType; } });
@@ -1,12 +1,12 @@
1
1
  import { AstRoot } from "./ast";
2
2
  import type { DeepReadonly } from "./utils";
3
- export declare type TypeDescription = string | Array<string | [string, string]> | Record<string, string>;
4
- declare type TypeTable = Record<string, TypeDescription | undefined>;
5
- declare type FunctionTable = Record<string, {
3
+ export type TypeDescription = string | Array<string | [string, string]> | Record<string, string>;
4
+ type TypeTable = Record<string, TypeDescription | undefined>;
5
+ type FunctionTable = Record<string, {
6
6
  args: Record<string, string>;
7
7
  ret: TypeDescription;
8
8
  } | undefined>;
9
- declare type AnnotationJson = {
9
+ type AnnotationJson = {
10
10
  type: "description";
11
11
  value: string;
12
12
  } | {
@@ -15,6 +15,9 @@ declare type AnnotationJson = {
15
15
  } | {
16
16
  type: "hidden";
17
17
  value: null;
18
+ } | {
19
+ type: "statusCode";
20
+ value: number;
18
21
  } | {
19
22
  type: "rest";
20
23
  value: {
package/dist/src/json.js CHANGED
@@ -19,7 +19,7 @@ function annotationToJson(ann) {
19
19
  headers: [...ann.headers.entries()].sort(([a], [b]) => a.localeCompare(b)),
20
20
  method: ann.method,
21
21
  path: ann.path,
22
- pathVariables: [...ann.pathVariables].sort((a, b) => a.localeCompare(b)),
22
+ pathVariables: ann.pathVariables,
23
23
  queryVariables: [...ann.queryVariables].sort((a, b) => a.localeCompare(b)),
24
24
  },
25
25
  };
@@ -27,6 +27,9 @@ function annotationToJson(ann) {
27
27
  else if (ann instanceof ast_1.HiddenAnnotation) {
28
28
  return { type: "hidden", value: null };
29
29
  }
30
+ else if (ann instanceof ast_1.StatusCodeAnnotation) {
31
+ return { type: "statusCode", value: ann.statusCode };
32
+ }
30
33
  throw new Error(`BUG: annotationToJson with ${ann.constructor.name}`);
31
34
  }
32
35
  function annotationFromJson(json) {
@@ -41,12 +44,14 @@ function annotationFromJson(json) {
41
44
  }
42
45
  case "hidden":
43
46
  return new ast_1.HiddenAnnotation();
47
+ case "statusCode":
48
+ return new ast_1.StatusCodeAnnotation(json.value);
44
49
  default:
45
50
  throw new Error(`BUG: annotationFromJson with ${json.type}`);
46
51
  }
47
52
  }
48
53
  function astToJson(ast) {
49
- var _a, _b, _c;
54
+ var _a, _b, _c, _d;
50
55
  const annotations = {};
51
56
  const typeTable = {};
52
57
  function processType(type) {
@@ -69,6 +74,7 @@ function astToJson(ast) {
69
74
  for (const ann of field.annotations) {
70
75
  if (ann instanceof ast_1.DescriptionAnnotation) {
71
76
  const target = `type.${name}.${field.name}`;
77
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
72
78
  (_a = annotations[target]) !== null && _a !== void 0 ? _a : (annotations[target] = []);
73
79
  annotations[target].push(annotationToJson(ann));
74
80
  }
@@ -100,6 +106,7 @@ function astToJson(ast) {
100
106
  for (const ann of arg.annotations) {
101
107
  if (ann instanceof ast_1.DescriptionAnnotation) {
102
108
  const target = `fn.${op.name}.${arg.name}`;
109
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
103
110
  (_b = annotations[target]) !== null && _b !== void 0 ? _b : (annotations[target] = []);
104
111
  annotations[target].push(annotationToJson(ann));
105
112
  }
@@ -111,11 +118,20 @@ function astToJson(ast) {
111
118
  };
112
119
  for (const ann of op.annotations) {
113
120
  const target = `fn.${op.name}`;
121
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
114
122
  (_c = annotations[target]) !== null && _c !== void 0 ? _c : (annotations[target] = []);
115
123
  annotations[target].push(annotationToJson(ann));
116
124
  }
117
125
  }
118
126
  const errors = ast.errors.map(error => error.dataType instanceof ast_1.VoidPrimitiveType ? error.name : [error.name, error.dataType.name]);
127
+ for (const error of ast.errors) {
128
+ for (const ann of error.annotations) {
129
+ const target = `error.${error.name}`;
130
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
131
+ (_d = annotations[target]) !== null && _d !== void 0 ? _d : (annotations[target] = []);
132
+ annotations[target].push(annotationToJson(ann));
133
+ }
134
+ }
119
135
  return {
120
136
  annotations,
121
137
  errors,
@@ -196,11 +212,20 @@ function jsonToAst(json) {
196
212
  }
197
213
  }
198
214
  const errors = json.errors.map(error => {
215
+ var _a;
216
+ let errorNode;
199
217
  if (Array.isArray(error)) {
200
218
  const [name, type] = error;
201
- return new ast_1.ErrorNode(name, processType(type));
219
+ errorNode = new ast_1.ErrorNode(name, processType(type));
220
+ }
221
+ else {
222
+ errorNode = new ast_1.ErrorNode(error, new ast_1.VoidPrimitiveType());
223
+ }
224
+ const target = `error.${errorNode.name}`;
225
+ for (const annotationJson of (_a = json.annotations[target]) !== null && _a !== void 0 ? _a : []) {
226
+ errorNode.annotations.push(annotationFromJson(annotationJson));
202
227
  }
203
- return new ast_1.ErrorNode(error, new ast_1.VoidPrimitiveType());
228
+ return errorNode;
204
229
  });
205
230
  const ast = new ast_1.AstRoot(typeDefinition, operations, errors);
206
231
  (0, analyser_1.analyse)(ast);
package/dist/src/lexer.js CHANGED
@@ -164,7 +164,7 @@ class Lexer {
164
164
  case "@": {
165
165
  let body = "\\";
166
166
  let pos = this.startPos + 1;
167
- while (body[body.length - 1] === "\\") {
167
+ while (body.endsWith("\\")) {
168
168
  body = body.slice(0, body.length - 1).trim();
169
169
  while (!["\0", "\n"].includes(this.nextChar())) {
170
170
  //
@@ -271,6 +271,7 @@ Lexer.PRIMITIVES = new Set([
271
271
  "datetime",
272
272
  "bytes",
273
273
  "money",
274
+ "decimal",
274
275
  "cpf",
275
276
  "cnpj",
276
277
  "email",
@@ -8,7 +8,7 @@ export declare class Parser {
8
8
  private annotations;
9
9
  private warnings;
10
10
  private readFileSync;
11
- constructor(source: Lexer | string);
11
+ constructor(source: Lexer | string | Array<Lexer | string>);
12
12
  private nextToken;
13
13
  private multiExpect;
14
14
  private expect;
@@ -27,12 +27,8 @@ class Parser {
27
27
  catch (e) {
28
28
  // do nothing
29
29
  }
30
- if (source instanceof lexer_1.Lexer) {
31
- this.lexers = [source];
32
- }
33
- else {
34
- this.lexers = [new lexer_1.Lexer(this.readFileSync(source).toString(), source)];
35
- }
30
+ const sources = Array.isArray(source) ? [...source].reverse() : [source];
31
+ this.lexers = sources.map(x => (x instanceof lexer_1.Lexer ? x : new lexer_1.Lexer(this.readFileSync(x).toString(), x)));
36
32
  this.nextToken();
37
33
  }
38
34
  nextToken() {
@@ -141,6 +137,14 @@ class Parser {
141
137
  }
142
138
  this.annotations.push(new ast_1.HiddenAnnotation().at(this.token));
143
139
  break;
140
+ case "statusCode": {
141
+ const statusCode = parseInt(body, 10);
142
+ if (statusCode.toString() !== body.trim()) {
143
+ throw new ParserError(`@statusCode annotation takes an integer as argument`);
144
+ }
145
+ this.annotations.push(new ast_1.StatusCodeAnnotation(statusCode).at(this.token));
146
+ break;
147
+ }
144
148
  default:
145
149
  throw new ParserError(`Unknown annotation '${words[0]}' at ${this.token.location}`);
146
150
  }
@@ -169,7 +173,6 @@ class Parser {
169
173
  return definitions;
170
174
  }
171
175
  parseError() {
172
- this.checkCannotHaveAnnotationsHere();
173
176
  const errorToken = this.expect(token_1.ErrorKeywordToken);
174
177
  this.nextToken();
175
178
  const nameToken = this.expect(token_1.IdentifierToken);
@@ -185,7 +188,10 @@ class Parser {
185
188
  this.token instanceof token_1.PrimitiveTypeToken) {
186
189
  type = this.parseType();
187
190
  }
188
- return new ast_1.ErrorNode(name, type).at(errorToken);
191
+ const node = new ast_1.ErrorNode(name, type).at(errorToken);
192
+ node.annotations = this.annotations;
193
+ this.annotations = [];
194
+ return node;
189
195
  }
190
196
  parseOperation() {
191
197
  let { annotations } = this;
@@ -1,5 +1,5 @@
1
- import type { AstNode, Type } from "../ast";
2
1
  import { Visitor } from "./visitor";
2
+ import type { AstNode, Type } from "../ast";
3
3
  export declare class CheckMultipleDeclarationVisitor extends Visitor {
4
4
  nameToType: Map<string, Type>;
5
5
  visit(node: AstNode): void;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CheckMultipleDeclarationVisitor = void 0;
4
- const ast_1 = require("../ast");
5
4
  const visitor_1 = require("./visitor");
5
+ const ast_1 = require("../ast");
6
6
  class CheckMultipleDeclarationVisitor extends visitor_1.Visitor {
7
7
  constructor() {
8
8
  super(...arguments);
@@ -1,6 +1,6 @@
1
+ import { Transformer } from "./transformer";
1
2
  import type { AstNode } from "../ast";
2
3
  import { EnumType, StructType } from "../ast";
3
- import { Transformer } from "./transformer";
4
4
  export declare class GiveStructAndEnumNamesTransformer extends Transformer {
5
5
  path: string[];
6
6
  names: Map<string, {
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GiveStructAndEnumNamesTransformer = void 0;
4
- const ast_1 = require("../ast");
5
4
  const transformer_1 = require("./transformer");
6
5
  const visitor_1 = require("./visitor");
6
+ const ast_1 = require("../ast");
7
7
  class GiveStructAndEnumNamesTransformer extends transformer_1.Transformer {
8
8
  constructor() {
9
9
  super(...arguments);
@@ -1,5 +1,5 @@
1
- import type { AstNode } from "../ast";
2
1
  import { Visitor } from "./visitor";
2
+ import type { AstNode } from "../ast";
3
3
  export declare class MatchTypeDefinitionsVisitor extends Visitor {
4
4
  visit(node: AstNode): void;
5
5
  }
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MatchTypeDefinitionsVisitor = void 0;
4
- const ast_1 = require("../ast");
5
4
  const visitor_1 = require("./visitor");
5
+ const ast_1 = require("../ast");
6
6
  class MatchTypeDefinitionsVisitor extends visitor_1.Visitor {
7
7
  visit(node) {
8
8
  if (node instanceof ast_1.TypeReference) {
@@ -1,5 +1,5 @@
1
- import type { AstNode } from "../ast";
2
1
  import { Visitor } from "./visitor";
2
+ import type { AstNode } from "../ast";
3
3
  export declare class CheckDontReturnSecretVisitor extends Visitor {
4
4
  isInReturn: boolean;
5
5
  path: string[];
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CheckDontReturnSecretVisitor = void 0;
4
- const ast_1 = require("../ast");
5
4
  const visitor_1 = require("./visitor");
5
+ const ast_1 = require("../ast");
6
6
  class CheckDontReturnSecretVisitor extends visitor_1.Visitor {
7
7
  constructor() {
8
8
  super(...arguments);
@@ -1,7 +1,7 @@
1
+ import { Visitor } from "./visitor";
1
2
  import type { Spread } from "..";
2
3
  import type { AstNode } from "../ast";
3
4
  import { Field, StructType } from "../ast";
4
- import { Visitor } from "./visitor";
5
5
  export declare class ExpandSpreadsVisitor extends Visitor {
6
6
  processed: Set<StructType>;
7
7
  expandSpread(fields: Field[], fieldsAndSpreads: Array<Field | Spread>): void;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ExpandSpreadsVisitor = void 0;
4
- const ast_1 = require("../ast");
5
4
  const visitor_1 = require("./visitor");
5
+ const ast_1 = require("../ast");
6
6
  class ExpandSpreadsVisitor extends visitor_1.Visitor {
7
7
  constructor() {
8
8
  super(...arguments);
@@ -1,5 +1,5 @@
1
- import type { AstNode } from "../ast";
2
1
  import { Visitor } from "./visitor";
2
+ import type { AstNode } from "../ast";
3
3
  export declare class CheckEmptyStructOrEnumVisitor extends Visitor {
4
4
  visit(node: AstNode): void;
5
5
  }
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CheckEmptyStructOrEnumVisitor = void 0;
4
- const ast_1 = require("../ast");
5
4
  const visitor_1 = require("./visitor");
5
+ const ast_1 = require("../ast");
6
6
  class CheckEmptyStructOrEnumVisitor extends visitor_1.Visitor {
7
7
  visit(node) {
8
8
  super.visit(node);
@@ -1,6 +1,6 @@
1
+ import { Visitor } from "./visitor";
1
2
  import type { Type, AstNode } from "../ast";
2
3
  import { TypeDefinition } from "../ast";
3
- import { Visitor } from "./visitor";
4
4
  export declare class ValidateRecursiveTypes extends Visitor {
5
5
  visit(node: AstNode): void;
6
6
  isRecursiveType(node: TypeDefinition, type: Type): boolean;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ValidateRecursiveTypes = void 0;
4
- const ast_1 = require("../ast");
5
4
  const visitor_1 = require("./visitor");
5
+ const ast_1 = require("../ast");
6
6
  class ValidateRecursiveTypes extends visitor_1.Visitor {
7
7
  visit(node) {
8
8
  super.visit(node);
@@ -1,5 +1,5 @@
1
- import type { AstNode } from "../ast";
2
1
  import { Visitor } from "./visitor";
2
+ import type { AstNode } from "../ast";
3
3
  export declare class CollectStructAndEnumTypesVisitor extends Visitor {
4
4
  visited: Set<AstNode>;
5
5
  visit(node: AstNode): void;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CollectStructAndEnumTypesVisitor = void 0;
4
- const ast_1 = require("../ast");
5
4
  const visitor_1 = require("./visitor");
5
+ const ast_1 = require("../ast");
6
6
  class CollectStructAndEnumTypesVisitor extends visitor_1.Visitor {
7
7
  constructor() {
8
8
  super(...arguments);
@@ -1,5 +1,5 @@
1
- import type { AstNode } from "../ast";
2
1
  import { Visitor } from "./visitor";
2
+ import type { AstNode } from "../ast";
3
3
  export declare class ValidateAnnotationsVisitor extends Visitor {
4
4
  visit(node: AstNode): void;
5
5
  }
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ValidateAnnotationsVisitor = void 0;
4
- const ast_1 = require("../ast");
5
4
  const visitor_1 = require("./visitor");
5
+ const ast_1 = require("../ast");
6
6
  function isRestEncodable(type) {
7
7
  return (type instanceof ast_1.BoolPrimitiveType ||
8
8
  type instanceof ast_1.IntPrimitiveType ||
@@ -13,6 +13,7 @@ function isRestEncodable(type) {
13
13
  type instanceof ast_1.DatePrimitiveType ||
14
14
  type instanceof ast_1.DateTimePrimitiveType ||
15
15
  type instanceof ast_1.MoneyPrimitiveType ||
16
+ type instanceof ast_1.DecimalPrimitiveType ||
16
17
  type instanceof ast_1.CpfPrimitiveType ||
17
18
  type instanceof ast_1.CnpjPrimitiveType ||
18
19
  type instanceof ast_1.UuidPrimitiveType ||
@@ -104,6 +105,21 @@ class ValidateAnnotationsVisitor extends visitor_1.Visitor {
104
105
  }
105
106
  }
106
107
  }
108
+ else if (node instanceof ast_1.ErrorNode) {
109
+ for (const annotation of node.annotations) {
110
+ if (annotation instanceof ast_1.StatusCodeAnnotation) {
111
+ if (annotation.statusCode < 400 || annotation.statusCode > 599) {
112
+ throw new visitor_1.SemanticError(`Error status code can only be 4xx or 5xx at ${annotation.location}`);
113
+ }
114
+ }
115
+ else {
116
+ throw new visitor_1.SemanticError(`Cannot have @${annotation.constructor.name.replace("Annotation", "").toLowerCase()} at ${annotation.location}`);
117
+ }
118
+ }
119
+ if (node.annotations.filter(ann => ann instanceof ast_1.StatusCodeAnnotation).length > 1) {
120
+ throw new visitor_1.SemanticError(`Can't provide more than one status code at ${node.location}`);
121
+ }
122
+ }
107
123
  }
108
124
  }
109
125
  exports.ValidateAnnotationsVisitor = ValidateAnnotationsVisitor;
@@ -0,0 +1,5 @@
1
+ import { Visitor } from "./visitor";
2
+ import type { AstNode } from "../ast";
3
+ export declare class CheckDuplicatedMembersOnEnumVisitor extends Visitor {
4
+ visit(node: AstNode): void;
5
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CheckDuplicatedMembersOnEnumVisitor = void 0;
4
+ const visitor_1 = require("./visitor");
5
+ const ast_1 = require("../ast");
6
+ class CheckDuplicatedMembersOnEnumVisitor extends visitor_1.Visitor {
7
+ visit(node) {
8
+ super.visit(node);
9
+ if (node instanceof ast_1.EnumType) {
10
+ if (node.values.length !== new Set(node.values.map(x => x.value)).size) {
11
+ throw new visitor_1.SemanticError(`Enum '${node.name}' at ${node.location} has duplicated members`);
12
+ }
13
+ }
14
+ }
15
+ }
16
+ exports.CheckDuplicatedMembersOnEnumVisitor = CheckDuplicatedMembersOnEnumVisitor;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.analyse = void 0;
4
- const ast_1 = require("../ast");
5
4
  const _01_check_multiple_declaration_1 = require("./01_check_multiple_declaration");
6
5
  const _02_give_struct_and_enum_names_1 = require("./02_give_struct_and_enum_names");
7
6
  const _03_match_type_definitions_1 = require("./03_match_type_definitions");
@@ -11,6 +10,8 @@ const _06_check_empty_struct_or_enum_1 = require("./06_check_empty_struct_or_enu
11
10
  const _07_validate_recursive_types_1 = require("./07_validate_recursive_types");
12
11
  const _08_collect_struct_and_enum_types_1 = require("./08_collect_struct_and_enum_types");
13
12
  const _09_validate_annotations_1 = require("./09_validate_annotations");
13
+ const _10_check_duplicate_members_on_enum_1 = require("./10_check_duplicate_members_on_enum");
14
+ const ast_1 = require("../ast");
14
15
  function analyse(root) {
15
16
  if (!root.errors.some(error => error.name === "Fatal")) {
16
17
  root.errors.push(new ast_1.ErrorNode("Fatal", new ast_1.VoidPrimitiveType()));
@@ -24,5 +25,6 @@ function analyse(root) {
24
25
  new _07_validate_recursive_types_1.ValidateRecursiveTypes(root).process();
25
26
  new _08_collect_struct_and_enum_types_1.CollectStructAndEnumTypesVisitor(root).process();
26
27
  new _09_validate_annotations_1.ValidateAnnotationsVisitor(root).process();
28
+ new _10_check_duplicate_members_on_enum_1.CheckDuplicatedMembersOnEnumVisitor(root).process();
27
29
  }
28
30
  exports.analyse = analyse;
@@ -1,5 +1,5 @@
1
1
  import type { PrimitiveType } from "./ast";
2
2
  export declare const primitiveToAstClass: Map<string, new () => PrimitiveType>;
3
- export declare type DeepReadonly<T> = T extends undefined | null | boolean | string | number | Function ? T : T extends [] ? readonly [] : T extends [infer U, ...infer Rest] ? readonly [DeepReadonly<U>, ...DeepReadonly<Rest>] : T extends Array<infer U> ? ReadonlyArray<DeepReadonly<U>> : T extends Map<infer K, infer V> ? ReadonlyMap<DeepReadonly<K>, DeepReadonly<V>> : T extends Set<infer U> ? ReadonlySet<DeepReadonly<U>> : {
3
+ export type DeepReadonly<T> = T extends undefined | null | boolean | string | number | Function ? T : T extends [] ? readonly [] : T extends [infer U, ...infer Rest] ? readonly [DeepReadonly<U>, ...DeepReadonly<Rest>] : T extends Array<infer U> ? ReadonlyArray<DeepReadonly<U>> : T extends Map<infer K, infer V> ? ReadonlyMap<DeepReadonly<K>, DeepReadonly<V>> : T extends Set<infer U> ? ReadonlySet<DeepReadonly<U>> : {
4
4
  readonly [K in keyof T]: DeepReadonly<T[K]>;
5
5
  };
package/dist/src/utils.js CHANGED
@@ -13,6 +13,7 @@ exports.primitiveToAstClass.set("bigint", ast_1.BigIntPrimitiveType);
13
13
  exports.primitiveToAstClass.set("bool", ast_1.BoolPrimitiveType);
14
14
  exports.primitiveToAstClass.set("bytes", ast_1.BytesPrimitiveType);
15
15
  exports.primitiveToAstClass.set("money", ast_1.MoneyPrimitiveType);
16
+ exports.primitiveToAstClass.set("decimal", ast_1.DecimalPrimitiveType);
16
17
  exports.primitiveToAstClass.set("cpf", ast_1.CpfPrimitiveType);
17
18
  exports.primitiveToAstClass.set("cnpj", ast_1.CnpjPrimitiveType);
18
19
  exports.primitiveToAstClass.set("email", ast_1.EmailPrimitiveType);
@@ -1 +1 @@
1
- {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.es2017.full.d.ts","../src/token.ts","../src/lexer.ts","../spec/lexer.spec.ts","../src/ast.ts","../src/semantic/visitor.ts","../src/semantic/01_check_multiple_declaration.ts","../src/semantic/transformer.ts","../src/semantic/02_give_struct_and_enum_names.ts","../src/semantic/03_match_type_definitions.ts","../src/semantic/04_check_dont_return_secret.ts","../src/compatibility/index.ts","../src/restparser.ts","../src/utils.ts","../src/parser.ts","../src/index.ts","../src/semantic/05_expand_spreads.ts","../src/semantic/06_check_empty_struct_or_enum.ts","../src/semantic/07_validate_recursive_types.ts","../src/semantic/08_collect_struct_and_enum_types.ts","../src/semantic/09_validate_annotations.ts","../src/semantic/analyser.ts","../src/json.ts","../spec/parser.spec.ts","../node_modules/@babel/types/lib/index.d.ts","../node_modules/@types/babel__generator/index.d.ts","../node_modules/@babel/parser/typings/babel-parser.d.ts","../node_modules/@types/babel__template/index.d.ts","../node_modules/@types/babel__traverse/index.d.ts","../node_modules/@types/babel__core/index.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/@types/graceful-fs/index.d.ts","../node_modules/@types/istanbul-lib-coverage/index.d.ts","../node_modules/@types/istanbul-lib-report/index.d.ts","../node_modules/@types/istanbul-reports/index.d.ts","../node_modules/chalk/index.d.ts","../node_modules/jest-diff/build/cleanupSemantic.d.ts","../node_modules/pretty-format/build/types.d.ts","../node_modules/pretty-format/build/index.d.ts","../node_modules/jest-diff/build/types.d.ts","../node_modules/jest-diff/build/diffLines.d.ts","../node_modules/jest-diff/build/printDiffs.d.ts","../node_modules/jest-diff/build/index.d.ts","../node_modules/jest-matcher-utils/build/index.d.ts","../node_modules/@types/jest/index.d.ts","../node_modules/@types/json-schema/index.d.ts","../node_modules/@types/json5/index.d.ts","../node_modules/@types/prettier/index.d.ts","../node_modules/@types/stack-utils/index.d.ts","../node_modules/@types/yargs-parser/index.d.ts","../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"3ac1b83264055b28c0165688fda6dfcc39001e9e7828f649299101c23ad0a0c3","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"72704b10d97777e15f1a581b73f88273037ef752d2e50b72287bd0a90af64fe6","affectsGlobalScope":true},{"version":"dbb73d4d99be496175cb432c74c2615f78c76f4272f1d83cba11ee0ed6dbddf0","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"5075b36ab861c8c0c45377cb8c96270d7c65f0eeaf105d53fac6850da61f1027","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"d2f31f19e1ba6ed59be9259d660a239d9a3fcbbc8e038c6b2009bde34b175fed","abcce357d43321346018f0a447aae8396df4b6e3c8a71a07a698852c010659e6","bb859947a395dfe951fa360bcf2fc4c118e97811ae04b811ecabcf066b658299","6327bd2eac3fd3f5c7162a87420cffe58f8c7ba2972ad47e12cef928bd926e29","ff596724446d23c2c8a1335738a36718cc6ed0fc81fb9619a2c3537fd9fe0408","50ba5c02af36d9f80c7da35962cb61d1088a7af05ef5930d417981baccfbc9c3","32e2cd21e5b2b1f554c8b78d526790c53aebde93764ca0a62198a3fafd702ced","397d74c2f4c02a687edae40df94680f66d7a2ce96dce5dd15e8278006d07e946","ab99eb439e6685f51045a219bd8b4840311516e4d6bc6b8d61f23d5933873dcb","481a4131dcbf468c936b2101e8b57aa2e6e06132f6cab7b2da37a346b10e0aef","2a4772dce90cd087f4686c8164625dff307c5f4d6d2940cc846a8239715b6c10","e9b6d6b1c360f61d701fec2ac49dcf6a7a11fd26b209d0da366a48ab2cbfa759","31b7510503d7ed5a8a7c45c1f0e7ab1c9eedd0c674131fd797b371d4285ed518","1d69af3250560dc6bc0384c8defb9476c782acc635dec27b775d2bfa4020ed1e","111f23b931ddf6bcf85fdaea15439308310c0a554c35a584ae80e33e938ce998","ce9361120cf8dab14f969006c491ee03309022d27a194b9e7822eb2fc3f510cf","71b016c31de70df11b74578155fbf01b7b3f2a007ee2a3f664a16e0e3db07a0a","c9a25578762ca94acd867137a9db5466a0d33e8ab037e4f77d9bc077b4c2f831","5307c4560e27aef1e4ec79742fa611568b06d22b03cd932f052bf1e5b1c237ee","8e529180c02f7a56aa79930ac705e16ad7069d92ed88fca487d94c210273dfd9","125a19e2c845627ef123480dc238db123096ebdf336b8601be6d052280debee8","23d9b894bc4718a763c2be4fd0442e94fa656da347d143fa58fee61bc908bc9f","4d8fe35f590c8fc737cc08ded84677b0d736a897adc6d0bae601769ea970fba5","0ed5042c16f1b514ae77203c62665f8fdb3c58507a47fd9da8d44d3a38c9069e","2ff9995137f3e5d68971388ec58af0c79721626323884513f9f5e2e996ac1fdd","cc957354aa3c94c9961ebf46282cfde1e81d107fc5785a61f62c67f1dd3ac2eb","8670878e030b88a469db43b36ef90ffa208e74faf249416feeb8fbb6b646b4a9","93de1c6dab503f053efe8d304cb522bb3a89feab8c98f307a674a4fae04773e9","fc72135da24040641388fb5f2c2a7a99aa5b962c0fa125bd96fabeec63dd2e63","5426e62886b7be7806312d31a00e8f7dccd6fe63ba9bbefe99ee2eab29cc48a3","0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"77f0b5c6a193a699c9f7d7fb0578e64e562d271afa740783665d2a827104a873","affectsGlobalScope":true},"e5979905796fe2740d85fbaf4f11f42b7ee1851421afe750823220813421b1af",{"version":"fcdcb42da18dd98dc286b1876dd425791772036012ae61263c011a76b13a190f","affectsGlobalScope":true},"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894",{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","5b30f550565fd0a7524282c81c27fe8534099e2cd26170ca80852308f07ae68d","34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","d97cd8a4a42f557fc62271369ed0461c8e50d47b7f9c8ad0b5462f53306f6060","f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79",{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true},"b8aca9d0c81abb02bec9b7621983ae65bde71da6727580070602bd2500a9ce2a","ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","063f53ff674228c190efa19dd9448bcbd540acdbb48a928f4cf3a1b9f9478e43","bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"287b21dc1d1b9701c92e15e7dd673dfe6044b15812956377adffb6f08825b1bc","12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304",{"version":"4cd4cff679c9b3d9239fd7bf70293ca4594583767526916af8e5d5a47d0219c7","affectsGlobalScope":true},"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"44b8b584a338b190a59f4f6929d072431950c7bd92ec2694821c11bce180c8a5","5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248",{"version":"3345c276cab0e76dda86c0fb79104ff915a4580ba0f3e440870e183b1baec476","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","103d70bfbeb3cd3a3f26d1705bf986322d8738c2c143f38ebb743b1e228d7444","f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7",{"version":"3a2da34079a2567161c1359316a32e712404b56566c45332ac9dcee015ecce9f","affectsGlobalScope":true},"28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"9cafe917bf667f1027b2bb62e2de454ecd2119c80873ad76fc41d941089753b8","3ebae8c00411116a66fca65b08228ea0cf0b72724701f9b854442100aab55aba","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","7eb06594824ada538b1d8b48c3925a83e7db792f47a081a62cf3e5c4e23cf0ee","f5638f7c2f12a9a1a57b5c41b3c1ea7db3876c003bab68e6a57afd6bcc169af0","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","d8aab31ba8e618cc3eea10b0945de81cb93b7e8150a013a482332263b9305322","462bccdf75fcafc1ae8c30400c9425e1a4681db5d605d1a0edb4f990a54d8094","5923d8facbac6ecf7c84739a5c701a57af94a6f6648d6229a6c768cf28f0f8cb","7adecb2c3238794c378d336a8182d4c3dd2c4fa6fa1785e2797a3db550edea62","dc12dc0e5aa06f4e1a7692149b78f89116af823b9e1f1e4eae140cd3e0e674e6","1bfc6565b90c8771615cd8cfcf9b36efc0275e5e83ac7d9181307e96eb495161","8a8a96898906f065f296665e411f51010b51372fa260d5373bf9f64356703190","7f82ef88bdb67d9a850dd1c7cd2d690f33e0f0acd208e3c9eba086f3670d4f73",{"version":"3ca3179dd4772b596ed81df8bb9c541e1416d86343c582a105013b20925de051","affectsGlobalScope":true},"f3e604694b624fa3f83f6684185452992088f5efb2cf136b62474aa106d6f1b6","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","429b6df7d7b94389bd42cfdf39bccea903acd3628498cec6172302801fbeac89","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","70e9a18da08294f75bf23e46c7d69e67634c0765d355887b9b41f0d959e1426e","105b9a2234dcb06ae922f2cd8297201136d416503ff7d16c72bfc8791e9895c1"],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"module":1,"outDir":"./","strict":true,"target":4},"fileIdsList":[[67,116],[116],[67,68,69,70,71,116],[67,69,116],[89,116,123],[116,125],[116,126],[116,131,136],[73,116],[76,116],[77,82,116],[78,88,89,96,105,115,116],[78,79,88,96,116],[80,116],[81,82,89,97,116],[82,105,112,116],[83,85,88,96,116],[84,116],[85,86,116],[87,88,116],[88,116],[88,89,90,105,115,116],[88,89,90,105,116],[116,120],[91,96,105,115,116],[88,89,91,92,96,105,112,115,116],[91,93,105,112,115,116],[73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122],[88,94,116],[95,115,116],[85,88,96,105,116],[97,116],[98,116],[76,99,116],[100,114,116,120],[101,116],[102,116],[88,103,116],[103,104,116,118],[88,105,106,107,116],[105,107,116],[105,106,116],[108,116],[109,116],[88,110,111,116],[110,111,116],[82,96,105,112,116],[113,116],[96,114,116],[77,91,102,115,116],[82,116],[105,116,117],[116,118],[116,119],[77,82,88,90,99,105,115,116,118,120],[105,116,121],[116,142],[116,129,132],[116,129,132,133,134],[116,131],[116,128,135],[116,130],[44,45,116],[45,57,65,116],[44,116],[47,116],[44,45,47,54,57,65,116],[47,56,64,116],[44,45,47,55,56,64,116],[47,48,116],[47,48,50,116],[47,48,58,116],[47,49,51,52,53,59,60,61,62,63,116]],"referencedMap":[[69,1],[67,2],[72,3],[68,1],[70,4],[71,1],[124,5],[125,2],[126,6],[127,7],[137,8],[138,2],[139,2],[73,9],[74,9],[76,10],[77,11],[78,12],[79,13],[80,14],[81,15],[82,16],[83,17],[84,18],[85,19],[86,19],[87,20],[88,21],[89,22],[90,23],[75,24],[122,2],[91,25],[92,26],[93,27],[123,28],[94,29],[95,30],[96,31],[97,32],[98,33],[99,34],[100,35],[101,36],[102,37],[103,38],[104,39],[105,40],[107,41],[106,42],[108,43],[109,44],[110,45],[111,46],[112,47],[113,48],[114,49],[115,50],[116,51],[117,52],[118,53],[119,54],[120,55],[121,56],[140,2],[141,2],[142,2],[143,57],[128,2],[129,2],[133,58],[135,59],[134,58],[132,60],[136,61],[131,62],[130,2],[8,2],[9,2],[13,2],[12,2],[2,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[3,2],[4,2],[43,2],[25,2],[22,2],[23,2],[24,2],[26,2],[27,2],[28,2],[5,2],[29,2],[30,2],[31,2],[32,2],[6,2],[33,2],[34,2],[35,2],[36,2],[7,2],[41,2],[37,2],[38,2],[39,2],[40,2],[1,2],[42,2],[11,2],[10,2],[46,63],[66,64],[47,65],[54,66],[58,67],[65,68],[45,65],[57,69],[55,66],[49,70],[51,71],[52,70],[53,70],[59,72],[60,70],[61,70],[62,70],[63,70],[64,73],[50,66],[48,66],[44,2],[56,66]],"exportedModulesMap":[[69,1],[67,2],[72,3],[68,1],[70,4],[71,1],[124,5],[125,2],[126,6],[127,7],[137,8],[138,2],[139,2],[73,9],[74,9],[76,10],[77,11],[78,12],[79,13],[80,14],[81,15],[82,16],[83,17],[84,18],[85,19],[86,19],[87,20],[88,21],[89,22],[90,23],[75,24],[122,2],[91,25],[92,26],[93,27],[123,28],[94,29],[95,30],[96,31],[97,32],[98,33],[99,34],[100,35],[101,36],[102,37],[103,38],[104,39],[105,40],[107,41],[106,42],[108,43],[109,44],[110,45],[111,46],[112,47],[113,48],[114,49],[115,50],[116,51],[117,52],[118,53],[119,54],[120,55],[121,56],[140,2],[141,2],[142,2],[143,57],[128,2],[129,2],[133,58],[135,59],[134,58],[132,60],[136,61],[131,62],[130,2],[8,2],[9,2],[13,2],[12,2],[2,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[3,2],[4,2],[43,2],[25,2],[22,2],[23,2],[24,2],[26,2],[27,2],[28,2],[5,2],[29,2],[30,2],[31,2],[32,2],[6,2],[33,2],[34,2],[35,2],[36,2],[7,2],[41,2],[37,2],[38,2],[39,2],[40,2],[1,2],[42,2],[11,2],[10,2],[46,63],[66,64],[47,65],[54,66],[58,67],[65,68],[45,65],[57,69],[55,66],[49,70],[51,71],[52,70],[53,70],[59,72],[60,70],[61,70],[62,70],[63,70],[64,73],[50,66],[48,66],[44,2],[56,66]],"semanticDiagnosticsPerFile":[69,67,72,68,70,71,124,125,126,127,137,138,139,73,74,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,75,122,91,92,93,123,94,95,96,97,98,99,100,101,102,103,104,105,107,106,108,109,110,111,112,113,114,115,116,117,118,119,120,121,140,141,142,143,128,129,133,135,134,132,136,131,130,8,9,13,12,2,14,15,16,17,18,19,20,21,3,4,43,25,22,23,24,26,27,28,5,29,30,31,32,6,33,34,35,36,7,41,37,38,39,40,1,42,11,10,46,66,47,54,58,65,45,57,55,49,51,52,53,59,60,61,62,63,64,50,48,44,56]},"version":"4.6.4"}
1
+ {"program":{"fileNames":["../node_modules/typescript/lib/lib.es5.d.ts","../node_modules/typescript/lib/lib.es2015.d.ts","../node_modules/typescript/lib/lib.es2016.d.ts","../node_modules/typescript/lib/lib.es2017.d.ts","../node_modules/typescript/lib/lib.es2018.d.ts","../node_modules/typescript/lib/lib.es2019.d.ts","../node_modules/typescript/lib/lib.es2020.d.ts","../node_modules/typescript/lib/lib.dom.d.ts","../node_modules/typescript/lib/lib.dom.iterable.d.ts","../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/typescript/lib/lib.es2015.core.d.ts","../node_modules/typescript/lib/lib.es2015.collection.d.ts","../node_modules/typescript/lib/lib.es2015.generator.d.ts","../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../node_modules/typescript/lib/lib.es2015.promise.d.ts","../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../node_modules/typescript/lib/lib.es2017.object.d.ts","../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2017.string.d.ts","../node_modules/typescript/lib/lib.es2017.intl.d.ts","../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../node_modules/typescript/lib/lib.es2018.intl.d.ts","../node_modules/typescript/lib/lib.es2018.promise.d.ts","../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../node_modules/typescript/lib/lib.es2019.array.d.ts","../node_modules/typescript/lib/lib.es2019.object.d.ts","../node_modules/typescript/lib/lib.es2019.string.d.ts","../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../node_modules/typescript/lib/lib.es2019.intl.d.ts","../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../node_modules/typescript/lib/lib.es2020.date.d.ts","../node_modules/typescript/lib/lib.es2020.promise.d.ts","../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../node_modules/typescript/lib/lib.es2020.string.d.ts","../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../node_modules/typescript/lib/lib.es2020.intl.d.ts","../node_modules/typescript/lib/lib.es2020.number.d.ts","../node_modules/typescript/lib/lib.esnext.intl.d.ts","../node_modules/typescript/lib/lib.es2017.full.d.ts","../src/token.ts","../src/lexer.ts","../spec/lexer.spec.ts","../src/ast.ts","../src/semantic/visitor.ts","../src/semantic/01_check_multiple_declaration.ts","../src/semantic/transformer.ts","../src/semantic/02_give_struct_and_enum_names.ts","../src/semantic/03_match_type_definitions.ts","../src/semantic/04_check_dont_return_secret.ts","../src/compatibility/index.ts","../src/restparser.ts","../src/utils.ts","../src/parser.ts","../src/helpers.ts","../src/index.ts","../src/semantic/05_expand_spreads.ts","../src/semantic/06_check_empty_struct_or_enum.ts","../src/semantic/07_validate_recursive_types.ts","../src/semantic/08_collect_struct_and_enum_types.ts","../src/semantic/09_validate_annotations.ts","../src/semantic/10_check_duplicate_members_on_enum.ts","../src/semantic/analyser.ts","../src/json.ts","../spec/parser.spec.ts","../node_modules/@babel/types/lib/index.d.ts","../node_modules/@types/babel__generator/index.d.ts","../node_modules/@babel/parser/typings/babel-parser.d.ts","../node_modules/@types/babel__template/index.d.ts","../node_modules/@types/babel__traverse/index.d.ts","../node_modules/@types/babel__core/index.d.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/dom-events.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/readline/promises.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/test.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/@types/graceful-fs/index.d.ts","../node_modules/@types/istanbul-lib-coverage/index.d.ts","../node_modules/@types/istanbul-lib-report/index.d.ts","../node_modules/@types/istanbul-reports/index.d.ts","../node_modules/@jest/expect-utils/build/index.d.ts","../node_modules/chalk/index.d.ts","../node_modules/@sinclair/typebox/typebox.d.ts","../node_modules/@jest/schemas/build/index.d.ts","../node_modules/pretty-format/build/index.d.ts","../node_modules/jest-diff/build/index.d.ts","../node_modules/jest-matcher-utils/build/index.d.ts","../node_modules/expect/build/index.d.ts","../node_modules/@types/jest/index.d.ts","../node_modules/@types/json-schema/index.d.ts","../node_modules/@types/json5/index.d.ts","../node_modules/@types/semver/classes/semver.d.ts","../node_modules/@types/semver/functions/parse.d.ts","../node_modules/@types/semver/functions/valid.d.ts","../node_modules/@types/semver/functions/clean.d.ts","../node_modules/@types/semver/functions/inc.d.ts","../node_modules/@types/semver/functions/diff.d.ts","../node_modules/@types/semver/functions/major.d.ts","../node_modules/@types/semver/functions/minor.d.ts","../node_modules/@types/semver/functions/patch.d.ts","../node_modules/@types/semver/functions/prerelease.d.ts","../node_modules/@types/semver/functions/compare.d.ts","../node_modules/@types/semver/functions/rcompare.d.ts","../node_modules/@types/semver/functions/compare-loose.d.ts","../node_modules/@types/semver/functions/compare-build.d.ts","../node_modules/@types/semver/functions/sort.d.ts","../node_modules/@types/semver/functions/rsort.d.ts","../node_modules/@types/semver/functions/gt.d.ts","../node_modules/@types/semver/functions/lt.d.ts","../node_modules/@types/semver/functions/eq.d.ts","../node_modules/@types/semver/functions/neq.d.ts","../node_modules/@types/semver/functions/gte.d.ts","../node_modules/@types/semver/functions/lte.d.ts","../node_modules/@types/semver/functions/cmp.d.ts","../node_modules/@types/semver/functions/coerce.d.ts","../node_modules/@types/semver/classes/comparator.d.ts","../node_modules/@types/semver/classes/range.d.ts","../node_modules/@types/semver/functions/satisfies.d.ts","../node_modules/@types/semver/ranges/max-satisfying.d.ts","../node_modules/@types/semver/ranges/min-satisfying.d.ts","../node_modules/@types/semver/ranges/to-comparators.d.ts","../node_modules/@types/semver/ranges/min-version.d.ts","../node_modules/@types/semver/ranges/valid.d.ts","../node_modules/@types/semver/ranges/outside.d.ts","../node_modules/@types/semver/ranges/gtr.d.ts","../node_modules/@types/semver/ranges/ltr.d.ts","../node_modules/@types/semver/ranges/intersects.d.ts","../node_modules/@types/semver/ranges/simplify.d.ts","../node_modules/@types/semver/ranges/subset.d.ts","../node_modules/@types/semver/internals/identifiers.d.ts","../node_modules/@types/semver/index.d.ts","../node_modules/@types/stack-utils/index.d.ts","../node_modules/@types/yargs-parser/index.d.ts","../node_modules/@types/yargs/index.d.ts"],"fileInfos":[{"version":"8730f4bf322026ff5229336391a18bcaa1f94d4f82416c8b2f3954e2ccaae2ba","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","4b421cbfb3a38a27c279dec1e9112c3d1da296f77a1a85ddadf7e7a425d45d18","1fc5ab7a764205c68fa10d381b08417795fc73111d6dd16b5b1ed36badb743d9",{"version":"3aafcb693fe5b5c3bd277bd4c3a617b53db474fe498fc5df067c5603b1eebde7","affectsGlobalScope":true},{"version":"f3d4da15233e593eacb3965cde7960f3fddf5878528d882bcedd5cbaba0193c7","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"adb996790133eb33b33aadb9c09f15c2c575e71fb57a62de8bf74dbf59ec7dfb","affectsGlobalScope":true},{"version":"8cc8c5a3bac513368b0157f3d8b31cfdcfe78b56d3724f30f80ed9715e404af8","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"c5c05907c02476e4bde6b7e76a79ffcd948aedd14b6a8f56e4674221b0417398","affectsGlobalScope":true},{"version":"5f406584aef28a331c36523df688ca3650288d14f39c5d2e555c95f0d2ff8f6f","affectsGlobalScope":true},{"version":"22f230e544b35349cfb3bd9110b6ef37b41c6d6c43c3314a31bd0d9652fcec72","affectsGlobalScope":true},{"version":"7ea0b55f6b315cf9ac2ad622b0a7813315bb6e97bf4bb3fbf8f8affbca7dc695","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"eb26de841c52236d8222f87e9e6a235332e0788af8c87a71e9e210314300410a","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"81cac4cbc92c0c839c70f8ffb94eb61e2d32dc1c3cf6d95844ca099463cf37ea","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"5e5e095c4470c8bab227dbbc61374878ecead104c74ab9960d3adcccfee23205","affectsGlobalScope":true},{"version":"09aa50414b80c023553090e2f53827f007a301bc34b0495bfb2c3c08ab9ad1eb","affectsGlobalScope":true},{"version":"d7f680a43f8cd12a6b6122c07c54ba40952b0c8aa140dcfcf32eb9e6cb028596","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"2768ef564cfc0689a1b76106c421a2909bdff0acbe87da010785adab80efdd5c","affectsGlobalScope":true},{"version":"b248e32ca52e8f5571390a4142558ae4f203ae2f94d5bac38a3084d529ef4e58","affectsGlobalScope":true},{"version":"52d1bb7ab7a3306fd0375c8bff560feed26ed676a5b0457fa8027b563aecb9a4","affectsGlobalScope":true},"d2f31f19e1ba6ed59be9259d660a239d9a3fcbbc8e038c6b2009bde34b175fed",{"version":"0d1b618fb1d31b44a3e77e0940199cc12099b7e448ff596481039c5439160c5d","signature":"a47d0d3875c959c171c87f6886b3f4740dfdafc4a40b8faaf6a60dba379aafc0"},{"version":"f6725bcf9cc6c70f311aabd5ef3b7839535e416eea8e3c548e2dd99136f47489","signature":"e082eda43f55d5bb478ef88a90c7461d73129010244cb22d45f3dabb24aabb1b"},{"version":"6327bd2eac3fd3f5c7162a87420cffe58f8c7ba2972ad47e12cef928bd926e29","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},{"version":"851153ecb19fe760635a2b8e54dad62a99c245a22abb116c781680cb3505a02e","signature":"0ed6b821f7c5471ea1b73a82589544e1dae0cf615e87227cf798a0b748d9364c"},{"version":"50ba5c02af36d9f80c7da35962cb61d1088a7af05ef5930d417981baccfbc9c3","signature":"f93144e38b7adc9eca0f5a2726893acf6df6123026e0019a74cf11987c311584"},{"version":"fb06e8dde3cf19ccc0e47762be6242ec990d659557dbbe14c63113478adc2444","signature":"353c5f1b3a18f6e6a73a1f38122343736ae420495a43578ff02e23a248940606"},{"version":"397d74c2f4c02a687edae40df94680f66d7a2ce96dce5dd15e8278006d07e946","signature":"286584c7b22c6d7d88215b562640199781ae3cb2a5baf9721454fd2840741e94"},{"version":"7fa0685b27b50b8ef1604f5d71772ad6846b1996b4d9e4c396baef7aa6539b2a","signature":"44eca8ac4f8409af943bbf7cb9c646454c2f5d0be266f84ead787d9452852887"},{"version":"df2bd579b982728787d31c4d8e40a8f442a9eb67e8973196d77e86968cf657a3","signature":"ebbe42952c1006a2e38b980eb6919e4229e1eee038205ad95600aad1ed21e850"},{"version":"fbb4995857b44355618c8a61cb5e086462821cc282fc638cc3a94a2b814bc633","signature":"62fc5bb1e7d3ec7e0624325f55e988904d4824c678d2c50b79b65a33dd84593a"},{"version":"e18aa16baef58d63b8a342de5e72edf39f2369970b42171a25d743d0ce4afc06","signature":"2f192ce80a0af4c4678d3c9407d5b8fc5f20bbaafbd2c471b10e23e0dab75341"},{"version":"31b7510503d7ed5a8a7c45c1f0e7ab1c9eedd0c674131fd797b371d4285ed518","signature":"2ea3deec6fa1ec33dc8b5e16fc0bd41d23ef12d46fcdf09ec42fd9cabc11fe0d"},{"version":"314dc2eb5d1d6e583cf6eb3759fb5329a18b2c4db94a50e00d6225968c6e9c25","signature":"8f8c11f94f4adae1b1e1a38f5d48eca7b1302c950bec2d843cbc61a0e105d55f"},{"version":"674f4367342c630e9e181902750fd7765cf714dc917ff01ecf5418cd4bfbfac7","signature":"bca6f9ba28450563a0a3f1a84c38fe6b2b4403706aafc78039435f3b8cc59299"},{"version":"7cfa60d9e9948d1d9fbc67bbe7b742f8b913cbc043581dbca1a4b97475d69f07","signature":"ea504deda25bd0cc036a2cd8237d21c38908aca45faaede6583e5237c4866c9f"},"b3fb528e7589083ed8f80ad73bd30695b9cd00d1cdce5859977b60feefabb347",{"version":"82fa765db527609317ea5ad4dc0fb366f1b57b4d7b226e18b3948e255c42274e","signature":"f43e297d7cfc2636cfbb53bda9f268c46cbd2fcbcbef69af83f20e9cf904038f"},{"version":"0f2e58dd677c3842b6ba89bbc80c30ff6ee38f49d93a12d765585963aebf3852","signature":"cb28b0fea7ee329b17f91245eb43d48e6819a6270e5e6efd1970db03ab3ae0fa"},{"version":"1e3ad408c7a5cbf4a401b53e5e0760bbb75d237a206a474e874d600345372a82","signature":"53944ccd39501725fae40cd140dc41c78adbceac9f6b0647722c5a5c7d28cbaf"},{"version":"f1ebcaadc20f1aec3895b8e4a0b88d5de640d7892d57fbd0b5c9b14c78f6192e","signature":"1433bd9c9a83f894f254d1e47900bda92df18b02bf0265350bea582bb22db99a"},{"version":"dc203171e94764adb6341cc3336073e1d447932460dfeb81214d1946f2b6d5b2","signature":"e3941b73c49d1c9a74ee5b8c8735db49c5f33a72e6daf22b9f31dc54c14dc72a"},{"version":"dbd05088d511c6ce1811b5f24dfbd13bc483a01778d8cac7592a79c0316802b9","signature":"757c79e7e925b5999a40d191ebfb10de6c889b7714ddad35fb27e866d2b12260"},{"version":"52100f9bfc215f16eb0a58af18050b27f4c2c307679f137d000882fe942a324a","signature":"a12e9dd20ab7e3c9e120a203cda4504c24f8fd5ff8d3bb958ed8d0dd52852bf5"},{"version":"96f8d22597cd9bcb11728c4ff1724c0f664cd69f883487dc28bcfa21f0f01e71","signature":"fea998997178c88266b031a7e5a4a31e989069c89790dd37a56b5a0256c32778"},{"version":"ca51d0228db29d51d672bb33cd639f1d1584736437123ab89b46b154c3383651","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881"},"f713064ca751dc588bc13832137c418cb70cf0446de92ade60ad631071558fca","dfefd34e8ab60f41d0c130527d5092d6ce662dc9fa85bc8c97682baf65830b51","96c23535f4f9dd15beb767e070559ea672f6a35f103152836a67100605136a96","b0f4dd1a825912da8f12fd3388d839ef4aa51165ea0e60e4869b50b7ccb4f6fc","9cb7c5f710dc84d2e9500831a3e9a27afd3c3710f5a1b8744a50473e565b41fc","cf6b2edde490f303918809bfab1da8b6d059b50c160bec72005ff4c248bdd079","09df3b4f1c937f02e7fee2836d4c4d7a63e66db70fd4d4e97126f4542cc21d9d","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419",{"version":"32465ea19404cb188e84cf08c6b1f6b12d739140436402cdbc184a3fd20a7d81","affectsGlobalScope":true},"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c",{"version":"bb6872f39c58753205c19b9f89e1e07d61116ae5d82539cef0f3bde5e8fecb57","affectsGlobalScope":true},"546ab07e19116d935ad982e76a223275b53bff7771dab94f433b7ab04652936e","7b43160a49cf2c6082da0465876c4a0b164e160b81187caeb0a6ca7a281e85ba",{"version":"aefb5a4a209f756b580eb53ea771cca8aad411603926f307a5e5b8ec6b16dcf6","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","3a3b3310118e79c8d394171a87f4dc8fd562337a85e33f9fa9636040a2ec2fde","b86e1a45b29437f3a99bad4147cb9fe2357617e8008c0484568e5bb5138d6e13","b5b719a47968cd61a6f83f437236bb6fe22a39223b6620da81ef89f5d7a78fb7","42c431e7965b641106b5e25ab3283aa4865ca7bb9909610a2abfa6226e4348be","0b7e732af0a9599be28c091d6bd1cb22c856ec0d415d4749c087c3881ca07a56","b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e",{"version":"2c71199d1fc83bf17636ad5bf63a945633406b7b94887612bba4ef027c662b3e","affectsGlobalScope":true},{"version":"738a0de235edb5caf581c5aa86f5dd48ee28b2d0da1e327cbc57cdabde116bda","affectsGlobalScope":true},"3b4c85eea12187de9929a76792b98406e8778ce575caca8c574f06da82622c54","f788131a39c81e0c9b9e463645dd7132b5bc1beb609b0e31e5c1ceaea378b4df","1ee64912f7961165a3b6e6209fb7a8aced98b578ca1373b9f0ea144edfe17f6c","21894466693f64957b9bd4c80fa3ec7fdfd4efa9d1861e070aca23f10220c9b2","396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","ad8848c289c0b633452e58179f46edccd14b5a0fe90ebce411f79ff040b803e0",{"version":"120285cc97da7b20b0cbf2c557a5db7d215ec17ee688165ac8aff7f8de035b75","affectsGlobalScope":true},"5ca4a9fb7c9ee4f60df6d3bb6460e2c7f3a9cd7b8f7ebae29110fac74de4e50c","42a7993edf3288c33755ec08faefb1a40fd9f5f0844f82e48ae152791e80c76a","0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7",{"version":"f49fb15c4aa06b65b0dce4db4584bfd8a9f74644baef1511b404dc95be34af00","affectsGlobalScope":true},{"version":"d48009cbe8a30a504031cc82e1286f78fed33b7a42abf7602c23b5547b382563","affectsGlobalScope":true},"7aaeb5e62f90e1b2be0fc4844df78cdb1be15c22b427bc6c39d57308785b8f10","3ba30205a029ebc0c91d7b1ab4da73f6277d730ca1fc6692d5a9144c6772c76b","d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","458b216959c231df388a5de9dcbcafd4b4ca563bc3784d706d0455467d7d4942","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","8258e69a3b0de494ea55eeea7a4d3216ac112c12006c74dfd381c0d5e42a2607","cdaaf046791d7d588f28f32197c5d6acc43343e62540a67eed194c9c20535fdc","831c22d257717bf2cbb03afe9c4bcffc5ccb8a2074344d4238bf16d3a857bb12",{"version":"0466fc426b5d684b299855ed3898c30e6ce90cd742730ba5f619075507ea135a","affectsGlobalScope":true},{"version":"cbf046714f3a3ba2544957e1973ac94aa819fa8aa668846fa8de47eb1c41b0b2","affectsGlobalScope":true},"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","eae74e3d50820f37c72c0679fed959cd1e63c98f6a146a55b8c4361582fa6a52","7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df",{"version":"aed89e3c18f4c659ee8153a76560dffda23e2d801e1e60d7a67abd84bc555f8d","affectsGlobalScope":true},{"version":"290276bcec65d49eb152489c62845b28bed530258751c80d04d167b36b33be72","affectsGlobalScope":true},"e393915d3dc385e69c0e2390739c87b2d296a610662eb0b1cb85224e55992250","2f940651c2f30e6b29f8743fae3f40b7b1c03615184f837132b56ea75edad08b","5749c327c3f789f658072f8340786966c8b05ea124a56c1d8d60e04649495a4d",{"version":"c9d62b2a51b2ff166314d8be84f6881a7fcbccd37612442cf1c70d27d5352f50","affectsGlobalScope":true},"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"16dcbd7095be9ba030b671ef982dc760e03d40a0f54f27f2a6f1fa00f5670fe7","6adaa01cba6e7bae17d8291089e9e38bfc3fffcd522e2161214cbaccab4c1b2b","8b06ac3faeacb8484d84ddb44571d8f410697f98d7bfa86c0fda60373a9f5215","c79bd2f3e5c05e7ad80dc82ce8d339cac23ac1f5e6cfab96c860bb70d5162873","e3328cedfe4d7fac23ba75d00bf5169269800ab949d0837cd88c4211a52c3762","cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec",{"version":"c8950367d1812758e9e354c695c60c3e6311bf2cd98b9f9eb469a19df8a9a486","affectsGlobalScope":true},"dd89872dd0647dfd63665f3d525c06d114310a2f7a5a9277e5982a152b31be2b","96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","cc0700b1b97e18a3d5d9184470502d8762ec85158819d662730c3a8c5d702584","9871b7ee672bc16c78833bdab3052615834b08375cb144e4d2cba74473f4a589","c863198dae89420f3c552b5a03da6ed6d0acfa3807a64772b895db624b0de707","8b03a5e327d7db67112ebbc93b4f744133eda2c1743dbb0a990c61a8007823ef","86c73f2ee1752bac8eeeece234fd05dfcf0637a4fbd8032e4f5f43102faa8eec","42fad1f540271e35ca37cecda12c4ce2eef27f0f5cf0f8dd761d723c744d3159","ff3743a5de32bee10906aff63d1de726f6a7fd6ee2da4b8229054dfa69de2c34","83acd370f7f84f203e71ebba33ba61b7f1291ca027d7f9a662c6307d74e4ac22","1445cec898f90bdd18b2949b9590b3c012f5b7e1804e6e329fb0fe053946d5ec","0e5318ec2275d8da858b541920d9306650ae6ac8012f0e872fe66eb50321a669","cf530297c3fb3a92ec9591dd4fa229d58b5981e45fe6702a0bd2bea53a5e59be","c1f6f7d08d42148ddfe164d36d7aba91f467dbcb3caa715966ff95f55048b3a4","f4e9bf9103191ef3b3612d3ec0044ca4044ca5be27711fe648ada06fad4bcc85","0c1ee27b8f6a00097c2d6d91a21ee4d096ab52c1e28350f6362542b55380059a","7677d5b0db9e020d3017720f853ba18f415219fb3a9597343b1b1012cfd699f7","bc1c6bc119c1784b1a2be6d9c47addec0d83ef0d52c8fbe1f14a51b4dfffc675","52cf2ce99c2a23de70225e252e9822a22b4e0adb82643ab0b710858810e00bf1","770625067bb27a20b9826255a8d47b6b5b0a2d3dfcbd21f89904c731f671ba77","d1ed6765f4d7906a05968fb5cd6d1db8afa14dbe512a4884e8ea5c0f5e142c80","799c0f1b07c092626cf1efd71d459997635911bb5f7fc1196efe449bba87e965","2a184e4462b9914a30b1b5c41cf80c6d3428f17b20d3afb711fff3f0644001fd","9eabde32a3aa5d80de34af2c2206cdc3ee094c6504a8d0c2d6d20c7c179503cc","397c8051b6cfcb48aa22656f0faca2553c5f56187262135162ee79d2b2f6c966","a8ead142e0c87dcd5dc130eba1f8eeed506b08952d905c47621dc2f583b1bff9","a02f10ea5f73130efca046429254a4e3c06b5475baecc8f7b99a0014731be8b3","f77ff4cd234d3fd18ddd5aeadb6f94374511931976d41f4b9f594cb71f7ce6f3","4c9a0564bb317349de6a24eb4efea8bb79898fa72ad63a1809165f5bd42970dd","4f18b4e6081e5e980ef53ddf57b9c959d36cffe1eb153865f512a01aeffb5e1e","7f17d4846a88eca5fe71c4474ef687ee89c4acf9b5372ab9b2ee68644b7e0fe0","b444a410d34fb5e98aa5ee2b381362044f4884652e8bc8a11c8fe14bbd85518e","c35808c1f5e16d2c571aa65067e3cb95afeff843b259ecfa2fc107a9519b5392","14d5dc055143e941c8743c6a21fa459f961cbc3deedf1bfe47b11587ca4b3ef5","a3ad4e1fc542751005267d50a6298e6765928c0c3a8dce1572f2ba6ca518661c","f237e7c97a3a89f4591afd49ecb3bd8d14f51a1c4adc8fcae3430febedff5eb6","3ffdfbec93b7aed71082af62b8c3e0cc71261cc68d796665faa1e91604fbae8f","662201f943ed45b1ad600d03a90dffe20841e725203ced8b708c91fcd7f9379a","c9ef74c64ed051ea5b958621e7fb853fe3b56e8787c1587aefc6ea988b3c7e79","2462ccfac5f3375794b861abaa81da380f1bbd9401de59ffa43119a0b644253d","34baf65cfee92f110d6653322e2120c2d368ee64b3c7981dff08ed105c4f19b0","58e0cee50add50d4b6d47a935e26aeb0080d98c9cf729f8af389511cdfa10526","b0d10e46cfe3f6c476b69af02eaa38e4ccc7430221ce3109ae84bb9fb8282298","75fa6a9be075402ea969c1fcec4bb1421f72efbc3e2f340032684cdd3115197c","2eae2c50864a720fad05e116a0121a6ee6b6231266763c75d1f3503ddc22714a"],"options":{"composite":true,"declaration":true,"esModuleInterop":true,"module":1,"outDir":"./","strict":true,"target":4},"fileIdsList":[[72,124],[124],[124,138],[72,73,74,75,76,124],[72,74,124],[95,124,131],[124,133],[124,134],[124,140,143],[78,124],[81,124],[82,87,115,124],[83,94,95,102,112,123,124],[83,84,94,102,124],[85,124],[86,87,95,103,124],[87,112,120,124],[88,90,94,102,124],[89,124],[90,91,124],[94,124],[92,94,124],[94,95,96,112,123,124],[94,95,96,109,112,115,124],[124,128],[90,94,97,102,112,123,124],[94,95,97,98,102,112,120,123,124],[97,99,112,120,123,124],[78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130],[94,100,124],[101,123,124,128],[90,94,102,112,124],[103,124],[104,124],[81,105,124],[106,122,124,128],[107,124],[108,124],[94,109,110,124],[109,111,124,126],[82,94,112,113,114,115,124],[82,112,114,124],[112,113,124],[115,124],[116,124],[81,112,124],[94,118,119,124],[118,119,124],[87,102,112,120,124],[121,124],[102,122,124],[82,97,108,123,124],[87,124],[112,124,125],[101,124,126],[124,127],[82,87,94,96,105,112,123,124,126,128],[112,124,129],[124,147,186],[124,147,171,186],[124,186],[124,147],[124,147,172,186],[124,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185],[124,172,186],[124,188],[124,136,142],[124,140],[124,137,141],[124,139],[47,48,124],[48,60,70,124],[47,124],[50,124],[50,51,124],[47,48,50,51,57,60,61,70,124],[50,59,69,124],[47,48,50,58,59,69,124],[50,51,53,124],[50,51,62,124],[50,52,54,55,56,63,64,65,66,67,68,124],[47],[50],[50,59],[48,50],[50,51],[50,53],[50,51,62]],"referencedMap":[[74,1],[72,2],[136,2],[139,3],[138,2],[77,4],[73,1],[75,5],[76,1],[132,6],[133,2],[134,7],[135,8],[144,9],[145,2],[146,2],[78,10],[79,10],[81,11],[82,12],[83,13],[84,14],[85,15],[86,16],[87,17],[88,18],[89,19],[90,20],[91,20],[93,21],[92,22],[94,21],[95,23],[96,24],[80,25],[130,2],[97,26],[98,27],[99,28],[131,29],[100,30],[101,31],[102,32],[103,33],[104,34],[105,35],[106,36],[107,37],[108,38],[109,39],[110,39],[111,40],[112,41],[114,42],[113,43],[115,44],[116,45],[117,46],[118,47],[119,48],[120,49],[121,50],[122,51],[123,52],[124,53],[125,54],[126,55],[127,56],[128,57],[129,58],[171,59],[172,60],[147,61],[150,61],[169,59],[170,59],[160,59],[159,62],[157,59],[152,59],[165,59],[163,59],[167,59],[151,59],[164,59],[168,59],[153,59],[154,59],[166,59],[148,59],[155,59],[156,59],[158,59],[162,59],[173,63],[161,59],[149,59],[186,64],[185,2],[180,63],[182,65],[181,63],[174,63],[175,63],[177,63],[179,63],[183,65],[184,65],[176,65],[178,65],[187,2],[188,2],[189,66],[137,2],[143,67],[141,68],[142,69],[140,70],[8,2],[9,2],[13,2],[12,2],[2,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[3,2],[4,2],[46,2],[25,2],[22,2],[23,2],[24,2],[26,2],[27,2],[28,2],[5,2],[29,2],[30,2],[31,2],[32,2],[6,2],[36,2],[33,2],[34,2],[35,2],[37,2],[7,2],[38,2],[43,2],[44,2],[39,2],[40,2],[41,2],[42,2],[1,2],[45,2],[11,2],[10,2],[49,71],[71,72],[50,73],[57,74],[61,75],[62,76],[70,77],[48,73],[60,78],[58,74],[52,75],[54,79],[55,75],[56,75],[63,80],[64,75],[65,75],[66,75],[67,75],[68,75],[69,81],[53,74],[51,74],[47,2],[59,74]],"exportedModulesMap":[[74,1],[72,2],[136,2],[139,3],[138,2],[77,4],[73,1],[75,5],[76,1],[132,6],[133,2],[134,7],[135,8],[144,9],[145,2],[146,2],[78,10],[79,10],[81,11],[82,12],[83,13],[84,14],[85,15],[86,16],[87,17],[88,18],[89,19],[90,20],[91,20],[93,21],[92,22],[94,21],[95,23],[96,24],[80,25],[130,2],[97,26],[98,27],[99,28],[131,29],[100,30],[101,31],[102,32],[103,33],[104,34],[105,35],[106,36],[107,37],[108,38],[109,39],[110,39],[111,40],[112,41],[114,42],[113,43],[115,44],[116,45],[117,46],[118,47],[119,48],[120,49],[121,50],[122,51],[123,52],[124,53],[125,54],[126,55],[127,56],[128,57],[129,58],[171,59],[172,60],[147,61],[150,61],[169,59],[170,59],[160,59],[159,62],[157,59],[152,59],[165,59],[163,59],[167,59],[151,59],[164,59],[168,59],[153,59],[154,59],[166,59],[148,59],[155,59],[156,59],[158,59],[162,59],[173,63],[161,59],[149,59],[186,64],[185,2],[180,63],[182,65],[181,63],[174,63],[175,63],[177,63],[179,63],[183,65],[184,65],[176,65],[178,65],[187,2],[188,2],[189,66],[137,2],[143,67],[141,68],[142,69],[140,70],[8,2],[9,2],[13,2],[12,2],[2,2],[14,2],[15,2],[16,2],[17,2],[18,2],[19,2],[20,2],[21,2],[3,2],[4,2],[46,2],[25,2],[22,2],[23,2],[24,2],[26,2],[27,2],[28,2],[5,2],[29,2],[30,2],[31,2],[32,2],[6,2],[36,2],[33,2],[34,2],[35,2],[37,2],[7,2],[38,2],[43,2],[44,2],[39,2],[40,2],[41,2],[42,2],[1,2],[45,2],[11,2],[10,2],[50,82],[57,83],[61,83],[62,76],[70,84],[48,82],[60,85],[58,83],[52,86],[54,87],[55,86],[56,86],[63,88],[64,86],[65,86],[66,86],[67,86],[68,86],[69,83],[53,83],[51,83],[59,83]],"semanticDiagnosticsPerFile":[74,72,136,139,138,77,73,75,76,132,133,134,135,144,145,146,78,79,81,82,83,84,85,86,87,88,89,90,91,93,92,94,95,96,80,130,97,98,99,131,100,101,102,103,104,105,106,107,108,109,110,111,112,114,113,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,171,172,147,150,169,170,160,159,157,152,165,163,167,151,164,168,153,154,166,148,155,156,158,162,173,161,149,186,185,180,182,181,174,175,177,179,183,184,176,178,187,188,189,137,143,141,142,140,8,9,13,12,2,14,15,16,17,18,19,20,21,3,4,46,25,22,23,24,26,27,28,5,29,30,31,32,6,36,33,34,35,37,7,38,43,44,39,40,41,42,1,45,11,10,49,71,50,57,61,62,70,48,60,58,52,54,55,56,63,64,65,66,67,68,69,53,51,47,59],"latestChangedDtsFile":"./spec/parser.spec.d.ts"},"version":"4.9.5"}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@sdkgen/parser",
3
- "version": "2.1.0",
3
+ "version": "2.3.1",
4
4
  "description": "",
5
5
  "main": "dist/src/index.js",
6
6
  "scripts": {
7
7
  "test": "jest --passWithNoTests",
8
- "eslint:fix": "eslint --fix '**/*.ts'",
9
- "eslint:check": "eslint '**/*.ts'",
8
+ "eslint:fix": "eslint --fix '{src,spec}/**/*.ts'",
9
+ "eslint:check": "eslint '{src,spec}/**/*.ts'",
10
10
  "build": "tsc"
11
11
  },
12
12
  "repository": {
@@ -23,16 +23,19 @@
23
23
  },
24
24
  "homepage": "https://github.com/sdkgen/sdkgen#readme",
25
25
  "devDependencies": {
26
- "@cubos/eslint-config": "^1.0.536820",
27
- "@types/jest": "^27.0.1",
28
- "jest": "^28.0.0",
29
- "ts-jest": "^28.0.0",
26
+ "@cubos/eslint-config": "^2.2.0",
27
+ "@types/jest": "^29.0.0",
28
+ "jest": "^29.0.0",
29
+ "ts-jest": "^29.0.0",
30
30
  "typescript": "^4.3.5"
31
31
  },
32
32
  "jest": {
33
33
  "transform": {
34
34
  "^.+\\.tsx?$": "ts-jest"
35
35
  },
36
+ "transformIgnorePatterns": [
37
+ "<rootDir>/node_modules/(?!@sdkgen)"
38
+ ],
36
39
  "testRegex": "spec/.*\\.spec\\.ts$",
37
40
  "moduleFileExtensions": [
38
41
  "ts",