@angular/compiler-cli 17.0.0 → 17.0.1

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 (40) hide show
  1. package/bundles/{chunk-6WFRHXYB.js → chunk-3L3QP7PC.js} +5 -5
  2. package/bundles/{chunk-3IBJEGH3.js → chunk-BV3ZUD7T.js} +5 -5
  3. package/bundles/{chunk-GYHDNUIK.js → chunk-EKTJ7622.js} +7 -7
  4. package/bundles/{chunk-QDHJ26RK.js → chunk-ELZXPNCU.js} +9 -9
  5. package/bundles/{chunk-6JN5EFEW.js → chunk-HKIDKKUJ.js} +88 -83
  6. package/bundles/{chunk-6JN5EFEW.js.map → chunk-HKIDKKUJ.js.map} +1 -1
  7. package/bundles/{chunk-UHYH6BYB.js → chunk-JZC4T2RR.js} +1 -1
  8. package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
  9. package/bundles/{chunk-VNJI35KB.js → chunk-MHTLEXGT.js} +4 -4
  10. package/bundles/{chunk-CLTYCPJK.js → chunk-OTTOC3WQ.js} +27 -27
  11. package/bundles/{chunk-CSOLWS7O.js → chunk-PCMLSPQF.js} +7 -7
  12. package/bundles/{chunk-KIPH6OCC.js → chunk-VBLBTWOL.js} +108 -107
  13. package/bundles/{chunk-KIPH6OCC.js.map → chunk-VBLBTWOL.js.map} +1 -1
  14. package/bundles/{chunk-QFTMYSLL.js → chunk-Z4QM3XT4.js} +30 -30
  15. package/bundles/index.js +13 -13
  16. package/bundles/linker/babel/index.js +13 -13
  17. package/bundles/linker/index.js +5 -5
  18. package/bundles/ngcc/index.js +1 -1
  19. package/bundles/private/bazel.js +1 -1
  20. package/bundles/private/localize.js +3 -3
  21. package/bundles/private/migrations.js +6 -6
  22. package/bundles/private/tooling.js +4 -4
  23. package/bundles/src/bin/ng_xi18n.js +11 -11
  24. package/bundles/src/bin/ngc.js +9 -9
  25. package/bundles_metadata.json +1 -1
  26. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
  27. package/package.json +2 -2
  28. package/src/ngtsc/annotations/component/src/handler.d.ts +2 -1
  29. package/src/ngtsc/annotations/component/src/resources.d.ts +1 -0
  30. package/src/ngtsc/core/src/compiler.d.ts +1 -0
  31. /package/bundles/{chunk-6WFRHXYB.js.map → chunk-3L3QP7PC.js.map} +0 -0
  32. /package/bundles/{chunk-3IBJEGH3.js.map → chunk-BV3ZUD7T.js.map} +0 -0
  33. /package/bundles/{chunk-GYHDNUIK.js.map → chunk-EKTJ7622.js.map} +0 -0
  34. /package/bundles/{chunk-QDHJ26RK.js.map → chunk-ELZXPNCU.js.map} +0 -0
  35. /package/bundles/{chunk-UHYH6BYB.js.map → chunk-JZC4T2RR.js.map} +0 -0
  36. /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
  37. /package/bundles/{chunk-VNJI35KB.js.map → chunk-MHTLEXGT.js.map} +0 -0
  38. /package/bundles/{chunk-CLTYCPJK.js.map → chunk-OTTOC3WQ.js.map} +0 -0
  39. /package/bundles/{chunk-CSOLWS7O.js.map → chunk-PCMLSPQF.js.map} +0 -0
  40. /package/bundles/{chunk-QFTMYSLL.js.map → chunk-Z4QM3XT4.js.map} +0 -0
@@ -12,13 +12,13 @@ import {
12
12
  formatDiagnostics,
13
13
  performCompilation,
14
14
  readConfiguration
15
- } from "./chunk-KIPH6OCC.js";
15
+ } from "./chunk-VBLBTWOL.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) {
239
239
  let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args);
