@angular/compiler-cli 14.0.0-next.6 → 14.0.0-next.9

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 (86) hide show
  1. package/bundles/{chunk-AR265E4B.js → chunk-2IMT6JFI.js} +1 -1
  2. package/bundles/chunk-2IMT6JFI.js.map +6 -0
  3. package/bundles/{chunk-NYXF6G67.js → chunk-34QUU6SJ.js} +10 -10
  4. package/bundles/chunk-34QUU6SJ.js.map +6 -0
  5. package/bundles/{chunk-U5ES6WUL.js → chunk-AGDZS4UG.js} +3 -3
  6. package/bundles/chunk-AGDZS4UG.js.map +6 -0
  7. package/bundles/{chunk-OOJDZK5W.js → chunk-FJDIFR5C.js} +44 -40
  8. package/bundles/chunk-FJDIFR5C.js.map +6 -0
  9. package/bundles/{chunk-WQ3TNYTD.js → chunk-GMSUYBZP.js} +8 -11
  10. package/bundles/{chunk-WQ3TNYTD.js.map → chunk-GMSUYBZP.js.map} +0 -0
  11. package/bundles/{chunk-26T3CJIJ.js → chunk-GYVY4Y2L.js} +31 -18
  12. package/bundles/chunk-GYVY4Y2L.js.map +6 -0
  13. package/bundles/{chunk-SKBLJA43.js → chunk-LX5Q27EF.js} +5 -5
  14. package/bundles/chunk-LX5Q27EF.js.map +6 -0
  15. package/bundles/{chunk-KMCI52ED.js → chunk-M3IOYIU5.js} +8 -8
  16. package/bundles/chunk-M3IOYIU5.js.map +6 -0
  17. package/bundles/{chunk-Z2HS4HDG.js → chunk-OLGEBPBY.js} +3 -3
  18. package/bundles/chunk-OLGEBPBY.js.map +6 -0
  19. package/bundles/{chunk-QDWL7SZJ.js → chunk-R3C7RFJ4.js} +1 -1
  20. package/bundles/chunk-R3C7RFJ4.js.map +6 -0
  21. package/bundles/{chunk-GLCRIILX.js → chunk-R4NY3TJC.js} +1 -1
  22. package/bundles/chunk-R4NY3TJC.js.map +6 -0
  23. package/bundles/{chunk-7GYYYAZG.js → chunk-SNAJD4VP.js} +7 -7
  24. package/bundles/chunk-SNAJD4VP.js.map +6 -0
  25. package/bundles/{chunk-FXU7FMZC.js → chunk-T7MYRXIE.js} +3 -3
  26. package/bundles/chunk-T7MYRXIE.js.map +6 -0
  27. package/bundles/{chunk-5RC6M6GX.js → chunk-UMDDHI5B.js} +5 -8
  28. package/bundles/chunk-UMDDHI5B.js.map +6 -0
  29. package/bundles/{chunk-3MNDX4LL.js → chunk-W6KM7BUM.js} +3 -3
  30. package/bundles/chunk-W6KM7BUM.js.map +6 -0
  31. package/bundles/{chunk-K2Z44JHH.js → chunk-WGBFSDVQ.js} +3 -3
  32. package/bundles/chunk-WGBFSDVQ.js.map +6 -0
  33. package/bundles/index.js +10 -10
  34. package/bundles/index.js.map +1 -1
  35. package/bundles/linker/babel/index.js +6 -6
  36. package/bundles/linker/babel/index.js.map +1 -1
  37. package/bundles/linker/index.js +5 -5
  38. package/bundles/ngcc/index.js +12 -12
  39. package/bundles/ngcc/index.js.map +1 -1
  40. package/bundles/ngcc/main-ngcc.js +13 -13
  41. package/bundles/ngcc/main-ngcc.js.map +1 -1
  42. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +11 -11
  43. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
  44. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
  45. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js.map +1 -1
  46. package/bundles/private/bazel.js +2 -2
  47. package/bundles/private/localize.js +4 -4
  48. package/bundles/private/migrations.js +6 -6
  49. package/bundles/private/tooling.js +3 -3
  50. package/bundles/src/bin/ng_xi18n.js +8 -8
  51. package/bundles/src/bin/ng_xi18n.js.map +1 -1
  52. package/bundles/src/bin/ngc.js +8 -8
  53. package/bundles/src/bin/ngc.js.map +1 -1
  54. package/bundles_metadata.json +1 -1
  55. package/linker/src/file_linker/emit_scopes/emit_scope.d.ts +7 -3
  56. package/linker/src/file_linker/emit_scopes/{iife_emit_scope.d.ts → local_emit_scope.d.ts} +7 -11
  57. package/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.d.ts +3 -3
  58. package/linker/src/file_linker/partial_linkers/partial_component_linker_1.d.ts +3 -3
  59. package/linker/src/file_linker/partial_linkers/partial_directive_linker_1.d.ts +3 -3
  60. package/linker/src/file_linker/partial_linkers/partial_factory_linker_1.d.ts +3 -3
  61. package/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.d.ts +3 -3
  62. package/linker/src/file_linker/partial_linkers/partial_injector_linker_1.d.ts +3 -3
  63. package/linker/src/file_linker/partial_linkers/partial_linker.d.ts +8 -1
  64. package/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.d.ts +4 -4
  65. package/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.d.ts +3 -3
  66. package/ngcc/src/packages/build_marker.d.ts +1 -1
  67. package/package.json +3 -3
  68. package/src/ngtsc/diagnostics/src/error_code.d.ts +6 -0
  69. package/src/ngtsc/shims/api.d.ts +0 -1
  70. package/src/ngtsc/tsc_plugin.d.ts +1 -1
  71. package/src/ngtsc/util/src/typescript.d.ts +0 -5
  72. package/bundles/chunk-26T3CJIJ.js.map +0 -6
  73. package/bundles/chunk-3MNDX4LL.js.map +0 -6
  74. package/bundles/chunk-5RC6M6GX.js.map +0 -6
  75. package/bundles/chunk-7GYYYAZG.js.map +0 -6
  76. package/bundles/chunk-AR265E4B.js.map +0 -6
  77. package/bundles/chunk-FXU7FMZC.js.map +0 -6
  78. package/bundles/chunk-GLCRIILX.js.map +0 -6
  79. package/bundles/chunk-K2Z44JHH.js.map +0 -6
  80. package/bundles/chunk-KMCI52ED.js.map +0 -6
  81. package/bundles/chunk-NYXF6G67.js.map +0 -6
  82. package/bundles/chunk-OOJDZK5W.js.map +0 -6
  83. package/bundles/chunk-QDWL7SZJ.js.map +0 -6
  84. package/bundles/chunk-SKBLJA43.js.map +0 -6
  85. package/bundles/chunk-U5ES6WUL.js.map +0 -6
  86. package/bundles/chunk-Z2HS4HDG.js.map +0 -6
