@angular/compiler 19.0.0-rc.3 → 19.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.
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.0.0-rc.3
2
+ * @license Angular v19.0.1
3
3
  * (c) 2010-2024 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -2400,10 +2400,29 @@ export declare class ParsedVariable {
2400
2400
  }
2401
2401
 
2402
2402
  export declare class ParseError {
2403
- span: ParseSourceSpan;
2404
- msg: string;
2405
- level: ParseErrorLevel;
2406
- constructor(span: ParseSourceSpan, msg: string, level?: ParseErrorLevel);
2403
+ /** Location of the error. */
2404
+ readonly span: ParseSourceSpan;
2405
+ /** Error message. */
2406
+ readonly msg: string;
2407
+ /** Severity level of the error. */
2408
+ readonly level: ParseErrorLevel;
2409
+ /**
2410
+ * Error that caused the error to be surfaced. For example, an error in a sub-expression that
2411
+ * couldn't be parsed. Not guaranteed to be defined, but can be used to provide more context.
2412
+ */
2413
+ readonly relatedError?: unknown;
2414
+ constructor(
2415
+ /** Location of the error. */
2416
+ span: ParseSourceSpan,
2417
+ /** Error message. */
2418
+ msg: string,
2419
+ /** Severity level of the error. */
2420
+ level?: ParseErrorLevel,
2421
+ /**
2422
+ * Error that caused the error to be surfaced. For example, an error in a sub-expression that
2423
+ * couldn't be parsed. Not guaranteed to be defined, but can be used to provide more context.
2424
+ */
2425
+ relatedError?: unknown);
2407
2426
  contextualMessage(): string;
2408
2427
  toString(): string;
2409
2428
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/compiler",
3
- "version": "19.0.0-rc.3",
3
+ "version": "19.0.1",
4
4
  "description": "Angular - the compiler library",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -11,7 +11,7 @@
11
11
  "tslib": "^2.3.0"
12
12
  },
13
13
  "peerDependencies": {
14
- "@angular/core": "19.0.0-rc.3"
14
+ "@angular/core": "19.0.1"
15
15
  },
16
16
  "peerDependenciesMeta": {
17
17
  "@angular/core": {