@angular/compiler-cli 15.1.1 → 15.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 (49) hide show
  1. package/bundles/{chunk-ZOI6L3RR.js → chunk-5M32KPOS.js} +28 -28
  2. package/bundles/{chunk-ZOI6L3RR.js.map → chunk-5M32KPOS.js.map} +0 -0
  3. package/bundles/{chunk-LYJKWJUC.js → chunk-CF2CT7RQ.js} +3 -3
  4. package/bundles/{chunk-LYJKWJUC.js.map → chunk-CF2CT7RQ.js.map} +0 -0
  5. package/bundles/{chunk-ZIYE3XC2.js → chunk-FU4IW4GN.js} +70 -70
  6. package/bundles/{chunk-ZIYE3XC2.js.map → chunk-FU4IW4GN.js.map} +0 -0
  7. package/bundles/{chunk-YZWN2KWE.js → chunk-HK36RNP3.js} +5 -5
  8. package/bundles/{chunk-YZWN2KWE.js.map → chunk-HK36RNP3.js.map} +0 -0
  9. package/bundles/{chunk-RUBM3IRF.js → chunk-J44BXEUC.js} +5 -5
  10. package/bundles/{chunk-RUBM3IRF.js.map → chunk-J44BXEUC.js.map} +0 -0
  11. package/bundles/{chunk-TBUSSXUA.js → chunk-K2U2VZ7S.js} +7 -7
  12. package/bundles/{chunk-TBUSSXUA.js.map → chunk-K2U2VZ7S.js.map} +0 -0
  13. package/bundles/{chunk-2NLFVEGY.js → chunk-L644G6CJ.js} +7 -7
  14. package/bundles/{chunk-2NLFVEGY.js.map → chunk-L644G6CJ.js.map} +0 -0
  15. package/bundles/{chunk-P6RV7WPP.js → chunk-L6LHAJZ7.js} +72 -72
  16. package/bundles/{chunk-P6RV7WPP.js.map → chunk-L6LHAJZ7.js.map} +0 -0
  17. package/bundles/{chunk-SOIGFD6W.js → chunk-ML7UDN4R.js} +40 -40
  18. package/bundles/{chunk-SOIGFD6W.js.map → chunk-ML7UDN4R.js.map} +0 -0
  19. package/bundles/{chunk-NEQOZOZQ.js → chunk-O52BHOQL.js} +31 -31
  20. package/bundles/{chunk-NEQOZOZQ.js.map → chunk-O52BHOQL.js.map} +0 -0
  21. package/bundles/{chunk-B57SP4JB.js → chunk-OFPWZYAK.js} +2 -2
  22. package/bundles/{chunk-B57SP4JB.js.map → chunk-OFPWZYAK.js.map} +0 -0
  23. package/bundles/{chunk-LPXFO4TY.js → chunk-U6ACTSPA.js} +6 -6
  24. package/bundles/{chunk-LPXFO4TY.js.map → chunk-U6ACTSPA.js.map} +0 -0
  25. package/bundles/{chunk-ZF3IVDQ2.js → chunk-UPBLAOWL.js} +6 -6
  26. package/bundles/{chunk-ZF3IVDQ2.js.map → chunk-UPBLAOWL.js.map} +0 -0
  27. package/bundles/{chunk-2SEOGDKD.js → chunk-XRJ2O3LZ.js} +97 -98
  28. package/bundles/chunk-XRJ2O3LZ.js.map +6 -0
  29. package/bundles/{chunk-K7P4IHT5.js → chunk-YSDCIO24.js} +4 -4
  30. package/bundles/{chunk-K7P4IHT5.js.map → chunk-YSDCIO24.js.map} +0 -0
  31. package/bundles/index.js +12 -12
  32. package/bundles/linker/babel/index.js +12 -12
  33. package/bundles/linker/index.js +4 -4
  34. package/bundles/ngcc/index.js +12 -12
  35. package/bundles/ngcc/main-ngcc.js +13 -13
  36. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +13 -13
  37. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
  38. package/bundles/private/bazel.js +1 -1
  39. package/bundles/private/localize.js +3 -3
  40. package/bundles/private/migrations.js +5 -5
  41. package/bundles/private/tooling.js +2 -2
  42. package/bundles/src/bin/ng_xi18n.js +10 -10
  43. package/bundles/src/bin/ngc.js +8 -8
  44. package/bundles_metadata.json +1 -1
  45. package/index.d.ts +1 -1
  46. package/ngcc/src/packages/build_marker.d.ts +1 -1
  47. package/package.json +2 -2
  48. package/src/ngtsc/tsc_plugin.d.ts +1 -1
  49. package/bundles/chunk-2SEOGDKD.js.map +0 -6