@@ -6,7 +6,9 @@
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
8
8
  */
9
- import { ConstantPool, outputAst as o } from '@angular/compiler';
9
+ import { ConstantPool } from '@angular/compiler';
10
+ import { AstFactory } from '../../../../src/ngtsc/translator';
11
+ import { LinkedDefinition } from '../partial_linkers/partial_linker';
10
12
  import { Translator } from '../translator';
11
13
  /**
12
14
  * This class represents (from the point of view of the `FileLinker`) the scope in which
@@ -20,16 +22,18 @@ import { Translator } from '../translator';
20
22
  export declare class EmitScope<TStatement, TExpression> {
21
23
  protected readonly ngImport: TExpression;
22
24
  protected readonly translator: Translator<TStatement, TExpression>;
25
+ private readonly factory;
23
26
  readonly constantPool: ConstantPool;
24
- constructor(ngImport: TExpression, translator: Translator<TStatement, TExpression>);
27
+ constructor(ngImport: TExpression, translator: Translator<TStatement, TExpression>, factory: AstFactory<TStatement, TExpression>);
25
28
  /**
26
29
  * Translate the given Output AST definition expression into a generic `TExpression`.
27
30
  *
28
31
  * Use a `LinkerImportGenerator` to handle any imports in the definition.
29
32
  */
