@angular/compiler-cli 13.1.0-next.3 → 13.1.3

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 (96) hide show
  1. package/bundles/{chunk-UMUIU7TE.js → chunk-7UHLQOIO.js} +4 -4
  2. package/bundles/{chunk-UMUIU7TE.js.map → chunk-7UHLQOIO.js.map} +0 -0
  3. package/bundles/{chunk-QDWL7SZJ.js → chunk-BPCUCINV.js} +2 -2
  4. package/bundles/{chunk-QDWL7SZJ.js.map → chunk-BPCUCINV.js.map} +0 -0
  5. package/bundles/{chunk-COAETSNP.js → chunk-CKZCKW5B.js} +785 -1129
  6. package/bundles/chunk-CKZCKW5B.js.map +6 -0
  7. package/bundles/{chunk-GLCRIILX.js → chunk-J6CW3T62.js} +5 -5
  8. package/bundles/{chunk-GLCRIILX.js.map → chunk-J6CW3T62.js.map} +0 -0
  9. package/bundles/{chunk-SKBLJA43.js → chunk-JTYUTYS2.js} +3 -3
  10. package/bundles/{chunk-SKBLJA43.js.map → chunk-JTYUTYS2.js.map} +0 -0
  11. package/bundles/{chunk-UIKTHF6Z.js → chunk-K5FPDA5B.js} +61 -63
  12. package/bundles/chunk-K5FPDA5B.js.map +6 -0
  13. package/bundles/{chunk-MFCLQBFK.js → chunk-KU4D2JVX.js} +39 -41
  14. package/bundles/chunk-KU4D2JVX.js.map +6 -0
  15. package/bundles/{chunk-7HVF6UHR.js → chunk-KXVQ4SSM.js} +24 -22
  16. package/bundles/chunk-KXVQ4SSM.js.map +6 -0
  17. package/bundles/{chunk-IESRH26X.js → chunk-L23I4NJT.js} +744 -434
  18. package/bundles/chunk-L23I4NJT.js.map +6 -0
  19. package/bundles/{chunk-QL6ZC3U3.js → chunk-RDTZZXLZ.js} +12 -12
  20. package/bundles/{chunk-QL6ZC3U3.js.map → chunk-RDTZZXLZ.js.map} +1 -1
  21. package/bundles/{chunk-EP5JHXG2.js → chunk-RGGJJ7ZZ.js} +39 -60
  22. package/bundles/chunk-RGGJJ7ZZ.js.map +6 -0
  23. package/bundles/{chunk-JJMLEEKA.js → chunk-RNVIUKDY.js} +9 -9
  24. package/bundles/chunk-RNVIUKDY.js.map +6 -0
  25. package/bundles/{chunk-HDZS2JG2.js → chunk-VUEDWBJP.js} +270 -100
  26. package/bundles/chunk-VUEDWBJP.js.map +6 -0
  27. package/bundles/{chunk-XA5IZLLC.js → chunk-WQ3TNYTD.js} +6 -6
  28. package/bundles/{chunk-XA5IZLLC.js.map → chunk-WQ3TNYTD.js.map} +0 -0
  29. package/bundles/{chunk-4EDYFHXN.js → chunk-XXMNTCYN.js} +9 -9
  30. package/bundles/chunk-XXMNTCYN.js.map +6 -0
  31. package/bundles/{chunk-7HBAJSZA.js → chunk-ZLL7BXGD.js} +228 -190
  32. package/bundles/chunk-ZLL7BXGD.js.map +6 -0
  33. package/bundles/index.js +16 -30
  34. package/bundles/index.js.map +2 -2
  35. package/bundles/linker/babel/index.js +85 -85
  36. package/bundles/linker/babel/index.js.map +1 -1
  37. package/bundles/linker/index.js +5 -5
  38. package/bundles/ngcc/index.js +13 -13
  39. package/bundles/ngcc/main-ngcc.js +14 -14
  40. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -14
  41. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +5 -5
  42. package/bundles/private/bazel.js +2 -2
  43. package/bundles/private/localize.js +4 -4
  44. package/bundles/private/migrations.js +6 -6
  45. package/bundles/private/tooling.js +3 -3
  46. package/bundles/src/bin/ng_xi18n.js +11 -11
  47. package/bundles/src/bin/ngc.js +11 -11
  48. package/bundles/src/bin/ngc.js.map +1 -1
  49. package/bundles_metadata.json +1 -1
  50. package/index.d.ts +2 -2
  51. package/ngcc/src/packages/adjust_cjs_umd_exports.d.ts +17 -0
  52. package/ngcc/src/packages/build_marker.d.ts +1 -1
  53. package/ngcc/src/packages/source_file_cache.d.ts +2 -1
  54. package/package.json +2 -2
  55. package/src/main.d.ts +3 -3
  56. package/src/ngtsc/annotations/src/util.d.ts +1 -1
  57. package/src/ngtsc/core/api/src/options.d.ts +3 -2
  58. package/src/ngtsc/core/api/src/public_options.d.ts +38 -0
  59. package/src/ngtsc/core/src/host.d.ts +1 -1
  60. package/src/ngtsc/diagnostics/index.d.ts +2 -1
  61. package/src/ngtsc/diagnostics/src/error.d.ts +1 -0
  62. package/src/ngtsc/diagnostics/src/error_code.d.ts +7 -0
  63. package/src/ngtsc/diagnostics/src/error_details_base_url.d.ts +1 -1
  64. package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +21 -0
  65. package/src/ngtsc/file_system/src/compiler_host.d.ts +1 -0
  66. package/src/ngtsc/imports/index.d.ts +1 -1
  67. package/src/ngtsc/imports/src/emitter.d.ts +40 -8
  68. package/src/ngtsc/program.d.ts +3 -6
  69. package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +1 -1
  70. package/src/ngtsc/translator/src/translator.d.ts +0 -5
  71. package/src/ngtsc/translator/src/type_translator.d.ts +0 -2
  72. package/src/ngtsc/typecheck/extended/api/api.d.ts +30 -10
  73. package/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.d.ts +3 -14
  74. package/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.d.ts +3 -15
  75. package/src/ngtsc/typecheck/extended/index.d.ts +3 -0
  76. package/src/ngtsc/typecheck/extended/src/extended_template_checker.d.ts +5 -4
  77. package/src/ngtsc/typecheck/src/environment.d.ts +3 -1
  78. package/src/ngtsc/typecheck/src/tcb_util.d.ts +10 -2
  79. package/src/ngtsc/typecheck/src/type_constructor.d.ts +3 -2
  80. package/src/ngtsc/typecheck/src/type_emitter.d.ts +7 -21
  81. package/src/ngtsc/typecheck/src/type_parameter_emitter.d.ts +2 -2
  82. package/src/ngtsc/util/src/typescript.d.ts +0 -5
  83. package/src/perform_compile.d.ts +5 -10
  84. package/src/perform_watch.d.ts +4 -4
  85. package/src/transformers/api.d.ts +3 -30
  86. package/src/transformers/util.d.ts +4 -6
  87. package/bundles/chunk-4EDYFHXN.js.map +0 -6
  88. package/bundles/chunk-7HBAJSZA.js.map +0 -6
  89. package/bundles/chunk-7HVF6UHR.js.map +0 -6
  90. package/bundles/chunk-COAETSNP.js.map +0 -6
  91. package/bundles/chunk-EP5JHXG2.js.map +0 -6
  92. package/bundles/chunk-HDZS2JG2.js.map +0 -6
  93. package/bundles/chunk-IESRH26X.js.map +0 -6
  94. package/bundles/chunk-JJMLEEKA.js.map +0 -6
  95. package/bundles/chunk-MFCLQBFK.js.map +0 -6
  96. package/bundles/chunk-UIKTHF6Z.js.map +0 -6
