@angular/compiler-cli 13.0.0-rc.1 → 13.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.
Files changed (68) hide show
  1. package/bundles/chunk-5VGHS4A4.js +68 -0
  2. package/bundles/chunk-5VGHS4A4.js.map +6 -0
  3. package/bundles/chunk-AMD3PZ5E.js +5094 -0
  4. package/bundles/chunk-AMD3PZ5E.js.map +6 -0
  5. package/bundles/chunk-BPCUCINV.js +29 -0
  6. package/bundles/chunk-BPCUCINV.js.map +6 -0
  7. package/bundles/chunk-CRTDZEUV.js +678 -0
  8. package/bundles/chunk-CRTDZEUV.js.map +6 -0
  9. package/bundles/chunk-DDB2HQYR.js +5663 -0
  10. package/bundles/chunk-DDB2HQYR.js.map +6 -0
  11. package/bundles/chunk-DLQQUCPJ.js +448 -0
  12. package/bundles/chunk-DLQQUCPJ.js.map +6 -0
  13. package/bundles/chunk-E64KJMKN.js +968 -0
  14. package/bundles/chunk-E64KJMKN.js.map +6 -0
  15. package/bundles/chunk-GKA4YGOR.js +43 -0
  16. package/bundles/chunk-GKA4YGOR.js.map +6 -0
  17. package/bundles/chunk-IG72ZKR7.js +424 -0
  18. package/bundles/chunk-IG72ZKR7.js.map +6 -0
  19. package/bundles/chunk-J6CW3T62.js +206 -0
  20. package/bundles/chunk-J6CW3T62.js.map +6 -0
  21. package/bundles/chunk-JTYUTYS2.js +56 -0
  22. package/bundles/chunk-JTYUTYS2.js.map +6 -0
  23. package/bundles/chunk-M7P4HAA4.js +358 -0
  24. package/bundles/chunk-M7P4HAA4.js.map +6 -0
  25. package/bundles/chunk-QKLPWCHI.js +1261 -0
  26. package/bundles/chunk-QKLPWCHI.js.map +6 -0
  27. package/bundles/chunk-QLSZVEIC.js +11992 -0
  28. package/bundles/chunk-QLSZVEIC.js.map +6 -0
  29. package/bundles/chunk-WOCQ7IIB.js +2175 -0
  30. package/bundles/chunk-WOCQ7IIB.js.map +6 -0
  31. package/bundles/chunk-XKKOHZ3B.js +116 -0
  32. package/bundles/chunk-XKKOHZ3B.js.map +6 -0
  33. package/bundles/chunk-XPUO7JIT.js +380 -0
  34. package/bundles/chunk-XPUO7JIT.js.map +6 -0
  35. package/bundles/index.js +96 -20254
  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 -16027
  42. package/bundles/ngcc/index.js.map +2 -2
  43. package/bundles/ngcc/main-ngcc.js +19 -16111
  44. package/bundles/ngcc/main-ngcc.js.map +2 -2
  45. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +32 -13784
  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 -2156
  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 -20424
  58. package/bundles/src/bin/ng_xi18n.js.map +2 -2
  59. package/bundles/src/bin/ngc.js +16 -20437
  60. package/bundles/src/bin/ngc.js.map +2 -2
  61. package/bundles_metadata.json +1 -1
  62. package/ngcc/src/packages/build_marker.d.ts +1 -1
  63. package/package.json +2 -2
  64. package/src/ngtsc/annotations/src/ng_module.d.ts +1 -2
  65. package/src/ngtsc/diagnostics/index.d.ts +4 -2
  66. package/src/ngtsc/diagnostics/src/docs.d.ts +14 -0
  67. package/src/ngtsc/diagnostics/src/error_details_base_url.d.ts +16 -0
  68. package/src/ngtsc/diagnostics/src/util.d.ts +2 -0
@@ -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.1";
12
+ export declare const NGCC_VERSION = "13.1.0-next.0";
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": "13.0.0-rc.1",
3
+ "version": "13.1.0-next.0",
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.1",
69
+ "@angular/compiler": "13.1.0-next.0",
70
70
  "typescript": ">=4.4.2 <4.5"
71
71
  },
