@angular/compiler-cli 17.0.0-next.6 → 17.0.0-next.7

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 (48) hide show
  1. package/bundles/{chunk-DQ4T2KWL.js → chunk-3NXCUQ44.js} +8 -8
  2. package/bundles/{chunk-YPVFT2MR.js → chunk-C4TR4DIO.js} +4 -4
  3. package/bundles/{chunk-W653LDC7.js → chunk-CSOLWS7O.js} +7 -7
  4. package/bundles/{chunk-OULZQUKT.js → chunk-GYHDNUIK.js} +7 -7
  5. package/bundles/{chunk-URH5LEAG.js → chunk-HJOPJLIM.js} +5 -5
  6. package/bundles/{chunk-6MV5LVGW.js → chunk-I3FLXBLP.js} +84 -88
  7. package/bundles/{chunk-6MV5LVGW.js.map → chunk-I3FLXBLP.js.map} +1 -1
  8. package/bundles/{chunk-7HFK25CM.js → chunk-PAPUMJUA.js} +27 -27
  9. package/bundles/{chunk-7YXJWQNF.js → chunk-PBDWVP2J.js} +158 -138
  10. package/bundles/chunk-PBDWVP2J.js.map +6 -0
  11. package/bundles/{chunk-HICXNP7M.js → chunk-PYIYPY3X.js} +44 -40
  12. package/bundles/chunk-PYIYPY3X.js.map +6 -0
  13. package/bundles/{chunk-CF2CT7RQ.js → chunk-SBDNBITT.js} +3 -3
  14. package/bundles/{chunk-3O3O4L34.js → chunk-UHYH6BYB.js} +1 -1
  15. package/bundles/{chunk-T6QZTHEE.js → chunk-W3AMRN7J.js} +5 -5
  16. package/bundles/index.js +13 -13
  17. package/bundles/linker/babel/index.js +13 -13
  18. package/bundles/linker/index.js +5 -5
  19. package/bundles/ngcc/index.js +1 -1
  20. package/bundles/private/bazel.js +1 -1
  21. package/bundles/private/localize.js +3 -3
  22. package/bundles/private/migrations.js +6 -6
  23. package/bundles/private/tooling.js +4 -4
  24. package/bundles/src/bin/ng_xi18n.js +11 -11
  25. package/bundles/src/bin/ngc.js +9 -9
  26. package/bundles_metadata.json +1 -1
  27. package/linker/src/file_linker/partial_linkers/partial_component_linker_1.d.ts +1 -1
  28. package/linker/src/file_linker/partial_linkers/partial_linker.d.ts +1 -1
  29. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -0
  30. package/package.json +2 -2
  31. package/src/ngtsc/annotations/component/src/handler.d.ts +1 -2
  32. package/src/ngtsc/annotations/component/src/resources.d.ts +0 -1
  33. package/src/ngtsc/core/src/compiler.d.ts +0 -1
  34. package/src/ngtsc/docs/src/class_extractor.d.ts +3 -1
  35. package/src/ngtsc/docs/src/entities.d.ts +2 -0
  36. package/src/ngtsc/docs/src/function_extractor.d.ts +1 -1
  37. package/src/ngtsc/typecheck/src/type_check_block.d.ts +5 -4
  38. package/bundles/chunk-7YXJWQNF.js.map +0 -6
  39. package/bundles/chunk-HICXNP7M.js.map +0 -6
  40. /package/bundles/{chunk-DQ4T2KWL.js.map → chunk-3NXCUQ44.js.map} +0 -0
  41. /package/bundles/{chunk-YPVFT2MR.js.map → chunk-C4TR4DIO.js.map} +0 -0
  42. /package/bundles/{chunk-W653LDC7.js.map → chunk-CSOLWS7O.js.map} +0 -0
  43. /package/bundles/{chunk-OULZQUKT.js.map → chunk-GYHDNUIK.js.map} +0 -0
  44. /package/bundles/{chunk-URH5LEAG.js.map → chunk-HJOPJLIM.js.map} +0 -0
  45. /package/bundles/{chunk-7HFK25CM.js.map → chunk-PAPUMJUA.js.map} +0 -0
  46. /package/bundles/{chunk-CF2CT7RQ.js.map → chunk-SBDNBITT.js.map} +0 -0
  47. /package/bundles/{chunk-3O3O4L34.js.map → chunk-UHYH6BYB.js.map} +0 -0
  48. /package/bundles/{chunk-T6QZTHEE.js.map → chunk-W3AMRN7J.js.map} +0 -0
