@angular/core 17.0.6 → 17.0.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 (60) hide show
  1. package/esm2022/primitives/signals/src/signal.mjs +2 -9
  2. package/esm2022/src/application/application_config.mjs +21 -0
  3. package/esm2022/src/application/application_init.mjs +188 -0
  4. package/esm2022/src/application/application_module.mjs +29 -0
  5. package/esm2022/src/application/application_ref.mjs +509 -0
  6. package/esm2022/src/application/application_tokens.mjs +121 -0
  7. package/esm2022/src/application/create_application.mjs +102 -0
  8. package/esm2022/src/change_detection/scheduling.mjs +103 -0
  9. package/esm2022/src/core.mjs +10 -7
  10. package/esm2022/src/core_private_export.mjs +5 -3
  11. package/esm2022/src/core_reactivity_export_internal.mjs +2 -2
  12. package/esm2022/src/core_render3_private_export.mjs +2 -2
  13. package/esm2022/src/error_handler.mjs +15 -1
  14. package/esm2022/src/hydration/annotate.mjs +1 -1
  15. package/esm2022/src/hydration/api.mjs +2 -2
  16. package/esm2022/src/hydration/cleanup.mjs +1 -1
  17. package/esm2022/src/image_performance_warning.mjs +2 -2
  18. package/esm2022/src/linker/query_list.mjs +8 -6
  19. package/esm2022/src/metadata/do_bootstrap.mjs +1 -1
  20. package/esm2022/src/platform/platform.mjs +135 -0
  21. package/esm2022/src/platform/platform_core_providers.mjs +15 -0
  22. package/esm2022/src/platform/platform_ref.mjs +179 -0
  23. package/esm2022/src/render3/instructions/change_detection.mjs +2 -4
  24. package/esm2022/src/render3/list_reconciliation.mjs +58 -24
  25. package/esm2022/src/render3/util/change_detection_utils.mjs +3 -1
  26. package/esm2022/src/render3/util/misc_utils.mjs +2 -2
  27. package/esm2022/src/render3/view_ref.mjs +7 -1
  28. package/esm2022/src/transfer_state.mjs +2 -2
  29. package/esm2022/src/util/performance.mjs +2 -2
  30. package/esm2022/src/version.mjs +1 -1
  31. package/esm2022/src/zone/ng_zone.mjs +10 -1
  32. package/esm2022/testing/src/component_fixture.mjs +20 -36
  33. package/esm2022/testing/src/logger.mjs +3 -3
  34. package/esm2022/testing/src/test_bed.mjs +5 -6
  35. package/fesm2022/core.mjs +1305 -1272
  36. package/fesm2022/core.mjs.map +1 -1
  37. package/fesm2022/primitives/signals.mjs +2 -9
  38. package/fesm2022/primitives/signals.mjs.map +1 -1
  39. package/fesm2022/rxjs-interop.mjs +1 -1
  40. package/fesm2022/testing.mjs +46 -64
  41. package/fesm2022/testing.mjs.map +1 -1
  42. package/index.d.ts +13 -14
  43. package/package.json +1 -1
  44. package/primitives/signals/index.d.ts +1 -1
  45. package/rxjs-interop/index.d.ts +1 -1
  46. package/schematics/migrations/block-template-entities/bundle.js +627 -476
  47. package/schematics/migrations/block-template-entities/bundle.js.map +3 -3
  48. package/schematics/migrations/compiler-options/bundle.js +13 -13
  49. package/schematics/migrations/transfer-state/bundle.js +13 -13
  50. package/schematics/ng-generate/control-flow-migration/bundle.js +783 -528
  51. package/schematics/ng-generate/control-flow-migration/bundle.js.map +3 -3
  52. package/schematics/ng-generate/standalone-migration/bundle.js +932 -758
  53. package/schematics/ng-generate/standalone-migration/bundle.js.map +3 -3
  54. package/testing/index.d.ts +6 -10
  55. package/esm2022/src/application_config.mjs +0 -21
  56. package/esm2022/src/application_init.mjs +0 -188
  57. package/esm2022/src/application_module.mjs +0 -29
  58. package/esm2022/src/application_ref.mjs +0 -997
  59. package/esm2022/src/application_tokens.mjs +0 -121
  60. package/esm2022/src/platform_core_providers.mjs +0 -15
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.0.6
2
+ * @license Angular v17.0.7
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -3615,7 +3615,6 @@ export declare type EnvironmentProviders = {
3615
3615
  ɵbrand: 'EnvironmentProviders';
3616
3616
  };
3617
3617
 
3618
-
3619
3618
  /**
3620
3619
  * Provides a hook for centralized exception handling.
3621
3620
  *
@@ -3848,6 +3847,16 @@ export declare interface FactorySansProvider {
3848
3847
 
3849
3848
  declare const FLAGS = 2;
3850
3849
 
3850
+ /**
3851
+ * Interface to an `EffectScheduler` capable of running scheduled effects synchronously.
3852
+ */
3853
+ declare interface FlushableEffectRunner {
3854
+ /**
3855
+ * Run any scheduled effects.
3856
+ */
3857
+ flush(): void;
3858
+ }
3859
+
3851
3860
  /**
3852
3861
  * Allows to refer to references which are not yet defined.
3853
3862
  *
@@ -5912,7 +5921,7 @@ declare interface LViewEnvironment {
5912
5921
  /** An optional custom sanitizer. */
5913
5922
  sanitizer: Sanitizer | null;
5914
5923
  /** Container for reactivity system `effect`s. */
5915
- inlineEffectRunner: ɵFlushableEffectRunner | null;
5924
+ inlineEffectRunner: FlushableEffectRunner | null;
5916
5925
  /** Container for after render hooks */
5917
5926
  afterRenderEventManager: ɵAfterRenderEventManager | null;
5918
5927
  }
@@ -11337,16 +11346,6 @@ export declare const enum ɵExtraLocaleDataIndex {
11337
11346
  */
11338
11347
  export declare function ɵfindLocaleData(locale: string): any;
11339
11348
 
11340
- /**
11341
- * Interface to an `EffectScheduler` capable of running scheduled effects synchronously.
11342
- */
11343
- export declare interface ɵFlushableEffectRunner {
11344
- /**
11345
- * Run any scheduled effects.
11346
- */
11347
- flush(): void;
11348
- }
11349
-
11350
11349
  /**
11351
11350
  * Loops over queued module definitions, if a given module definition has all of its
11352
11351
  * declarations resolved, it dequeues that module definition and sets the scope on
@@ -12731,7 +12730,7 @@ export declare const ɵXSS_SECURITY_URL = "https://g.co/ng/security#xss";
12731
12730
  * An `EffectScheduler` which is capable of queueing scheduled effects per-zone, and flushing them
12732
12731
  * as an explicit operation.
12733
12732
  */
12734
- export declare class ɵZoneAwareQueueingScheduler implements ɵEffectScheduler, ɵFlushableEffectRunner {
12733
+ export declare class ɵZoneAwareQueueingScheduler implements ɵEffectScheduler, FlushableEffectRunner {
12735
12734
  private queuedEffectCount;
12736
12735
  private queues;
12737
12736
  scheduleEffect(handle: SchedulableEffect): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/core",
3
- "version": "17.0.6",
3
+ "version": "17.0.7",
4
4
  "description": "Angular - the core framework",
5
5
  "author": "angular",
6
6
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.0.6
2
+ * @license Angular v17.0.7
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v17.0.6
2
+ * @license Angular v17.0.7
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */