@angular/compiler-cli 15.0.1 → 15.0.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 (52) hide show
  1. package/bundles/{chunk-XVHC4VAO.js → chunk-4F26FKLW.js} +5 -5
  2. package/bundles/{chunk-XVHC4VAO.js.map → chunk-4F26FKLW.js.map} +0 -0
  3. package/bundles/{chunk-22N3RTKA.js → chunk-ALSLKTUB.js} +7 -7
  4. package/bundles/{chunk-22N3RTKA.js.map → chunk-ALSLKTUB.js.map} +0 -0
  5. package/bundles/{chunk-VOEFUUJH.js → chunk-DLVFMDSC.js} +2 -2
  6. package/bundles/{chunk-VOEFUUJH.js.map → chunk-DLVFMDSC.js.map} +0 -0
  7. package/bundles/{chunk-UUIUKASM.js → chunk-DSVWG4QJ.js} +2 -2
  8. package/bundles/{chunk-UUIUKASM.js.map → chunk-DSVWG4QJ.js.map} +0 -0
  9. package/bundles/{chunk-NXGWYLNC.js → chunk-E7DPJFUS.js} +7 -7
  10. package/bundles/{chunk-NXGWYLNC.js.map → chunk-E7DPJFUS.js.map} +0 -0
  11. package/bundles/{chunk-C3UJTEDQ.js → chunk-JA6DFT5T.js} +5 -5
  12. package/bundles/{chunk-C3UJTEDQ.js.map → chunk-JA6DFT5T.js.map} +0 -0
  13. package/bundles/{chunk-GIA6ASYG.js → chunk-JGWOWDGB.js} +7 -7
  14. package/bundles/{chunk-GIA6ASYG.js.map → chunk-JGWOWDGB.js.map} +0 -0
  15. package/bundles/{chunk-NAJWFXRP.js → chunk-MMP4UVEC.js} +40 -40
  16. package/bundles/{chunk-NAJWFXRP.js.map → chunk-MMP4UVEC.js.map} +0 -0
  17. package/bundles/{chunk-FPQZA7NP.js → chunk-OFXSI6E3.js} +3 -3
  18. package/bundles/{chunk-FPQZA7NP.js.map → chunk-OFXSI6E3.js.map} +0 -0
  19. package/bundles/{chunk-JY5KP5YT.js → chunk-QVO57CDR.js} +4 -4
  20. package/bundles/{chunk-JY5KP5YT.js.map → chunk-QVO57CDR.js.map} +0 -0
  21. package/bundles/{chunk-LHZD6YT2.js → chunk-R3UUI3WU.js} +31 -31
  22. package/bundles/{chunk-LHZD6YT2.js.map → chunk-R3UUI3WU.js.map} +0 -0
  23. package/bundles/{chunk-RRZN7SI2.js → chunk-SYXTR5F3.js} +71 -71
  24. package/bundles/{chunk-RRZN7SI2.js.map → chunk-SYXTR5F3.js.map} +0 -0
  25. package/bundles/{chunk-TZNP5L2W.js → chunk-TOW3O33K.js} +26 -26
  26. package/bundles/{chunk-TZNP5L2W.js.map → chunk-TOW3O33K.js.map} +0 -0
  27. package/bundles/{chunk-OKDR75TI.js → chunk-TTNJEW7O.js} +7 -7
  28. package/bundles/{chunk-OKDR75TI.js.map → chunk-TTNJEW7O.js.map} +0 -0
  29. package/bundles/{chunk-J6BGLPIM.js → chunk-V4R3BHFY.js} +102 -99
  30. package/bundles/{chunk-J6BGLPIM.js.map → chunk-V4R3BHFY.js.map} +1 -1
  31. package/bundles/{chunk-5S4T5JRZ.js → chunk-VF6SIDZK.js} +85 -75
  32. package/bundles/chunk-VF6SIDZK.js.map +6 -0
  33. package/bundles/index.js +13 -13
  34. package/bundles/linker/babel/index.js +13 -13
  35. package/bundles/linker/index.js +5 -5
  36. package/bundles/ngcc/index.js +13 -13
  37. package/bundles/ngcc/main-ngcc.js +14 -14
  38. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -14
  39. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
  40. package/bundles/private/bazel.js +1 -1
  41. package/bundles/private/localize.js +3 -3
  42. package/bundles/private/migrations.js +6 -6
  43. package/bundles/private/tooling.js +3 -3
  44. package/bundles/src/bin/ng_xi18n.js +11 -11
  45. package/bundles/src/bin/ngc.js +9 -9
  46. package/bundles_metadata.json +1 -1
  47. package/ngcc/src/packages/build_marker.d.ts +1 -1
  48. package/package.json +3 -3
  49. package/src/ngtsc/metadata/src/inheritance.d.ts +1 -1
  50. package/src/ngtsc/scope/src/typecheck.d.ts +1 -1
  51. package/src/ngtsc/typecheck/api/scope.d.ts +1 -1
  52. package/bundles/chunk-5S4T5JRZ.js.map +0 -6
