jsii 6.0.22-dev.1 → 7.1.0-dev.2

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 (107) hide show
  1. package/lib/assembler.d.ts +254 -196
  2. package/lib/assembler.js +2105 -2327
  3. package/lib/assembler.js.map +1 -1
  4. package/lib/case.js.map +1 -1
  5. package/lib/common/find-utils.js.map +1 -1
  6. package/lib/common/index.d.ts +1 -1
  7. package/lib/common/index.js +2 -1
  8. package/lib/common/index.js.map +1 -1
  9. package/lib/common/symbol-id.d.ts +23 -4
  10. package/lib/common/symbol-id.js +13 -9
  11. package/lib/common/symbol-id.js.map +1 -1
  12. package/lib/compiler-host.d.ts +60 -0
  13. package/lib/compiler-host.js +201 -0
  14. package/lib/compiler-host.js.map +1 -0
  15. package/lib/compiler.d.ts +74 -62
  16. package/lib/compiler.js +332 -254
  17. package/lib/compiler.js.map +1 -1
  18. package/lib/diagnostic.d.ts +34 -0
  19. package/lib/diagnostic.js +141 -0
  20. package/lib/diagnostic.js.map +1 -0
  21. package/lib/emitter.d.ts +40 -10
  22. package/lib/emitter.js +188 -0
  23. package/lib/emitter.js.map +1 -1
  24. package/lib/helpers.d.ts +1 -1
  25. package/lib/helpers.js +2 -2
  26. package/lib/helpers.js.map +1 -1
  27. package/lib/index.js.map +1 -1
  28. package/lib/jsii-diagnostic.d.ts +27 -22
  29. package/lib/jsii-diagnostic.js +22 -38
  30. package/lib/jsii-diagnostic.js.map +1 -1
  31. package/lib/literate.js.map +1 -1
  32. package/lib/main.js +3 -2
  33. package/lib/main.js.map +1 -1
  34. package/lib/project-info.d.ts +23 -4
  35. package/lib/project-info.js +5 -5
  36. package/lib/project-info.js.map +1 -1
  37. package/lib/support-types.d.ts +2 -0
  38. package/lib/support-types.js +3 -0
  39. package/lib/support-types.js.map +1 -0
  40. package/lib/support.js.map +1 -1
  41. package/lib/tsconfig/compiler-options.d.ts +12 -46
  42. package/lib/tsconfig/compiler-options.js +45 -87
  43. package/lib/tsconfig/compiler-options.js.map +1 -1
  44. package/lib/tsconfig/index.d.ts +24 -5
  45. package/lib/tsconfig/index.js.map +1 -1
  46. package/lib/tsconfig/read.d.ts +15 -0
  47. package/lib/tsconfig/read.js +196 -0
  48. package/lib/tsconfig/read.js.map +1 -0
  49. package/lib/tsconfig/rule-set-format.js.map +1 -1
  50. package/lib/tsconfig/rulesets/configurable-options.js.map +1 -1
  51. package/lib/tsconfig/rulesets/deprecated-options.js.map +1 -1
  52. package/lib/tsconfig/rulesets/generated.public.js.map +1 -1
  53. package/lib/tsconfig/rulesets/incompatible-options.js.map +1 -1
  54. package/lib/tsconfig/rulesets/jsii-configured-options.js.map +1 -1
  55. package/lib/tsconfig/rulesets/minimal.public.js.map +1 -1
  56. package/lib/tsconfig/rulesets/strict-family-options.js.map +1 -1
  57. package/lib/tsconfig/rulesets/strict.public.js.map +1 -1
  58. package/lib/tsconfig/tsconfig-validator.js +2 -50
  59. package/lib/tsconfig/tsconfig-validator.js.map +1 -1
  60. package/lib/tsconfig/validator.js.map +1 -1
  61. package/lib/type-analysis.js.map +1 -1
  62. package/lib/type-reference.js.map +1 -1
  63. package/lib/type-visitor.js.map +1 -1
  64. package/lib/utils.d.ts +6 -6
  65. package/lib/utils.js +8 -13
  66. package/lib/utils.js.map +1 -1
  67. package/lib/version.d.ts +3 -3
  68. package/lib/version.js +4 -4
  69. package/lib/version.js.map +1 -1
  70. package/lib/warnings.d.ts +2 -2
  71. package/lib/warnings.js +3 -77
  72. package/lib/warnings.js.map +1 -1
  73. package/package.json +15 -11
  74. package/scripts/ts7-compare-jsii.mjs +101 -0
  75. package/lib/directives.d.ts +0 -24
  76. package/lib/directives.js +0 -139
  77. package/lib/directives.js.map +0 -1
  78. package/lib/docs.d.ts +0 -64
  79. package/lib/docs.js +0 -293
  80. package/lib/docs.js.map +0 -1
  81. package/lib/node-bindings.d.ts +0 -19
  82. package/lib/node-bindings.js +0 -49
  83. package/lib/node-bindings.js.map +0 -1
  84. package/lib/reserved-words.d.ts +0 -6
  85. package/lib/reserved-words.js +0 -258
  86. package/lib/reserved-words.js.map +0 -1
  87. package/lib/sets.d.ts +0 -16
  88. package/lib/sets.js +0 -41
  89. package/lib/sets.js.map +0 -1
  90. package/lib/transforms/deprecated-remover.d.ts +0 -44
  91. package/lib/transforms/deprecated-remover.js +0 -545
  92. package/lib/transforms/deprecated-remover.js.map +0 -1
  93. package/lib/transforms/deprecation-warnings.d.ts +0 -37
  94. package/lib/transforms/deprecation-warnings.js +0 -616
  95. package/lib/transforms/deprecation-warnings.js.map +0 -1
  96. package/lib/transforms/runtime-info.d.ts +0 -39
  97. package/lib/transforms/runtime-info.js +0 -128
  98. package/lib/transforms/runtime-info.js.map +0 -1
  99. package/lib/transforms/utils.d.ts +0 -11
  100. package/lib/transforms/utils.js +0 -31
  101. package/lib/transforms/utils.js.map +0 -1
  102. package/lib/type-tracker.d.ts +0 -13
  103. package/lib/type-tracker.js +0 -67
  104. package/lib/type-tracker.js.map +0 -1
  105. package/lib/validator.d.ts +0 -19
  106. package/lib/validator.js +0 -602
  107. package/lib/validator.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"reserved-words.js","sourceRoot":"","sources":["../src/reserved-words.ts"],"names":[],"mappings":";;;AAAA,wCAgBC;AAhBD,SAAgB,cAAc,CAAC,IAAY;IACzC,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAU,CAAC;IACrC,IAAI,uBAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;QAC9B,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACtB,CAAC;IACD,IAAI,qBAAa,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;QAC5B,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACxB,CAAC;IACD,IAAI,uBAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;QAC9B,QAAQ,CAAC,IAAI,CAAC,QAAQ,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IACJ,QAAQ;IACR,WAAW;IACX,KAAK;IACL,SAAS;IACT,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,MAAM;IACN,KAAK;IACL,YAAY;IACZ,MAAM;IACN,OAAO;IACP,MAAM;IACN,KAAK;IACL,QAAQ;IACR,KAAK;IACL,MAAM;IACN,OAAO;IACP,OAAO;IACP,OAAO;IACP,MAAM;IACN,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,SAAS;IACT,SAAS;IACT,SAAS;IACT,YAAY;IACZ,WAAW;IACX,MAAM;IACN,MAAM;IACN,MAAM;IACN,QAAQ;IACR,OAAO;IACP,YAAY;IACZ,MAAM;IACN,KAAK;IACL,KAAK;IACL,KAAK;IACL,QAAQ;IACR,MAAM;IACN,OAAO;IACP,QAAQ;IACR,SAAS;IACT,MAAM;IACN,MAAM;IACN,OAAO;IACP,SAAS;CACV,CAAC,CAAC","sourcesContent":["export function isReservedName(name: string): string[] | undefined {\n const reserved = new Array<string>();\n if (CSHARP_RESERVED.has(name)) {\n reserved.push('C#');\n }\n if (JAVA_RESERVED.has(name)) {\n reserved.push('Java');\n }\n if (PYTHON_RESERVED.has(name)) {\n reserved.push('Python');\n }\n\n if (GO_RESERVED.has(name)) {\n reserved.push('Go');\n }\n return reserved.length > 0 ? reserved : undefined;\n}\n\nexport const CSHARP_RESERVED = new Set([\n 'abstract',\n 'as',\n 'base',\n 'bool',\n 'break',\n 'byte',\n 'case',\n 'catch',\n 'char',\n 'checked',\n 'class',\n 'const',\n 'continue',\n 'decimal',\n 'default',\n 'delegate',\n 'do',\n 'double',\n 'else',\n 'enum',\n 'event',\n 'explicit',\n 'extern',\n 'false',\n 'finally',\n 'fixed',\n 'float',\n 'for',\n 'foreach',\n 'goto',\n 'if',\n 'implicit',\n 'in',\n 'int',\n 'interface',\n 'internal',\n 'is',\n 'lock',\n 'long',\n 'namespace',\n 'new',\n 'null',\n 'object',\n 'operator',\n 'out',\n 'override',\n 'params',\n 'private',\n 'protected',\n 'public',\n 'readonly',\n 'ref',\n 'return',\n 'sbyte',\n 'sealed',\n 'short',\n 'sizeof',\n 'stackalloc',\n 'static',\n 'string',\n 'struct',\n 'switch',\n 'this',\n 'throw',\n 'true',\n 'try',\n 'typeof',\n 'uint',\n 'ulong',\n 'unchecked',\n 'unsafe',\n 'ushort',\n 'using',\n 'virtual',\n 'void',\n 'volatile',\n 'while',\n]);\n\nexport const JAVA_RESERVED = new Set([\n 'abstract',\n 'continue',\n 'for',\n 'new',\n 'switch',\n 'assert',\n 'default',\n 'goto',\n 'package',\n 'synchronized',\n 'boolean',\n 'do',\n 'if',\n 'private',\n 'this',\n 'break',\n 'double',\n 'implements',\n 'protected',\n 'throw',\n 'byte',\n 'else',\n 'import',\n 'public',\n 'throws',\n 'case',\n 'enum',\n 'instanceof',\n 'return',\n 'transient',\n 'catch',\n 'extends',\n 'int',\n 'short',\n 'try',\n 'char',\n 'final',\n 'interface',\n 'static',\n 'void',\n 'class',\n 'finally',\n 'long',\n 'strictfp',\n 'volatile',\n 'const',\n 'float',\n 'native',\n 'super',\n 'while',\n 'true',\n 'false',\n 'null',\n]);\n\nexport const PYTHON_RESERVED = new Set([\n 'False',\n 'class',\n 'finally',\n 'is',\n 'return',\n 'None',\n 'continue',\n 'for',\n 'lambda',\n 'try',\n 'True',\n 'def',\n 'from',\n 'nonlocal',\n 'while',\n 'and',\n 'del',\n 'global',\n 'not',\n 'with',\n 'as',\n 'elif',\n 'if',\n 'or',\n 'yield',\n 'assert',\n 'else',\n 'import',\n 'pass',\n 'break',\n 'except',\n 'in',\n 'raise',\n 'self',\n]);\n\nexport const GO_RESERVED = new Set([\n 'break',\n 'case',\n 'chan',\n 'const',\n 'continue',\n 'default',\n 'defer',\n 'else',\n 'fallthrough',\n 'for',\n 'func',\n 'go',\n 'goto',\n 'if',\n 'import',\n 'interface',\n 'map',\n 'package',\n 'range',\n 'return',\n 'select',\n 'struct',\n 'switch',\n 'type',\n 'var',\n // constants\n 'true',\n 'false',\n 'iota',\n 'nil',\n // types\n 'int',\n 'int8',\n 'int16',\n 'int32',\n 'int64',\n 'uint',\n 'uint8',\n 'uint16',\n 'uint32',\n 'uint64',\n 'uintptr',\n 'float32',\n 'float64',\n 'complex128',\n 'complex64',\n 'bool',\n 'rune',\n 'byte',\n 'string',\n 'error',\n // functions\n 'make',\n 'len',\n 'cap',\n 'new',\n 'append',\n 'copy',\n 'close',\n 'delete',\n 'complex',\n 'real',\n 'imag',\n 'panic',\n 'recover',\n]);\n"]}
package/lib/sets.d.ts DELETED
@@ -1,16 +0,0 @@
1
- export declare abstract class Sets {
2
- /**
3
- * Return the intersection of N sets
4
- */
5
- static intersection<T>(...xss: Array<Set<T>>): Set<T>;
6
- /**
7
- * Return the union of N sets
8
- */
9
- static union<T>(...xss: Array<Set<T>>): Set<T>;
10
- /**
11
- * Return the diff of 2 sets
12
- */
13
- static diff<T>(xs: Set<T>, ys: Set<T>): Set<T>;
14
- static intersect<T>(xs: Set<T>, ys: Set<T>): Generator<T, void, unknown>;
15
- }
16
- //# sourceMappingURL=sets.d.ts.map
package/lib/sets.js DELETED
@@ -1,41 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Sets = void 0;
4
- class Sets {
5
- /**
6
- * Return the intersection of N sets
7
- */
8
- static intersection(...xss) {
9
- if (xss.length === 0) {
10
- return new Set();
11
- }
12
- const ret = new Set(xss[0]);
13
- for (const x of xss[0]) {
14
- if (!xss.every((xs) => xs.has(x))) {
15
- ret.delete(x);
16
- }
17
- }
18
- return ret;
19
- }
20
- /**
21
- * Return the union of N sets
22
- */
23
- static union(...xss) {
24
- return new Set(xss.flatMap((xs) => Array.from(xs)));
25
- }
26
- /**
27
- * Return the diff of 2 sets
28
- */
29
- static diff(xs, ys) {
30
- return new Set(Array.from(xs).filter((x) => !ys.has(x)));
31
- }
32
- static *intersect(xs, ys) {
33
- for (const x of xs) {
34
- if (ys.has(x)) {
35
- yield x;
36
- }
37
- }
38
- }
39
- }
40
- exports.Sets = Sets;
41
- //# sourceMappingURL=sets.js.map
package/lib/sets.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"sets.js","sourceRoot":"","sources":["../src/sets.ts"],"names":[],"mappings":";;;AAAA,MAAsB,IAAI;IACxB;;OAEG;IACI,MAAM,CAAC,YAAY,CAAI,GAAG,GAAkB;QACjD,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACrB,OAAO,IAAI,GAAG,EAAE,CAAC;QACnB,CAAC;QACD,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;QAC5B,KAAK,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;YACvB,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;gBAClC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;YAChB,CAAC;QACH,CAAC;QACD,OAAO,GAAG,CAAC;IACb,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,KAAK,CAAI,GAAG,GAAkB;QAC1C,OAAO,IAAI,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IACtD,CAAC;IAED;;OAEG;IACI,MAAM,CAAC,IAAI,CAAI,EAAU,EAAE,EAAU;QAC1C,OAAO,IAAI,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3D,CAAC;IAEM,MAAM,CAAC,CAAC,SAAS,CAAI,EAAU,EAAE,EAAU;QAChD,KAAK,MAAM,CAAC,IAAI,EAAE,EAAE,CAAC;YACnB,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC;gBACd,MAAM,CAAC,CAAC;YACV,CAAC;QACH,CAAC;IACH,CAAC;CACF;AAtCD,oBAsCC","sourcesContent":["export abstract class Sets {\n /**\n * Return the intersection of N sets\n */\n public static intersection<T>(...xss: Array<Set<T>>): Set<T> {\n if (xss.length === 0) {\n return new Set();\n }\n const ret = new Set(xss[0]);\n for (const x of xss[0]) {\n if (!xss.every((xs) => xs.has(x))) {\n ret.delete(x);\n }\n }\n return ret;\n }\n\n /**\n * Return the union of N sets\n */\n public static union<T>(...xss: Array<Set<T>>): Set<T> {\n return new Set(xss.flatMap((xs) => Array.from(xs)));\n }\n\n /**\n * Return the diff of 2 sets\n */\n public static diff<T>(xs: Set<T>, ys: Set<T>) {\n return new Set(Array.from(xs).filter((x) => !ys.has(x)));\n }\n\n public static *intersect<T>(xs: Set<T>, ys: Set<T>) {\n for (const x of xs) {\n if (ys.has(x)) {\n yield x;\n }\n }\n }\n}\n"]}
@@ -1,44 +0,0 @@
1
- import { Assembly } from '@jsii/spec';
2
- import * as ts from 'typescript';
3
- import { JsiiDiagnostic } from '../jsii-diagnostic';
4
- export declare class DeprecatedRemover {
5
- private readonly typeChecker;
6
- private readonly allowlistedDeprecations;
7
- private readonly transformations;
8
- private readonly nodesToRemove;
9
- constructor(typeChecker: ts.TypeChecker, allowlistedDeprecations: Set<string> | undefined);
10
- /**
11
- * Obtains the configuration for the TypeScript transform(s) that will remove
12
- * `@deprecated` members from the generated declarations (`.d.ts`) files. It
13
- * will leverage information accumulated during `#removeFrom(Assembly)` in
14
- * order to apply corrections to inheritance chains, ensuring a valid output
15
- * is produced.
16
- */
17
- get customTransformers(): ts.CustomTransformers;
18
- /**
19
- * Removes all `@deprecated` API elements from the provided assembly, and
20
- * records the operations needed in order to fix the inheritance chains that
21
- * mix `@deprecated` and non-`@deprecated` types.
22
- *
23
- * @param assembly the assembly to be modified.
24
- *
25
- * @returns diagnostic messages produced when validating no remaining API
26
- * makes use of a `@deprecated` type that was removed.
27
- */
28
- removeFrom(assembly: Assembly): readonly JsiiDiagnostic[];
29
- private findLeftoverUseOfDeprecatedAPIs;
30
- private verifyCallable;
31
- private verifyProperty;
32
- /**
33
- * Determines whether a `TypeReference` contains an FQN within a given set.
34
- *
35
- * @param ref the tested `TypeReference`.
36
- * @param fqns the set of FQNs that are being searched for.
37
- *
38
- * @returns the first FQN that was identified.
39
- */
40
- private tryFindReference;
41
- private shouldFqnBeStripped;
42
- private makeDiagnostic;
43
- }
44
- //# sourceMappingURL=deprecated-remover.d.ts.map