@angular/core 19.0.0-next.8 → 19.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 (30) hide show
  1. package/fesm2022/core.mjs +93 -13
  2. package/fesm2022/core.mjs.map +1 -1
  3. package/fesm2022/primitives/event-dispatch.mjs +1 -1
  4. package/fesm2022/primitives/signals.mjs +1 -1
  5. package/fesm2022/primitives/signals.mjs.map +1 -1
  6. package/fesm2022/rxjs-interop.mjs +1 -1
  7. package/fesm2022/testing.mjs +6 -4
  8. package/fesm2022/testing.mjs.map +1 -1
  9. package/index.d.ts +41 -18
  10. package/package.json +1 -1
  11. package/primitives/event-dispatch/index.d.ts +1 -1
  12. package/primitives/signals/index.d.ts +5 -1
  13. package/rxjs-interop/index.d.ts +1 -1
  14. package/schematics/bundles/{checker-e68dd7ce.js → checker-3b2ea20f.js} +124 -76
  15. package/schematics/bundles/{compiler_host-9a4d0c2b.js → compiler_host-b4ba5a28.js} +2 -2
  16. package/schematics/bundles/control-flow-migration.js +3 -3
  17. package/schematics/bundles/explicit-standalone-flag.js +3 -3
  18. package/schematics/bundles/{group_replacements-472b2387.js → group_replacements-e1b5cbf8.js} +234 -108
  19. package/schematics/bundles/imports-4ac08251.js +1 -1
  20. package/schematics/bundles/inject-migration.js +3 -3
  21. package/schematics/bundles/leading_space-d190b83b.js +1 -1
  22. package/schematics/bundles/nodes-0e7d45ca.js +1 -1
  23. package/schematics/bundles/pending-tasks.js +3 -3
  24. package/schematics/bundles/{program-105283c5.js → program-6534a30a.js} +67 -21
  25. package/schematics/bundles/project_tsconfig_paths-e9ccccbf.js +1 -1
  26. package/schematics/bundles/route-lazy-loading.js +3 -3
  27. package/schematics/bundles/signal-input-migration.js +147 -171
  28. package/schematics/bundles/signal-queries-migration.js +93 -74
  29. package/schematics/bundles/standalone-migration.js +5 -5
  30. package/testing/index.d.ts +3 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.0-next.8
3
+ * @license Angular v19.0.0-next.9
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.0-next.8
3
+ * @license Angular v19.0.0-next.9
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -10,12 +10,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
10
10
 
11
11
  var schematics = require('@angular-devkit/schematics');
12
12
  var p = require('path');
13
- var compiler_host = require('./compiler_host-9a4d0c2b.js');
13
+ var compiler_host = require('./compiler_host-b4ba5a28.js');
14
14
  var ts = require('typescript');
15
15
  var nodes = require('./nodes-0e7d45ca.js');
16
16
  var imports = require('./imports-4ac08251.js');
17
17
  var leading_space = require('./leading_space-d190b83b.js');
18
- require('./checker-e68dd7ce.js');
18
+ require('./checker-3b2ea20f.js');
19
19
  require('os');
20
20
  require('fs');
21
21
  require('module');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.0-next.8
3
+ * @license Angular v19.0.0-next.9
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.0-next.8
3
+ * @license Angular v19.0.0-next.9
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.0-next.8
3
+ * @license Angular v19.0.0-next.9
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -11,11 +11,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
11
11
  var schematics = require('@angular-devkit/schematics');
12
12
  var p = require('path');
13
13
  var project_tsconfig_paths = require('./project_tsconfig_paths-e9ccccbf.js');
14
- var compiler_host = require('./compiler_host-9a4d0c2b.js');
14
+ var compiler_host = require('./compiler_host-b4ba5a28.js');
15
15
  var ts = require('typescript');
16
16
  var imports = require('./imports-4ac08251.js');
17
17
  require('@angular-devkit/core');
