@angular/core 20.0.0-rc.1 → 20.0.0-rc.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 (75) hide show
  1. package/{api.d-BcbEQ58q.d.ts → api.d-B0vztftH.d.ts} +15 -15
  2. package/{chrome_dev_tools_performance.d-CARNn07P.d.ts → chrome_dev_tools_performance.d-DvzAxqBc.d.ts} +5 -1
  3. package/{discovery.d-MmZhhuxb.d.ts → discovery.d-DZNIp-Fw.d.ts} +59 -15
  4. package/event_dispatcher.d-BReQpZfC.d.ts +1 -1
  5. package/fesm2022/attribute-BWp59EjE.mjs +1 -1
  6. package/fesm2022/attribute-BWp59EjE.mjs.map +1 -1
  7. package/fesm2022/core.mjs +16 -10
  8. package/fesm2022/core.mjs.map +1 -1
  9. package/fesm2022/{debug_node-BTSSF0Vj.mjs → debug_node-Dn-GvQJo.mjs} +16003 -17587
  10. package/fesm2022/debug_node-Dn-GvQJo.mjs.map +1 -0
  11. package/fesm2022/primitives/di.mjs +1 -1
  12. package/fesm2022/primitives/di.mjs.map +1 -1
  13. package/fesm2022/primitives/event-dispatch.mjs +1 -1
  14. package/fesm2022/primitives/event-dispatch.mjs.map +1 -1
  15. package/fesm2022/primitives/signals.mjs +1 -1
  16. package/fesm2022/primitives/signals.mjs.map +1 -1
  17. package/fesm2022/{resource-DdxAP6ca.mjs → resource-BPCh38bN.mjs} +64 -14
  18. package/fesm2022/resource-BPCh38bN.mjs.map +1 -0
  19. package/fesm2022/{root_effect_scheduler-CX0Q-uCT.mjs → root_effect_scheduler-0BxwqIgm.mjs} +26 -33
  20. package/fesm2022/root_effect_scheduler-0BxwqIgm.mjs.map +1 -0
  21. package/fesm2022/rxjs-interop.mjs +27 -12
  22. package/fesm2022/rxjs-interop.mjs.map +1 -1
  23. package/fesm2022/signal-ePSl6jXn.mjs +1 -1
  24. package/fesm2022/signal-ePSl6jXn.mjs.map +1 -1
  25. package/fesm2022/testing.mjs +73 -30
  26. package/fesm2022/testing.mjs.map +1 -1
  27. package/fesm2022/untracked-2ouAFbCz.mjs +1 -1
  28. package/fesm2022/untracked-2ouAFbCz.mjs.map +1 -1
  29. package/fesm2022/weak_ref-BaIq-pgY.mjs +1 -1
  30. package/fesm2022/weak_ref-BaIq-pgY.mjs.map +1 -1
  31. package/graph.d-BcIOep_B.d.ts +1 -1
  32. package/index.d.ts +817 -2037
  33. package/package.json +6 -3
  34. package/primitives/di/index.d.ts +1 -1
  35. package/primitives/event-dispatch/index.d.ts +1 -1
  36. package/primitives/signals/index.d.ts +1 -1
  37. package/rxjs-interop/index.d.ts +3 -3
  38. package/schematics/bundles/{apply_import_manager-BdH8vaIZ.js → apply_import_manager-Bqnvtho4.cjs} +3 -3
  39. package/schematics/bundles/{change_tracker-C_neAOvN.js → change_tracker-DaCWdziV.cjs} +3 -3
  40. package/schematics/bundles/{checker-DqG0JVTu.js → checker-BHgMyU8j.cjs} +63 -53
  41. package/schematics/bundles/{cleanup-unused-imports.js → cleanup-unused-imports.cjs} +71 -62
  42. package/schematics/bundles/{compiler-CWuG67kz.js → compiler-Dl11rH6-.cjs} +121 -382
  43. package/schematics/bundles/{compiler_host-CAfDJO3W.js → compiler_host-CAfDJO3W.cjs} +1 -1
  44. package/schematics/bundles/{control-flow-migration.js → control-flow-migration.cjs} +4 -4
  45. package/schematics/bundles/{document-core.js → document-core.cjs} +8 -8
  46. package/schematics/bundles/{imports-CIX-JgAN.js → imports-CIX-JgAN.cjs} +1 -1
  47. package/schematics/bundles/{index-DWcLBEg_.js → index-CYxAVSJC.cjs} +29 -20
  48. package/schematics/bundles/{index-CGYcUmPq.js → index-DPvX-lSh.cjs} +81 -37
  49. package/schematics/bundles/{inject-flags.js → inject-flags.cjs} +8 -8
  50. package/schematics/bundles/{inject-migration.js → inject-migration.cjs} +9 -9
  51. package/schematics/bundles/{leading_space-D9nQ8UQC.js → leading_space-D9nQ8UQC.cjs} +1 -1
  52. package/schematics/bundles/{migrate_ts_type_references-DAudyiEk.js → migrate_ts_type_references-DWUePVh6.cjs} +7 -7
  53. package/schematics/bundles/{ng_decorators-DznZ5jMl.js → ng_decorators-B5HCqr20.cjs} +2 -2
  54. package/schematics/bundles/{nodes-B16H9JUd.js → nodes-B16H9JUd.cjs} +1 -1
  55. package/schematics/bundles/{output-migration.js → output-migration.cjs} +8 -8
  56. package/schematics/bundles/{project_paths-B3YG5aUz.js → project_paths-BPBAn_A2.cjs} +71 -42
  57. package/schematics/bundles/{project_tsconfig_paths-CDVxT6Ov.js → project_tsconfig_paths-CDVxT6Ov.cjs} +1 -1
  58. package/schematics/bundles/{property_name-BBwFuqMe.js → property_name-BBwFuqMe.cjs} +1 -1
  59. package/schematics/bundles/{route-lazy-loading.js → route-lazy-loading.cjs} +7 -7
  60. package/schematics/bundles/{self-closing-tags-migration.js → self-closing-tags-migration.cjs} +12 -26
  61. package/schematics/bundles/{signal-input-migration.js → signal-input-migration.cjs} +20 -16
  62. package/schematics/bundles/{signal-queries-migration.js → signal-queries-migration.cjs} +10 -10
  63. package/schematics/bundles/{signals.js → signals.cjs} +13 -13
  64. package/schematics/bundles/{standalone-migration.js → standalone-migration.cjs} +11 -11
  65. package/schematics/bundles/{symbol-VPWguRxr.js → symbol-VPWguRxr.cjs} +1 -1
  66. package/schematics/bundles/{test-bed-get.js → test-bed-get.cjs} +8 -8
  67. package/schematics/collection.json +9 -9
  68. package/schematics/migrations.json +4 -4
  69. package/signal.d-D6VJ67xi.d.ts +1 -1
  70. package/testing/index.d.ts +32 -5
  71. package/weak_ref.d-eGOEP9S1.d.ts +1 -1
  72. package/fesm2022/debug_node-BTSSF0Vj.mjs.map +0 -1
  73. package/fesm2022/resource-DdxAP6ca.mjs.map +0 -1
  74. package/fesm2022/root_effect_scheduler-CX0Q-uCT.mjs.map +0 -1
  75. package/schematics/package.json +0 -3
