@angular/compiler-cli 13.3.4 → 13.3.5

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 (46) hide show
  1. package/bundles/{chunk-UDG7FV2F.js → chunk-45NS77NQ.js} +4 -4
  2. package/bundles/{chunk-UDG7FV2F.js.map → chunk-45NS77NQ.js.map} +0 -0
  3. package/bundles/{chunk-5XOEDNQ7.js → chunk-6DYPLTK7.js} +85 -85
  4. package/bundles/{chunk-5XOEDNQ7.js.map → chunk-6DYPLTK7.js.map} +0 -0
  5. package/bundles/{chunk-UAIUNABS.js → chunk-6S4GKCLN.js} +40 -40
  6. package/bundles/{chunk-UAIUNABS.js.map → chunk-6S4GKCLN.js.map} +0 -0
  7. package/bundles/{chunk-SWYYBHE5.js → chunk-AO2UNHEQ.js} +5 -5
  8. package/bundles/{chunk-SWYYBHE5.js.map → chunk-AO2UNHEQ.js.map} +0 -0
  9. package/bundles/{chunk-HAJOG5B7.js → chunk-CLV7JFJQ.js} +7 -7
  10. package/bundles/{chunk-HAJOG5B7.js.map → chunk-CLV7JFJQ.js.map} +0 -0
  11. package/bundles/{chunk-UTSZJQCU.js → chunk-EIFOOEXQ.js} +7 -7
  12. package/bundles/{chunk-UTSZJQCU.js.map → chunk-EIFOOEXQ.js.map} +0 -0
  13. package/bundles/{chunk-FDEQP2NW.js → chunk-HTCAZIYK.js} +6 -6
  14. package/bundles/{chunk-FDEQP2NW.js.map → chunk-HTCAZIYK.js.map} +0 -0
  15. package/bundles/{chunk-ZCDB56AX.js → chunk-LX5Q27EF.js} +3 -3
  16. package/bundles/{chunk-ZCDB56AX.js.map → chunk-LX5Q27EF.js.map} +0 -0
  17. package/bundles/{chunk-K2VJV6GY.js → chunk-MSOUQGBK.js} +57 -57
  18. package/bundles/{chunk-K2VJV6GY.js.map → chunk-MSOUQGBK.js.map} +0 -0
  19. package/bundles/{chunk-A7GANIJT.js → chunk-Q5GIQ3RV.js} +6 -6
  20. package/bundles/{chunk-A7GANIJT.js.map → chunk-Q5GIQ3RV.js.map} +0 -0
  21. package/bundles/{chunk-SJL5HBUW.js → chunk-R3C7RFJ4.js} +2 -2
  22. package/bundles/{chunk-SJL5HBUW.js.map → chunk-R3C7RFJ4.js.map} +0 -0
  23. package/bundles/{chunk-LC26KH5A.js → chunk-R4NY3TJC.js} +5 -5
  24. package/bundles/{chunk-LC26KH5A.js.map → chunk-R4NY3TJC.js.map} +0 -0
  25. package/bundles/{chunk-W3FLD7KU.js → chunk-WXB5AWIG.js} +26 -26
  26. package/bundles/{chunk-W3FLD7KU.js.map → chunk-WXB5AWIG.js.map} +0 -0
  27. package/bundles/{chunk-S2JDWKKT.js → chunk-YYOMS5IC.js} +70 -70
  28. package/bundles/{chunk-S2JDWKKT.js.map → chunk-YYOMS5IC.js.map} +0 -0
  29. package/bundles/{chunk-IEIGNUVQ.js → chunk-ZZF2R6KZ.js} +31 -31
  30. package/bundles/{chunk-IEIGNUVQ.js.map → chunk-ZZF2R6KZ.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/ngcc/src/packages/build_marker.d.ts +1 -1
  46. package/package.json +2 -2
@@ -13,9 +13,9 @@ import {
13
13
  resolve,
14
14
  stripExtension,
15
15
  toRelativeImport
16
- } from "./chunk-HAJOG5B7.js";
16
+ } from "./chunk-CLV7JFJQ.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;
@@ -114,7 +114,7 @@ function createExportSpecifier(propertyName, name, isTypeOnly = false) {
114
114
  return PARSED_TS_VERSION > 4.4 ? ts.createExportSpecifier(isTypeOnly, propertyName, name) : ts.createExportSpecifier(propertyName, name);
115
115
  }
116
116
 
117
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
117
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
118
118
  var Reference = class {
119
119
  constructor(node, bestGuessOwningModule = null) {
120
120
  this.node = node;
@@ -177,14 +177,14 @@ var Reference = class {
177
177
  }
178
178
  };
179
179
 
180
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
180
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
181
181
  import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
182
182
 
183
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
183
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
184
184
  import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
185
185
  import ts3 from "typescript";
186
186
 
187
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
187
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
188
188
  var ErrorCode;
189
189
  (function(ErrorCode2) {
190
190
  ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
@@ -239,7 +239,7 @@ var ErrorCode;
239
239
  ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
240
240
  })(ErrorCode || (ErrorCode = {}));
241
241
 
242
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
242
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
243
243
  var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
244
244
  ErrorCode.DECORATOR_ARG_NOT_LITERAL,
245
245
  ErrorCode.IMPORT_CYCLE_DETECTED,
@@ -250,10 +250,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
250
250
  ErrorCode.COMPONENT_INVALID_SHADOW_DOM_SELECTOR
251
251
  ]);