@@ -13,9 +13,9 @@ import {
13
13
  resolve,
14
14
  stripExtension,
15
15
  toRelativeImport
16
- } from "./chunk-NXGWYLNC.js";
16
+ } from "./chunk-E7DPJFUS.js";
17
17
 
18
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
18
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
19
19
  import ts from "typescript";
20
20
  var TS = /\.tsx?$/i;
21
21
  var D_TS = /\.d\.ts$/i;
@@ -116,7 +116,7 @@ function toUnredirectedSourceFile(sf) {
116
116
  return redirectInfo.unredirected;
117
117
  }
118
118
 
119
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
119
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
120
120
  var Reference = class {
121
121
  constructor(node, bestGuessOwningModule = null) {
122
122
  this.node = node;
@@ -179,14 +179,14 @@ var Reference = class {
179
179
  }
180
180
  };
181
181
 
182
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
182
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
183
183
  import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
184
184
 
185
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
185
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
186
186
  import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
187
187
  import ts3 from "typescript";
188
188
 
189
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
189
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
190
190
  var ErrorCode;
191
191
  (function(ErrorCode2) {
192
192
  ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
@@ -256,7 +256,7 @@ var ErrorCode;
256
256
  ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
257
257
  })(ErrorCode || (ErrorCode = {}));
258
258
 
259
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
259
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
260
260
  var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
261
261
  ErrorCode.DECORATOR_ARG_NOT_LITERAL,
262
262
  ErrorCode.IMPORT_CYCLE_DETECTED,
@@ -268,10 +268,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
268
268
  ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
269
269
  ]);
270
270
 
271
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
271
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
272
272
  import ts2 from "typescript";
273
273
 
274
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
274
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
275
275
  var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
