@angular/compiler-cli 19.0.0 → 19.1.0-next.0

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.
@@ -4,7 +4,7 @@
4
4
 
5
5
  import {
6
6
  angularJitApplicationTransform
7
- } from "./chunk-RJMMB5HJ.js";
7
+ } from "./chunk-NFCGJ6UU.js";
8
8
 
9
9
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
10
10
  var GLOBAL_DEFS_FOR_TERSER = {
@@ -31,4 +31,4 @@ export {
31
31
  * Use of this source code is governed by an MIT-style license that can be
32
32
  * found in the LICENSE file at https://angular.dev/license
33
33
  */
34
- //# sourceMappingURL=chunk-6RLW23PZ.js.map
34
+ //# sourceMappingURL=chunk-5ZWV2XEF.js.map
@@ -4,7 +4,7 @@
4
4
 
5
5
  import {
6
6
  angularJitApplicationTransform
7
- } from "./chunk-RJMMB5HJ.js";
7
+ } from "./chunk-NFCGJ6UU.js";
8
8
  import {
9
9
  CompilationMode,
10
10
  ComponentDecoratorHandler,
@@ -51,7 +51,7 @@ import {
51
51
  retagAllTsFiles,
52
52
  tryParseInitializerApi,
53
53
  untagAllTsFiles
54
- } from "./chunk-OM3GHCE5.js";
54
+ } from "./chunk-ZEPJHGBL.js";
55
55
  import {
56
56
  AbsoluteModuleStrategy,
57
57
  AliasStrategy,
@@ -1163,7 +1163,7 @@ function compareVersions(v1, v2) {
1163
1163
 
1164
1164
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
1165
1165
  var MIN_TS_VERSION = "5.5.0";
1166
- var MAX_TS_VERSION = "5.7.0";
1166
+ var MAX_TS_VERSION = "5.8.0";
1167
1167
  var tsVersion = ts12.version;
1168
1168
  function checkVersion(version, minVersion, maxVersion) {
1169
1169
  if (compareVersions(version, minVersion) < 0 || compareVersions(version, maxVersion) >= 0) {
@@ -5031,4 +5031,4 @@ export {
5031
5031
  * Use of this source code is governed by an MIT-style license that can be
5032
5032
  * found in the LICENSE file at https://angular.dev/license
5033
5033
  */
5034
- //# sourceMappingURL=chunk-WLQBAON6.js.map
5034
+ //# sourceMappingURL=chunk-DHTI5OKE.js.map
@@ -10,7 +10,7 @@ import {
10
10
  tryParseSignalInputMapping,
11
11
  tryParseSignalModelMapping,
12
12
  tryParseSignalQueryFromInitializer
13
- } from "./chunk-OM3GHCE5.js";
13
+ } from "./chunk-ZEPJHGBL.js";
14
14
  import {
15
15
  ImportManager,
16
16
  ImportedSymbolsTracker,
@@ -536,4 +536,4 @@ export {
536
536
  * Use of this source code is governed by an MIT-style license that can be
537
537
  * found in the LICENSE file at https://angular.dev/license
538
538
  */
539
- //# sourceMappingURL=chunk-RJMMB5HJ.js.map
539
+ //# sourceMappingURL=chunk-NFCGJ6UU.js.map
@@ -311,7 +311,7 @@ import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSo
311
311
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
312
312
  import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
313
313
  import semver from "semver";
314
- var PLACEHOLDER_VERSION = "19.0.0";
314
+ var PLACEHOLDER_VERSION = "19.1.0-next.0";
315
315
  function wrapReference(wrapped) {
316
316
  return { value: wrapped, type: wrapped };
317
317
  }
@@ -12,7 +12,7 @@ import {
12
12
  formatDiagnostics,
13
13
  performCompilation,
14
14
  readConfiguration
15
- } from "./chunk-WLQBAON6.js";
15
+ } from "./chunk-DHTI5OKE.js";
16
16
 
17
17
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
18
18
  import ts2 from "typescript";
@@ -363,4 +363,4 @@ export {
363
363
  * Use of this source code is governed by an MIT-style license that can be
364
364
  * found in the LICENSE file at https://angular.dev/license
365
365
  */
366
- //# sourceMappingURL=chunk-F33AEX64.js.map
366
+ //# sourceMappingURL=chunk-W3RHSPCT.js.map
@@ -4603,7 +4603,7 @@ var TypeCheckScopeRegistry = class {
4603
4603
  import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
4604
4604
 
4605
4605
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4606
- import { createMayBeForwardRefExpression as createMayBeForwardRefExpression2, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
4606
+ import { createMayBeForwardRefExpression as createMayBeForwardRefExpression2, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, ParserError, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
4607
4607
  import ts22 from "typescript";
4608
4608
 
4609
4609
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.mjs
@@ -5628,14 +5628,20 @@ function evaluateHostExpressionBindings(hostExpr, evaluator) {
5628
5628
  const bindings = parseHostBindings(hostMetadata);
5629
5629
  const errors = verifyHostBindings(bindings, createSourceSpan(hostExpr));
5630
5630
  if (errors.length > 0) {
5631
- throw new FatalDiagnosticError(
5632
- ErrorCode.HOST_BINDING_PARSE_ERROR,
5633
- hostExpr,
5634
- errors.map((error) => error.msg).join("\n")
5635
- );
5631
+ throw new FatalDiagnosticError(ErrorCode.HOST_BINDING_PARSE_ERROR, getHostBindingErrorNode(errors[0], hostExpr), errors.map((error) => error.msg).join("\n"));
5636
5632
  }
5637
5633
  return bindings;
5638
5634
  }
5635
+ function getHostBindingErrorNode(error, hostExpr) {
5636
+ if (ts22.isObjectLiteralExpression(hostExpr) && error.relatedError instanceof ParserError) {
5637
+ for (const prop of hostExpr.properties) {
5638
+ if (ts22.isPropertyAssignment(prop) && ts22.isStringLiteralLike(prop.initializer) && prop.initializer.text === error.relatedError.input) {
5639
+ return prop.initializer;
5640
+ }
5641
+ }
5642
+ }
5643
+ return hostExpr;
5644
+ }
5639
5645
  function extractHostDirectives(rawHostDirectives, evaluator, compilationMode) {
5640
5646
  const resolved = evaluator.evaluate(rawHostDirectives, forwardRefResolver);
5641
5647
  if (!Array.isArray(resolved)) {
@@ -8172,6 +8178,9 @@ var SourceMap = class {
8172
8178
  if (typeof properties.x_google_ignoreList !== "undefined") {
8173
8179
  this.x_google_ignoreList = properties.x_google_ignoreList;
8174
8180
  }
8181
+ if (typeof properties.debugId !== "undefined") {
8182
+ this.debugId = properties.debugId;
8183
+ }
8175
8184
  }
8176
8185
  toString() {
8177
8186
  return JSON.stringify(this);
@@ -15419,4 +15428,4 @@ export {
15419
15428
  * Use of this source code is governed by an MIT-style license that can be
15420
15429
  * found in the LICENSE file at https://angular.dev/license
15421
15430
  */
15422
- //# sourceMappingURL=chunk-OM3GHCE5.js.map
15431
+ //# sourceMappingURL=chunk-ZEPJHGBL.js.map