72
72
  "repository": {
@@ -62,8 +62,7 @@ export declare class NgModuleDecoratorHandler implements DecoratorHandler<Decora
62
62
  private annotateForClosureCompiler;
63
63
  private injectableRegistry;
64
64
  private perf;
65
- private localeId?;
66
- constructor(reflector: ReflectionHost, evaluator: PartialEvaluator, metaReader: MetadataReader, metaRegistry: MetadataRegistry, scopeRegistry: LocalModuleScopeRegistry, referencesRegistry: ReferencesRegistry, isCore: boolean, refEmitter: ReferenceEmitter, factoryTracker: FactoryTracker | null, annotateForClosureCompiler: boolean, injectableRegistry: InjectableClassRegistry, perf: PerfRecorder, localeId?: string | undefined);
65
+ constructor(reflector: ReflectionHost, evaluator: PartialEvaluator, metaReader: MetadataReader, metaRegistry: MetadataRegistry, scopeRegistry: LocalModuleScopeRegistry, referencesRegistry: ReferencesRegistry, isCore: boolean, refEmitter: ReferenceEmitter, factoryTracker: FactoryTracker | null, annotateForClosureCompiler: boolean, injectableRegistry: InjectableClassRegistry, perf: PerfRecorder);
67
66
  readonly precedence = HandlerPrecedence.PRIMARY;
68
67
  readonly name: string;
69
68
  detect(node: ClassDeclaration, decorators: Decorator[] | null): DetectResult<Decorator> | undefined;
@@ -6,6 +6,8 @@
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
8
  /// <amd-module name="@angular/compiler-cli/src/ngtsc/diagnostics" />
9
+ export { COMPILER_ERRORS_WITH_GUIDES } from './src/docs';
9
10
  export { FatalDiagnosticError, isFatalDiagnosticError, makeDiagnostic, makeRelatedInformation } from './src/error';
10
- export { COMPILER_ERRORS_WITH_GUIDES, ERROR_DETAILS_PAGE_BASE_URL, ErrorCode, ngErrorCode } from './src/error_code';
11
- export { replaceTsWithNgInErrors } from './src/util';
11
+ export { ErrorCode } from './src/error_code';
12
+ export { ERROR_DETAILS_PAGE_BASE_URL } from './src/error_details_base_url';
13
+ export { ngErrorCode, replaceTsWithNgInErrors } from './src/util';
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @license
3
+ * Copyright Google LLC All Rights Reserved.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license that can be
6
+ * found in the LICENSE file at https://angular.io/license
7
+ */
8
+ /// <amd-module name="@angular/compiler-cli/src/ngtsc/diagnostics/src/docs" />
9
+ import { ErrorCode } from './error_code';
10
+ /**
11
+ * Contains a set of error messages that have detailed guides at angular.io.
12
+ * Full list of available error guides can be found at https://angular.io/errors
13
+ */
14
+ export declare const COMPILER_ERRORS_WITH_GUIDES: Set<ErrorCode>;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * @license
3
+ * Copyright Google LLC All Rights Reserved.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license that can be
6
+ * found in the LICENSE file at https://angular.io/license
7
+ */
8
+ /// <amd-module name="@angular/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url" />
9
+ /**
10
+ * Base URL for the error details page.
11
+ *
12
+ * Keep the files below in full sync:
13
+ * - packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.ts
14
+ * - packages/core/src/render3/error_details_base_url.ts
15
+ */
16
+ export declare const ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
@@ -6,6 +6,7 @@
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
8
  /// <amd-module name="@angular/compiler-cli/src/ngtsc/diagnostics/src/util" />
9
+ import { ErrorCode } from './error_code';
9
10
  /**
10
11
  * During formatting of `ts.Diagnostic`s, the numeric code of each diagnostic is prefixed with the
11
12
  * hard-coded "TS" prefix. For Angular's own error codes, a prefix of "NG" is desirable. To achieve
@@ -16,3 +17,4 @@
16
17
  * @param errors The formatted diagnostics
17
18
  */
18
19
  export declare function replaceTsWithNgInErrors(errors: string): string;
20
+ export declare function ngErrorCode(code: ErrorCode): number;