@@ -8,17 +8,17 @@ import {
8
8
  PartialEvaluator,
9
9
  StaticInterpreter,
10
10
  forwardRefResolver
11
- } from "../chunk-IESRH26X.js";
11
+ } from "../chunk-L23I4NJT.js";
12
12
  import {
13
13
  TypeScriptReflectionHost,
14
14
  reflectObjectLiteral
15
- } from "../chunk-4EDYFHXN.js";
15
+ } from "../chunk-XXMNTCYN.js";
16
16
  import {
17
17
  Reference
18
- } from "../chunk-HDZS2JG2.js";
19
- import "../chunk-EP5JHXG2.js";
20
- import "../chunk-GLCRIILX.js";
21
- import "../chunk-XA5IZLLC.js";
18
+ } from "../chunk-VUEDWBJP.js";
19
+ import "../chunk-RGGJJ7ZZ.js";
20
+ import "../chunk-J6CW3T62.js";
21
+ import "../chunk-WQ3TNYTD.js";
22
22
  export {
23
23
  DynamicValue,
24
24
  PartialEvaluator,
@@ -7,9 +7,9 @@ import {
7
7
  GLOBAL_DEFS_FOR_TERSER,
8
8
  GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
9
9
  constructorParametersDownlevelTransform
10
- } from "../chunk-JJMLEEKA.js";
11
- import "../chunk-4EDYFHXN.js";
12
- import "../chunk-XA5IZLLC.js";
10
+ } from "../chunk-RNVIUKDY.js";
11
+ import "../chunk-XXMNTCYN.js";
12
+ import "../chunk-WQ3TNYTD.js";
13
13
  export {
14
14
  GLOBAL_DEFS_FOR_TERSER,
15
15
  GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
@@ -7,27 +7,27 @@
7
7
  import {
8
8
  main,
9
9
  readCommandLineAndConfiguration
10
- } from "../../chunk-7HVF6UHR.js";
10
+ } from "../../chunk-KXVQ4SSM.js";
11
11
  import {
12
12
  EmitFlags
13
- } from "../../chunk-COAETSNP.js";
14
- import "../../chunk-IESRH26X.js";
15
- import "../../chunk-4EDYFHXN.js";
16
- import "../../chunk-HDZS2JG2.js";
13
+ } from "../../chunk-CKZCKW5B.js";
14
+ import "../../chunk-L23I4NJT.js";
15
+ import "../../chunk-XXMNTCYN.js";
16
+ import "../../chunk-VUEDWBJP.js";
17
17
  import {
18
18
  NodeJSFileSystem,
19
19
  setFileSystem
20
- } from "../../chunk-EP5JHXG2.js";
21
- import "../../chunk-GLCRIILX.js";
20
+ } from "../../chunk-RGGJJ7ZZ.js";
21
+ import "../../chunk-J6CW3T62.js";
22
22
  import {
23
23
  __spreadProps,
24
24
  __spreadValues
25
- } from "../../chunk-XA5IZLLC.js";
25
+ } from "../../chunk-WQ3TNYTD.js";
26
26
 
