@angular/core 20.1.0-next.1 → 20.1.0-next.2

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 (60) hide show
  1. package/api.d-Dwpmmn5j.d.ts +1 -1
  2. package/chrome_dev_tools_performance.d-Dk_7kdX9.d.ts +1 -1
  3. package/discovery.d-AiW64LSq.d.ts +1 -1
  4. package/event_dispatcher.d-BReQpZfC.d.ts +1 -1
  5. package/fesm2022/attribute-BWp59EjE.mjs +1 -1
  6. package/fesm2022/core.mjs +14 -16
  7. package/fesm2022/core.mjs.map +1 -1
  8. package/fesm2022/{debug_node-CGQXW8qF.mjs → debug_node-BFi6TVHr.mjs} +10 -13
  9. package/fesm2022/debug_node-BFi6TVHr.mjs.map +1 -0
  10. package/fesm2022/primitives/di.mjs +1 -1
  11. package/fesm2022/primitives/event-dispatch.mjs +1 -1
  12. package/fesm2022/primitives/signals.mjs +1 -1
  13. package/fesm2022/{resource-CIODajJI.mjs → resource-BwChsGJq.mjs} +3 -3
  14. package/fesm2022/{resource-CIODajJI.mjs.map → resource-BwChsGJq.mjs.map} +1 -1
  15. package/fesm2022/{root_effect_scheduler-BvK6bnZD.mjs → root_effect_scheduler-BkoRKl64.mjs} +10 -3
  16. package/fesm2022/{root_effect_scheduler-BvK6bnZD.mjs.map → root_effect_scheduler-BkoRKl64.mjs.map} +1 -1
  17. package/fesm2022/rxjs-interop.mjs +3 -3
  18. package/fesm2022/signal-nCiHhWf6.mjs +1 -1
  19. package/fesm2022/testing.mjs +7 -7
  20. package/fesm2022/testing.mjs.map +1 -1
  21. package/fesm2022/untracked-DmD_2MlC.mjs +1 -1
  22. package/fesm2022/weak_ref-BaIq-pgY.mjs +1 -1
  23. package/graph.d-BcIOep_B.d.ts +1 -1
  24. package/index.d.ts +1 -4
  25. package/package.json +2 -2
  26. package/primitives/di/index.d.ts +1 -1
  27. package/primitives/event-dispatch/index.d.ts +1 -1
  28. package/primitives/signals/index.d.ts +1 -1
  29. package/rxjs-interop/index.d.ts +1 -1
  30. package/schematics/bundles/apply_import_manager-BsIRDO9W.cjs +1 -1
  31. package/schematics/bundles/checker-CY7a8ko8.cjs +2 -2
  32. package/schematics/bundles/cleanup-unused-imports.cjs +31 -17
  33. package/schematics/bundles/compiler_host-DNYQkH4l.cjs +1 -1
  34. package/schematics/bundles/control-flow-migration.cjs +1 -1
  35. package/schematics/bundles/document-core.cjs +1 -1
  36. package/schematics/bundles/imports-CIX-JgAN.cjs +1 -1
  37. package/schematics/bundles/index-BJ3PYYwQ.cjs +1 -1
  38. package/schematics/bundles/index-BUgQDm-J.cjs +11 -11
  39. package/schematics/bundles/inject-flags.cjs +1 -1
  40. package/schematics/bundles/inject-migration.cjs +7 -2
  41. package/schematics/bundles/leading_space-D9nQ8UQC.cjs +1 -1
  42. package/schematics/bundles/migrate_ts_type_references-MBd4NBjn.cjs +1 -1
  43. package/schematics/bundles/ng_decorators-B5HCqr20.cjs +1 -1
  44. package/schematics/bundles/nodes-B16H9JUd.cjs +1 -1
  45. package/schematics/bundles/output-migration.cjs +1 -1
  46. package/schematics/bundles/project_paths-C5Df24y1.cjs +1 -1
  47. package/schematics/bundles/project_tsconfig_paths-CDVxT6Ov.cjs +1 -1
  48. package/schematics/bundles/property_name-BBwFuqMe.cjs +1 -1
  49. package/schematics/bundles/route-lazy-loading.cjs +1 -1
  50. package/schematics/bundles/self-closing-tags-migration.cjs +1 -1
  51. package/schematics/bundles/signal-input-migration.cjs +1 -1
  52. package/schematics/bundles/signal-queries-migration.cjs +1 -1
  53. package/schematics/bundles/signals.cjs +1 -1
  54. package/schematics/bundles/standalone-migration.cjs +1 -1
  55. package/schematics/bundles/symbol-VPWguRxr.cjs +1 -1
  56. package/schematics/bundles/test-bed-get.cjs +1 -1
  57. package/signal.d-BcmOdASA.d.ts +1 -1
  58. package/testing/index.d.ts +13 -4
  59. package/weak_ref.d-eGOEP9S1.d.ts +1 -1
  60. package/fesm2022/debug_node-CGQXW8qF.mjs.map +0 -1
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Angular v20.1.0-next.1
2
+ * @license Angular v20.1.0-next.2
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
  import { Observable, ReplaySubject } from 'rxjs';