252
252
 
253
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
253
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
254
254
  import ts2 from "typescript";
255
255
 
256
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
256
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
257
257
  var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
258
258
  function replaceTsWithNgInErrors(errors) {
259
259
  return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
@@ -262,7 +262,7 @@ function ngErrorCode(code) {
262
262
  return parseInt("-99" + code);
263
263
  }
264
264
 
265
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
265
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
266
266
  var FatalDiagnosticError = class {
267
267
  constructor(code, node, message, relatedInformation) {
268
268
  this.code = code;
@@ -310,17 +310,17 @@ function isFatalDiagnosticError(err) {
310
310
  return err._isFatalDiagnosticError === true;
311
311
  }
312
312
 
313
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
313
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
314
314
  var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
315
315
 
316
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
316
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
317
317
  var ExtendedTemplateDiagnosticName;
318
318
  (function(ExtendedTemplateDiagnosticName2) {
319
319
  ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
320
320
  ExtendedTemplateDiagnosticName2["NULLISH_COALESCING_NOT_NULLABLE"] = "nullishCoalescingNotNullable";
321
321
  })(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
322
322
 
323
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
323
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
324
324
  function findExportedNameOfNode(target, file, reflector) {
325
325
  const exports = reflector.getExportsOfModule(file);
326
326
  if (exports === null) {
@@ -340,7 +340,7 @@ function findExportedNameOfNode(target, file, reflector) {
340
340
  return foundExportName;
341
341
  }
342
342
 
343
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
343
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
344
344
  var ImportFlags;
345
345
  (function(ImportFlags2) {
346
346
  ImportFlags2[ImportFlags2["None"] = 0] = "None";
@@ -556,7 +556,7 @@ var UnifiedModulesStrategy = class {
556
556
  }
557
557
  };
558
558
 
559
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
559
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
560
560
  var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
561
561
  var UnifiedModulesAliasingHost = class {
562
562
  constructor(unifiedModulesHost) {
@@ -623,7 +623,7 @@ var AliasStrategy = class {
623
623
  }
624
624
  };
625
625
 
626
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
626
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
627
627
  function relativePathBetween(from, to) {
628
628
  const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
629
629
  return relativePath !== "" ? toRelativeImport(relativePath) : null;
@@ -632,7 +632,7 @@ function normalizeSeparators(path) {
632
632
  return path.replace(/\\/g, "/");
633
633
  }
634
634
 
635
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
635
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
636
636
  var NoopImportRewriter = class {
637
637
  shouldImportSymbol(symbol, specifier) {
638
638
  return true;
@@ -690,7 +690,7 @@ function validateAndRewriteCoreSymbol(name) {
690
690
  return CORE_SUPPORTED_SYMBOLS.get(name);
691
691
  }
692
692
 
693
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
693
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
694
694
  import ts4 from "typescript";
695
695
  var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
696
696
  function attachDefaultImportDeclaration(expr, importDecl) {
@@ -735,7 +735,7 @@ var DefaultImportTracker = class {
735
735
  }
736
736
  };
737
737
 
738
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
738
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
739
739
  var ModuleResolver = class {
740
740
  constructor(program, compilerOptions, host, moduleResolutionCache) {
741
741
  this.program = program;
@@ -752,7 +752,7 @@ var ModuleResolver = class {
752
752
  }
753
753
  };
754
754
 
755
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
755
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
756
756
  var Context = class {
757
757
  constructor(isStatement) {
758
758
  this.isStatement = isStatement;
@@ -765,7 +765,7 @@ var Context = class {
765
765
  }
766
766
  };
767
767
 
768
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
768
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
769
769
  import * as o from "@angular/compiler";
770
770
  var UNARY_OPERATORS = /* @__PURE__ */ new Map([
771
771
  [o.UnaryOperator.Minus, "-"],
@@ -989,7 +989,7 @@ function createRange(span) {
989
989
  };
990
990
  }
991
991
 
992
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
992
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
993
993
  import ts5 from "typescript";
994
994
  var ImportManager = class {
995
995
  constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
@@ -1025,7 +1025,7 @@ var ImportManager = class {
1025
1025
  }
1026
1026
  };
1027
1027
 
1028
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
1028
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
1029
1029
  import * as o2 from "@angular/compiler";
1030
1030
  import ts6 from "typescript";
1031
1031
  function translateType(type, imports) {
@@ -1196,7 +1196,7 @@ var TypeTranslatorVisitor = class {
1196
1196
  }
1197
1197
  };
1198
1198
 
1199
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
1199
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
1200
1200
  import ts7 from "typescript";
1201
1201
  var PureAnnotation;
1202
1202
  (function(PureAnnotation2) {
@@ -1368,7 +1368,7 @@ function attachComments(statement, leadingComments) {
1368
1368
  }
1369
1369
  }
1370
1370
 
1371
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
1371
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
1372
1372
  function translateExpression(expression, imports, options = {}) {
1373
1373
  return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
1374
1374
  }
@@ -1437,4 +1437,4 @@ export {
1437
1437
  * Use of this source code is governed by an MIT-style license that can be
1438
1438
  * found in the LICENSE file at https://angular.io/license
1439
1439
  */
1440
- //# sourceMappingURL=chunk-W3FLD7KU.js.map
1440
+ //# sourceMappingURL=chunk-WXB5AWIG.js.map