@angular/compiler-cli 16.0.0-next.3 → 16.0.0-next.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 (45) hide show
  1. package/bundles/{chunk-LJFSK6KK.js → chunk-76ZWV2KR.js} +33 -33
  2. package/bundles/chunk-76ZWV2KR.js.map +6 -0
  3. package/bundles/{chunk-54RHUHYB.js → chunk-7PCPPTTO.js} +5 -5
  4. package/bundles/{chunk-54RHUHYB.js.map → chunk-7PCPPTTO.js.map} +1 -1
  5. package/bundles/{chunk-K2A5WD7L.js → chunk-B6WD2R2T.js} +25 -21
  6. package/bundles/chunk-B6WD2R2T.js.map +6 -0
  7. package/bundles/{chunk-LLHKY5PL.js → chunk-C4B5W2XC.js} +8 -8
  8. package/bundles/{chunk-GYHDNUIK.js → chunk-EKTJ7622.js} +7 -7
  9. package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
  10. package/bundles/{chunk-BVXD7IJL.js → chunk-MNUHP7AS.js} +5 -5
  11. package/bundles/{chunk-F6KVOAVN.js → chunk-O6RGCXNH.js} +5 -5
  12. package/bundles/{chunk-EDWIBG7R.js → chunk-QQGJEWBQ.js} +6 -6
  13. package/bundles/{chunk-MENJKFAO.js → chunk-SY7FDL66.js} +146 -93
  14. package/bundles/chunk-SY7FDL66.js.map +6 -0
  15. package/bundles/{chunk-EC5K6QPP.js → chunk-TBUSSXUA.js} +7 -7
  16. package/bundles/{chunk-OJ24Q4I3.js → chunk-VFEPUUWJ.js} +140 -121
  17. package/bundles/chunk-VFEPUUWJ.js.map +6 -0
  18. package/bundles/index.js +13 -13
  19. package/bundles/linker/babel/index.js +13 -13
  20. package/bundles/linker/index.js +5 -5
  21. package/bundles/private/bazel.js +1 -1
  22. package/bundles/private/localize.js +3 -3
  23. package/bundles/private/migrations.js +6 -6
  24. package/bundles/private/tooling.js +4 -4
  25. package/bundles/src/bin/ng_xi18n.js +11 -11
  26. package/bundles/src/bin/ngc.js +9 -9
  27. package/bundles_metadata.json +1 -1
  28. package/package.json +2 -2
  29. package/src/ngtsc/core/src/host.d.ts +2 -2
  30. package/src/ngtsc/diagnostics/src/error_code.d.ts +21 -0
  31. package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +2 -1
  32. package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +2 -2
  33. package/src/ngtsc/typecheck/extended/checks/skip_hydration_not_static/index.d.ts +10 -0
  34. package/src/ngtsc/typecheck/src/oob.d.ts +4 -1
  35. package/bundles/chunk-K2A5WD7L.js.map +0 -6
  36. package/bundles/chunk-LJFSK6KK.js.map +0 -6
  37. package/bundles/chunk-MENJKFAO.js.map +0 -6
  38. package/bundles/chunk-OJ24Q4I3.js.map +0 -6
  39. /package/bundles/{chunk-LLHKY5PL.js.map → chunk-C4B5W2XC.js.map} +0 -0
  40. /package/bundles/{chunk-GYHDNUIK.js.map → chunk-EKTJ7622.js.map} +0 -0
  41. /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
  42. /package/bundles/{chunk-BVXD7IJL.js.map → chunk-MNUHP7AS.js.map} +0 -0
  43. /package/bundles/{chunk-F6KVOAVN.js.map → chunk-O6RGCXNH.js.map} +0 -0
  44. /package/bundles/{chunk-EDWIBG7R.js.map → chunk-QQGJEWBQ.js.map} +0 -0
  45. /package/bundles/{chunk-EC5K6QPP.js.map → chunk-TBUSSXUA.js.map} +0 -0
@@ -4,9 +4,9 @@
4
4
 
5
5
  import {
6
6
  NoopImportRewriter
7
- } from "./chunk-K2A5WD7L.js";
7
+ } from "./chunk-B6WD2R2T.js";
8
8
 