@@ -12,9 +12,9 @@ import {
12
12
  resolve,
13
13
  stripExtension,
14
14
  toRelativeImport
15
- } from "./chunk-TBUSSXUA.js";
15
+ } from "./chunk-K2U2VZ7S.js";
16
16
 
17
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
17
+ // bazel-out/darwin-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
118
+ // bazel-out/darwin-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
181
+ // bazel-out/darwin-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
184
+ // bazel-out/darwin-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
188
+ // bazel-out/darwin-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";
@@ -255,7 +255,7 @@ var ErrorCode;
255
255
  ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
256
256
  })(ErrorCode || (ErrorCode = {}));
257
257
 
258
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
258
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
259
259
  var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
260
260
  ErrorCode.DECORATOR_ARG_NOT_LITERAL,
261
261
  ErrorCode.IMPORT_CYCLE_DETECTED,
@@ -267,10 +267,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
267
267
  ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
268
268
  ]);
269
269
 
270
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
270
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
271
271
  import ts2 from "typescript";
272
272
 
273
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
273
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
274
274
  var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
275
275
  function replaceTsWithNgInErrors(errors) {
276
276
  return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
@@ -279,7 +279,7 @@ function ngErrorCode(code) {
279
279
  return parseInt("-99" + code);
280
280
  }
281
281
 
282
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
282
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
283
283
  var FatalDiagnosticError = class {
284
284
  constructor(code, node, message, relatedInformation) {
285
285
  this.code = code;
@@ -338,10 +338,10 @@ function isFatalDiagnosticError(err) {
338
338
  return err._isFatalDiagnosticError === true;
339
339
  }
340
340
 
341
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
341
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
342
342
  var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
343
343
 
344
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
344
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
345
345
  var ExtendedTemplateDiagnosticName;
346
346
  (function(ExtendedTemplateDiagnosticName2) {
347
347
  ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
@@ -353,7 +353,7 @@ var ExtendedTemplateDiagnosticName;
353
353
  ExtendedTemplateDiagnosticName2["SUFFIX_NOT_SUPPORTED"] = "suffixNotSupported";
354
354
  })(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
355
355
 
356
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
356
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
357
357
  function findExportedNameOfNode(target, file, reflector) {
358
358
  const exports = reflector.getExportsOfModule(file);
359
359
  if (exports === null) {
@@ -373,7 +373,7 @@ function findExportedNameOfNode(target, file, reflector) {
373
373
  return foundExportName;
374
374
  }
375
375
 
376
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
376
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
377
377
  var ImportFlags;
378
378
  (function(ImportFlags2) {
379
379
  ImportFlags2[ImportFlags2["None"] = 0] = "None";
@@ -589,7 +589,7 @@ var UnifiedModulesStrategy = class {
589
589
  }
590
590
  };
591
591
 
592
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
592
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
593
593
  var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
594
594
  var UnifiedModulesAliasingHost = class {
595
595
  constructor(unifiedModulesHost) {
@@ -656,7 +656,7 @@ var AliasStrategy = class {
656
656
  }
657
657
  };
658
658
 
659
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
659
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
660
660
  function relativePathBetween(from, to) {
661
661
  const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
662
662
  return relativePath !== "" ? toRelativeImport(relativePath) : null;
@@ -665,7 +665,7 @@ function normalizeSeparators(path) {
665
665
  return path.replace(/\\/g, "/");
666
666
  }
667
667
 
668
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
668
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
669
669
  var NoopImportRewriter = class {
670
670
  shouldImportSymbol(symbol, specifier) {
671
671
  return true;
@@ -723,7 +723,7 @@ function validateAndRewriteCoreSymbol(name) {
723
723
  return CORE_SUPPORTED_SYMBOLS.get(name);
724
724
  }
725
725
 
726
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
726
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
727
727
  import ts4 from "typescript";
728
728
  var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
729
729
  function attachDefaultImportDeclaration(expr, importDecl) {
@@ -768,7 +768,7 @@ var DefaultImportTracker = class {
768
768
  }
769
769
  };
770
770
 
771
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
771
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
772
772
  var ModuleResolver = class {
773
773
  constructor(program, compilerOptions, host, moduleResolutionCache) {
774
774
  this.program = program;
@@ -785,7 +785,7 @@ var ModuleResolver = class {
785
785
  }
786
786
  };
787
787
 
788
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
788
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
789
789
  var Context = class {
790
790
  constructor(isStatement) {
791
791
  this.isStatement = isStatement;
@@ -798,7 +798,7 @@ var Context = class {
798
798
  }
799
799
  };
800
800
 
801
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
801
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
802
802
  import * as o from "@angular/compiler";
803
803
  var UNARY_OPERATORS = /* @__PURE__ */ new Map([
804
804
  [o.UnaryOperator.Minus, "-"],
@@ -1030,7 +1030,7 @@ function createRange(span) {
1030
1030
  };
1031
1031
  }
1032
1032
 
1033
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
1033
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
1034
1034
  import ts5 from "typescript";
1035
1035
  var ImportManager = class {
1036
1036
  constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
@@ -1066,11 +1066,11 @@ var ImportManager = class {
1066
1066
  }
1067
1067
  };
1068
1068
 
1069
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
1069
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
1070
1070
  import * as o2 from "@angular/compiler";
1071
1071
  import ts7 from "typescript";
1072
1072
 
1073
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.mjs
1073
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.mjs
1074
1074
  import ts6 from "typescript";
1075
1075
  var IS_AFTER_TS_49 = isAfterVersion(4, 9);
1076
1076
  var createParameterDeclaration = IS_AFTER_TS_49 ? ts6.factory.createParameterDeclaration : (modifiers, dotDotDotToken, name, questionToken, type, initializer) => ts6.factory.createParameterDeclaration(...splitModifiers(modifiers), dotDotDotToken, name, questionToken, type, initializer);
@@ -1100,7 +1100,7 @@ function isAfterVersion(targetMajor, targetMinor) {
1100
1100
  return major === targetMajor ? minor >= targetMinor : true;
1101
1101
  }
1102
1102
 
1103
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
1103
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
1104
1104
  function translateType(type, imports) {
1105
1105
  return type.visitType(new TypeTranslatorVisitor(imports), new Context(false));
1106
1106
  }
@@ -1274,7 +1274,7 @@ var TypeTranslatorVisitor = class {
1274
1274
  }
1275
1275
  };
1276
1276
 
1277
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
1277
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
1278
1278
  import ts8 from "typescript";
1279
1279
  var PureAnnotation;
1280
1280
  (function(PureAnnotation2) {
@@ -1457,7 +1457,7 @@ function attachComments(statement, leadingComments) {
1457
1457
  }
1458
1458
  }
1459
1459
 
1460
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
1460
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
1461
1461
  function translateExpression(expression, imports, options = {}) {
1462
1462
  return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
1463
1463
  }
@@ -1537,4 +1537,4 @@ export {
1537
1537
  * Use of this source code is governed by an MIT-style license that can be
1538
1538
  * found in the LICENSE file at https://angular.io/license
1539
1539
  */
1540
- //# sourceMappingURL=chunk-ZOI6L3RR.js.map
1540
+ //# sourceMappingURL=chunk-5M32KPOS.js.map
@@ -3,7 +3,7 @@
3
3
  const require = __cjsCompatRequire(import.meta.url);
4
4
 
5
5
 
6
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
6
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
7
7
  var LogLevel;
8
8
  (function(LogLevel2) {
9
9
  LogLevel2[LogLevel2["debug"] = 0] = "debug";
@@ -12,7 +12,7 @@ var LogLevel;
12
12
  LogLevel2[LogLevel2["error"] = 3] = "error";
13
13
  })(LogLevel || (LogLevel = {}));
14
14
 
15
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
15
+ // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
16
16
  var RESET = "\x1B[0m";
17
17
  var RED = "\x1B[31m";
18
18
  var YELLOW = "\x1B[33m";
@@ -53,4 +53,4 @@ export {
53
53
  * Use of this source code is governed by an MIT-style license that can be
54
54
  * found in the LICENSE file at https://angular.io/license
55
55
  */
56
- //# sourceMappingURL=chunk-LYJKWJUC.js.map
56
+ //# sourceMappingURL=chunk-CF2CT7RQ.js.map