30
- translateDefinition(definition: o.Expression): TExpression;
33
+ translateDefinition(definition: LinkedDefinition): TExpression;
31
34
  /**
32
35
  * Return any constant statements that are shared between all uses of this `EmitScope`.
33
36
  */
34
37
  getConstantStatements(): TStatement[];
38
+ private wrapInIifeWithStatements;
35
39
  }
@@ -1,4 +1,3 @@
1
- /// <amd-module name="@angular/compiler-cli/linker/src/file_linker/emit_scopes/iife_emit_scope" />
2
1
  /**
3
2
  * @license
4
3
  * Copyright Google LLC All Rights Reserved.
@@ -6,25 +5,22 @@
6
5
  * Use of this source code is governed by an MIT-style license that can be
7
6
  * found in the LICENSE file at https://angular.io/license
8
7
  */
9
- import { outputAst as o } from '@angular/compiler';
10
- import { AstFactory } from '../../../../src/ngtsc/translator';
11
- import { Translator } from '../translator';
8
+ /// <amd-module name="@angular/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope" />
9
+ import { LinkedDefinition } from '../partial_linkers/partial_linker';
12
10
  import { EmitScope } from './emit_scope';
13
11
  /**
14
12
  * This class is a specialization of the `EmitScope` class that is designed for the situation where
15
13
  * there is no clear shared scope for constant statements. In this case they are bundled with the
16
- * translated definition inside an IIFE.
14
+ * translated definition and will be emitted into an IIFE.
17
15
  */
18
- export declare class IifeEmitScope<TStatement, TExpression> extends EmitScope<TStatement, TExpression> {
19
- private readonly factory;
20
- constructor(ngImport: TExpression, translator: Translator<TStatement, TExpression>, factory: AstFactory<TStatement, TExpression>);
16
+ export declare class LocalEmitScope<TStatement, TExpression> extends EmitScope<TStatement, TExpression> {
21
17
  /**
22
18
  * Translate the given Output AST definition expression into a generic `TExpression`.
23
19
  *
24
- * Wraps the output from `EmitScope.translateDefinition()` and `EmitScope.getConstantStatements()`
25
- * in an IIFE.
20
+ * Merges the `ConstantPool` statements with the definition statements when generating the
21
+ * definition expression. This means that `ConstantPool` statements will be emitted into an IIFE.
26
22
  */
27
- translateDefinition(definition: o.Expression): TExpression;
23
+ translateDefinition(definition: LinkedDefinition): TExpression;
28
24
  /**
29
25
  * It is not valid to call this method, since there will be no shared constant statements - they
30
26
  * are already emitted in the IIFE alongside the translated definition.
@@ -6,14 +6,14 @@
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
8
8
  */
9
- import { ConstantPool, outputAst as o, R3ClassMetadata, R3DeclareClassMetadata, R3PartialDeclaration } from '@angular/compiler';
9
+ import { ConstantPool, R3ClassMetadata, R3DeclareClassMetadata, R3PartialDeclaration } from '@angular/compiler';
10
10
  import { AstObject } from '../../ast/ast_value';
11
- import { PartialLinker } from './partial_linker';
11
+ import { LinkedDefinition, PartialLinker } from './partial_linker';
12
12
  /**
13
13
  * A `PartialLinker` that is designed to process `ɵɵngDeclareClassMetadata()` call expressions.
14
14
  */
15
15
  export declare class PartialClassMetadataLinkerVersion1<TExpression> implements PartialLinker<TExpression> {
16
- linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): o.Expression;
16
+ linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): LinkedDefinition;
17
17
  }
18
18
  /**
19
19
  * Derives the `R3ClassMetadata` structure from the AST object.
@@ -6,11 +6,11 @@
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
8
8
  */
9
- import { ConstantPool, outputAst as o, R3PartialDeclaration } from '@angular/compiler';
9
+ import { ConstantPool, R3PartialDeclaration } from '@angular/compiler';
10
10
  import { AbsoluteFsPath } from '../../../../src/ngtsc/file_system';
11
11
  import { AstObject } from '../../ast/ast_value';
12
12
  import { GetSourceFileFn } from '../get_source_file';