276
276
  function replaceTsWithNgInErrors(errors) {
277
277
  return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
@@ -280,7 +280,7 @@ function ngErrorCode(code) {
280
280
  return parseInt("-99" + code);
281
281
  }
282
282
 
283
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
283
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
284
284
  var FatalDiagnosticError = class {
285
285
  constructor(code, node, message, relatedInformation) {
286
286
  this.code = code;
@@ -339,10 +339,10 @@ function isFatalDiagnosticError(err) {
339
339
  return err._isFatalDiagnosticError === true;
340
340
  }
341
341
 
342
- // bazel-out/darwin-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-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";
@@ -354,7 +354,7 @@ var ExtendedTemplateDiagnosticName;
354
354
  ExtendedTemplateDiagnosticName2["SUFFIX_NOT_SUPPORTED"] = "suffixNotSupported";
355
355
  })(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
356
356
 
357
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
357
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
358
358
  function findExportedNameOfNode(target, file, reflector) {
359
359
  const exports = reflector.getExportsOfModule(file);
360
360
  if (exports === null) {
@@ -374,7 +374,7 @@ function findExportedNameOfNode(target, file, reflector) {
374
374
  return foundExportName;
375
375
  }
376
376
 
377
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
377
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
378
378
  var ImportFlags;
379
379
  (function(ImportFlags2) {
380
380
  ImportFlags2[ImportFlags2["None"] = 0] = "None";
@@ -590,7 +590,7 @@ var UnifiedModulesStrategy = class {
590
590
  }
591
591
  };
592
592
 
593
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
593
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
594
594
  var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
595
595
  var UnifiedModulesAliasingHost = class {
596
596
  constructor(unifiedModulesHost) {
@@ -657,7 +657,7 @@ var AliasStrategy = class {
657
657
  }
658
658
  };
659
659
 
660
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
660
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
661
661
  function relativePathBetween(from, to) {
662
662
  const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
663
663
  return relativePath !== "" ? toRelativeImport(relativePath) : null;
@@ -666,7 +666,7 @@ function normalizeSeparators(path) {
666
666
  return path.replace(/\\/g, "/");
667
667
  }
668
668
 
669
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
669
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
670
670
  var NoopImportRewriter = class {
671
671
  shouldImportSymbol(symbol, specifier) {
672
672
  return true;
@@ -724,7 +724,7 @@ function validateAndRewriteCoreSymbol(name) {
724
724
  return CORE_SUPPORTED_SYMBOLS.get(name);
725
725
  }
726
726
 
727
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
727
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
728
728
  import ts4 from "typescript";
729
729
  var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
730
730
  function attachDefaultImportDeclaration(expr, importDecl) {
@@ -769,7 +769,7 @@ var DefaultImportTracker = class {
769
769
  }
770
770
  };
771
771
 
772
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
772
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
773
773
  var ModuleResolver = class {
774
774
  constructor(program, compilerOptions, host, moduleResolutionCache) {
775
775
  this.program = program;
@@ -786,7 +786,7 @@ var ModuleResolver = class {
786
786
  }
787
787
  };
788
788
 
789
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
789
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
790
790
  var Context = class {
791
791
  constructor(isStatement) {
792
792
  this.isStatement = isStatement;
@@ -799,7 +799,7 @@ var Context = class {
799
799
  }
800
800
  };
801
801
 
802
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
802
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
803
803
  import * as o from "@angular/compiler";
804
804
  var UNARY_OPERATORS = /* @__PURE__ */ new Map([
805
805
  [o.UnaryOperator.Minus, "-"],
@@ -1031,7 +1031,7 @@ function createRange(span) {
1031
1031
  };
1032
1032
  }
1033
1033
 
1034
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
1034
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
1035
1035
  import ts5 from "typescript";
1036
1036
  var ImportManager = class {
1037
1037
  constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
@@ -1067,7 +1067,7 @@ var ImportManager = class {
1067
1067
  }
1068
1068
  };
1069
1069
 
1070
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
1070
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
1071
1071
  import * as o2 from "@angular/compiler";
1072
1072
  import ts6 from "typescript";
1073
1073
  function translateType(type, imports) {
@@ -1243,7 +1243,7 @@ var TypeTranslatorVisitor = class {
1243
1243
  }
1244
1244
  };
1245
1245
 
1246
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
1246
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
1247
1247
  import ts7 from "typescript";
1248
1248
  var PureAnnotation;
1249
1249
  (function(PureAnnotation2) {
@@ -1426,7 +1426,7 @@ function attachComments(statement, leadingComments) {
1426
1426
  }
1427
1427
  }
1428
1428
 
1429
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
1429
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
1430
1430
  function translateExpression(expression, imports, options = {}) {
1431
1431
  return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
1432
1432
  }
@@ -1496,4 +1496,4 @@ export {
1496
1496
  * Use of this source code is governed by an MIT-style license that can be
1497
1497
  * found in the LICENSE file at https://angular.io/license
1498
1498
  */
1499
- //# sourceMappingURL=chunk-TZNP5L2W.js.map
1499
+ //# sourceMappingURL=chunk-TOW3O33K.js.map
@@ -4,11 +4,11 @@
4
4
  const __ESM_IMPORT_META_URL__ = import.meta.url;
5
5
 
6
6
 
7
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
7
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
8
8
  import mapHelpers from "convert-source-map";
9
9
  import { decode, encode } from "sourcemap-codec";
10
10
 
11
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
11
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
12
12
  function compareSegments(a, b) {
13
13
  return a.position - b.position;
14
14
  }
@@ -28,7 +28,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
28
28
  return { line, column, position, next: void 0 };
29
29
  }
30
30
 
31
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
31
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
32
32
  function removeSourceMapComments(contents) {
33
33
  return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
34
34
  }
@@ -279,10 +279,10 @@ var Cache = class {
279
279
  }
280
280
  };
281
281
 
282
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
282
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
283
283
  import mapHelpers2 from "convert-source-map";
284
284
 
285
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
285
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
286
286
  var ContentOrigin;
287
287
  (function(ContentOrigin2) {
288
288
  ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
@@ -290,7 +290,7 @@ var ContentOrigin;
290
290
  ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
291
291
  })(ContentOrigin || (ContentOrigin = {}));
292
292
 
293
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
293
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
294
294
  var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
295
295
  var SourceFileLoader = class {
296
296
  constructor(fs, logger, schemeMap) {
@@ -418,4 +418,4 @@ export {
418
418
  * Use of this source code is governed by an MIT-style license that can be
419
419
  * found in the LICENSE file at https://angular.io/license
420
420
  */
421
- //# sourceMappingURL=chunk-OKDR75TI.js.map
421
+ //# sourceMappingURL=chunk-TTNJEW7O.js.map