@@ -1,15 +1,15 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v20.0.0-rc.1
3
+ * @license Angular v20.0.0-rc.3
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
7
7
  'use strict';
8
8
 
9
- var compiler = require('./compiler-CWuG67kz.js');
9
+ var compiler = require('./compiler-Dl11rH6-.cjs');
10
10
  var ts = require('typescript');
11
11
  var p = require('path');
12
- var checker = require('./checker-DqG0JVTu.js');
12
+ var checker = require('./checker-BHgMyU8j.cjs');
13
13
  require('os');
14
14
 
15
15
  function _interopNamespaceDefault(e) {
@@ -892,7 +892,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
892
892
  function compileDeclareClassMetadata(metadata) {
893
893
  const definitionMap = new compiler.DefinitionMap();
894
894
  definitionMap.set('minVersion', compiler.literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
895
- definitionMap.set('version', compiler.literal('20.0.0-rc.1'));
895
+ definitionMap.set('version', compiler.literal('20.0.0-rc.3'));
896
896
  definitionMap.set('ngImport', compiler.importExpr(compiler.Identifiers.core));
897
897
  definitionMap.set('type', metadata.type);
898
898
  definitionMap.set('decorators', metadata.decorators);
@@ -910,7 +910,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
910
910
  callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? compiler.literal(null));
911
911
  callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? compiler.literal(null));
912
912
  definitionMap.set('minVersion', compiler.literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
913
- definitionMap.set('version', compiler.literal('20.0.0-rc.1'));
913
+ definitionMap.set('version', compiler.literal('20.0.0-rc.3'));
914
914
  definitionMap.set('ngImport', compiler.importExpr(compiler.Identifiers.core));
915
915
  definitionMap.set('type', metadata.type);
916
916
  definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
@@ -1005,7 +1005,7 @@ function createDirectiveDefinitionMap(meta) {
1005
1005
  const definitionMap = new compiler.DefinitionMap();
1006
1006
  const minVersion = getMinimumVersionForPartialOutput(meta);
1007
1007
  definitionMap.set('minVersion', compiler.literal(minVersion));
1008
- definitionMap.set('version', compiler.literal('20.0.0-rc.1'));
1008
+ definitionMap.set('version', compiler.literal('20.0.0-rc.3'));
1009
1009
  // e.g. `type: MyDirective`
1010
1010
  definitionMap.set('type', meta.type.value);
1011
1011
  if (meta.isStandalone !== undefined) {
@@ -1421,7 +1421,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
1421
1421
  function compileDeclareFactoryFunction(meta) {
1422
1422
  const definitionMap = new compiler.DefinitionMap();
1423
1423
  definitionMap.set('minVersion', compiler.literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
1424
- definitionMap.set('version', compiler.literal('20.0.0-rc.1'));
1424
+ definitionMap.set('version', compiler.literal('20.0.0-rc.3'));
1425
1425
  definitionMap.set('ngImport', compiler.importExpr(compiler.Identifiers.core));
1426
1426
  definitionMap.set('type', meta.type.value);
1427
1427
  definitionMap.set('deps', compileDependencies(meta.deps));
@@ -1456,7 +1456,7 @@ function compileDeclareInjectableFromMetadata(meta) {
1456
1456
  function createInjectableDefinitionMap(meta) {
1457
1457
  const definitionMap = new compiler.DefinitionMap();
1458
1458
  definitionMap.set('minVersion', compiler.literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
1459
- definitionMap.set('version', compiler.literal('20.0.0-rc.1'));
1459
+ definitionMap.set('version', compiler.literal('20.0.0-rc.3'));
1460
1460
  definitionMap.set('ngImport', compiler.importExpr(compiler.Identifiers.core));
1461
1461
  definitionMap.set('type', meta.type.value);
1462
1462
  // Only generate providedIn property if it has a non-null value
@@ -1507,7 +1507,7 @@ function compileDeclareInjectorFromMetadata(meta) {
1507
1507
  function createInjectorDefinitionMap(meta) {
1508
1508
  const definitionMap = new compiler.DefinitionMap();
1509
1509
  definitionMap.set('minVersion', compiler.literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
1510
- definitionMap.set('version', compiler.literal('20.0.0-rc.1'));
1510
+ definitionMap.set('version', compiler.literal('20.0.0-rc.3'));
1511
1511
  definitionMap.set('ngImport', compiler.importExpr(compiler.Identifiers.core));
1512
1512
  definitionMap.set('type', meta.type.value);
1513
1513
  definitionMap.set('providers', meta.providers);
@@ -1540,7 +1540,7 @@ function createNgModuleDefinitionMap(meta) {
1540
1540
  throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
1541
1541
  }
1542
1542
  definitionMap.set('minVersion', compiler.literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
1543
- definitionMap.set('version', compiler.literal('20.0.0-rc.1'));
1543
+ definitionMap.set('version', compiler.literal('20.0.0-rc.3'));
1544
1544
  definitionMap.set('ngImport', compiler.importExpr(compiler.Identifiers.core));
1545
1545
  definitionMap.set('type', meta.type.value);
1546
1546
  // We only generate the keys in the metadata if the arrays contain values.
@@ -1591,7 +1591,7 @@ function compileDeclarePipeFromMetadata(meta) {
1591
1591
  function createPipeDefinitionMap(meta) {
1592
1592
  const definitionMap = new compiler.DefinitionMap();
1593
1593
  definitionMap.set('minVersion', compiler.literal(MINIMUM_PARTIAL_LINKER_VERSION));
1594
- definitionMap.set('version', compiler.literal('20.0.0-rc.1'));
1594
+ definitionMap.set('version', compiler.literal('20.0.0-rc.3'));
1595
1595
  definitionMap.set('ngImport', compiler.importExpr(compiler.Identifiers.core));
1596
1596
  // e.g. `type: MyPipe`
1597
1597
  definitionMap.set('type', meta.type.value);
@@ -1664,23 +1664,21 @@ function compileHmrInitializer(meta) {
1664
1664
  ]);
1665
1665
  // (m) => m.default && ɵɵreplaceMetadata(...)
1666
1666
  const replaceCallback = compiler.arrowFn([new compiler.FnParam(moduleName)], defaultRead.and(replaceCall));
1667
- // '<url>?c=' + id + '&t=' + encodeURIComponent(t)
1668
- const urlValue = compiler.literal(`./@ng/component?c=`)
1669
- .plus(compiler.variable(idName))
1670
- .plus(compiler.literal('&t='))
1671
- .plus(compiler.variable('encodeURIComponent').callFn([compiler.variable(timestampName)]));
1672
- // import.meta.url
1673
- const urlBase = compiler.variable('import').prop('meta').prop('url');
1674
- // new URL(urlValue, urlBase).href
1675
- const urlHref = new compiler.InstantiateExpr(compiler.variable('URL'), [urlValue, urlBase]).prop('href');
1667
+ // getReplaceMetadataURL(id, timestamp, import.meta.url)
1668
+ const url = compiler.importExpr(compiler.Identifiers.getReplaceMetadataURL)
1669
+ .callFn([
1670
+ compiler.variable(idName),
1671
+ compiler.variable(timestampName),
1672
+ compiler.variable('import').prop('meta').prop('url'),
1673
+ ]);
1676
1674
  // function Cmp_HmrLoad(t) {
1677
- // import(/* @vite-ignore */ urlHref).then((m) => m.default && replaceMetadata(...));
1675
+ // import(/* @vite-ignore */ url).then((m) => m.default && replaceMetadata(...));
1678
1676
  // }
1679
1677
  const importCallback = new compiler.DeclareFunctionStmt(importCallbackName, [new compiler.FnParam(timestampName)], [
1680
1678
  // The vite-ignore special comment is required to prevent Vite from generating a superfluous
1681
1679
  // warning for each usage within the development code. If Vite provides a method to
1682
1680
  // programmatically avoid this warning in the future, this added comment can be removed here.
1683
- new compiler.DynamicImportExpr(urlHref, null, '@vite-ignore')
1681
+ new compiler.DynamicImportExpr(url, null, '@vite-ignore')
1684
1682
  .prop('then')
1685
1683
  .callFn([replaceCallback])
1686
1684
  .toStmt(),
@@ -4539,9 +4537,11 @@ function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompi
4539
4537
  }
4540
4538
  // Do the same for property decorators.
4541
4539
  let metaPropDecorators = null;
4542
- const classMembers = reflection
4543
- .getMembersOfClass(clazz)
4544
- .filter((member) => !member.isStatic && member.decorators !== null && member.decorators.length > 0);
4540
+ const classMembers = reflection.getMembersOfClass(clazz).filter((member) => !member.isStatic &&
4541
+ member.decorators !== null &&
4542
+ member.decorators.length > 0 &&
4543
+ // Private fields are not supported in the metadata emit
4544
+ member.accessLevel !== checker.ClassMemberAccessLevel.EcmaScriptPrivate);
4545
4545
  const duplicateDecoratedMembers = classMembers.filter((member, i, arr) => arr.findIndex((arrayMember) => arrayMember.name === member.name) < i);
4546
4546
  if (duplicateDecoratedMembers.length > 0) {
4547
4547
  // This should theoretically never happen, because the only way to have duplicate instance
@@ -10936,7 +10936,7 @@ class PipeDecoratorHandler {
10936
10936
  * @description
10937
10937
  * Entry point for all public APIs of the compiler-cli package.
10938
10938
  */
10939
- new compiler.Version('20.0.0-rc.1');
10939
+ new compiler.Version('20.0.0-rc.3');
10940
10940
 
10941
10941
  /**
10942
10942
  * Whether a given decorator should be treated as an Angular decorator.
@@ -16213,9 +16213,7 @@ class SourceFileValidator {
16213
16213
  rules;
16214
16214
  constructor(reflector, importedSymbolsTracker, templateTypeChecker, typeCheckingConfig) {
16215
16215
  this.rules = [new InitializerApiUsageRule(reflector, importedSymbolsTracker)];
16216
- {
16217
- this.rules.push(new UnusedStandaloneImportsRule(templateTypeChecker, typeCheckingConfig, importedSymbolsTracker));
16218
- }
16216
+ this.rules.push(new UnusedStandaloneImportsRule(templateTypeChecker, typeCheckingConfig, importedSymbolsTracker));
16219
16217
  }
16220
16218
  /**
16221
16219
  * Gets the diagnostics for a specific file, or null if the file is valid.
@@ -16268,6 +16266,7 @@ var hasRequiredConstants;
16268
16266
  function requireConstants () {
16269
16267
  if (hasRequiredConstants) return constants;
16270
16268
  hasRequiredConstants = 1;
16269
+
16271
16270
  // Note: this is the semver.org version of the spec that it implements
16272
16271
  // Not necessarily the package version of this code.
16273
16272
  const SEMVER_SPEC_VERSION = '2.0.0';
@@ -16312,6 +16311,7 @@ var hasRequiredDebug;
16312
16311
  function requireDebug () {
16313
16312
  if (hasRequiredDebug) return debug_1;
16314
16313
  hasRequiredDebug = 1;
16314
+
16315
16315
  const debug = (
16316
16316
  typeof process === 'object' &&
16317
16317
  process.env &&
@@ -16330,6 +16330,7 @@ function requireRe () {
16330
16330
  if (hasRequiredRe) return re.exports;
16331
16331
  hasRequiredRe = 1;
16332
16332
  (function (module, exports) {
16333
+
16333
16334
  const {
16334
16335
  MAX_SAFE_COMPONENT_LENGTH,
16335
16336
  MAX_SAFE_BUILD_LENGTH,
@@ -16408,12 +16409,14 @@ function requireRe () {
16408
16409
 
16409
16410
  // ## Pre-release Version Identifier
16410
16411
  // A numeric identifier, or a non-numeric identifier.
16412
+ // Non-numberic identifiers include numberic identifiers but can be longer.
16413
+ // Therefore non-numberic identifiers must go first.
16411
16414
 
16412
- createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]
16413
- }|${src[t.NONNUMERICIDENTIFIER]})`);
16415
+ createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NONNUMERICIDENTIFIER]
16416
+ }|${src[t.NUMERICIDENTIFIER]})`);
16414
16417
 
16415
- createToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]
16416
- }|${src[t.NONNUMERICIDENTIFIER]})`);
16418
+ createToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NONNUMERICIDENTIFIER]
16419
+ }|${src[t.NUMERICIDENTIFIERLOOSE]})`);
16417
16420
 
16418
16421
  // ## Pre-release Version
16419
16422
  // Hyphen, followed by one or more dot-separated pre-release version
@@ -16559,6 +16562,7 @@ var hasRequiredParseOptions;
16559
16562
  function requireParseOptions () {
16560
16563
  if (hasRequiredParseOptions) return parseOptions_1;
16561
16564
  hasRequiredParseOptions = 1;
16565
+
16562
16566
  // parse out just the options we care about
16563
16567
  const looseOption = Object.freeze({ loose: true });
16564
16568
  const emptyOpts = Object.freeze({ });
@@ -16583,6 +16587,7 @@ var hasRequiredIdentifiers;
16583
16587
  function requireIdentifiers () {
16584
16588
  if (hasRequiredIdentifiers) return identifiers;
16585
16589
  hasRequiredIdentifiers = 1;
16590
+
16586
16591
  const numeric = /^[0-9]+$/;
16587
16592
  const compareIdentifiers = (a, b) => {
16588
16593
  const anum = numeric.test(a);
@@ -16615,9 +16620,10 @@ var hasRequiredSemver$1;
16615
16620
  function requireSemver$1 () {
16616
16621
  if (hasRequiredSemver$1) return semver$2;
16617
16622
  hasRequiredSemver$1 = 1;
16623
+
16618
16624
  const debug = requireDebug();
16619
16625
  const { MAX_LENGTH, MAX_SAFE_INTEGER } = requireConstants();
16620
- const { safeRe: re, safeSrc: src, t } = requireRe();
16626
+ const { safeRe: re, t } = requireRe();
16621
16627
 
16622
16628
  const parseOptions = requireParseOptions();
16623
16629
  const { compareIdentifiers } = requireIdentifiers();
@@ -16799,8 +16805,7 @@ function requireSemver$1 () {
16799
16805
  }
16800
16806
  // Avoid an invalid semver results
16801
16807
  if (identifier) {
16802
- const r = new RegExp(`^${this.options.loose ? src[t.PRERELEASELOOSE] : src[t.PRERELEASE]}$`);
16803
- const match = `-${identifier}`.match(r);
16808
+ const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE]);
16804
16809
  if (!match || match[1] !== identifier) {
16805
16810
  throw new Error(`invalid identifier: ${identifier}`)
16806
16811
  }
@@ -16942,6 +16947,7 @@ var hasRequiredParse;
16942
16947
  function requireParse () {
16943
16948
  if (hasRequiredParse) return parse_1;
16944
16949
  hasRequiredParse = 1;
16950
+
16945
16951
  const SemVer = requireSemver$1();
16946
16952
  const parse = (version, options, throwErrors = false) => {
16947
16953
  if (version instanceof SemVer) {
@@ -16967,6 +16973,7 @@ var hasRequiredValid$1;
16967
16973
  function requireValid$1 () {
16968
16974
  if (hasRequiredValid$1) return valid_1;
16969
16975
  hasRequiredValid$1 = 1;
16976
+
16970
16977
  const parse = requireParse();
16971
16978
  const valid = (version, options) => {
16972
16979
  const v = parse(version, options);
@@ -16982,6 +16989,7 @@ var hasRequiredClean;
16982
16989
  function requireClean () {
16983
16990
  if (hasRequiredClean) return clean_1;
16984
16991
  hasRequiredClean = 1;
16992
+
16985
16993
  const parse = requireParse();
16986
16994
  const clean = (version, options) => {
16987
16995
  const s = parse(version.trim().replace(/^[=v]+/, ''), options);
@@ -16997,6 +17005,7 @@ var hasRequiredInc;
16997
17005
  function requireInc () {
16998
17006
  if (hasRequiredInc) return inc_1;
16999
17007
  hasRequiredInc = 1;
17008
+
17000
17009
  const SemVer = requireSemver$1();
17001
17010
 
17002
17011
  const inc = (version, release, options, identifier, identifierBase) => {
@@ -17025,6 +17034,7 @@ var hasRequiredDiff;
17025
17034
  function requireDiff () {
17026
17035
  if (hasRequiredDiff) return diff_1;
17027
17036
  hasRequiredDiff = 1;
17037
+
17028
17038
  const parse = requireParse();
17029
17039
 
17030
17040
  const diff = (version1, version2) => {
@@ -17092,6 +17102,7 @@ var hasRequiredMajor;
17092
17102
  function requireMajor () {
17093
17103
  if (hasRequiredMajor) return major_1;
17094
17104
  hasRequiredMajor = 1;
17105
+
17095
17106
  const SemVer = requireSemver$1();
17096
17107
  const major = (a, loose) => new SemVer(a, loose).major;
17097
17108
  major_1 = major;
@@ -17104,6 +17115,7 @@ var hasRequiredMinor;
17104
17115
  function requireMinor () {
17105
17116
  if (hasRequiredMinor) return minor_1;
17106
17117
  hasRequiredMinor = 1;
17118
+
17107
17119
  const SemVer = requireSemver$1();
17108
17120
  const minor = (a, loose) => new SemVer(a, loose).minor;
17109
17121
  minor_1 = minor;
@@ -17116,6 +17128,7 @@ var hasRequiredPatch;
17116
17128
  function requirePatch () {
17117
17129
  if (hasRequiredPatch) return patch_1;
17118
17130
  hasRequiredPatch = 1;
17131
+
17119
17132
  const SemVer = requireSemver$1();
17120
17133
  const patch = (a, loose) => new SemVer(a, loose).patch;
17121
17134
  patch_1 = patch;
@@ -17128,6 +17141,7 @@ var hasRequiredPrerelease;
17128
17141
  function requirePrerelease () {
17129
17142
  if (hasRequiredPrerelease) return prerelease_1;
17130
17143
  hasRequiredPrerelease = 1;
17144
+
17131
17145
  const parse = requireParse();
17132
17146
  const prerelease = (version, options) => {
17133
17147
  const parsed = parse(version, options);
@@ -17143,6 +17157,7 @@ var hasRequiredCompare;
17143
17157
  function requireCompare () {
17144
17158
  if (hasRequiredCompare) return compare_1;
17145
17159
  hasRequiredCompare = 1;
17160
+
17146
17161
  const SemVer = requireSemver$1();
17147
17162
  const compare = (a, b, loose) =>
17148
17163
  new SemVer(a, loose).compare(new SemVer(b, loose));
@@ -17157,6 +17172,7 @@ var hasRequiredRcompare;
17157
17172
  function requireRcompare () {
17158
17173
  if (hasRequiredRcompare) return rcompare_1;
17159
17174
  hasRequiredRcompare = 1;
17175
+
17160
17176
  const compare = requireCompare();
17161
17177
  const rcompare = (a, b, loose) => compare(b, a, loose);
17162
17178
  rcompare_1 = rcompare;
@@ -17169,6 +17185,7 @@ var hasRequiredCompareLoose;
17169
17185
  function requireCompareLoose () {
17170
17186
  if (hasRequiredCompareLoose) return compareLoose_1;
17171
17187
  hasRequiredCompareLoose = 1;
17188
+
17172
17189
  const compare = requireCompare();
17173
17190
  const compareLoose = (a, b) => compare(a, b, true);
17174
17191
  compareLoose_1 = compareLoose;
@@ -17181,6 +17198,7 @@ var hasRequiredCompareBuild;
17181
17198
  function requireCompareBuild () {
17182
17199
  if (hasRequiredCompareBuild) return compareBuild_1;
17183
17200
  hasRequiredCompareBuild = 1;
17201
+
17184
17202
  const SemVer = requireSemver$1();
17185
17203
  const compareBuild = (a, b, loose) => {
17186
17204
  const versionA = new SemVer(a, loose);
@@ -17197,6 +17215,7 @@ var hasRequiredSort;
17197
17215
  function requireSort () {
17198
17216
  if (hasRequiredSort) return sort_1;
17199
17217
  hasRequiredSort = 1;
17218
+
17200
17219
  const compareBuild = requireCompareBuild();
17201
17220
  const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
17202
17221
  sort_1 = sort;
@@ -17209,6 +17228,7 @@ var hasRequiredRsort;
17209
17228
  function requireRsort () {
17210
17229
  if (hasRequiredRsort) return rsort_1;
17211
17230
  hasRequiredRsort = 1;
17231
+
17212
17232
  const compareBuild = requireCompareBuild();
17213
17233
  const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
17214
17234
  rsort_1 = rsort;
@@ -17221,6 +17241,7 @@ var hasRequiredGt;
17221
17241
  function requireGt () {
17222
17242
  if (hasRequiredGt) return gt_1;
17223
17243
  hasRequiredGt = 1;
17244
+
17224
17245
  const compare = requireCompare();
17225
17246
  const gt = (a, b, loose) => compare(a, b, loose) > 0;
17226
17247
  gt_1 = gt;
@@ -17233,6 +17254,7 @@ var hasRequiredLt;
17233
17254
  function requireLt () {
17234
17255
  if (hasRequiredLt) return lt_1;
17235
17256
  hasRequiredLt = 1;
17257
+
17236
17258
  const compare = requireCompare();
17237
17259
  const lt = (a, b, loose) => compare(a, b, loose) < 0;
17238
17260
  lt_1 = lt;
@@ -17245,6 +17267,7 @@ var hasRequiredEq;
17245
17267
  function requireEq () {
17246
17268
  if (hasRequiredEq) return eq_1;
17247
17269
  hasRequiredEq = 1;
17270
+
17248
17271
  const compare = requireCompare();
17249
17272
  const eq = (a, b, loose) => compare(a, b, loose) === 0;
17250
17273
  eq_1 = eq;
@@ -17257,6 +17280,7 @@ var hasRequiredNeq;
17257
17280
  function requireNeq () {
17258
17281
  if (hasRequiredNeq) return neq_1;
17259
17282
  hasRequiredNeq = 1;
17283
+
17260
17284
  const compare = requireCompare();
17261
17285
  const neq = (a, b, loose) => compare(a, b, loose) !== 0;
17262
17286
  neq_1 = neq;
@@ -17269,6 +17293,7 @@ var hasRequiredGte;
17269
17293
  function requireGte () {
17270
17294
  if (hasRequiredGte) return gte_1;
17271
17295
  hasRequiredGte = 1;
17296
+
17272
17297
  const compare = requireCompare();
17273
17298
  const gte = (a, b, loose) => compare(a, b, loose) >= 0;
17274
17299
  gte_1 = gte;
@@ -17281,6 +17306,7 @@ var hasRequiredLte;
17281
17306
  function requireLte () {
17282
17307
  if (hasRequiredLte) return lte_1;
17283
17308
  hasRequiredLte = 1;
17309
+
17284
17310
  const compare = requireCompare();
17285
17311
  const lte = (a, b, loose) => compare(a, b, loose) <= 0;
17286
17312
  lte_1 = lte;
@@ -17293,6 +17319,7 @@ var hasRequiredCmp;
17293
17319
  function requireCmp () {
17294
17320
  if (hasRequiredCmp) return cmp_1;
17295
17321
  hasRequiredCmp = 1;
17322
+
17296
17323
  const eq = requireEq();
17297
17324
  const neq = requireNeq();
17298
17325
  const gt = requireGt();
@@ -17354,6 +17381,7 @@ var hasRequiredCoerce;
17354
17381
  function requireCoerce () {
17355
17382
  if (hasRequiredCoerce) return coerce_1;
17356
17383
  hasRequiredCoerce = 1;
17384
+
17357
17385
  const SemVer = requireSemver$1();
17358
17386
  const parse = requireParse();
17359
17387
  const { safeRe: re, t } = requireRe();
@@ -17423,6 +17451,7 @@ var hasRequiredLrucache;
17423
17451
  function requireLrucache () {
17424
17452
  if (hasRequiredLrucache) return lrucache;
17425
17453
  hasRequiredLrucache = 1;
17454
+
17426
17455
  class LRUCache {
17427
17456
  constructor () {
17428
17457
  this.max = 1000;
@@ -17472,6 +17501,7 @@ var hasRequiredRange;
17472
17501
  function requireRange () {
17473
17502
  if (hasRequiredRange) return range;
17474
17503
  hasRequiredRange = 1;
17504
+
17475
17505
  const SPACE_CHARACTERS = /\s+/g;
17476
17506
 
17477
17507
  // hoisted class for cyclic dependency
@@ -18035,6 +18065,7 @@ var hasRequiredComparator;
18035
18065
  function requireComparator () {
18036
18066
  if (hasRequiredComparator) return comparator;
18037
18067
  hasRequiredComparator = 1;
18068
+
18038
18069
  const ANY = Symbol('SemVer ANY');
18039
18070
  // hoisted class for cyclic dependency
18040
18071
  class Comparator {
@@ -18185,6 +18216,7 @@ var hasRequiredSatisfies;
18185
18216
  function requireSatisfies () {
18186
18217
  if (hasRequiredSatisfies) return satisfies_1;
18187
18218
  hasRequiredSatisfies = 1;
18219
+
18188
18220
  const Range = requireRange();
18189
18221
  const satisfies = (version, range, options) => {
18190
18222
  try {
@@ -18204,6 +18236,7 @@ var hasRequiredToComparators;
18204
18236
  function requireToComparators () {
18205
18237
  if (hasRequiredToComparators) return toComparators_1;
18206
18238
  hasRequiredToComparators = 1;
18239
+
18207
18240
  const Range = requireRange();
18208
18241
 
18209
18242
  // Mostly just for testing and legacy API reasons
@@ -18221,6 +18254,7 @@ var hasRequiredMaxSatisfying;
18221
18254
  function requireMaxSatisfying () {
18222
18255
  if (hasRequiredMaxSatisfying) return maxSatisfying_1;
18223
18256
  hasRequiredMaxSatisfying = 1;
18257
+
18224
18258
  const SemVer = requireSemver$1();
18225
18259
  const Range = requireRange();
18226
18260
 
@@ -18255,6 +18289,7 @@ var hasRequiredMinSatisfying;
18255
18289
  function requireMinSatisfying () {
18256
18290
  if (hasRequiredMinSatisfying) return minSatisfying_1;
18257
18291
  hasRequiredMinSatisfying = 1;
18292
+
18258
18293
  const SemVer = requireSemver$1();
18259
18294
  const Range = requireRange();
18260
18295
  const minSatisfying = (versions, range, options) => {
@@ -18288,6 +18323,7 @@ var hasRequiredMinVersion;
18288
18323
  function requireMinVersion () {
18289
18324
  if (hasRequiredMinVersion) return minVersion_1;
18290
18325
  hasRequiredMinVersion = 1;
18326
+
18291
18327
  const SemVer = requireSemver$1();
18292
18328
  const Range = requireRange();
18293
18329
  const gt = requireGt();
@@ -18358,6 +18394,7 @@ var hasRequiredValid;
18358
18394
  function requireValid () {
18359
18395
  if (hasRequiredValid) return valid;
18360
18396
  hasRequiredValid = 1;
18397
+
18361
18398
  const Range = requireRange();
18362
18399
  const validRange = (range, options) => {
18363
18400
  try {
@@ -18378,6 +18415,7 @@ var hasRequiredOutside;
18378
18415
  function requireOutside () {
18379
18416
  if (hasRequiredOutside) return outside_1;
18380
18417
  hasRequiredOutside = 1;
18418
+
18381
18419
  const SemVer = requireSemver$1();
18382
18420
  const Comparator = requireComparator();
18383
18421
  const { ANY } = Comparator;
@@ -18467,6 +18505,7 @@ var hasRequiredGtr;
18467
18505
  function requireGtr () {
18468
18506
  if (hasRequiredGtr) return gtr_1;
18469
18507
  hasRequiredGtr = 1;
18508
+
18470
18509
  // Determine if version is greater than all the versions possible in the range.
18471
18510
  const outside = requireOutside();
18472
18511
  const gtr = (version, range, options) => outside(version, range, '>', options);
@@ -18480,6 +18519,7 @@ var hasRequiredLtr;
18480
18519
  function requireLtr () {
18481
18520
  if (hasRequiredLtr) return ltr_1;
18482
18521
  hasRequiredLtr = 1;
18522
+
18483
18523
  const outside = requireOutside();
18484
18524
  // Determine if version is less than all the versions possible in the range
18485
18525
  const ltr = (version, range, options) => outside(version, range, '<', options);
@@ -18493,6 +18533,7 @@ var hasRequiredIntersects;
18493
18533
  function requireIntersects () {
18494
18534
  if (hasRequiredIntersects) return intersects_1;
18495
18535
  hasRequiredIntersects = 1;
18536
+
18496
18537
  const Range = requireRange();
18497
18538
  const intersects = (r1, r2, options) => {
18498
18539
  r1 = new Range(r1, options);
@@ -18509,6 +18550,7 @@ var hasRequiredSimplify;
18509
18550
  function requireSimplify () {
18510
18551
  if (hasRequiredSimplify) return simplify;
18511
18552
  hasRequiredSimplify = 1;
18553
+
18512
18554
  // given a set of versions and a range, create a "simplified" range
18513
18555
  // that includes the same versions that the original range does
18514
18556
  // If the original range is shorter than the simplified one, return that.
@@ -18565,6 +18607,7 @@ var hasRequiredSubset;
18565
18607
  function requireSubset () {
18566
18608
  if (hasRequiredSubset) return subset_1;
18567
18609
  hasRequiredSubset = 1;
18610
+
18568
18611
  const Range = requireRange();
18569
18612
  const Comparator = requireComparator();
18570
18613
  const { ANY } = Comparator;
@@ -18821,6 +18864,7 @@ var hasRequiredSemver;
18821
18864
  function requireSemver () {
18822
18865
  if (hasRequiredSemver) return semver$1;
18823
18866
  hasRequiredSemver = 1;
18867
+
18824
18868
  // just pre-load all the stuff that index.js lazily exports
18825
18869
  const internalRe = requireRe();
18826
18870
  const constants = requireConstants();
@@ -18931,7 +18975,7 @@ var semver = /*@__PURE__*/getDefaultExportFromCjs(semverExports);
18931
18975
  * @param minVersion Minimum required version for the feature.
18932
18976
  */
18933
18977
  function coreVersionSupportsFeature(coreVersion, minVersion) {
18934
- // A version of `20.0.0-rc.1` usually means that core is at head so it supports
18978
+ // A version of `20.0.0-rc.3` usually means that core is at head so it supports
18935
18979
  // all features. Use string interpolation prevent the placeholder from being replaced
18936
18980
  // with the current version during build time.
18937
18981
  if (coreVersion === `0.0.0-${'PLACEHOLDER'}`) {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v20.0.0-rc.1
3
+ * @license Angular v20.0.0-rc.3
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -8,20 +8,20 @@
8
8
 
9
9
  var ts = require('typescript');
10
10
  require('os');
11
- var checker = require('./checker-DqG0JVTu.js');
12
- require('./compiler-CWuG67kz.js');
13
- require('./index-CGYcUmPq.js');
11
+ var checker = require('./checker-BHgMyU8j.cjs');
12
+ require('./compiler-Dl11rH6-.cjs');
13
+ require('./index-DPvX-lSh.cjs');
14
14
  require('path');
15
- var project_paths = require('./project_paths-B3YG5aUz.js');
16
- var apply_import_manager = require('./apply_import_manager-BdH8vaIZ.js');
17
- var imports = require('./imports-CIX-JgAN.js');
15
+ var project_paths = require('./project_paths-BPBAn_A2.cjs');
16
+ var apply_import_manager = require('./apply_import_manager-Bqnvtho4.cjs');
17
+ var imports = require('./imports-CIX-JgAN.cjs');
18
18
  require('@angular-devkit/core');
19
19
  require('node:path/posix');
20
20
  require('fs');
21
21
  require('module');
22
22
  require('url');
23
23
  require('@angular-devkit/schematics');
24
- require('./project_tsconfig_paths-CDVxT6Ov.js');
24
+ require('./project_tsconfig_paths-CDVxT6Ov.cjs');
25
25
 
26
26
  /** Mapping between `InjectFlag` enum members to their object literal equvalients. */
27
27
  const FLAGS_TO_FIELDS = {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v20.0.0-rc.1
3
+ * @license Angular v20.0.0-rc.3
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -8,15 +8,15 @@
8
8
 
9
9
  var schematics = require('@angular-devkit/schematics');
10
10
  var p = require('path');
11
- var change_tracker = require('./change_tracker-C_neAOvN.js');
12
- var compiler_host = require('./compiler_host-CAfDJO3W.js');
11
+ var change_tracker = require('./change_tracker-DaCWdziV.cjs');
12
+ var compiler_host = require('./compiler_host-CAfDJO3W.cjs');
13
13
  var ts = require('typescript');
14
- var ng_decorators = require('./ng_decorators-DznZ5jMl.js');
15
- var imports = require('./imports-CIX-JgAN.js');
16
- var nodes = require('./nodes-B16H9JUd.js');
17
- var leading_space = require('./leading_space-D9nQ8UQC.js');
18
- require('./compiler-CWuG67kz.js');
19
- require('./checker-DqG0JVTu.js');
14
+ var ng_decorators = require('./ng_decorators-B5HCqr20.cjs');
15
+ var imports = require('./imports-CIX-JgAN.cjs');
16
+ var nodes = require('./nodes-B16H9JUd.cjs');
17
+ var leading_space = require('./leading_space-D9nQ8UQC.cjs');
18
+ require('./compiler-Dl11rH6-.cjs');
19
+ require('./checker-BHgMyU8j.cjs');
20
20
  require('os');
21
21
  require('fs');
22
22
  require('module');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v20.0.0-rc.1
3
+ * @license Angular v20.0.0-rc.3
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -1,20 +1,20 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v20.0.0-rc.1
3
+ * @license Angular v20.0.0-rc.3
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
7
7
  'use strict';
8
8
 
9
- require('./compiler-CWuG67kz.js');
9
+ require('./compiler-Dl11rH6-.cjs');
10
10
  var ts = require('typescript');
11
- var checker = require('./checker-DqG0JVTu.js');
11
+ var checker = require('./checker-BHgMyU8j.cjs');
12
12
  require('os');
13
13
  var assert = require('assert');
14
- var index = require('./index-DWcLBEg_.js');
15
- var project_paths = require('./project_paths-B3YG5aUz.js');
16
- var leading_space = require('./leading_space-D9nQ8UQC.js');
17
- require('./index-CGYcUmPq.js');
14
+ var index = require('./index-CYxAVSJC.cjs');
15
+ var project_paths = require('./project_paths-BPBAn_A2.cjs');
16
+ var leading_space = require('./leading_space-D9nQ8UQC.cjs');
17
+ require('./index-DPvX-lSh.cjs');
18
18
  require('path');
19
19
 
20
20
  /**
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v20.0.0-rc.1
3
+ * @license Angular v20.0.0-rc.3
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
7
7
  'use strict';
8
8
 
9
9
  var ts = require('typescript');
10
- var imports = require('./imports-CIX-JgAN.js');
10
+ var imports = require('./imports-CIX-JgAN.cjs');
11
11
 
12
12
  function getCallDecoratorImport(typeChecker, decorator) {
13
13
  // Note that this does not cover the edge case where decorators are called from
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v20.0.0-rc.1
3
+ * @license Angular v20.0.0-rc.3
4
4
  * (c) 2010-2025 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */