@angular/core 14.0.5 → 14.0.6
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.
- package/esm2020/src/application_ref.mjs +2 -2
- package/esm2020/src/render3/index.mjs +2 -2
- package/esm2020/src/render3/instructions/change_detection.mjs +2 -20
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/logger.mjs +3 -3
- package/esm2020/testing/src/ng_zone_mock.mjs +3 -3
- package/fesm2015/core.mjs +3 -20
- package/fesm2015/core.mjs.map +1 -1
- package/fesm2015/testing.mjs +4 -21
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/core.mjs +3 -20
- package/fesm2020/core.mjs.map +1 -1
- package/fesm2020/testing.mjs +4 -21
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +2 -2
- package/package.json +1 -1
- package/testing/index.d.ts +1 -1
package/fesm2015/core.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.0.
|
|
2
|
+
* @license Angular v14.0.6
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -14300,23 +14300,6 @@ function markDirty(component) {
|
|
|
14300
14300
|
ngDevMode && assertDefined(rootView[CONTEXT], 'rootContext should be defined');
|
|
14301
14301
|
scheduleTick(rootView[CONTEXT], 1 /* RootContextFlags.DetectChanges */);
|
|
14302
14302
|
}
|
|
14303
|
-
/**
|
|
14304
|
-
* Used to perform change detection on the whole application.
|
|
14305
|
-
*
|
|
14306
|
-
* This is equivalent to `detectChanges`, but invoked on root component. Additionally, `tick`
|
|
14307
|
-
* executes lifecycle hooks and conditionally checks components based on their
|
|
14308
|
-
* `ChangeDetectionStrategy` and dirtiness.
|
|
14309
|
-
*
|
|
14310
|
-
* The preferred way to trigger change detection is to call `markDirty`. `markDirty` internally
|
|
14311
|
-
* schedules `tick` using a scheduler in order to coalesce multiple `markDirty` calls into a
|
|
14312
|
-
* single change detection run. By default, the scheduler is `requestAnimationFrame`, but can
|
|
14313
|
-
* be changed when calling `renderComponent` and providing the `scheduler` option.
|
|
14314
|
-
*/
|
|
14315
|
-
function tick(component) {
|
|
14316
|
-
const rootView = getRootView(component);
|
|
14317
|
-
const rootContext = rootView[CONTEXT];
|
|
14318
|
-
tickRootContext(rootContext);
|
|
14319
|
-
}
|
|
14320
14303
|
|
|
14321
14304
|
/**
|
|
14322
14305
|
* @license
|
|
@@ -21062,7 +21045,7 @@ class Version {
|
|
|
21062
21045
|
/**
|
|
21063
21046
|
* @publicApi
|
|
21064
21047
|
*/
|
|
21065
|
-
const VERSION = new Version('14.0.
|
|
21048
|
+
const VERSION = new Version('14.0.6');
|
|
21066
21049
|
|
|
21067
21050
|
/**
|
|
21068
21051
|
* @license
|
|
@@ -27488,7 +27471,7 @@ class ApplicationRef {
|
|
|
27488
27471
|
}
|
|
27489
27472
|
/**
|
|
27490
27473
|
* Destroys an Angular application represented by this `ApplicationRef`. Calling this function
|
|
27491
|
-
* will destroy the associated
|
|
27474
|
+
* will destroy the associated environment injectors as well as all the bootstrapped components
|
|
27492
27475
|
* with their views.
|
|
27493
27476
|
*/
|
|
27494
27477
|
destroy() {
|