18
- require('./checker-e68dd7ce.js');
18
+ require('./checker-3b2ea20f.js');
19
19
  require('os');
20
20
  require('fs');
21
21
  require('module');
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.0-next.8
3
+ * @license Angular v19.0.0-next.9
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
7
7
  'use strict';
8
8
 
9
- var checker = require('./checker-e68dd7ce.js');
9
+ var checker = require('./checker-3b2ea20f.js');
10
10
  var ts = require('typescript');
11
11
  var p = require('path');
12
12
  require('os');
@@ -864,7 +864,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
864
864
  function compileDeclareClassMetadata(metadata) {
865
865
  const definitionMap = new checker.DefinitionMap();
866
866
  definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
867
- definitionMap.set('version', checker.literal('19.0.0-next.8'));
867
+ definitionMap.set('version', checker.literal('19.0.0-next.9'));
868
868
  definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
869
869
  definitionMap.set('type', metadata.type);
870
870
  definitionMap.set('decorators', metadata.decorators);
@@ -882,7 +882,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
882
882
  callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? checker.literal(null));
883
883
  callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? checker.literal(null));
884
884
  definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
885
- definitionMap.set('version', checker.literal('19.0.0-next.8'));
885
+ definitionMap.set('version', checker.literal('19.0.0-next.9'));
886
886
  definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
887
887
  definitionMap.set('type', metadata.type);
888
888
  definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
