@angular/compiler-cli 17.1.1 → 17.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 (45) hide show
  1. package/bundles/{chunk-WCD6LVCP.js → chunk-2WQIUGOU.js} +7 -7
  2. package/bundles/{chunk-R4KQI5XI.js → chunk-64JBPJBS.js} +5 -5
  3. package/bundles/{chunk-Q5Y7HH3O.js → chunk-6VEEN3ZS.js} +5 -5
  4. package/bundles/{chunk-TQYIA5ZM.js → chunk-ELKFSTAE.js} +232 -164
  5. package/bundles/chunk-ELKFSTAE.js.map +6 -0
  6. package/bundles/{chunk-LD7OKX22.js → chunk-ENSQEBQC.js} +30 -30
  7. package/bundles/{chunk-VTJUF2MM.js → chunk-H3PIRNUD.js} +5 -5
  8. package/bundles/{chunk-TNWTCE6C.js → chunk-HJWHU6BO.js} +86 -76
  9. package/bundles/{chunk-TNWTCE6C.js.map → chunk-HJWHU6BO.js.map} +1 -1
  10. package/bundles/{chunk-7MBQJYBK.js → chunk-JJ5HCA72.js} +6 -6
  11. package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
  12. package/bundles/{chunk-22WKDIPL.js → chunk-O2GHHXCL.js} +55 -41
  13. package/bundles/chunk-O2GHHXCL.js.map +6 -0
  14. package/bundles/{chunk-QPMYDNZG.js → chunk-UM6JO3VZ.js} +9 -9
  15. package/bundles/{chunk-QPMYDNZG.js.map → chunk-UM6JO3VZ.js.map} +1 -1
  16. package/bundles/index.js +12 -12
  17. package/bundles/linker/babel/index.js +12 -12
  18. package/bundles/linker/index.js +4 -4
  19. package/bundles/ngcc/index.js +1 -1
  20. package/bundles/private/bazel.js +1 -1
  21. package/bundles/private/localize.js +3 -3
  22. package/bundles/private/migrations.js +5 -5
  23. package/bundles/private/tooling.js +5 -5
  24. package/bundles/src/bin/ng_xi18n.js +10 -10
  25. package/bundles/src/bin/ngc.js +8 -8
  26. package/bundles_metadata.json +1 -1
  27. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
  28. package/package.json +2 -2
  29. package/src/bin/ng_xi18n.d.ts +1 -1
  30. package/src/bin/ngc.d.ts +1 -1
  31. package/src/ngtsc/annotations/component/src/metadata.d.ts +4 -1
  32. package/src/ngtsc/diagnostics/src/error.d.ts +4 -3
  33. package/src/ngtsc/docs/src/entities.d.ts +1 -0
  34. package/src/ngtsc/docs/src/function_extractor.d.ts +3 -2
  35. package/src/ngtsc/reflection/src/typescript.d.ts +1 -2
  36. package/src/ngtsc/typecheck/src/comments.d.ts +2 -1
  37. package/bundles/chunk-22WKDIPL.js.map +0 -6
  38. package/bundles/chunk-TQYIA5ZM.js.map +0 -6
  39. /package/bundles/{chunk-WCD6LVCP.js.map → chunk-2WQIUGOU.js.map} +0 -0
  40. /package/bundles/{chunk-R4KQI5XI.js.map → chunk-64JBPJBS.js.map} +0 -0
  41. /package/bundles/{chunk-Q5Y7HH3O.js.map → chunk-6VEEN3ZS.js.map} +0 -0
  42. /package/bundles/{chunk-LD7OKX22.js.map → chunk-ENSQEBQC.js.map} +0 -0
  43. /package/bundles/{chunk-VTJUF2MM.js.map → chunk-H3PIRNUD.js.map} +0 -0
  44. /package/bundles/{chunk-7MBQJYBK.js.map → chunk-JJ5HCA72.js.map} +0 -0
  45. /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
@@ -5,12 +5,12 @@
5
5
  import {
6
6
  Context,
7
7
  ExpressionTranslatorVisitor
8
- } from "./chunk-22WKDIPL.js";
8
+ } from "./chunk-O2GHHXCL.js";
9
9
  import {
10
10
  SourceFileLoader
11
- } from "./chunk-WCD6LVCP.js";
11
+ } from "./chunk-2WQIUGOU.js";
12
12
 