13
- import { PartialLinker } from './partial_linker';
13
+ import { LinkedDefinition, PartialLinker } from './partial_linker';
14
14
  /**
15
15
  * A `PartialLinker` that is designed to process `ɵɵngDeclareComponent()` call expressions.
16
16
  */
@@ -19,7 +19,7 @@ export declare class PartialComponentLinkerVersion1<TStatement, TExpression> imp
19
19
  private sourceUrl;
20
20
  private code;
21
21
  constructor(getSourceFile: GetSourceFileFn, sourceUrl: AbsoluteFsPath, code: string);
22
- linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): o.Expression;
22
+ linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): LinkedDefinition;
23
23
  /**
24
24
  * This function derives the `R3ComponentMetadata` from the provided AST object.
25
25
  */
@@ -6,11 +6,11 @@
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
8
8
  */
9
- import { ConstantPool, outputAst as o, ParseSourceSpan, R3DeclareDirectiveMetadata, R3DirectiveMetadata, R3PartialDeclaration } from '@angular/compiler';
9
+ import { ConstantPool, ParseSourceSpan, R3DeclareDirectiveMetadata, R3DirectiveMetadata, R3PartialDeclaration } from '@angular/compiler';
10
10
  import { AbsoluteFsPath } from '../../../../src/ngtsc/file_system';
11
11
  import { Range } from '../../ast/ast_host';
12
12
  import { AstObject } from '../../ast/ast_value';
13
- import { PartialLinker } from './partial_linker';
13
+ import { LinkedDefinition, PartialLinker } from './partial_linker';
14
14
  /**
15
15
  * A `PartialLinker` that is designed to process `ɵɵngDeclareDirective()` call expressions.
16
16
  */
@@ -18,7 +18,7 @@ export declare class PartialDirectiveLinkerVersion1<TExpression> implements Part
18
18
  private sourceUrl;
19
19
  private code;
20
20
  constructor(sourceUrl: AbsoluteFsPath, code: string);
21
- linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): o.Expression;
21
+ linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): LinkedDefinition;
22
22
  }
23
23
  /**
24
24
  * Derives the `R3DirectiveMetadata` structure from the AST object.
@@ -6,14 +6,14 @@
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
8
8
  */
9
- import { ConstantPool, outputAst as o, R3DeclareFactoryMetadata, R3FactoryMetadata, R3PartialDeclaration } from '@angular/compiler';
9
+ import { ConstantPool, R3DeclareFactoryMetadata, R3FactoryMetadata, R3PartialDeclaration } from '@angular/compiler';
10
10
  import { AstObject } from '../../ast/ast_value';
11
- import { PartialLinker } from './partial_linker';
11
+ import { LinkedDefinition, PartialLinker } from './partial_linker';
12
12
  /**
13
13
  * A `PartialLinker` that is designed to process `ɵɵngDeclareFactory()` call expressions.
14
14
  */
15
15
  export declare class PartialFactoryLinkerVersion1<TExpression> implements PartialLinker<TExpression> {
16
- linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): o.Expression;
16
+ linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): LinkedDefinition;
17
17
  }
18
18
  /**
19
19
  * Derives the `R3FactoryMetadata` structure from the AST object.
@@ -6,14 +6,14 @@
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
8
8
  */
9
- import { ConstantPool, outputAst as o, R3DeclareInjectableMetadata, R3InjectableMetadata, R3PartialDeclaration } from '@angular/compiler';
9
+ import { ConstantPool, R3DeclareInjectableMetadata, R3InjectableMetadata, R3PartialDeclaration } from '@angular/compiler';
10
10
  import { AstObject } from '../../ast/ast_value';
11
- import { PartialLinker } from './partial_linker';
11
+ import { LinkedDefinition, PartialLinker } from './partial_linker';
12
12
  /**
13
13
  * A `PartialLinker` that is designed to process `ɵɵngDeclareInjectable()` call expressions.
14
14
  */
15
15
  export declare class PartialInjectableLinkerVersion1<TExpression> implements PartialLinker<TExpression> {
16
- linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): o.Expression;
16
+ linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): LinkedDefinition;
17
17
  }
18
18
  /**
19
19
  * Derives the `R3InjectableMetadata` structure from the AST object.
@@ -6,14 +6,14 @@
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
8
8
  */