240
240
  if (configErrors.length) {
@@ -342,4 +342,4 @@ export {
342
342
  * Use of this source code is governed by an MIT-style license that can be
343
343
  * found in the LICENSE file at https://angular.io/license
344
344
  */
345
- //# sourceMappingURL=chunk-6WFRHXYB.js.map
345
+ //# sourceMappingURL=chunk-3L3QP7PC.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/perf/src/api.mjs
6
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
7
7
  var PerfPhase;
8
8
  (function(PerfPhase2) {
9
9
  PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
@@ -71,7 +71,7 @@ var PerfCheckpoint;
71
71
  PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
72
72
  })(PerfCheckpoint || (PerfCheckpoint = {}));
73
73
 
74
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
74
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
75
75
  var NoopPerfRecorder = class {
76
76
  eventCount() {
77
77
  }
@@ -88,7 +88,7 @@ var NoopPerfRecorder = class {
88
88
  };
89
89
  var NOOP_PERF_RECORDER = new NoopPerfRecorder();
90
90
 
91
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
91
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
92
92
  function mark() {
93
93
  return process.hrtime();
94
94
  }
@@ -97,7 +97,7 @@ function timeSinceInMicros(mark2) {
97
97
  return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
98
98
  }
99
99
 
100
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
100
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
101
101
  var ActivePerfRecorder = class {
102
102
  static zeroedToNow() {
103
103
  return new ActivePerfRecorder(mark());
@@ -205,4 +205,4 @@ export {
205
205
  * Use of this source code is governed by an MIT-style license that can be
206
206
  * found in the LICENSE file at https://angular.io/license
207
207
  */
208
- //# sourceMappingURL=chunk-3IBJEGH3.js.map
208
+ //# sourceMappingURL=chunk-BV3ZUD7T.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
@@ -7,9 +7,9 @@ import {
7
7
  NoopImportRewriter,
8
8
  Reference,
9
9
  assertSuccessfulReferenceEmit
10
- } from "./chunk-CLTYCPJK.js";
10
+ } from "./chunk-OTTOC3WQ.js";
11
11
 
12
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
12
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
13
13
  var Context = class {
14
14
  constructor(isStatement) {
15
15
  this.isStatement = isStatement;
@@ -22,7 +22,7 @@ var Context = class {
22
22
  }
23
23
  };
24
24
 
25
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
25
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
26
26
  import * as o from "@angular/compiler";
27
27
  var UNARY_OPERATORS = /* @__PURE__ */ new Map([
28
28
  [o.UnaryOperator.Minus, "-"],
@@ -260,7 +260,7 @@ function createRange(span) {
260
260
  };
261
261
  }
262
262
 
263
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
263
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager.mjs
264
264
  import ts from "typescript";
265
265
  var ImportManager = class {
266
266
  constructor(rewriter = new NoopImportRewriter(), prefix = "i") {
@@ -296,7 +296,7 @@ var ImportManager = class {
296
296
  }
297
297
  };
298
298
 
299
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
299
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
300
300
  import ts2 from "typescript";
301
301
  var INELIGIBLE = {};
302
302
  function canEmitType(type, canEmit) {
@@ -371,7 +371,7 @@ var TypeEmitter = class {
371
371
  }
372
372
  };
373
373
 
374
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
374
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
375
375
  import * as o2 from "@angular/compiler";
376
376
  import ts3 from "typescript";
377
377
  function translateType(type, contextFile, reflector, refEmitter, imports) {
@@ -587,7 +587,7 @@ var TypeTranslatorVisitor = class {
587
587
  }
588
588
  };
589
589
 
590
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
590
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
591
591
  import ts4 from "typescript";
592
592
  var PureAnnotation;
593
593
  (function(PureAnnotation2) {
@@ -783,7 +783,7 @@ function attachComments(statement, leadingComments) {
783
783
  }
784
784
  }
785
785
 
786
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
786
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
787
787
  function translateExpression(expression, imports, options = {}) {
788
788
  return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, options), new Context(false));
789
789
  }
@@ -808,4 +808,4 @@ export {
808
808
  * Use of this source code is governed by an MIT-style license that can be
809
809
  * found in the LICENSE file at https://angular.io/license
810
810
  */
811
- //# sourceMappingURL=chunk-QDHJ26RK.js.map
811
+ //# sourceMappingURL=chunk-ELZXPNCU.js.map