@angular/compiler-cli 14.0.4 → 14.0.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-5K2JLFXT.js → chunk-2IMT6JFI.js} +6 -6
  2. package/bundles/{chunk-5K2JLFXT.js.map → chunk-2IMT6JFI.js.map} +0 -0
  3. package/bundles/{chunk-GN23SRRJ.js → chunk-7XY4OMWJ.js} +31 -31
  4. package/bundles/{chunk-GN23SRRJ.js.map → chunk-7XY4OMWJ.js.map} +0 -0
  5. package/bundles/{chunk-I5XLLSQO.js → chunk-DIXBUYVP.js} +70 -70
  6. package/bundles/{chunk-I5XLLSQO.js.map → chunk-DIXBUYVP.js.map} +0 -0
  7. package/bundles/{chunk-BU7ESD7N.js → chunk-EBIPNBQL.js} +5 -5
  8. package/bundles/{chunk-BU7ESD7N.js.map → chunk-EBIPNBQL.js.map} +0 -0
  9. package/bundles/{chunk-C2OTZTPY.js → chunk-JDKMNZ6O.js} +26 -26
  10. package/bundles/{chunk-C2OTZTPY.js.map → chunk-JDKMNZ6O.js.map} +0 -0
  11. package/bundles/{chunk-ZCDB56AX.js → chunk-LX5Q27EF.js} +3 -3
  12. package/bundles/{chunk-ZCDB56AX.js.map → chunk-LX5Q27EF.js.map} +0 -0
  13. package/bundles/{chunk-UT3V7UNM.js → chunk-N5CM3LUE.js} +69 -69
  14. package/bundles/{chunk-UT3V7UNM.js.map → chunk-N5CM3LUE.js.map} +0 -0
  15. package/bundles/{chunk-BRHP6XKM.js → chunk-OLGEBPBY.js} +4 -4
  16. package/bundles/{chunk-BRHP6XKM.js.map → chunk-OLGEBPBY.js.map} +0 -0
  17. package/bundles/{chunk-SJL5HBUW.js → chunk-R3C7RFJ4.js} +2 -2
  18. package/bundles/{chunk-SJL5HBUW.js.map → chunk-R3C7RFJ4.js.map} +0 -0
  19. package/bundles/{chunk-LC26KH5A.js → chunk-R4NY3TJC.js} +5 -5
  20. package/bundles/{chunk-LC26KH5A.js.map → chunk-R4NY3TJC.js.map} +0 -0
  21. package/bundles/{chunk-TD64C4QJ.js → chunk-T7MYRXIE.js} +7 -7
  22. package/bundles/{chunk-TD64C4QJ.js.map → chunk-T7MYRXIE.js.map} +0 -0
  23. package/bundles/{chunk-TV7VZNWL.js → chunk-W6KM7BUM.js} +6 -6
  24. package/bundles/{chunk-TV7VZNWL.js.map → chunk-W6KM7BUM.js.map} +0 -0
  25. package/bundles/{chunk-WH4QSABR.js → chunk-WGBFSDVQ.js} +7 -7
  26. package/bundles/{chunk-WH4QSABR.js.map → chunk-WGBFSDVQ.js.map} +0 -0
  27. package/bundles/{chunk-74GV6EUR.js → chunk-XDCGNQL5.js} +91 -91
  28. package/bundles/{chunk-74GV6EUR.js.map → chunk-XDCGNQL5.js.map} +0 -0
  29. package/bundles/{chunk-Z3OO24P2.js → chunk-Z7J7RXFF.js} +40 -40
  30. package/bundles/{chunk-Z3OO24P2.js.map → chunk-Z7J7RXFF.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-TD64C4QJ.js";
16
+ } from "./chunk-T7MYRXIE.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;
@@ -110,7 +110,7 @@ function toUnredirectedSourceFile(sf) {
110
110
  return redirectInfo.unredirected;
111
111
  }
112
112
 
113
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
113
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
114
114
  var Reference = class {
115
115
  constructor(node, bestGuessOwningModule = null) {
116
116
  this.node = node;
@@ -173,14 +173,14 @@ var Reference = class {
173
173
  }
174
174
  };
175
175
 
176
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
176
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
177
177
  import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
178
178
 
179
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
179
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
180
180
  import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
181
181
  import ts3 from "typescript";
182
182
 
183
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
183
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
184
184
  var ErrorCode;
185
185
  (function(ErrorCode2) {
186
186
  ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
@@ -241,7 +241,7 @@ var ErrorCode;
241
241
  ErrorCode2[ErrorCode2["SUGGEST_SUBOPTIMAL_TYPE_INFERENCE"] = 10002] = "SUGGEST_SUBOPTIMAL_TYPE_INFERENCE";
242
242
  })(ErrorCode || (ErrorCode = {}));
243
243
 
244
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
244
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
245
245
  var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
246
246
  ErrorCode.DECORATOR_ARG_NOT_LITERAL,
247
247
  ErrorCode.IMPORT_CYCLE_DETECTED,
@@ -253,10 +253,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
253
253
  ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
254
254
  ]);
255
255
 
256
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
256
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
257
257
  import ts2 from "typescript";
258
258
 
259
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
259
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
260
260
  var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