13
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/fatal_linker_error.mjs
13
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/fatal_linker_error.mjs
14
14
  var FatalLinkerError = class extends Error {
15
15
  constructor(node, message) {
16
16
  super(message);
@@ -22,14 +22,14 @@ function isFatalLinkerError(e) {
22
22
  return e && e.type === "FatalLinkerError";
23
23
  }
24
24
 
25
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/ast/utils.mjs
25
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/utils.mjs
26
26
  function assert(node, predicate, expected) {
27
27
  if (!predicate(node)) {
28
28
  throw new FatalLinkerError(node, `Unsupported syntax, expected ${expected}.`);
29
29
  }
30
30
  }
31
31
 
32
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/ast/ast_value.mjs
32
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/ast/ast_value.mjs
33
33
  import * as o from "@angular/compiler";
34
34
  var AstObject = class {
35
35
  static parse(expression, host) {
@@ -159,10 +159,10 @@ var AstValue = class {
159
159
  }
160
160
  };
161
161
 
162
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
162
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
163
163
  import { ConstantPool } from "@angular/compiler";
164
164
 
165
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
165
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
166
166
  var LinkerImportGenerator = class {
167
167
  constructor(ngImport) {
168
168
  this.ngImport = ngImport;
@@ -182,7 +182,7 @@ var LinkerImportGenerator = class {
182
182
  }
183
183
  };
184
184
 
185
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
185
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
186
186
  var EmitScope = class {
187
187
  constructor(ngImport, translator, factory) {
188
188
  this.ngImport = ngImport;
@@ -211,7 +211,7 @@ var EmitScope = class {
211
211
  }
212
212
  };
213
213
 
214
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
214
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
215
215
  var LocalEmitScope = class extends EmitScope {
216
216
  translateDefinition(definition) {
217
217
  return super.translateDefinition({
@@ -224,10 +224,10 @@ var LocalEmitScope = class extends EmitScope {
224
224
  }
225
225
  };
226
226
 
227
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
227
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
228
228
  import semver2 from "semver";
229
229
 
230
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
230
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
231
231
  function createGetSourceFile(sourceUrl, code, loader) {
232
232
  if (loader === null) {
233
233
  return () => null;
@@ -242,7 +242,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
242
242
  }
243
243
  }
244
244
 
245
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
245
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
246
246
  import { compileClassMetadata } from "@angular/compiler";
247
247
  var PartialClassMetadataLinkerVersion1 = class {
248
248
  linkPartialDeclaration(constantPool, metaObj) {
@@ -262,16 +262,16 @@ function toR3ClassMetadata(metaObj) {
262
262
  };
263
263
  }
264
264
 
265
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
265
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
266
266
  import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher, ViewEncapsulation } from "@angular/compiler";
267
267
  import semver from "semver";
268
268
 
269
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
269
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
270
270
  import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
271
271
 
272
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
272
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
273
273
  import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
274
- var PLACEHOLDER_VERSION = "17.1.1";
274
+ var PLACEHOLDER_VERSION = "17.1.3";
275
275
  function wrapReference(wrapped) {
276
276
  return { value: wrapped, type: wrapped };
277
277
  }
@@ -318,7 +318,7 @@ function extractForwardRef(expr) {
318
318
  return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
319
319
  }
320
320
 
321
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
321
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
322
322
  var PartialDirectiveLinkerVersion1 = class {
323
323
  constructor(sourceUrl, code) {
324
324
  this.sourceUrl = sourceUrl;
@@ -464,7 +464,7 @@ function createSourceSpan(range, code, sourceUrl) {
464
464
  return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
465
465
  }
466
466
 
467
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
467
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
468
468
  function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
469
469
  return {
470
470
  kind: R3TemplateDependencyKind.Directive,
@@ -682,7 +682,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
682
682
  return enumValue;
683
683
  }
684
684
 
685
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
685
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
686
686
  import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
687
687
  var PartialFactoryLinkerVersion1 = class {
688
688
  linkPartialDeclaration(constantPool, metaObj) {
@@ -718,7 +718,7 @@ function getDependencies(metaObj, propName) {
718
718
  return null;
719
719
  }
720
720
 
721
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
721
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
722
722
  import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
723
723
  var PartialInjectableLinkerVersion1 = class {
724
724
  linkPartialDeclaration(constantPool, metaObj) {
@@ -756,7 +756,7 @@ function toR3InjectableMeta(metaObj) {
756
756
  return meta;
757
757
  }
758
758
 
759
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
759
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
760
760
  import { compileInjector } from "@angular/compiler";
761
761
  var PartialInjectorLinkerVersion1 = class {
762
762
  linkPartialDeclaration(constantPool, metaObj) {
@@ -778,7 +778,7 @@ function toR3InjectorMeta(metaObj) {
778
778
  };
779
779
  }
780
780
 
781
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
781
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
782
782
  import { compileNgModule, R3NgModuleMetadataKind, R3SelectorScopeMode } from "@angular/compiler";
783
783
  var PartialNgModuleLinkerVersion1 = class {
784
784
  constructor(emitInline) {
@@ -850,7 +850,7 @@ function wrapReferences(values) {
850
850
  return values.getArray().map((i) => wrapReference(i.getOpaque()));
851
851
  }
852
852
 
853
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
853
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
854
854
  import { compilePipeFromMetadata } from "@angular/compiler";
855
855
  var PartialPipeLinkerVersion1 = class {
856
856
  constructor() {
@@ -879,7 +879,7 @@ function toR3PipeMeta(metaObj) {
879
879
  };
880
880
  }
881
881
 
882
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
882
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
883
883
  var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
884
884
  var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
885
885
  var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
@@ -973,7 +973,7 @@ function getRange(comparator, versionStr) {
973
973
  return new semver2.Range(`${comparator}${version.format()}`);
974
974
  }
975
975
 
976
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
976
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
977
977
  var FileLinker = class {
978
978
  constructor(linkerEnvironment, sourceUrl, code) {
979
979
  this.linkerEnvironment = linkerEnvironment;
@@ -1016,14 +1016,14 @@ var FileLinker = class {
1016
1016
  }
1017
1017
  };
1018
1018
 
1019
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
1019
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
1020
1020
  var DEFAULT_LINKER_OPTIONS = {
1021
1021
  sourceMapping: true,
1022
1022
  linkerJitMode: false,
1023
1023
  unknownDeclarationVersionHandling: "error"
1024
1024
  };
1025
1025
 
1026
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
1026
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
1027
1027
  var Translator = class {
1028
1028
  constructor(factory) {
1029
1029
  this.factory = factory;
@@ -1036,7 +1036,7 @@ var Translator = class {
1036
1036
  }
1037
1037
  };
1038
1038
 
1039
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
1039
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
1040
1040
  var LinkerEnvironment = class {
1041
1041
  constructor(fileSystem, logger, host, factory, options) {
1042
1042
  this.fileSystem = fileSystem;
@@ -1057,7 +1057,7 @@ var LinkerEnvironment = class {
1057
1057
  }
1058
1058
  };
1059
1059
 
1060
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
1060
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
1061
1061
  function needsLinking(path, source) {
1062
1062
  return declarationFunctions.some((fn) => source.includes(fn));
1063
1063
  }
@@ -1078,4 +1078,4 @@ export {
1078
1078
  * Use of this source code is governed by an MIT-style license that can be
1079
1079
  * found in the LICENSE file at https://angular.io/license
1080
1080
  */
1081
- //# sourceMappingURL=chunk-LD7OKX22.js.map
1081
+ //# sourceMappingURL=chunk-ENSQEBQC.js.map
@@ -12,13 +12,13 @@ import {
12
12
  formatDiagnostics,
13
13
  performCompilation,
14
14
  readConfiguration
15
- } from "./chunk-TQYIA5ZM.js";
15
+ } from "./chunk-ELKFSTAE.js";
16
16
 
17
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/main.mjs
17
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
18
18
  import ts2 from "typescript";
19
19
  import yargs from "yargs";
20
20
 
21
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_watch.mjs
21
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_watch.mjs
22
22
  import * as chokidar from "chokidar";
23
23
  import * as path from "path";
24
24
  import ts from "typescript";
@@ -234,7 +234,7 @@ function performWatchCompilation(host) {
234
234
  }
235
235
  }
236
236
 
237
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/main.mjs
237
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
238
238
  function main(args, consoleError = console.error, config, customTransformers, programReuse, modifiedResourceFiles) {
239
239
  let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args);
240
240
  if (configErrors.length) {
@@ -342,4 +342,4 @@ export {
342
342
  * Use of this source code is governed by an MIT-style license that can be
343
343
  * found in the LICENSE file at https://angular.io/license
344
344
  */
345
- //# sourceMappingURL=chunk-VTJUF2MM.js.map
345
+ //# sourceMappingURL=chunk-H3PIRNUD.js.map