9
- import { ConstantPool, outputAst as o, R3DeclareInjectorMetadata, R3InjectorMetadata, R3PartialDeclaration } from '@angular/compiler';
9
+ import { ConstantPool, R3DeclareInjectorMetadata, R3InjectorMetadata, R3PartialDeclaration } from '@angular/compiler';
10
10
  import { AstObject } from '../../ast/ast_value';
11
- import { PartialLinker } from './partial_linker';
11
+ import { LinkedDefinition, PartialLinker } from './partial_linker';
12
12
  /**
13
13
  * A `PartialLinker` that is designed to process `ɵɵngDeclareInjector()` call expressions.
14
14
  */
15
15
  export declare class PartialInjectorLinkerVersion1<TExpression> implements PartialLinker<TExpression> {
16
- linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): o.Expression;
16
+ linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): LinkedDefinition;
17
17
  }
18
18
  /**
19
19
  * Derives the `R3InjectorMetadata` structure from the AST object.
@@ -8,6 +8,13 @@
8
8
  */
9
9
  import { ConstantPool, outputAst as o, R3PartialDeclaration } from '@angular/compiler';
10
10
  import { AstObject } from '../../ast/ast_value';
11
+ /**
12
+ * A definition generated by a `PartialLinker`, ready to emit.
13
+ */
14
+ export interface LinkedDefinition {
15
+ expression: o.Expression;
16
+ statements: o.Statement[];
17
+ }
11
18
  /**
12
19
  * An interface for classes that can link partial declarations into full definitions.
13
20
  */
@@ -18,5 +25,5 @@ export interface PartialLinker<TExpression> {
18
25
  * @param metaObj An object that fits one of the `R3DeclareDirectiveMetadata` or
19
26
  * `R3DeclareComponentMetadata` interfaces.
20
27
  */
21
- linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): o.Expression;
28
+ linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): LinkedDefinition;
22
29
  }
@@ -6,9 +6,9 @@
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
8
8
  */
9
- import { ConstantPool, outputAst as o, R3DeclareNgModuleMetadata, R3NgModuleMetadata, R3PartialDeclaration } from '@angular/compiler';
9
+ import { ConstantPool, R3DeclareNgModuleMetadata, R3NgModuleMetadata, R3PartialDeclaration } from '@angular/compiler';
10
10
  import { AstObject } from '../../ast/ast_value';
11
- import { PartialLinker } from './partial_linker';
11
+ import { LinkedDefinition, PartialLinker } from './partial_linker';
12
12
  /**
13
13
  * A `PartialLinker` that is designed to process `ɵɵngDeclareNgModule()` call expressions.
14
14
  */
@@ -24,9 +24,9 @@ export declare class PartialNgModuleLinkerVersion1<TExpression> implements Parti
24
24
  * definition. These are only used by JIT compilation.
25
25
  */
26
26
  emitInline: boolean);
27
- linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): o.Expression;
27
+ linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): LinkedDefinition;
28
28
  }
29
29
  /**
30
30
  * Derives the `R3NgModuleMetadata` structure from the AST object.
31
31
  */
32
- export declare function toR3NgModuleMeta<TExpression>(metaObj: AstObject<R3DeclareNgModuleMetadata, TExpression>, emitInline: boolean): R3NgModuleMetadata;
32
+ export declare function toR3NgModuleMeta<TExpression>(metaObj: AstObject<R3DeclareNgModuleMetadata, TExpression>, supportJit: boolean): R3NgModuleMetadata;
@@ -6,15 +6,15 @@
6
6
  * Use of this source code is governed by an MIT-style license that can be
7
7
  * found in the LICENSE file at https://angular.io/license
8
8
  */
9
- import { ConstantPool, outputAst as o, R3DeclarePipeMetadata, R3PartialDeclaration, R3PipeMetadata } from '@angular/compiler';
9
+ import { ConstantPool, R3DeclarePipeMetadata, R3PartialDeclaration, R3PipeMetadata } from '@angular/compiler';
10
10
  import { AstObject } from '../../ast/ast_value';
