@angular/compiler-cli 13.0.0-rc.3 → 13.1.0-next.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 (69) hide show
  1. package/bundles/chunk-2DL256T3.js +5105 -0
  2. package/bundles/chunk-2DL256T3.js.map +6 -0
  3. package/bundles/chunk-ACINBTQB.js +43 -0
  4. package/bundles/chunk-ACINBTQB.js.map +6 -0
  5. package/bundles/chunk-BUHTODFL.js +380 -0
  6. package/bundles/chunk-BUHTODFL.js.map +6 -0
  7. package/bundles/chunk-EP5JHXG2.js +448 -0
  8. package/bundles/chunk-EP5JHXG2.js.map +6 -0
  9. package/bundles/chunk-GLCRIILX.js +206 -0
  10. package/bundles/chunk-GLCRIILX.js.map +6 -0
  11. package/bundles/chunk-JNWO3JB2.js +968 -0
  12. package/bundles/chunk-JNWO3JB2.js.map +6 -0
  13. package/bundles/chunk-MIQ5UCHZ.js +5663 -0
  14. package/bundles/chunk-MIQ5UCHZ.js.map +6 -0
  15. package/bundles/chunk-PBA67OV4.js +358 -0
  16. package/bundles/chunk-PBA67OV4.js.map +6 -0
  17. package/bundles/chunk-QDWL7SZJ.js +29 -0
  18. package/bundles/chunk-QDWL7SZJ.js.map +6 -0
  19. package/bundles/chunk-QL6ZC3U3.js +424 -0
  20. package/bundles/chunk-QL6ZC3U3.js.map +6 -0
  21. package/bundles/chunk-S3QIIFH7.js +678 -0
  22. package/bundles/chunk-S3QIIFH7.js.map +6 -0
  23. package/bundles/chunk-SKBLJA43.js +56 -0
  24. package/bundles/chunk-SKBLJA43.js.map +6 -0
  25. package/bundles/chunk-UMUIU7TE.js +116 -0
  26. package/bundles/chunk-UMUIU7TE.js.map +6 -0
  27. package/bundles/chunk-VKIZ4TCJ.js +11997 -0
  28. package/bundles/chunk-VKIZ4TCJ.js.map +6 -0
  29. package/bundles/chunk-WOC6KEUY.js +2177 -0
  30. package/bundles/chunk-WOC6KEUY.js.map +6 -0
  31. package/bundles/chunk-WYO7JO2T.js +1261 -0
  32. package/bundles/chunk-WYO7JO2T.js.map +6 -0
  33. package/bundles/chunk-XA5IZLLC.js +68 -0
  34. package/bundles/chunk-XA5IZLLC.js.map +6 -0
  35. package/bundles/index.js +96 -20249
  36. package/bundles/index.js.map +2 -2
  37. package/bundles/linker/babel/index.js +24 -1987
  38. package/bundles/linker/babel/index.js.map +2 -2
  39. package/bundles/linker/index.js +12 -1833
  40. package/bundles/linker/index.js.map +2 -2
  41. package/bundles/ngcc/index.js +27 -16011
  42. package/bundles/ngcc/index.js.map +2 -2
  43. package/bundles/ngcc/main-ngcc.js +19 -16095
  44. package/bundles/ngcc/main-ngcc.js.map +2 -2
  45. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +32 -13768
  46. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +2 -2
  47. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +11 -310
  48. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js.map +2 -2
  49. package/bundles/private/bazel.js +4 -81
  50. package/bundles/private/bazel.js.map +2 -2
  51. package/bundles/private/localize.js +27 -870
  52. package/bundles/private/localize.js.map +2 -2
  53. package/bundles/private/migrations.js +13 -2158
  54. package/bundles/private/migrations.js.map +2 -2
  55. package/bundles/private/tooling.js +8 -931
  56. package/bundles/private/tooling.js.map +2 -2
  57. package/bundles/src/bin/ng_xi18n.js +22 -20419
  58. package/bundles/src/bin/ng_xi18n.js.map +2 -2
  59. package/bundles/src/bin/ngc.js +16 -20432
  60. package/bundles/src/bin/ngc.js.map +2 -2
  61. package/bundles_metadata.json +1 -1
  62. package/linker/src/file_linker/partial_linkers/util.d.ts +2 -2
  63. package/linker/src/file_linker/translator.d.ts +1 -1
  64. package/ngcc/src/packages/build_marker.d.ts +1 -1
  65. package/ngcc/src/packages/entry_point.d.ts +5 -0
  66. package/ngcc/src/rendering/commonjs_rendering_formatter.d.ts +1 -1
  67. package/package.json +2 -2
  68. package/src/ngtsc/typecheck/api/checker.d.ts +1 -1
  69. package/src/ngtsc/typecheck/src/tcb_util.d.ts +1 -1
@@ -6,7 +6,7 @@
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 { outputAst as o, R3DeclareDependencyMetadata, R3DependencyMetadata, R3ProviderExpression, R3Reference } from '@angular/compiler';
9
+ import { MaybeForwardRefExpression, outputAst as o, R3DeclareDependencyMetadata, R3DependencyMetadata, R3Reference } from '@angular/compiler';
10
10
  import { AstObject, AstValue } from '../../ast/ast_value';