27
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs
27
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs
28
28
  import "reflect-metadata";
29
29
 
30
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/extract_i18n.mjs
30
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/extract_i18n.mjs
31
31
  import yargs from "yargs";
32
32
  function mainXi18n(args2, consoleError = console.error) {
33
33
  const config = readXi18nCommandLineAndConfiguration(args2);
@@ -50,7 +50,7 @@ function readXi18nCommandLineAndConfiguration(args2) {
50
50
  return __spreadProps(__spreadValues({}, config), { emitFlags: EmitFlags.I18nBundle });
51
51
  }
52
52
 
53
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs
53
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/bin/ng_xi18n.mjs
54
54
  process.title = "Angular i18n Message Extractor (ng-xi18n)";
55
55
  var args = process.argv.slice(2);
56
56
  setFileSystem(new NodeJSFileSystem());
@@ -6,22 +6,22 @@
6
6
 
7
7
  import {
8
8
  main
9
- } from "../../chunk-7HVF6UHR.js";
10
- import "../../chunk-COAETSNP.js";
11
- import "../../chunk-IESRH26X.js";
12
- import "../../chunk-4EDYFHXN.js";
13
- import "../../chunk-HDZS2JG2.js";
9
+ } from "../../chunk-KXVQ4SSM.js";
10
+ import "../../chunk-CKZCKW5B.js";
11
+ import "../../chunk-L23I4NJT.js";
12
+ import "../../chunk-XXMNTCYN.js";
13
+ import "../../chunk-VUEDWBJP.js";
14
14
  import {
15
15
  NodeJSFileSystem,
16
16
  setFileSystem
17
- } from "../../chunk-EP5JHXG2.js";
18
- import "../../chunk-GLCRIILX.js";
17
+ } from "../../chunk-RGGJJ7ZZ.js";
18
+ import "../../chunk-J6CW3T62.js";
19
19
  import {
20
20
  __require,
21
- __toModule
22
- } from "../../chunk-XA5IZLLC.js";
21
+ __toESM
22
+ } from "../../chunk-WQ3TNYTD.js";
23
23
 
24
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/bin/ngc.mjs
24
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/bin/ngc.mjs
25
25
  import "reflect-metadata";
26
26
  async function runNgcComamnd() {
27
27
  process.title = "Angular Compiler (ngc)";
@@ -29,7 +29,7 @@ async function runNgcComamnd() {
29
29
  setFileSystem(new NodeJSFileSystem());
30
30
  let tsickleModule;
31
31
  try {
32
- tsickleModule = (await Promise.resolve().then(() => __toModule(__require("tsickle")))).default;
32
+ tsickleModule = (await Promise.resolve().then(() => __toESM(__require("tsickle"), 1))).default;
33
33
  } catch {
34
34
  }
35
35
  process.exitCode = main(args, void 0, void 0, void 0, void 0, void 0, tsickleModule);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../../packages/compiler-cli/src/bin/ngc.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAUA;AATA,AAcA,+BAA4B;AAC1B,UAAQ,QAAQ;AAChB,QAAM,OAAO,QAAQ,KAAK,MAAM;AAEhC,gBAAc,IAAI;AAElB,MAAI;AAIJ,MAAI;AACF,oBAAiB,OAAM,kDAAO,cAAY;UAC1C;;AAGF,UAAQ,WACJ,KAAK,MAAM,QAAW,QAAW,QAAW,QAAW,QAAW;;AAGxE,gBAAgB,MAAM,OAAI;AACxB,UAAQ,MAAM;AACd,UAAQ,WAAW;;",
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;AAUA;AATA,AAcA,+BAA4B;AAC1B,UAAQ,QAAQ;AAChB,QAAM,OAAO,QAAQ,KAAK,MAAM;AAEhC,gBAAc,IAAI;AAElB,MAAI;AAIJ,MAAI;AACF,oBAAiB,OAAM,+CAAO,iBAAY;UAC1C;;AAGF,UAAQ,WACJ,KAAK,MAAM,QAAW,QAAW,QAAW,QAAW,QAAW;;AAGxE,gBAAgB,MAAM,OAAI;AACxB,UAAQ,MAAM;AACd,UAAQ,WAAW;;",
5
5
  "names": []
6
6
  }