@angular/compiler-cli 19.1.0-next.2 → 19.1.0-next.3

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 (41) hide show
  1. package/bundles/{chunk-STORTTKY.js → chunk-37JMVF7H.js} +8 -8
  2. package/bundles/{chunk-5UDS2TPQ.js → chunk-77D5CI2U.js} +7 -7
  3. package/bundles/{chunk-P5OLJFAE.js → chunk-BC3UIHLS.js} +45 -45
  4. package/bundles/chunk-BC3UIHLS.js.map +6 -0
  5. package/bundles/{chunk-YCOYUOYB.js → chunk-CONSPLNK.js} +3 -3
  6. package/bundles/{chunk-A7ZZMLHV.js → chunk-DVLQORCX.js} +5 -5
  7. package/bundles/{chunk-NQFS66HQ.js → chunk-F3XFZLFK.js} +32 -31
  8. package/bundles/{chunk-NQFS66HQ.js.map → chunk-F3XFZLFK.js.map} +1 -1
  9. package/bundles/{chunk-3OT7XV3K.js → chunk-F73PYGWL.js} +147 -137
  10. package/bundles/chunk-F73PYGWL.js.map +6 -0
  11. package/bundles/{chunk-GBKXY6BH.js → chunk-FKXFEX7K.js} +3 -3
  12. package/bundles/{chunk-34FJ6PKD.js → chunk-JU5KR7ZS.js} +98 -95
  13. package/bundles/{chunk-34FJ6PKD.js.map → chunk-JU5KR7ZS.js.map} +1 -1
  14. package/bundles/{chunk-I6R3GL3L.js → chunk-Q2WE7ECN.js} +5 -5
  15. package/bundles/{chunk-MIHO36SM.js → chunk-QMSFXNUC.js} +12 -12
  16. package/bundles/index.js +12 -12
  17. package/bundles/linker/babel/index.js +12 -12
  18. package/bundles/linker/index.js +4 -4
  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 +4 -4
  23. package/bundles/private/tooling.js +6 -6
  24. package/bundles/src/bin/ng_xi18n.js +10 -10
  25. package/bundles/src/bin/ngc.js +8 -8
  26. package/bundles_metadata.json +1 -1
  27. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
  28. package/package.json +2 -2
  29. package/src/ngtsc/core/api/src/options.d.ts +4 -0
  30. package/src/ngtsc/partial_evaluator/src/interpreter.d.ts +1 -1
  31. package/src/ngtsc/typecheck/api/api.d.ts +4 -0
  32. package/src/ngtsc/util/src/path.d.ts +5 -5
  33. package/bundles/chunk-3OT7XV3K.js.map +0 -6
  34. package/bundles/chunk-P5OLJFAE.js.map +0 -6
  35. /package/bundles/{chunk-STORTTKY.js.map → chunk-37JMVF7H.js.map} +0 -0
  36. /package/bundles/{chunk-5UDS2TPQ.js.map → chunk-77D5CI2U.js.map} +0 -0
  37. /package/bundles/{chunk-YCOYUOYB.js.map → chunk-CONSPLNK.js.map} +0 -0
  38. /package/bundles/{chunk-A7ZZMLHV.js.map → chunk-DVLQORCX.js.map} +0 -0
  39. /package/bundles/{chunk-GBKXY6BH.js.map → chunk-FKXFEX7K.js.map} +0 -0
  40. /package/bundles/{chunk-I6R3GL3L.js.map → chunk-Q2WE7ECN.js.map} +0 -0
  41. /package/bundles/{chunk-MIHO36SM.js.map → chunk-QMSFXNUC.js.map} +0 -0
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { MaybeForwardRefExpression, outputAst as o, R3DeclareDependencyMetadata, R3DependencyMetadata, R3Reference } from '@angular/compiler';
9
9
  import { AstObject, AstValue } from '../../ast/ast_value';
10
- export declare const PLACEHOLDER_VERSION = "19.1.0-next.2";
10
+ export declare const PLACEHOLDER_VERSION = "19.1.0-next.3";
11
11
  export declare function wrapReference<TExpression>(wrapped: o.WrappedNodeExpr<TExpression>): R3Reference;
12
12
  /**
13
13
  * Parses the value of an enum from the AST value's symbol name.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/compiler-cli",
3
- "version": "19.1.0-next.2",
3
+ "version": "19.1.0-next.3",
4
4
  "description": "Angular - the compiler CLI for Node.js",
5
5
  "typings": "index.d.ts",
6
6
  "bin": {
@@ -53,7 +53,7 @@
53
53
  "yargs": "^17.2.1"
54
54
  },
55
55
  "peerDependencies": {
56
- "@angular/compiler": "19.1.0-next.2",
56
+ "@angular/compiler": "19.1.0-next.3",
57
57
  "typescript": ">=5.5 <5.8"
58
58
  },
59
59
  "repository": {
@@ -34,6 +34,10 @@ export interface TestOnlyOptions {
34
34
  * Internal only options for compiler.
35
35
  */
36
36
  export interface InternalOptions {
37
+ /**
38
+ * Whether to check the event side of two-way bindings.
39
+ */
40
+ _checkTwoWayBoundEvents?: boolean;
37
41
  }
38
42
  /**
39
43
  * A merged interface of all of the various Angular compiler options, as well as the standard
@@ -8,7 +8,7 @@
8
8
  import ts from 'typescript';
9
9
  import { DependencyTracker } from '../../incremental/api';
10
10
  import { ReflectionHost } from '../../reflection';
11
- import { ForeignFunctionResolver } from './interface';
11
+ import type { ForeignFunctionResolver } from './interface';
12
12
  import { ResolvedValue } from './result';
13
13
  /**
14
14
  * Tracks the scope of a function body, which includes `ResolvedValue`s for the parameters of that
@@ -304,6 +304,10 @@ export interface TypeCheckingConfig {
304
304
  * Whether to descend into the bodies of control flow blocks (`@if`, `@switch` and `@for`).
305
305
  */
306
306
  checkControlFlowBodies: boolean;
307
+ /**
308
+ * Whether the event side of a two-way binding should be type checked.
309
+ */
310
+ checkTwoWayBoundEvents: boolean;
307
311
  }
308
312
  export type TemplateSourceMapping = DirectTemplateSourceMapping | IndirectTemplateSourceMapping | ExternalTemplateSourceMapping;
309
313
  /**
@@ -2,10 +2,10 @@ import ts from 'typescript';
2
2
  export declare function relativePathBetween(from: string, to: string): string | null;
3
3
  export declare function normalizeSeparators(path: string): string;
4
4
  /**
5
- * Attempts to generate a project-relative path
6
- * @param sourceFile
7
- * @param rootDirs
8
- * @param compilerHost
5
+ * Attempts to generate a project-relative path for a file.
6
+ * @param fileName Absolute path to the file.
7
+ * @param rootDirs Root directories of the project.
8
+ * @param compilerHost Host used to resolve file names.
9
9
  * @returns
10
10
  */
11
- export declare function getProjectRelativePath(sourceFile: ts.SourceFile, rootDirs: readonly string[], compilerHost: Pick<ts.CompilerHost, 'getCanonicalFileName'>): string | null;
11
+ export declare function getProjectRelativePath(fileName: string, rootDirs: readonly string[], compilerHost: Pick<ts.CompilerHost, 'getCanonicalFileName'>): string | null;