@angular/compiler-cli 16.1.4 → 16.1.6

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 (37) hide show
  1. package/bundles/{chunk-5MERUDE2.js → chunk-4FQT3QQ7.js} +77 -77
  2. package/bundles/{chunk-HJOPJLIM.js → chunk-7PCPPTTO.js} +5 -5
  3. package/bundles/{chunk-GYHDNUIK.js → chunk-EKTJ7622.js} +7 -7
  4. package/bundles/{chunk-GD2XA2JL.js → chunk-JYMI4NI3.js} +93 -93
  5. package/bundles/chunk-JYMI4NI3.js.map +6 -0
  6. package/bundles/{chunk-AAX4HKH5.js → chunk-LOZJLM26.js} +8 -8
  7. package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
  8. package/bundles/{chunk-OIJPCKRW.js → chunk-NIK4FIWB.js} +6 -6
  9. package/bundles/{chunk-BMUVRSIJ.js → chunk-O7TGQK6N.js} +31 -31
  10. package/bundles/{chunk-TCDCHMLM.js → chunk-PIRDOE5K.js} +5 -5
  11. package/bundles/{chunk-ONCDPGC3.js → chunk-SJLWUYXS.js} +5 -5
  12. package/bundles/{chunk-EC5K6QPP.js → chunk-TBUSSXUA.js} +7 -7
  13. package/bundles/{chunk-KPIJL3UY.js → chunk-WF3L5COT.js} +21 -21
  14. package/bundles/index.js +13 -13
  15. package/bundles/linker/babel/index.js +13 -13
  16. package/bundles/linker/index.js +5 -5
  17. package/bundles/ngcc/index.js +1 -1
  18. package/bundles/private/bazel.js +1 -1
  19. package/bundles/private/localize.js +3 -3
  20. package/bundles/private/migrations.js +6 -6
  21. package/bundles/private/tooling.js +4 -4
  22. package/bundles/src/bin/ng_xi18n.js +11 -11
  23. package/bundles/src/bin/ngc.js +9 -9
  24. package/bundles_metadata.json +1 -1
  25. package/package.json +2 -2
  26. package/bundles/chunk-GD2XA2JL.js.map +0 -6
  27. /package/bundles/{chunk-5MERUDE2.js.map → chunk-4FQT3QQ7.js.map} +0 -0
  28. /package/bundles/{chunk-HJOPJLIM.js.map → chunk-7PCPPTTO.js.map} +0 -0
  29. /package/bundles/{chunk-GYHDNUIK.js.map → chunk-EKTJ7622.js.map} +0 -0
  30. /package/bundles/{chunk-AAX4HKH5.js.map → chunk-LOZJLM26.js.map} +0 -0
  31. /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
  32. /package/bundles/{chunk-OIJPCKRW.js.map → chunk-NIK4FIWB.js.map} +0 -0
  33. /package/bundles/{chunk-BMUVRSIJ.js.map → chunk-O7TGQK6N.js.map} +0 -0
  34. /package/bundles/{chunk-TCDCHMLM.js.map → chunk-PIRDOE5K.js.map} +0 -0
  35. /package/bundles/{chunk-ONCDPGC3.js.map → chunk-SJLWUYXS.js.map} +0 -0
  36. /package/bundles/{chunk-EC5K6QPP.js.map → chunk-TBUSSXUA.js.map} +0 -0
  37. /package/bundles/{chunk-KPIJL3UY.js.map → chunk-WF3L5COT.js.map} +0 -0
@@ -5,12 +5,12 @@
5
5
  import {
6
6
  Context,
7
7
  ExpressionTranslatorVisitor
8
- } from "./chunk-AAX4HKH5.js";
8
+ } from "./chunk-LOZJLM26.js";
9
9
  import {
10
10
  SourceFileLoader
11
- } from "./chunk-GYHDNUIK.js";
11
+ } from "./chunk-EKTJ7622.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) {
@@ -155,10 +155,10 @@ var AstValue = class {
155
155
  }
156
156
  };