11
11
  export declare function wrapReference<TExpression>(wrapped: o.WrappedNodeExpr<TExpression>): R3Reference;
12
12
  /**
@@ -27,4 +27,4 @@ export declare function getDependency<TExpression>(depObj: AstObject<R3DeclareDe
27
27
  *
28
28
  * If there is no forwardRef call expression then we just return the opaque type.
29
29
  */
30
- export declare function extractForwardRef<TExpression>(expr: AstValue<unknown, TExpression>): R3ProviderExpression<o.WrappedNodeExpr<TExpression>>;
30
+ export declare function extractForwardRef<TExpression>(expr: AstValue<unknown, TExpression>): MaybeForwardRefExpression<o.WrappedNodeExpr<TExpression>>;
@@ -7,7 +7,7 @@
7
7
  * found in the LICENSE file at https://angular.io/license
8
8
  */
9
9
  import * as o from '@angular/compiler';
10
- import { AstFactory, ImportGenerator, TranslatorOptions } from '@angular/compiler-cli/src/ngtsc/translator';
10
+ import { AstFactory, ImportGenerator, TranslatorOptions } from '../../../src/ngtsc/translator';
11
11
  /**
12
12
  * Generic translator helper class, which exposes methods for translating expressions and
13
13
  * statements.
@@ -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 = "13.0.0-rc.3";
12
+ export declare const NGCC_VERSION = "13.1.0-next.1";
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.
@@ -22,6 +22,8 @@ export interface EntryPoint extends JsonObject {
22
22
  packageName: string;
23
23
  /** The path to the package that contains this entry-point. */
24
24
  packagePath: AbsoluteFsPath;
25
+ /** The URL of the repository. */
26
+ repositoryUrl: string;
25
27
  /** The parsed package.json file for this entry-point. */
26
28
  packageJson: EntryPointPackageJson;
27
29
  /** The path to a typings (.d.ts) file for this entry-point. */
@@ -60,6 +62,9 @@ export interface EntryPointPackageJson extends JsonObject, PackageJsonFormatProp
60
62
  name: string;
61
63
  version?: string;
62
64
  scripts?: Record<string, string>;
65
+ repository?: string | {
66
+ url: string;
67
+ };
63
68
  __processed_by_ivy_ngcc__?: Record<string, string>;
64
69
  }
65
70
  export declare type EntryPointJsonProperty = Exclude<PackageJsonFormatProperties, 'types' | 'typings'>;
@@ -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 { PathManipulation } from '@angular/compiler-cli/src/ngtsc/file_system';
10
9
  import MagicString from 'magic-string';
11
10
  import ts from 'typescript';
11
+ import { PathManipulation } from '../../../src/ngtsc/file_system';
12
12
  import { Reexport } from '../../../src/ngtsc/imports';
13
13
  import { Import, ImportManager } from '../../../src/ngtsc/translator';
14
14
  import { ExportInfo } from '../analysis/private_declarations_analyzer';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/compiler-cli",
3
- "version": "13.0.0-rc.3",
3
+ "version": "13.1.0-next.1",
4
4
  "description": "Angular - the compiler CLI for Node.js",
5
5
  "typings": "index.d.ts",
6
6
  "bin": {
@@ -66,7 +66,7 @@
66
66
  "yargs": "^17.2.1"
67
67
  },
68
68
  "peerDependencies": {
69
- "@angular/compiler": "13.0.0-rc.3",
69
+ "@angular/compiler": "13.1.0-next.1",
70
70
  "typescript": ">=4.4.2 <4.5"
71
71
  },
72
72
  "repository": {
@@ -7,8 +7,8 @@
7
7
  */
8
8
  /// <amd-module name="@angular/compiler-cli/src/ngtsc/typecheck/api/checker" />
9
9
  import { AST, LiteralPrimitive, ParseSourceSpan, PropertyRead, SafePropertyRead, TmplAstElement, TmplAstNode, TmplAstTemplate, TmplAstTextAttribute } from '@angular/compiler';
10
- import { AbsoluteFsPath } from '@angular/compiler-cli/src/ngtsc/file_system';
11
10
  import ts from 'typescript';
11
+ import { AbsoluteFsPath } from '../../../../src/ngtsc/file_system';
12
12
  import { ErrorCode } from '../../diagnostics';
13
13
  import { FullTemplateMapping, NgTemplateDiagnostic, TypeCheckableDirectiveMeta } from './api';
14
14
  import { GlobalCompletion } from './completion';
@@ -7,8 +7,8 @@
7
7
  */
8
8
  /// <amd-module name="@angular/compiler-cli/src/ngtsc/typecheck/src/tcb_util" />
9
9
  import { AbsoluteSourceSpan, ParseSourceSpan } from '@angular/compiler';
10
- import { ClassDeclaration, ReflectionHost } from '@angular/compiler-cli/src/ngtsc/reflection';
11
10
  import ts from 'typescript';
11
+ import { ClassDeclaration, ReflectionHost } from '../../../../src/ngtsc/reflection';
12
12
  import { Reference } from '../../imports';
13
13
  import { FullTemplateMapping, SourceLocation, TemplateId, TemplateSourceMapping } from '../api';
14
14
  /**