9
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
9
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
10
10
  var Context = class {
11
11
  constructor(isStatement) {
12
12
  this.isStatement = isStatement;
@@ -19,7 +19,7 @@ var Context = class {
19
19
  }
20
20
  };
21
21
 
22
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
22
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
23
23
  import * as o from "@angular/compiler";
24
24
  var UNARY_OPERATORS = /* @__PURE__ */ new Map([
25
25
  [o.UnaryOperator.Minus, "-"],
@@ -251,7 +251,7 @@ function createRange(span) {
251
251
  };
252
252
  }
253
253
 
254
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
254
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
255
255
  import ts from "typescript";
256
256
  var ImportManager = class {
257
257
  constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
@@ -287,7 +287,7 @@ var ImportManager = class {
287
287
  }
288
288
  };
289
289
 
290
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
290
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
291
291
  import * as o2 from "@angular/compiler";
292
292
  import ts2 from "typescript";
293
293
  function translateType(type, imports) {
@@ -463,7 +463,7 @@ var TypeTranslatorVisitor = class {
463
463
  }
464
464
  };
465
465
 
466
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
466
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
467
467
  import ts3 from "typescript";
468
468
  var PureAnnotation;
469
469
  (function(PureAnnotation2) {
@@ -646,7 +646,7 @@ function attachComments(statement, leadingComments) {
646
646
  }
647
647
  }
648
648
 
649
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
649
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
650
650
  function translateExpression(expression, imports, options = {}) {
651
651
  return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
652
652
  }
@@ -669,4 +669,4 @@ export {
669
669
  * Use of this source code is governed by an MIT-style license that can be
670
670
  * found in the LICENSE file at https://angular.io/license
671
671
  */
672
- //# sourceMappingURL=chunk-LLHKY5PL.js.map
672
+ //# sourceMappingURL=chunk-C4B5W2XC.js.map
@@ -3,11 +3,11 @@
3
3
  const require = __cjsCompatRequire(import.meta.url);
4
4
 
5
5
 
6
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
6
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
7
7
  import { decode, encode } from "@jridgewell/sourcemap-codec";
8
8
  import mapHelpers from "convert-source-map";
9
9
 
10
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
10
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
11
11
  function compareSegments(a, b) {
12
12
  return a.position - b.position;
13
13
  }
@@ -27,7 +27,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
27
27
  return { line, column, position, next: void 0 };
28
28
  }
29
29
 
30
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
30
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
31
31
  function removeSourceMapComments(contents) {
32
32
  return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
33
33
  }
@@ -278,10 +278,10 @@ var Cache = class {
278
278
  }
279
279
  };
280
280
 
281
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
281
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
282
282
  import mapHelpers2 from "convert-source-map";
283
283
 
284
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
284
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
285
285
  var ContentOrigin;
286
286
  (function(ContentOrigin2) {
287
287
  ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
@@ -289,7 +289,7 @@ var ContentOrigin;
289
289
  ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
290
290
  })(ContentOrigin || (ContentOrigin = {}));
291
291
 
292
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
292
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
293
293
  var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
294
294
  var SourceFileLoader = class {
295
295
  constructor(fs, logger, schemeMap) {
@@ -416,4 +416,4 @@ export {
416
416
  * Use of this source code is governed by an MIT-style license that can be
417
417
  * found in the LICENSE file at https://angular.io/license
418
418
  */
419
- //# sourceMappingURL=chunk-GYHDNUIK.js.map
419
+ //# sourceMappingURL=chunk-EKTJ7622.js.map
@@ -3,7 +3,7 @@
3
3
  const require = __cjsCompatRequire(import.meta.url);
4
4
 
5
5
 
6
- // bazel-out/darwin_arm64-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_arm64-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-SBDNBITT.js.map
56
+ //# sourceMappingURL=chunk-LYJKWJUC.js.map
@@ -4,13 +4,13 @@
4
4
 
5
5
  import {
6
6
  TypeScriptReflectionHost
7
- } from "./chunk-EDWIBG7R.js";
7
+ } from "./chunk-QQGJEWBQ.js";
8
8
  import {
9
9
  isAliasImportDeclaration,
10
10
  loadIsReferencedAliasDeclarationPatch
11
- } from "./chunk-K2A5WD7L.js";
11
+ } from "./chunk-B6WD2R2T.js";
12
12
 
13
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
13
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.mjs
14
14
  import ts from "typescript";
15
15
  function isAngularDecorator(decorator, isCore) {
16
16
  return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
@@ -313,7 +313,7 @@ function cloneClassElementWithModifiers(node, modifiers) {
313
313
  return ts.setOriginalNode(clone, node);
314
314
  }
315
315
 
316
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
316
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
317
317
  var GLOBAL_DEFS_FOR_TERSER = {
318
318
  ngDevMode: false,
319
319
  ngI18nClosureMode: false
@@ -346,4 +346,4 @@ export {
346
346
  * Use of this source code is governed by an MIT-style license that can be
347
347
  * found in the LICENSE file at https://angular.io/license
348
348
  */
349
- //# sourceMappingURL=chunk-BVXD7IJL.js.map
349
+ //# sourceMappingURL=chunk-MNUHP7AS.js.map
@@ -12,13 +12,13 @@ import {
12
12
  formatDiagnostics,
13
13
  performCompilation,
14
14
  readConfiguration
15
- } from "./chunk-OJ24Q4I3.js";
15
+ } from "./chunk-VFEPUUWJ.js";
16
16
 
17
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/main.mjs
17
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
18
18
  import ts2 from "typescript";
19
19
  import yargs from "yargs";
20
20
 
21
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_watch.mjs
21
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_watch.mjs
22
22
  import * as chokidar from "chokidar";
23
23
  import * as path from "path";
24
24
  import ts from "typescript";
@@ -234,7 +234,7 @@ function performWatchCompilation(host) {
234
234
  }
235
235
  }
236
236
 
237
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/main.mjs
237
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
238
238
  function main(args, consoleError = console.error, config, customTransformers, programReuse, modifiedResourceFiles, tsickle) {
239
239
  let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args);
240
240
  if (configErrors.length) {
@@ -375,4 +375,4 @@ export {
375
375
  * Use of this source code is governed by an MIT-style license that can be
376
376
  * found in the LICENSE file at https://angular.io/license
377
377
  */
378
- //# sourceMappingURL=chunk-F6KVOAVN.js.map
378
+ //# sourceMappingURL=chunk-O6RGCXNH.js.map
@@ -3,10 +3,10 @@
3
3
  const require = __cjsCompatRequire(import.meta.url);
4
4
 
5
5
 
6
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
6
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
7
7
  import ts4 from "typescript";
8
8
 
9
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
9
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
10
10
  import ts from "typescript";
11
11
  var Decorator = {
12
12
  nodeForError: (decorator) => {
@@ -41,7 +41,7 @@ function isConcreteDeclaration(decl) {
41
41
  return decl.kind === 0;
42
42
  }
43
43
 
44
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
44
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
45
45
  import ts2 from "typescript";
46
46
  function typeToValue(typeNode, checker) {
47
47
  if (typeNode === null) {
@@ -207,7 +207,7 @@ function extractModuleName(node) {
207
207
  return node.moduleSpecifier.text;
208
208
  }
209
209
 
210
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
210
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
211
211
  import ts3 from "typescript";
212
212
  function isNamedClassDeclaration(node) {
213
213
  return ts3.isClassDeclaration(node) && isIdentifier(node.name);
@@ -216,7 +216,7 @@ function isIdentifier(node) {
216
216
  return node !== void 0 && ts3.isIdentifier(node);
217
217
  }
218
218
 
219
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
219
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
220
220
  var TypeScriptReflectionHost = class {
221
221
  constructor(checker) {
222
222
  this.checker = checker;
@@ -671,4 +671,4 @@ export {
671
671
  * Use of this source code is governed by an MIT-style license that can be
672
672
  * found in the LICENSE file at https://angular.io/license
673
673
  */
674
- //# sourceMappingURL=chunk-EDWIBG7R.js.map
674
+ //# sourceMappingURL=chunk-QQGJEWBQ.js.map