157
157
 
158
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
158
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
159
159
  import { ConstantPool } from "@angular/compiler";
160
160
 
161
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
161
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
162
162
  var LinkerImportGenerator = class {
163
163
  constructor(ngImport) {
164
164
  this.ngImport = ngImport;
@@ -178,7 +178,7 @@ var LinkerImportGenerator = class {
178
178
  }
179
179
  };
180
180
 
181
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
181
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
182
182
  var EmitScope = class {
183
183
  constructor(ngImport, translator, factory) {
184
184
  this.ngImport = ngImport;
@@ -207,7 +207,7 @@ var EmitScope = class {
207
207
  }
208
208
  };
209
209
 
210
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
210
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
211
211
  var LocalEmitScope = class extends EmitScope {
212
212
  translateDefinition(definition) {
213
213
  return super.translateDefinition({
@@ -220,10 +220,10 @@ var LocalEmitScope = class extends EmitScope {
220
220
  }
221
221
  };
222
222
 
223
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
223
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
224
224
  import semver from "semver";
225
225
 
226
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
226
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
227
227
  function createGetSourceFile(sourceUrl, code, loader) {
228
228
  if (loader === null) {
229
229
  return () => null;
@@ -238,7 +238,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
238
238
  }
239
239
  }
240
240
 
241
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
241
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
242
242
  import { compileClassMetadata } from "@angular/compiler";
243
243
  var PartialClassMetadataLinkerVersion1 = class {
244
244
  linkPartialDeclaration(constantPool, metaObj) {
@@ -258,13 +258,13 @@ function toR3ClassMetadata(metaObj) {
258
258
  };
259
259
  }
260
260
 
261
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
261
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
262
262
  import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, R3TemplateDependencyKind, ViewEncapsulation } from "@angular/compiler";
263
263
 
264
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
264
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
265
265
  import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
266
266
 
267
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
267
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
268
268
  import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
269
269
  function wrapReference(wrapped) {
270
270
  return { value: wrapped, type: wrapped };
@@ -312,7 +312,7 @@ function extractForwardRef(expr) {
312
312
  return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
313
313
  }
314
314
 
315
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
315
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
316
316
  var PartialDirectiveLinkerVersion1 = class {
317
317
  constructor(sourceUrl, code) {
318
318
  this.sourceUrl = sourceUrl;
@@ -442,7 +442,7 @@ function createSourceSpan(range, code, sourceUrl) {
442
442
  return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
443
443
  }
444
444
 
445
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
445
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
446
446
  function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
447
447
  return {
448
448
  kind: R3TemplateDependencyKind.Directive,
@@ -635,7 +635,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
635
635
  return enumValue;
636
636
  }
637
637
 
638
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
638
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
639
639
  import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
640
640
  var PartialFactoryLinkerVersion1 = class {
641
641
  linkPartialDeclaration(constantPool, metaObj) {
@@ -671,7 +671,7 @@ function getDependencies(metaObj, propName) {
671
671
  return null;
672
672
  }
673
673
 
674
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
674
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
675
675
  import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
676
676
  var PartialInjectableLinkerVersion1 = class {
677
677
  linkPartialDeclaration(constantPool, metaObj) {
@@ -709,7 +709,7 @@ function toR3InjectableMeta(metaObj) {
709
709
  return meta;
710
710
  }
711
711
 
712
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
712
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
713
713
  import { compileInjector } from "@angular/compiler";
714
714
  var PartialInjectorLinkerVersion1 = class {
715
715
  linkPartialDeclaration(constantPool, metaObj) {
@@ -731,7 +731,7 @@ function toR3InjectorMeta(metaObj) {
731
731
  };
732
732
  }
733
733
 
734
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
734
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
735
735
  import { compileNgModule, R3NgModuleMetadataKind, R3SelectorScopeMode } from "@angular/compiler";
736
736
  var PartialNgModuleLinkerVersion1 = class {
737
737
  constructor(emitInline) {
@@ -803,7 +803,7 @@ function wrapReferences(values) {
803
803
  return values.getArray().map((i) => wrapReference(i.getOpaque()));
804
804
  }
805
805
 
806
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
806
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
807
807
  import { compilePipeFromMetadata } from "@angular/compiler";
808
808
  var PartialPipeLinkerVersion1 = class {
809
809
  constructor() {
@@ -832,7 +832,7 @@ function toR3PipeMeta(metaObj) {
832
832
  };
833
833
  }
834
834
 
835
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
835
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
836
836
  var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
837
837
  var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
838
838
  var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
@@ -853,7 +853,7 @@ var declarationFunctions = [
853
853
  ];
854
854
  function createLinkerMap(environment, sourceUrl, code) {
855
855
  const linkers = /* @__PURE__ */ new Map();
856
- const LATEST_VERSION_RANGE = getRange("<=", "16.1.4");
856
+ const LATEST_VERSION_RANGE = getRange("<=", "16.1.6");
857
857
  linkers.set(\u0275\u0275ngDeclareDirective, [
858
858
  { range: LATEST_VERSION_RANGE, linker: new PartialDirectiveLinkerVersion1(sourceUrl, code) }
859
859
  ]);
@@ -900,7 +900,7 @@ var PartialLinkerSelector = class {
900
900
  throw new Error(`Unknown partial declaration function ${functionName}.`);
901
901
  }
902
902
  const linkerRanges = this.linkers.get(functionName);
903
- if (version === "16.1.4") {
903
+ if (version === "16.1.6") {
904
904
  return linkerRanges[linkerRanges.length - 1].linker;
905
905
  }
906
906
  const declarationRange = getRange(">=", minVersion);
@@ -926,7 +926,7 @@ function getRange(comparator, versionStr) {
926
926
  return new semver.Range(`${comparator}${version.format()}`);
927
927
  }
928
928
 
929
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
929
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
930
930
  var FileLinker = class {
931
931
  constructor(linkerEnvironment, sourceUrl, code) {
932
932
  this.linkerEnvironment = linkerEnvironment;
@@ -969,14 +969,14 @@ var FileLinker = class {
969
969
  }
970
970
  };
971
971
 
972
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
972
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
973
973
  var DEFAULT_LINKER_OPTIONS = {
974
974
  sourceMapping: true,
975
975
  linkerJitMode: false,
976
976
  unknownDeclarationVersionHandling: "error"
977
977
  };
978
978
 
979
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
979
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
980
980
  var Translator = class {
981
981
  constructor(factory) {
982
982
  this.factory = factory;
@@ -989,7 +989,7 @@ var Translator = class {
989
989
  }
990
990
  };
991
991
 
992
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
992
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
993
993
  var LinkerEnvironment = class {
994
994
  constructor(fileSystem, logger, host, factory, options) {
995
995
  this.fileSystem = fileSystem;
@@ -1010,7 +1010,7 @@ var LinkerEnvironment = class {
1010
1010
  }
1011
1011
  };
1012
1012
 
1013
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
1013
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
1014
1014
  function needsLinking(path, source) {
1015
1015
  return declarationFunctions.some((fn) => source.includes(fn));
1016
1016
  }
@@ -1031,4 +1031,4 @@ export {
1031
1031
  * Use of this source code is governed by an MIT-style license that can be
1032
1032
  * found in the LICENSE file at https://angular.io/license
1033
1033
  */
1034
- //# sourceMappingURL=chunk-BMUVRSIJ.js.map
1034
+ //# sourceMappingURL=chunk-O7TGQK6N.js.map
@@ -12,13 +12,13 @@ import {
12
12
  formatDiagnostics,
13
13
  performCompilation,
14
14
  readConfiguration
15
- } from "./chunk-GD2XA2JL.js";
15
+ } from "./chunk-JYMI4NI3.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, tsickle) {
239
239
  let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args);
240
240
  if (configErrors.length) {
@@ -374,4 +374,4 @@ export {
374
374
  * Use of this source code is governed by an MIT-style license that can be
375
375
  * found in the LICENSE file at https://angular.io/license
376
376
  */
377
- //# sourceMappingURL=chunk-TCDCHMLM.js.map
377
+ //# sourceMappingURL=chunk-PIRDOE5K.js.map
@@ -4,13 +4,13 @@
4
4
 
5
5
  import {
6
6
  TypeScriptReflectionHost
7
- } from "./chunk-OIJPCKRW.js";
7
+ } from "./chunk-NIK4FIWB.js";
8
8
  import {
9
9
  isAliasImportDeclaration,
10
10
  loadIsReferencedAliasDeclarationPatch
11
- } from "./chunk-KPIJL3UY.js";
11
+ } from "./chunk-WF3L5COT.js";
12
12
 
13
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
13
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
14
14
  import ts from "typescript";
15
15
  function isAngularDecorator(decorator, isCore) {
16
16
  return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
@@ -313,7 +313,7 @@ function cloneClassElementWithModifiers(node, modifiers) {
313
313
  return ts.setOriginalNode(clone, node);
314
314
  }
315
315
 
316
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
316
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
317
317
  var GLOBAL_DEFS_FOR_TERSER = {
318
318
  ngDevMode: false,
319
319
  ngI18nClosureMode: false
@@ -346,4 +346,4 @@ export {
346
346
  * Use of this source code is governed by an MIT-style license that can be
347
347
  * found in the LICENSE file at https://angular.io/license
348
348
  */
349
- //# sourceMappingURL=chunk-ONCDPGC3.js.map
349
+ //# sourceMappingURL=chunk-SJLWUYXS.js.map
@@ -6,7 +6,7 @@ import {
6
6
  __require
7
7
  } from "./chunk-SRFZMXHZ.js";
8
8
 
9
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
9
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
10
10
  var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
11
11
  function normalizeSeparators(path) {
12
12
  return path.replace(/\\/g, "/");
@@ -22,7 +22,7 @@ function getSourceFileOrError(program, fileName) {
22
22
  return sf;
23
23
  }
24
24
 
25
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
25
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
26
26
  var InvalidFileSystem = class {
27
27
  exists(path) {
28
28
  throw makeError();
@@ -110,7 +110,7 @@ function makeError() {
110
110
  return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
111
111
  }
112
112
 
113
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
113
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
114
114
  var fs = new InvalidFileSystem();
115
115
  function getFileSystem() {
116
116
  return fs;
@@ -167,7 +167,7 @@ function toRelativeImport(relativePath) {
167
167
  return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
168
168
  }
169
169
 
170
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
170
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
171
171
  import * as os from "os";
172
172
  import ts from "typescript";
173
173
  var NgtscCompilerHost = class {
@@ -225,7 +225,7 @@ var NgtscCompilerHost = class {
225
225
  }
226
226
  };
227
227
 
228
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
228
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
229
229
  var LogicalProjectPath = {
230
230
  relativePathBetween: function(from, to) {
231
231
  const relativePath = relative(dirname(resolve(from)), resolve(to));
@@ -271,7 +271,7 @@ function isWithinBasePath(base, path) {
271
271
  return isLocalRelativePath(relative(base, path));
272
272
  }
273
273
 
274
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
274
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
275
275
  import fs2 from "fs";
276
276
  import module from "module";
277
277
  import * as p from "path";
@@ -407,4 +407,4 @@ export {
407
407
  * Use of this source code is governed by an MIT-style license that can be
408
408
  * found in the LICENSE file at https://angular.io/license
409
409
  */
410
- //# sourceMappingURL=chunk-EC5K6QPP.js.map
410
+ //# sourceMappingURL=chunk-TBUSSXUA.js.map
@@ -12,9 +12,9 @@ import {
12
12
  resolve,
13
13
  stripExtension,
14
14
  toRelativeImport
15
- } from "./chunk-EC5K6QPP.js";
15
+ } from "./chunk-TBUSSXUA.js";
16
16
 
17
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
17
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
18
18
  import ts from "typescript";
19
19
  var TS = /\.tsx?$/i;
20
20
  var D_TS = /\.d\.ts$/i;
@@ -115,7 +115,7 @@ function toUnredirectedSourceFile(sf) {
115
115
  return redirectInfo.unredirected;
116
116
  }
117
117
 
118
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
118
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
119
119
  var Reference = class {
120
120
  constructor(node, bestGuessOwningModule = null) {
121
121
  this.node = node;
@@ -178,14 +178,14 @@ var Reference = class {
178
178
  }
179
179
  };
180
180
 
181
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
181
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
182
182
  import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
183
183
 
184
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
184
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
185
185
  import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
186
186
  import ts3 from "typescript";
187
187
 
188
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
188
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
189
189
  var ErrorCode;
190
190
  (function(ErrorCode2) {
191
191
  ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
@@ -259,7 +259,7 @@ var ErrorCode;
259
259
  ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
260
260
  })(ErrorCode || (ErrorCode = {}));
261
261
 
262
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
262
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
263
263
  var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
264
264
  ErrorCode.DECORATOR_ARG_NOT_LITERAL,
265
265
  ErrorCode.IMPORT_CYCLE_DETECTED,
@@ -271,10 +271,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
271
271
  ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
272
272
  ]);
273
273
 
274
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
274
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
275
275
  import ts2 from "typescript";
276
276
 
277
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
277
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
278
278
  var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
279
279
  function replaceTsWithNgInErrors(errors) {
280
280
  return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
@@ -283,7 +283,7 @@ function ngErrorCode(code) {
283
283
  return parseInt("-99" + code);
284
284
  }
285
285
 
286
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
286
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
287
287
  var FatalDiagnosticError = class {
288
288
  constructor(code, node, message, relatedInformation) {
289
289
  this.code = code;
@@ -339,10 +339,10 @@ function addDiagnosticChain(messageText, add) {
339
339
  return messageText;
340
340
  }
341
341
 
342
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
342
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
343
343
  var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
344
344
 
345
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
345
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
346
346
  var ExtendedTemplateDiagnosticName;
347
347
  (function(ExtendedTemplateDiagnosticName2) {
348
348
  ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
@@ -355,7 +355,7 @@ var ExtendedTemplateDiagnosticName;
355
355
  ExtendedTemplateDiagnosticName2["SKIP_HYDRATION_NOT_STATIC"] = "skipHydrationNotStatic";
356
356
  })(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
357
357
 
358
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
358
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
359
359
  function findExportedNameOfNode(target, file, reflector) {
360
360
  const exports = reflector.getExportsOfModule(file);
361
361
  if (exports === null) {
@@ -375,7 +375,7 @@ function findExportedNameOfNode(target, file, reflector) {
375
375
  return foundExportName;
376
376
  }
377
377
 
378
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
378
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
379
379
  var ImportFlags;
380
380
  (function(ImportFlags2) {
381
381
  ImportFlags2[ImportFlags2["None"] = 0] = "None";
@@ -591,7 +591,7 @@ var UnifiedModulesStrategy = class {
591
591
  }
592
592
  };
593
593
 
594
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
594
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
595
595
  var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
596
596
  var UnifiedModulesAliasingHost = class {
597
597
  constructor(unifiedModulesHost) {
@@ -658,7 +658,7 @@ var AliasStrategy = class {
658
658
  }
659
659
  };
660
660
 
661
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
661
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
662
662
  function relativePathBetween(from, to) {
663
663
  const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
664
664
  return relativePath !== "" ? toRelativeImport(relativePath) : null;
@@ -667,7 +667,7 @@ function normalizeSeparators(path) {
667
667
  return path.replace(/\\/g, "/");
668
668
  }
669
669
 
670
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
670
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
671
671
  var NoopImportRewriter = class {
672
672
  shouldImportSymbol(symbol, specifier) {
673
673
  return true;
@@ -725,7 +725,7 @@ function validateAndRewriteCoreSymbol(name) {
725
725
  return CORE_SUPPORTED_SYMBOLS.get(name);
726
726
  }
727
727
 
728
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
728
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
729
729
  import ts4 from "typescript";
730
730
  var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
731
731
  function loadIsReferencedAliasDeclarationPatch(context) {
@@ -760,7 +760,7 @@ function throwIncompatibleTransformationContextError() {
760
760
  throw Error("Angular compiler is incompatible with this version of the TypeScript compiler.\n\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
761
761
  }
762
762
 
763
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
763
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
764
764
  var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
765
765
  function attachDefaultImportDeclaration(expr, importDecl) {
766
766
  expr[DefaultImportDeclaration] = importDecl;
@@ -801,7 +801,7 @@ var DefaultImportTracker = class {
801
801
  }
802
802
  };
803
803
 
804
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
804
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
805
805
  var ModuleResolver = class {
806
806
  constructor(program, compilerOptions, host, moduleResolutionCache) {
807
807
  this.program = program;
@@ -874,4 +874,4 @@ export {
874
874
  * Use of this source code is governed by an MIT-style license that can be
875
875
  * found in the LICENSE file at https://angular.io/license
876
876
  */
877
- //# sourceMappingURL=chunk-KPIJL3UY.js.map
877
+ //# sourceMappingURL=chunk-WF3L5COT.js.map
package/bundles/index.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  GLOBAL_DEFS_FOR_TERSER,
7
7
  GLOBAL_DEFS_FOR_TERSER_WITH_AOT,
8
8
  constructorParametersDownlevelTransform
9
- } from "./chunk-ONCDPGC3.js";
9
+ } from "./chunk-SJLWUYXS.js";
10
10
  import {
11
11
  DEFAULT_ERROR_CODE,
12
12
  EmitFlags,
@@ -29,21 +29,21 @@ import {
29
29
  performCompilation,
30
30
  readConfiguration,
31
31
  untagAllTsFiles
32
- } from "./chunk-GD2XA2JL.js";
32
+ } from "./chunk-JYMI4NI3.js";
33
33
  import {
34
34
  OptimizeFor
35
- } from "./chunk-5MERUDE2.js";
36
- import "./chunk-OIJPCKRW.js";
37
- import "./chunk-AAX4HKH5.js";
38
- import "./chunk-KPIJL3UY.js";
35
+ } from "./chunk-4FQT3QQ7.js";
36
+ import "./chunk-NIK4FIWB.js";
37
+ import "./chunk-LOZJLM26.js";
38
+ import "./chunk-WF3L5COT.js";
39
39
  import {
40
40
  ActivePerfRecorder,
41
41
  PerfPhase
42
- } from "./chunk-HJOPJLIM.js";
42
+ } from "./chunk-7PCPPTTO.js";
43
43
  import {
44
44
  ConsoleLogger,
45
45
  LogLevel
46
- } from "./chunk-SBDNBITT.js";
46
+ } from "./chunk-LYJKWJUC.js";
47
47
  import {
48
48
  LogicalFileSystem,
49
49
  LogicalProjectPath,
@@ -64,14 +64,14 @@ import {
64
64
  resolve,
65
65
  setFileSystem,
66
66
  toRelativeImport
67
- } from "./chunk-EC5K6QPP.js";
67
+ } from "./chunk-TBUSSXUA.js";
68
68
  import "./chunk-SRFZMXHZ.js";
69
69
 
70
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version.mjs
70
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version.mjs
71
71
  import { Version } from "@angular/compiler";
72
- var VERSION = new Version("16.1.4");
72
+ var VERSION = new Version("16.1.6");
73
73
 
74
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs
74
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/tsc_plugin.mjs
75
75
  var NgTscPlugin = class {
76
76
  get compiler() {
77
77
  if (this._compiler === null) {
@@ -148,7 +148,7 @@ var NgTscPlugin = class {
148
148
  }
149
149
  };
150
150
 
151
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/index.mjs
151
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/index.mjs
152
152
  setFileSystem(new NodeJSFileSystem());
153
153
  export {
154
154
  ConsoleLogger,