@@ -977,7 +977,7 @@ function createDirectiveDefinitionMap(meta) {
977
977
  const definitionMap = new checker.DefinitionMap();
978
978
  const minVersion = getMinimumVersionForPartialOutput(meta);
979
979
  definitionMap.set('minVersion', checker.literal(minVersion));
980
- definitionMap.set('version', checker.literal('19.0.0-next.8'));
980
+ definitionMap.set('version', checker.literal('19.0.0-next.9'));
981
981
  // e.g. `type: MyDirective`
982
982
  definitionMap.set('type', meta.type.value);
983
983
  if (meta.isStandalone) {
@@ -1396,7 +1396,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
1396
1396
  function compileDeclareFactoryFunction(meta) {
1397
1397
  const definitionMap = new checker.DefinitionMap();
1398
1398
  definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
1399
- definitionMap.set('version', checker.literal('19.0.0-next.8'));
1399
+ definitionMap.set('version', checker.literal('19.0.0-next.9'));
1400
1400
  definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
1401
1401
  definitionMap.set('type', meta.type.value);
1402
1402
  definitionMap.set('deps', compileDependencies(meta.deps));
@@ -1431,7 +1431,7 @@ function compileDeclareInjectableFromMetadata(meta) {
1431
1431
  function createInjectableDefinitionMap(meta) {
1432
1432
  const definitionMap = new checker.DefinitionMap();
1433
1433
  definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
1434
- definitionMap.set('version', checker.literal('19.0.0-next.8'));
1434
+ definitionMap.set('version', checker.literal('19.0.0-next.9'));
1435
1435
  definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
1436
1436
  definitionMap.set('type', meta.type.value);
1437
1437
  // Only generate providedIn property if it has a non-null value
@@ -1482,7 +1482,7 @@ function compileDeclareInjectorFromMetadata(meta) {
1482
1482
  function createInjectorDefinitionMap(meta) {
1483
1483
  const definitionMap = new checker.DefinitionMap();
1484
1484
  definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
1485
- definitionMap.set('version', checker.literal('19.0.0-next.8'));
1485
+ definitionMap.set('version', checker.literal('19.0.0-next.9'));
1486
1486
  definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
1487
1487
  definitionMap.set('type', meta.type.value);
1488
1488
  definitionMap.set('providers', meta.providers);
@@ -1515,7 +1515,7 @@ function createNgModuleDefinitionMap(meta) {
1515
1515
  throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
1516
1516
  }
1517
1517
  definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
1518
- definitionMap.set('version', checker.literal('19.0.0-next.8'));
1518
+ definitionMap.set('version', checker.literal('19.0.0-next.9'));
1519
1519
  definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
1520
1520
  definitionMap.set('type', meta.type.value);
1521
1521
  // We only generate the keys in the metadata if the arrays contain values.
@@ -1566,7 +1566,7 @@ function compileDeclarePipeFromMetadata(meta) {
1566
1566
  function createPipeDefinitionMap(meta) {
1567
1567
  const definitionMap = new checker.DefinitionMap();
1568
1568
  definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION));
1569
- definitionMap.set('version', checker.literal('19.0.0-next.8'));
1569
+ definitionMap.set('version', checker.literal('19.0.0-next.9'));
1570
1570
  definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
1571
1571
  // e.g. `type: MyPipe`
1572
1572
  definitionMap.set('type', meta.type.value);
@@ -1923,7 +1923,7 @@ class DeferredSymbolTracker {
1923
1923
  return false;
1924
1924
  }
1925
1925
  const symbolsMap = this.imports.get(importDecl);
1926
- for (const [symbol, refs] of symbolsMap) {
1926
+ for (const refs of symbolsMap.values()) {
1927
1927
  if (refs === AssumeEager || refs.size > 0) {
1928
1928
  // There may be still eager references to this symbol.
1929
1929
  return false;
@@ -1947,8 +1947,9 @@ class DeferredSymbolTracker {
1947
1947
  lookupIdentifiersInSourceFile(name, importDecl) {
1948
1948
  const results = new Set();
1949
1949
  const visit = (node) => {
1950
- if (node === importDecl) {
1951
- // Don't record references from the declaration itself.
1950
+ // Don't record references from the declaration itself or inside
1951
+ // type nodes which will be stripped from the JS output.
1952
+ if (node === importDecl || ts__default["default"].isTypeNode(node)) {
1952
1953
  return;
1953
1954
  }
1954
1955
  if (ts__default["default"].isIdentifier(node) && node.text === name) {
@@ -8960,6 +8961,7 @@ function preloadAndParseTemplate(evaluator, resourceLoader, depTracker, preanaly
8960
8961
  const templatePromise = resourceLoader.preload(resourceUrl, {
8961
8962
  type: 'template',
8962
8963
  containingFile,
8964
+ className: node.name.text,
8963
8965
  });
8964
8966
  // If the preload worked, then actually load and parse the template, and wait for any
8965
8967
  // style URLs to resolve.
@@ -9735,7 +9737,7 @@ const isUsedPipe = (decl) => decl.kind === checker.R3TemplateDependencyKind.Pipe
9735
9737
  * `DecoratorHandler` which handles the `@Component` annotation.
9736
9738
  */
9737
9739
  class ComponentDecoratorHandler {
9738
- constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver, importTracker, includeClassMetadata, compilationMode, deferredSymbolTracker, forbidOrphanRendering, enableBlockSyntax, enableLetSyntax, localCompilationExtraImportsTracker, jitDeclarationRegistry, i18nPreserveSignificantWhitespace, strictStandalone) {
9740
+ constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver, importTracker, includeClassMetadata, compilationMode, deferredSymbolTracker, forbidOrphanRendering, enableBlockSyntax, enableLetSyntax, externalRuntimeStyles, localCompilationExtraImportsTracker, jitDeclarationRegistry, i18nPreserveSignificantWhitespace, strictStandalone) {
9739
9741
  this.reflector = reflector;
9740
9742
  this.evaluator = evaluator;
9741
9743
  this.metaRegistry = metaRegistry;
@@ -9772,6 +9774,7 @@ class ComponentDecoratorHandler {
9772
9774
  this.forbidOrphanRendering = forbidOrphanRendering;
9773
9775
  this.enableBlockSyntax = enableBlockSyntax;
9774
9776
  this.enableLetSyntax = enableLetSyntax;
9777
+ this.externalRuntimeStyles = externalRuntimeStyles;
9775
9778
  this.localCompilationExtraImportsTracker = localCompilationExtraImportsTracker;
9776
9779
  this.jitDeclarationRegistry = jitDeclarationRegistry;
9777
9780
  this.i18nPreserveSignificantWhitespace = i18nPreserveSignificantWhitespace;
@@ -9833,7 +9836,11 @@ class ComponentDecoratorHandler {
9833
9836
  const resolveStyleUrl = (styleUrl) => {
9834
9837
  try {
9835
9838
  const resourceUrl = this.resourceLoader.resolve(styleUrl, containingFile);
9836
- return this.resourceLoader.preload(resourceUrl, { type: 'style', containingFile });
9839
+ return this.resourceLoader.preload(resourceUrl, {
9840
+ type: 'style',
9841
+ containingFile,
9842
+ className: node.name.text,
9843
+ });
9837
9844
  }
9838
9845
  catch {
9839
9846
  // Don't worry about failures to preload. We can handle this problem during analysis by
@@ -9861,18 +9868,31 @@ class ComponentDecoratorHandler {
9861
9868
  return templateAndTemplateStyleResources.then(async (templateInfo) => {
9862
9869
  // Extract inline styles, process, and cache for use in synchronous analyze phase
9863
9870
  let styles = null;
9871
+ // Order plus className allows inline styles to be identified per component by a preprocessor
9872
+ let orderOffset = 0;
9864
9873
  const rawStyles = parseDirectiveStyles(component, this.evaluator, this.compilationMode);
9865
9874
  if (rawStyles?.length) {
9866
- styles = await Promise.all(rawStyles.map((style) => this.resourceLoader.preprocessInline(style, { type: 'style', containingFile })));
9875
+ styles = await Promise.all(rawStyles.map((style) => this.resourceLoader.preprocessInline(style, {
9876
+ type: 'style',
9877
+ containingFile,
9878
+ order: orderOffset++,
9879
+ className: node.name.text,
9880
+ })));
9867
9881
  }
9868
9882
  if (templateInfo.templateStyles) {
9869
9883
  styles ??= [];
9870
9884
  styles.push(...(await Promise.all(templateInfo.templateStyles.map((style) => this.resourceLoader.preprocessInline(style, {
9871
9885
  type: 'style',
9872
9886
  containingFile: templateInfo.templateUrl ?? containingFile,
9887
+ order: orderOffset++,
9888
+ className: node.name.text,
9873
9889
  })))));
9874
9890
  }
9875
9891
  this.preanalyzeStylesCache.set(node, styles);
9892
+ if (this.externalRuntimeStyles) {
9893
+ // No preanalysis required for style URLs with external runtime styles
9894
+ return;
9895
+ }
9876
9896
  // Wait for both the template and all styleUrl resources to resolve.
9877
9897
  await Promise.all([
9878
9898
  ...componentStyleUrls.map((styleUrl) => resolveStyleUrl(styleUrl.url)),
@@ -10048,6 +10068,7 @@ class ComponentDecoratorHandler {
10048
10068
  // precede inline styles, and styles defined in the template override styles defined in the
10049
10069
  // component.
10050
10070
  let styles = [];
10071
+ const externalStyles = [];
10051
10072
  const styleResources = extractInlineStyleResources(component);
10052
10073
  const styleUrls = [
10053
10074
  ...extractComponentStyleUrls(this.evaluator, component),
@@ -10056,6 +10077,11 @@ class ComponentDecoratorHandler {
10056
10077
  for (const styleUrl of styleUrls) {
10057
10078
  try {
10058
10079
  const resourceUrl = this.resourceLoader.resolve(styleUrl.url, containingFile);
10080
+ if (this.externalRuntimeStyles) {
10081
+ // External runtime styles are not considered disk-based and may not actually exist on disk
10082
+ externalStyles.push(resourceUrl);
10083
+ continue;
10084
+ }
10059
10085
  if (styleUrl.source === 2 /* ResourceTypeForDiagnostics.StylesheetFromDecorator */ &&
10060
10086
  ts__default["default"].isStringLiteralLike(styleUrl.expression)) {
10061
10087
  // Only string literal values from the decorator are considered style resources
@@ -10100,8 +10126,14 @@ class ComponentDecoratorHandler {
10100
10126
  if (this.preanalyzeStylesCache.has(node)) {
10101
10127
  inlineStyles = this.preanalyzeStylesCache.get(node);
10102
10128
  this.preanalyzeStylesCache.delete(node);
10103
- if (inlineStyles !== null) {
10104
- styles.push(...inlineStyles);
10129
+ if (inlineStyles?.length) {
10130
+ if (this.externalRuntimeStyles) {
10131
+ // When external runtime styles is enabled, a list of URLs is provided
10132
+ externalStyles.push(...inlineStyles);
10133
+ }
10134
+ else {
10135
+ styles.push(...inlineStyles);
10136
+ }
10105
10137
  }
10106
10138
  }
10107
10139
  else {
@@ -10155,6 +10187,7 @@ class ComponentDecoratorHandler {
10155
10187
  changeDetection,
10156
10188
  interpolation: template.interpolationConfig ?? checker.DEFAULT_INTERPOLATION_CONFIG,
10157
10189
  styles,
10190
+ externalStyles,
10158
10191
  // These will be replaced during the compilation step, after all `NgModule`s have been
10159
10192
  // analyzed and the full compilation scope for the component can be realized.
10160
10193
  animations,
@@ -13006,7 +13039,8 @@ class ClassExtractor {
13006
13039
  if (this.isMethod(memberDeclaration)) {
13007
13040
  return this.extractMethod(memberDeclaration);
13008
13041
  }
13009
- else if (this.isProperty(memberDeclaration)) {
13042
+ else if (this.isProperty(memberDeclaration) &&
13043
+ !this.hasPrivateComputedProperty(memberDeclaration)) {
13010
13044
  return this.extractClassProperty(memberDeclaration);
13011
13045
  }
13012
13046
  else if (ts__default["default"].isAccessor(memberDeclaration)) {
@@ -13214,6 +13248,14 @@ class ClassExtractor {
13214
13248
  const modifiers = this.declaration.modifiers ?? [];
13215
13249
  return modifiers.some((mod) => mod.kind === ts__default["default"].SyntaxKind.AbstractKeyword);
13216
13250
  }
13251
+ /**
13252
+ * Check wether a member has a private computed property name like [ɵWRITABLE_SIGNAL]
13253
+ *
13254
+ * This will prevent exposing private computed properties in the docs.
13255
+ */
13256
+ hasPrivateComputedProperty(property) {
13257
+ return (ts__default["default"].isComputedPropertyName(property.name) && property.name.expression.getText().startsWith('ɵ'));
13258
+ }
13217
13259
  }
13218
13260
  /** Extractor to pull info for API reference documentation for an Angular directive. */
13219
13261
  class DirectiveExtractor extends ClassExtractor {
@@ -15166,6 +15208,7 @@ class AdapterResourceLoader {
15166
15208
  type: 'style',
15167
15209
  containingFile: context.containingFile,
15168
15210
  resourceFile: resolvedUrl,
15211
+ className: context.className,
15169
15212
  };
15170
15213
  result = Promise.resolve(result).then(async (str) => {
15171
15214
  const transformResult = await this.adapter.transformResource(str, resourceContext);
@@ -15201,6 +15244,8 @@ class AdapterResourceLoader {
15201
15244
  type: 'style',
15202
15245
  containingFile: context.containingFile,
15203
15246
  resourceFile: null,
15247
+ order: context.order,
15248
+ className: context.className,
15204
15249
  });
15205
15250
  if (transformResult === null) {
15206
15251
  return data;
@@ -19262,7 +19307,7 @@ var semver = /*@__PURE__*/getDefaultExportFromCjs(semverExports);
19262
19307
  * @param minVersion Minimum required version for the feature.
19263
19308
  */
19264
19309
  function coreVersionSupportsFeature(coreVersion, minVersion) {
19265
- // A version of `19.0.0-next.8` usually means that core is at head so it supports
19310
+ // A version of `19.0.0-next.9` usually means that core is at head so it supports
19266
19311
  // all features. Use string interpolation prevent the placeholder from being replaced
19267
19312
  // with the current version during build time.
19268
19313
  if (coreVersion === `0.0.0-${'PLACEHOLDER'}`) {
@@ -20118,6 +20163,7 @@ class NgCompiler {
20118
20163
  const strictCtorDeps = this.options.strictInjectionParameters || false;
20119
20164
  const supportJitMode = this.options['supportJitMode'] ?? true;
20120
20165
  const supportTestBed = this.options['supportTestBed'] ?? true;
20166
+ const externalRuntimeStyles = this.options['externalRuntimeStyles'] ?? false;
20121
20167
  // Libraries compiled in partial mode could potentially be used with TestBed within an
20122
20168
  // application. Since this is not known at library compilation time, support is required to
20123
20169
  // prevent potential downstream application testing breakage.
@@ -20136,7 +20182,7 @@ class NgCompiler {
20136
20182
  const jitDeclarationRegistry = new JitDeclarationRegistry();
20137
20183
  // Set up the IvyCompilation, which manages state for the Ivy transformer.
20138
20184
  const handlers = [
20139
- new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, depScopeReader, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, importTracker, supportTestBed, compilationMode, deferredSymbolsTracker, !!this.options.forbidOrphanComponents, this.enableBlockSyntax, this.enableLetSyntax, localCompilationExtraImportsTracker, jitDeclarationRegistry, this.options.i18nPreserveWhitespaceForLegacyExtraction ?? true, !!this.options.strictStandalone),
20185
+ new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, depScopeReader, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, importTracker, supportTestBed, compilationMode, deferredSymbolsTracker, !!this.options.forbidOrphanComponents, this.enableBlockSyntax, this.enableLetSyntax, externalRuntimeStyles, localCompilationExtraImportsTracker, jitDeclarationRegistry, this.options.i18nPreserveWhitespaceForLegacyExtraction ?? true, !!this.options.strictStandalone),
20140
20186
  // TODO(alxhub): understand why the cast here is necessary (something to do with `null`
20141
20187
  // not being assignable to `unknown` when wrapped in `Readonly`).
20142
20188
  new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, importTracker, supportTestBed, compilationMode, jitDeclarationRegistry, !!this.options.strictStandalone),
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.0-next.8
3
+ * @license Angular v19.0.0-next.9
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
  /**
3
- * @license Angular v19.0.0-next.8
3
+ * @license Angular v19.0.0-next.9
4
4
  * (c) 2010-2024 Google LLC. https://angular.io/
5
5
  * License: MIT
6
6
  */
@@ -11,10 +11,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
11
11
  var schematics = require('@angular-devkit/schematics');
12
12
  var fs = require('fs');
13
13
  var p = require('path');
14
- var compiler_host = require('./compiler_host-9a4d0c2b.js');
14
+ var compiler_host = require('./compiler_host-b4ba5a28.js');
15
15
  var project_tsconfig_paths = require('./project_tsconfig_paths-e9ccccbf.js');
16
16
  var ts = require('typescript');
17
- require('./checker-e68dd7ce.js');
17
+ require('./checker-3b2ea20f.js');
18
18
  require('os');
19
19
  require('module');
20
20
  require('url');