8
8
  import { takeUntil } from 'rxjs/operators';
9
- import { assertInInjectionContext, inject, DestroyRef, RuntimeError, Injector, assertNotInReactiveContext, signal, PendingTasks } from './root_effect_scheduler-BvK6bnZD.mjs';
10
- import { getOutputDestroyRef, effect, untracked, computed, resource, encapsulateResourceError } from './resource-CIODajJI.mjs';
9
+ import { assertInInjectionContext, inject, DestroyRef, RuntimeError, Injector, assertNotInReactiveContext, signal, PendingTasks } from './root_effect_scheduler-BkoRKl64.mjs';
10
+ import { getOutputDestroyRef, effect, untracked, computed, resource, encapsulateResourceError } from './resource-BwChsGJq.mjs';
11
11
  import './primitives/di.mjs';
12
12
  import './signal-nCiHhWf6.mjs';
13
13
  import '@angular/core/primitives/di';
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.1.0-next.1
2
+ * @license Angular v20.1.0-next.2
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Angular v20.1.0-next.1
2
+ * @license Angular v20.1.0-next.2
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
  import * as i0 from '@angular/core';
8
- import { NgZone, Injectable, DeferBlockState, triggerResourceLoading, renderDeferBlockState, getDeferBlocks, DeferBlockBehavior, NoopNgZone, ApplicationRef, getDebugNode, RendererFactory2, Directive, Component, Pipe, NgModule, ReflectionCapabilities, depsTracker, isComponentDefPendingResolution, resolveComponentResources, NgModuleRef, ApplicationInitStatus, LOCALE_ID, DEFAULT_LOCALE_ID, setLocaleId, ComponentFactory, getAsyncClassMetadataFn, compileComponent, compileDirective, compilePipe, patchComponentDefWithScope, compileNgModuleDefs, clearResolutionOfComponentResourcesQueue, restoreComponentResolutionQueue, internalProvideZoneChangeDetection, ChangeDetectionSchedulerImpl, COMPILER_OPTIONS, generateStandaloneInDeclarationsError, transitiveScopesFor, Compiler, DEFER_BLOCK_CONFIG, NgModuleFactory, ModuleWithComponentFactories, resetCompiledComponents, ɵsetUnknownElementStrictMode as _setUnknownElementStrictMode, ɵsetUnknownPropertyStrictMode as _setUnknownPropertyStrictMode, ɵgetUnknownElementStrictMode as _getUnknownElementStrictMode, ɵgetUnknownPropertyStrictMode as _getUnknownPropertyStrictMode, flushModuleScopingQueueAsMuchAsPossible, setAllowDuplicateNgModuleIdsForTest } from './debug_node-CGQXW8qF.mjs';
8
+ import { NgZone, Injectable, DeferBlockState, triggerResourceLoading, renderDeferBlockState, getDeferBlocks, DeferBlockBehavior, NoopNgZone, ApplicationRef, getDebugNode, RendererFactory2, Directive, Component, Pipe, NgModule, ReflectionCapabilities, depsTracker, isComponentDefPendingResolution, resolveComponentResources, NgModuleRef, ApplicationInitStatus, LOCALE_ID, DEFAULT_LOCALE_ID, setLocaleId, ComponentFactory, getAsyncClassMetadataFn, compileComponent, compileDirective, compilePipe, patchComponentDefWithScope, compileNgModuleDefs, clearResolutionOfComponentResourcesQueue, restoreComponentResolutionQueue, internalProvideZoneChangeDetection, ChangeDetectionSchedulerImpl, COMPILER_OPTIONS, generateStandaloneInDeclarationsError, transitiveScopesFor, Compiler, DEFER_BLOCK_CONFIG, NgModuleFactory, ModuleWithComponentFactories, resetCompiledComponents, ɵsetUnknownElementStrictMode as _setUnknownElementStrictMode, ɵsetUnknownPropertyStrictMode as _setUnknownPropertyStrictMode, ɵgetUnknownElementStrictMode as _getUnknownElementStrictMode, ɵgetUnknownPropertyStrictMode as _getUnknownPropertyStrictMode, flushModuleScopingQueueAsMuchAsPossible, setAllowDuplicateNgModuleIdsForTest } from './debug_node-BFi6TVHr.mjs';
9
9
  import { Subscription } from 'rxjs';
10
- import { inject as inject$1, EnvironmentInjector, ErrorHandler, CONTAINER_HEADER_OFFSET, InjectionToken, PendingTasksInternal, ZONELESS_ENABLED, ChangeDetectionScheduler, EffectScheduler, stringify, getInjectableDef, resolveForwardRef, NG_COMP_DEF, NG_DIR_DEF, NG_PIPE_DEF, NG_INJ_DEF, NG_MOD_DEF, ENVIRONMENT_INITIALIZER, Injector, isEnvironmentProviders, INTERNAL_APPLICATION_ERROR_HANDLER, runInInjectionContext } from './root_effect_scheduler-BvK6bnZD.mjs';
10
+ import { inject as inject$1, EnvironmentInjector, ErrorHandler, CONTAINER_HEADER_OFFSET, InjectionToken, PendingTasksInternal, ZONELESS_ENABLED, ChangeDetectionScheduler, EffectScheduler, stringify, getInjectableDef, resolveForwardRef, NG_COMP_DEF, NG_DIR_DEF, NG_PIPE_DEF, NG_INJ_DEF, NG_MOD_DEF, ENVIRONMENT_INITIALIZER, Injector, isEnvironmentProviders, INTERNAL_APPLICATION_ERROR_HANDLER, runInInjectionContext } from './root_effect_scheduler-BkoRKl64.mjs';
11
11
  import { ResourceLoader } from '@angular/compiler';
12
12
  import './signal-nCiHhWf6.mjs';
13
13
  import '@angular/core/primitives/signals';
@@ -1834,8 +1834,8 @@ class TestBedImpl {
1834
1834
  static runInInjectionContext(fn) {
1835
1835
  return TestBedImpl.INSTANCE.runInInjectionContext(fn);
1836
1836
  }
1837
- static createComponent(component) {
1838
- return TestBedImpl.INSTANCE.createComponent(component);
1837
+ static createComponent(component, options) {
1838
+ return TestBedImpl.INSTANCE.createComponent(component, options);
1839
1839
  }
1840
1840
  static resetTestingModule() {
1841
1841
  return TestBedImpl.INSTANCE.resetTestingModule();
@@ -2029,7 +2029,7 @@ class TestBedImpl {
2029
2029
  overrideTemplate(component, template) {
2030
2030
  return this.overrideComponent(component, { set: { template, templateUrl: null } });
2031
2031
  }
2032
- createComponent(type) {
2032
+ createComponent(type, options) {
2033
2033
  const testComponentRenderer = this.inject(TestComponentRenderer);
2034
2034
  const rootElId = `root${_nextRootElementId++}`;
2035
2035
  testComponentRenderer.insertRootElement(rootElId);
@@ -2043,7 +2043,7 @@ class TestBedImpl {
2043
2043
  }
2044
2044
  const componentFactory = new ComponentFactory(componentDef);
2045
2045
  const initComponent = () => {
2046
- const componentRef = componentFactory.create(Injector.NULL, [], `#${rootElId}`, this.testModuleRef);
2046
+ const componentRef = componentFactory.create(Injector.NULL, [], `#${rootElId}`, this.testModuleRef, undefined, options?.bindings);
2047
2047
  return this.runInInjectionContext(() => new ComponentFixture(componentRef));
2048
2048
  };
2049
2049
  const noNgZone = this.inject(ComponentFixtureNoNgZone, false);