@@ -12,12 +12,12 @@ import {
12
12
  resolve,
13
13
  stripExtension,
14
14
  toRelativeImport
15
- } from "./chunk-W653LDC7.js";
15
+ } from "./chunk-CSOLWS7O.js";
16
16
 
17
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
17
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
18
18
  import ts4 from "typescript";
19
19
 
20
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
20
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
21
21
  import ts from "typescript";
22
22
  function isDecoratorIdentifier(exp) {
23
23
  return ts.isIdentifier(exp) || ts.isPropertyAccessExpression(exp) && ts.isIdentifier(exp.expression) && ts.isIdentifier(exp.name);
@@ -31,7 +31,7 @@ var ClassMemberKind;
31
31
  ClassMemberKind2[ClassMemberKind2["Method"] = 4] = "Method";
32
32
  })(ClassMemberKind || (ClassMemberKind = {}));
33
33
 
34
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
34
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
35
35
  import ts2 from "typescript";
36
36
  function typeToValue(typeNode, checker) {
37
37
  if (typeNode === null) {
@@ -197,7 +197,7 @@ function extractModuleName(node) {
197
197
  return node.moduleSpecifier.text;
198
198
  }
199
199
 
200
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
200
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
201
201
  import ts3 from "typescript";
202
202
  function isNamedClassDeclaration(node) {
203
203
  return ts3.isClassDeclaration(node) && isIdentifier(node.name);
@@ -206,7 +206,7 @@ function isIdentifier(node) {
206
206
  return node !== void 0 && ts3.isIdentifier(node);
207
207
  }
208
208
 
209
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
209
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
210
210
  var TypeScriptReflectionHost = class {
211
211
  constructor(checker) {
212
212
  this.checker = checker;
@@ -640,7 +640,7 @@ function getExportedName(decl, originalId) {
640
640
  }
641
641
  var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
642
642
 
643
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
643
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
644
644
  import ts5 from "typescript";
645
645
  var TS = /\.tsx?$/i;
646
646
  var D_TS = /\.d\.ts$/i;
@@ -741,7 +741,7 @@ function toUnredirectedSourceFile(sf) {
741
741
  return redirectInfo.unredirected;
742
742
  }
743
743
 
744
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
744
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
745
745
  var Reference = class {
746
746
  constructor(node, bestGuessOwningModule = null) {
747
747
  this.node = node;
@@ -804,14 +804,14 @@ var Reference = class {
804
804
  }
805
805
  };
806
806
 
807
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
807
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
808
808
  import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
809
809
 
810
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
810
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
811
811
  import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
812
812
  import ts7 from "typescript";
813
813
 
814
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
814
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
815
815
  var ErrorCode;
816
816
  (function(ErrorCode2) {
817
817
  ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
@@ -889,7 +889,7 @@ var ErrorCode;
889
889
  ErrorCode2[ErrorCode2["LOCAL_COMPILATION_IMPORTED_STYLES_STRING"] = 11002] = "LOCAL_COMPILATION_IMPORTED_STYLES_STRING";
890
890
  })(ErrorCode || (ErrorCode = {}));
891
891
 
892
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
892
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
893
893
  var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
894
894
  ErrorCode.DECORATOR_ARG_NOT_LITERAL,
895
895
  ErrorCode.IMPORT_CYCLE_DETECTED,
@@ -901,10 +901,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
901
901
  ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
902
902
  ]);
903
903
 
904
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
904
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
905
905
  import ts6 from "typescript";
906
906
 
907
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
907
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
908
908
  var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
909
909
  function replaceTsWithNgInErrors(errors) {
910
910
  return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
@@ -913,7 +913,7 @@ function ngErrorCode(code) {
913
913
  return parseInt("-99" + code);
914
914
  }
915
915
 
916
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
916
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
917
917
  var FatalDiagnosticError = class {
918
918
  constructor(code, node, message, relatedInformation) {
919
919
  this.code = code;
@@ -969,10 +969,10 @@ function addDiagnosticChain(messageText, add) {
969
969
  return messageText;
970
970
  }
971
971
 
972
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
972
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
973
973
  var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
974
974
 
975
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
975
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
976
976
  var ExtendedTemplateDiagnosticName;
977
977
  (function(ExtendedTemplateDiagnosticName2) {
978
978
  ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
@@ -985,7 +985,7 @@ var ExtendedTemplateDiagnosticName;
985
985
  ExtendedTemplateDiagnosticName2["SKIP_HYDRATION_NOT_STATIC"] = "skipHydrationNotStatic";
986
986
  })(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
987
987
 
988
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
988
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
989
989
  function findExportedNameOfNode(target, file, reflector) {
990
990
  const exports = reflector.getExportsOfModule(file);
991
991
  if (exports === null) {
@@ -1005,7 +1005,7 @@ function findExportedNameOfNode(target, file, reflector) {
1005
1005
  return foundExportName;
1006
1006
  }
1007
1007
 
1008
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
1008
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
1009
1009
  var ImportFlags;
1010
1010
  (function(ImportFlags2) {
1011
1011
  ImportFlags2[ImportFlags2["None"] = 0] = "None";
@@ -1221,7 +1221,7 @@ var UnifiedModulesStrategy = class {
1221
1221
  }
1222
1222
  };
1223
1223
 
1224
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
1224
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
1225
1225
  var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
1226
1226
  var UnifiedModulesAliasingHost = class {
1227
1227
  constructor(unifiedModulesHost) {
@@ -1288,7 +1288,7 @@ var AliasStrategy = class {
1288
1288
  }
1289
1289
  };
1290
1290
 
1291
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
1291
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
1292
1292
  function relativePathBetween(from, to) {
1293
1293
  const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
1294
1294
  return relativePath !== "" ? toRelativeImport(relativePath) : null;
@@ -1297,7 +1297,7 @@ function normalizeSeparators(path) {
1297
1297
  return path.replace(/\\/g, "/");
1298
1298
  }
1299
1299
 
1300
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
1300
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
1301
1301
  var NoopImportRewriter = class {
1302
1302
  shouldImportSymbol(symbol, specifier) {
1303
1303
  return true;
@@ -1356,7 +1356,7 @@ function validateAndRewriteCoreSymbol(name) {
1356
1356
  return CORE_SUPPORTED_SYMBOLS.get(name);
1357
1357
  }
1358
1358
 
1359
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
1359
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
1360
1360
  import ts8 from "typescript";
1361
1361
  var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
1362
1362
  function loadIsReferencedAliasDeclarationPatch(context) {
@@ -1391,7 +1391,7 @@ function throwIncompatibleTransformationContextError() {
1391
1391
  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.");
1392
1392
  }
1393
1393
 
1394
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
1394
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
1395
1395
  var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
1396
1396
  function attachDefaultImportDeclaration(expr, importDecl) {
1397
1397
  expr[DefaultImportDeclaration] = importDecl;
@@ -1432,7 +1432,7 @@ var DefaultImportTracker = class {
1432
1432
  }
1433
1433
  };
1434
1434
 
1435
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
1435
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
1436
1436
  import ts9 from "typescript";
1437
1437
  var AssumeEager = "AssumeEager";
1438
1438
  var DeferredSymbolTracker = class {
@@ -1525,7 +1525,7 @@ var DeferredSymbolTracker = class {
1525
1525
  }
1526
1526
  };
1527
1527
 
1528
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
1528
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
1529
1529
  var ModuleResolver = class {
1530
1530
  constructor(program, compilerOptions, host, moduleResolutionCache) {
1531
1531
  this.program = program;
@@ -1606,4 +1606,4 @@ export {
1606
1606
  * Use of this source code is governed by an MIT-style license that can be
1607
1607
  * found in the LICENSE file at https://angular.io/license
1608
1608
  */
1609
- //# sourceMappingURL=chunk-7HFK25CM.js.map
1609
+ //# sourceMappingURL=chunk-PAPUMJUA.js.map