11
- import { PartialLinker } from './partial_linker';
11
+ import { LinkedDefinition, PartialLinker } from './partial_linker';
12
12
  /**
13
13
  * A `PartialLinker` that is designed to process `ɵɵngDeclarePipe()` call expressions.
14
14
  */
15
15
  export declare class PartialPipeLinkerVersion1<TExpression> implements PartialLinker<TExpression> {
16
16
  constructor();
17
- linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): o.Expression;
17
+ linkPartialDeclaration(constantPool: ConstantPool, metaObj: AstObject<R3PartialDeclaration, TExpression>): LinkedDefinition;
18
18
  }
19
19
  /**
20
20
  * Derives the `R3PipeMetadata` structure from the AST object.
@@ -9,7 +9,7 @@
9
9
  import { AbsoluteFsPath } from '../../../src/ngtsc/file_system';
10
10
  import { PackageJsonUpdater } from '../writing/package_json_updater';
11
11
  import { EntryPointPackageJson, PackageJsonFormatProperties } from './entry_point';
12
- export declare const NGCC_VERSION = "14.0.0-next.6";
12
+ export declare const NGCC_VERSION = "14.0.0-next.9";
13
13
  /**
14
14
  * Returns true if there is a format in this entry-point that was compiled with an outdated version
15
15
  * of ngcc.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/compiler-cli",
3
- "version": "14.0.0-next.6",
3
+ "version": "14.0.0-next.9",
4
4
  "description": "Angular - the compiler CLI for Node.js",
5
5
  "typings": "index.d.ts",
6
6
  "bin": {
@@ -65,8 +65,8 @@
65
65
  "yargs": "^17.2.1"
66
66
  },
67
67
  "peerDependencies": {
68
- "@angular/compiler": "14.0.0-next.6",
69
- "typescript": ">=4.4.2 <4.7"
68
+ "@angular/compiler": "14.0.0-next.9",
69
+ "typescript": ">=4.6.2 <4.7"
70
70
  },
71
71
  "repository": {
72
72
  "type": "git",
@@ -120,6 +120,12 @@ export declare enum ErrorCode {
120
120
  * Raised when a standalone directive/pipe is part of the declarations of an NgModule.
121
121
  */
122
122
  NGMODULE_DECLARATION_IS_STANDALONE = 6008,
123
+ /**
124
+ * Indicates that an NgModule is declared with `id: module.id`. This is an anti-pattern that is
125
+ * disabled explicitly in the compiler, that was originally based on a misunderstanding of
126
+ * `NgModule.id`.
127
+ */
128
+ WARN_NGMODULE_ID_UNNECESSARY = 6100,
123
129
  /**
124
130
  * Not actually raised by the compiler, but reserved for documentation of a View Engine error when
125
131
  * a View Engine build depends on an Ivy-compiled NgModule.
@@ -61,5 +61,4 @@ export interface FactoryInfo {
61
61
  }
62
62
  export interface ModuleInfo {
63
63
  name: string;
64
- hasId: boolean;
65
64
  }
@@ -13,7 +13,7 @@ import { UnifiedModulesHost } from './core/api';
13
13
  * A `ts.CompilerHost` which also returns a list of input files, out of which the `ts.Program`
14
14
  * should be created.
15
15
  *
16
- * Currently mirrored from @bazel/typescript/internal/tsc_wrapped/plugin_api (with the naming of
16
+ * Currently mirrored from @bazel/concatjs/internal/tsc_wrapped/plugin_api (with the naming of
17
17
  * `fileNameToModuleName` corrected).
18
18
  */
19
19
  interface PluginCompilerHost extends ts.CompilerHost, Partial<UnifiedModulesHost> {
@@ -62,8 +62,3 @@ export declare type RequiredDelegations<T> = {
62
62
  * Obtains the non-redirected source file for `sf`.
63
63
  */
64
64
  export declare function toUnredirectedSourceFile(sf: ts.SourceFile): ts.SourceFile;
65
- /**
66
- * Backwards-compatible version of `ts.createExportSpecifier`
67
- * to handle a breaking change between 4.4 and 4.5.
68
- */
69
- export declare function createExportSpecifier(propertyName: string | ts.Identifier | undefined, name: string | ts.Identifier, isTypeOnly?: boolean): ts.ExportSpecifier;