261
261
  function replaceTsWithNgInErrors(errors) {
262
262
  return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
@@ -265,7 +265,7 @@ function ngErrorCode(code) {
265
265
  return parseInt("-99" + code);
266
266
  }
267
267
 
268
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
268
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
269
269
  var FatalDiagnosticError = class {
270
270
  constructor(code, node, message, relatedInformation) {
271
271
  this.code = code;
@@ -313,17 +313,17 @@ function isFatalDiagnosticError(err) {
313
313
  return err._isFatalDiagnosticError === true;
314
314
  }
315
315
 
316
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
316
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
317
317
  var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
318
318
 
319
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
319
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
320
320
  var ExtendedTemplateDiagnosticName;
321
321
  (function(ExtendedTemplateDiagnosticName2) {
322
322
  ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
323
323
  ExtendedTemplateDiagnosticName2["NULLISH_COALESCING_NOT_NULLABLE"] = "nullishCoalescingNotNullable";
324
324
  })(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
325
325
 
326
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
326
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
327
327
  function findExportedNameOfNode(target, file, reflector) {
328
328
  const exports = reflector.getExportsOfModule(file);
329
329
  if (exports === null) {
@@ -343,7 +343,7 @@ function findExportedNameOfNode(target, file, reflector) {
343
343
  return foundExportName;
344
344
  }
345
345
 
346
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
346
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
347
347
  var ImportFlags;
348
348
  (function(ImportFlags2) {
349
349
  ImportFlags2[ImportFlags2["None"] = 0] = "None";
@@ -559,7 +559,7 @@ var UnifiedModulesStrategy = class {
559
559
  }
560
560
  };
561
561
 
562
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
562
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
563
563
  var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
564
564
  var UnifiedModulesAliasingHost = class {
565
565
  constructor(unifiedModulesHost) {
@@ -626,7 +626,7 @@ var AliasStrategy = class {
626
626
  }
627
627
  };
628
628
 
629
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
629
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
630
630
  function relativePathBetween(from, to) {
631
631
  const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
632
632
  return relativePath !== "" ? toRelativeImport(relativePath) : null;
@@ -635,7 +635,7 @@ function normalizeSeparators(path) {
635
635
  return path.replace(/\\/g, "/");
636
636
  }
637
637
 
638
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
638
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
639
639
  var NoopImportRewriter = class {
640
640
  shouldImportSymbol(symbol, specifier) {
641
641
  return true;
@@ -693,7 +693,7 @@ function validateAndRewriteCoreSymbol(name) {
693
693
  return CORE_SUPPORTED_SYMBOLS.get(name);
694
694
  }
695
695
 
696
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
696
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
697
697
  import ts4 from "typescript";
698
698
  var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
699
699
  function attachDefaultImportDeclaration(expr, importDecl) {
@@ -738,7 +738,7 @@ var DefaultImportTracker = class {
738
738
  }
739
739
  };
740
740
 
741
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
741
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
742
742
  var ModuleResolver = class {
743
743
  constructor(program, compilerOptions, host, moduleResolutionCache) {
744
744
  this.program = program;
@@ -755,7 +755,7 @@ var ModuleResolver = class {
755
755
  }
756
756
  };
757
757
 
758
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
758
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
759
759
  var Context = class {
760
760
  constructor(isStatement) {
761
761
  this.isStatement = isStatement;
@@ -768,7 +768,7 @@ var Context = class {
768
768
  }
769
769
  };
770
770
 
771
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
771
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
772
772
  import * as o from "@angular/compiler";
773
773
  var UNARY_OPERATORS = /* @__PURE__ */ new Map([
774
774
  [o.UnaryOperator.Minus, "-"],
@@ -992,7 +992,7 @@ function createRange(span) {
992
992
  };
993
993
  }
994
994
 
995
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
995
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
996
996
  import ts5 from "typescript";
997
997
  var ImportManager = class {
998
998
  constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
@@ -1028,7 +1028,7 @@ var ImportManager = class {
1028
1028
  }
1029
1029
  };
1030
1030
 
1031
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
1031
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
1032
1032
  import * as o2 from "@angular/compiler";
1033
1033
  import ts6 from "typescript";
1034
1034
  function translateType(type, imports) {
@@ -1199,7 +1199,7 @@ var TypeTranslatorVisitor = class {
1199
1199
  }
1200
1200
  };
1201
1201
 
1202
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
1202
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
1203
1203
  import ts7 from "typescript";
1204
1204
  var PureAnnotation;
1205
1205
  (function(PureAnnotation2) {
@@ -1377,7 +1377,7 @@ function attachComments(statement, leadingComments) {
1377
1377
  }
1378
1378
  }
1379
1379
 
1380
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
1380
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
1381
1381
  function translateExpression(expression, imports, options = {}) {
1382
1382
  return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
1383
1383
  }
@@ -1445,4 +1445,4 @@ export {
1445
1445
  * Use of this source code is governed by an MIT-style license that can be
1446
1446
  * found in the LICENSE file at https://angular.io/license
1447
1447
  */
1448
- //# sourceMappingURL=chunk-C2OTZTPY.js.map
1448
+ //# sourceMappingURL=chunk-JDKMNZ6O.js.map
@@ -3,7 +3,7 @@
3
3
  const require = __cjsCompatRequire(import.meta.url);
4
4
  const __ESM_IMPORT_META_URL__ = import.meta.url;
5
5
 
6
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
6
+ // bazel-out/k8-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/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
15
+ // bazel-out/k8-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-ZCDB56AX.js.map
56
+ //# sourceMappingURL=chunk-LX5Q27EF.js.map