@angular/core 19.2.5 → 19.2.7

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 (48) hide show
  1. package/{event_dispatcher.d-PWnbqZDx.d.ts → event_dispatcher.d-DlbccpYq.d.ts} +3 -3
  2. package/fesm2022/core.mjs +9 -6
  3. package/fesm2022/core.mjs.map +1 -1
  4. package/fesm2022/primitives/di.mjs +1 -1
  5. package/fesm2022/primitives/event-dispatch.mjs +1 -1
  6. package/fesm2022/primitives/signals.mjs +3 -3
  7. package/fesm2022/rxjs-interop.mjs +2 -2
  8. package/fesm2022/rxjs-interop.mjs.map +1 -1
  9. package/fesm2022/testing.mjs +150 -97
  10. package/fesm2022/testing.mjs.map +1 -1
  11. package/fesm2022/{untracked-CS7WUAzb.mjs → untracked-BKcld_ew.mjs} +3 -3
  12. package/fesm2022/{untracked-CS7WUAzb.mjs.map → untracked-BKcld_ew.mjs.map} +1 -1
  13. package/index.d.ts +6 -5
  14. package/{navigation_types.d-Lh6SmhKv.d.ts → navigation_types.d-fAxd92YV.d.ts} +3 -3
  15. package/package.json +1 -1
  16. package/primitives/di/index.d.ts +1 -1
  17. package/primitives/event-dispatch/index.d.ts +3 -3
  18. package/primitives/signals/index.d.ts +3 -3
  19. package/rxjs-interop/index.d.ts +2 -2
  20. package/schematics/bundles/{apply_import_manager-CTrezOPF.js → apply_import_manager-2VufvTsB.js} +3 -3
  21. package/schematics/bundles/{checker-CQvNmpT3.js → checker-BNmiXJIJ.js} +9 -9
  22. package/schematics/bundles/cleanup-unused-imports.js +42 -64
  23. package/schematics/bundles/{compiler_host-IULKT7OF.js → compiler_host-BafHjBMK.js} +2 -2
  24. package/schematics/bundles/control-flow-migration.js +3 -3
  25. package/schematics/bundles/explicit-standalone-flag.js +3 -3
  26. package/schematics/bundles/imports-CIX-JgAN.js +1 -1
  27. package/schematics/bundles/{index-BKWl7N44.js → index-DJTfI03d.js} +6 -6
  28. package/schematics/bundles/{program-XYcLSXb1.js → index-DMhRS_CK.js} +36 -12
  29. package/schematics/bundles/inject-migration.js +107 -18
  30. package/schematics/bundles/leading_space-D9nQ8UQC.js +1 -1
  31. package/schematics/bundles/{migrate_ts_type_references-CHRyhQvi.js → migrate_ts_type_references-CgtT9yyW.js} +5 -5
  32. package/schematics/bundles/ng_decorators-DznZ5jMl.js +1 -1
  33. package/schematics/bundles/nodes-B16H9JUd.js +1 -1
  34. package/schematics/bundles/output-migration.js +108 -78
  35. package/schematics/bundles/pending-tasks.js +3 -3
  36. package/schematics/bundles/{project_paths-CTgTxqrW.js → project_paths-C-UAB3jT.js} +88 -13
  37. package/schematics/bundles/project_tsconfig_paths-CDVxT6Ov.js +1 -1
  38. package/schematics/bundles/property_name-BBwFuqMe.js +1 -1
  39. package/schematics/bundles/provide-initializer.js +3 -3
  40. package/schematics/bundles/route-lazy-loading.js +3 -3
  41. package/schematics/bundles/self-closing-tags-migration.js +39 -64
  42. package/schematics/bundles/signal-input-migration.js +64 -87
  43. package/schematics/bundles/signal-queries-migration.js +69 -92
  44. package/schematics/bundles/signals.js +11 -11
  45. package/schematics/bundles/standalone-migration.js +5 -6
  46. package/testing/index.d.ts +5 -21
  47. package/{weak_ref.d-DOjz-6fK.d.ts → weak_ref.d-DWHPG08n.d.ts} +3 -3
  48. package/schematics/bundles/index-CH_G_p3D.js +0 -30
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v19.2.5
2
+ * @license Angular v19.2.7
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -342,5 +342,5 @@ declare class EventDispatcher {
342
342
  */
343
343
  declare function registerDispatcher(eventContract: UnrenamedEventContract, dispatcher: EventDispatcher): void;
344
344
 
345
- export { Restriction as R, EventContractContainer as b, EventDispatcher as c, EventPhase as d, EventInfoWrapper as e, EventContract as f, registerDispatcher as r };
346
- export type { EarlyJsactionDataContainer as E, EventInfo as a };
345
+ export { EventContract, EventContractContainer, EventDispatcher, EventInfoWrapper, EventPhase, Restriction, registerDispatcher };
346
+ export type { EarlyJsactionDataContainer, EventInfo };
package/fesm2022/core.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Angular v19.2.5
2
+ * @license Angular v19.2.7
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
- import { v as SIGNAL_NODE, z as signalSetFn, S as SIGNAL, p as producerAccessed, k as getActiveConsumer, u as setActiveConsumer$1, w as createSignal, A as signalUpdateFn, a as consumerDestroy, R as REACTIVE_NODE, b as consumerPollProducersForChange, d as consumerBeforeComputation, e as consumerAfterComputation, f as createComputed, s as setThrowInvalidWriteToSignalError, C as untracked$1, i as isInNotificationPhase, g as createLinkedSignal, l as linkedSignalSetFn, h as linkedSignalUpdateFn } from './untracked-CS7WUAzb.mjs';
8
- export { B as ɵsetAlternateWeakRefImpl } from './untracked-CS7WUAzb.mjs';
7
+ import { SIGNAL_NODE, signalSetFn, SIGNAL, producerAccessed, getActiveConsumer, setActiveConsumer as setActiveConsumer$1, createSignal, signalUpdateFn, consumerDestroy, REACTIVE_NODE, consumerPollProducersForChange, consumerBeforeComputation, consumerAfterComputation, createComputed, setThrowInvalidWriteToSignalError, untracked as untracked$1, isInNotificationPhase, createLinkedSignal, linkedSignalSetFn, linkedSignalUpdateFn } from './untracked-BKcld_ew.mjs';
8
+ export { setAlternateWeakRefImpl as ɵsetAlternateWeakRefImpl } from './untracked-BKcld_ew.mjs';
9
9
  import { getCurrentInjector, NOT_FOUND as NOT_FOUND$1, setCurrentInjector } from './primitives/di.mjs';
10
10
  import { setActiveConsumer, createWatch } from '@angular/core/primitives/signals';
11
11
  import { NOT_FOUND as NOT_FOUND$2 } from '@angular/core/primitives/di';
@@ -17911,7 +17911,7 @@ class ComponentFactory extends ComponentFactory$1 {
17911
17911
  const cmpDef = this.componentDef;
17912
17912
  ngDevMode && verifyNotAnOrphanComponent(cmpDef);
17913
17913
  const tAttributes = rootSelectorOrNode
17914
- ? ['ng-version', '19.2.5']
17914
+ ? ['ng-version', '19.2.7']
17915
17915
  : // Extract attributes and classes from the first selector only to match VE behavior.
17916
17916
  extractAttrsAndClassesFromSelector(this.componentDef.selectors[0]);
17917
17917
  // Create the root view. Uses empty TView and ContentTemplate.
@@ -23462,6 +23462,9 @@ class ApplicationRef {
23462
23462
  * {@example core/ts/platform/platform.ts region='domNode'}
23463
23463
  */
23464
23464
  bootstrap(componentOrFactory, rootSelectorOrNode) {
23465
+ return this.bootstrapImpl(componentOrFactory, rootSelectorOrNode);
23466
+ }
23467
+ bootstrapImpl(componentOrFactory, rootSelectorOrNode, injector = Injector.NULL) {
23465
23468
  profiler(10 /* ProfilerEvent.BootstrapComponentStart */);
23466
23469
  (typeof ngDevMode === 'undefined' || ngDevMode) && warnIfDestroyed(this._destroyed);
23467
23470
  const isComponentFactory = componentOrFactory instanceof ComponentFactory$1;
@@ -23492,7 +23495,7 @@ class ApplicationRef {
23492
23495
  ? undefined
23493
23496
  : this._injector.get(NgModuleRef$1);
23494
23497
  const selectorOrNode = rootSelectorOrNode || componentFactory.selector;
23495
- const compRef = componentFactory.create(Injector.NULL, [], selectorOrNode, ngModule);
23498
+ const compRef = componentFactory.create(injector, [], selectorOrNode, ngModule);
23496
23499
  const nativeElement = compRef.location.nativeElement;
23497
23500
  const testability = compRef.injector.get(TESTABILITY, null);
23498
23501
  testability?.registerApplication(nativeElement);
@@ -34648,7 +34651,7 @@ class Version {
34648
34651
  /**
34649
34652
  * @publicApi
34650
34653
  */
34651
- const VERSION = new Version('19.2.5');
34654
+ const VERSION = new Version('19.2.7');
34652
34655
 
34653
34656
  /**
34654
34657
  * Combination of NgModuleFactory and ComponentFactories.