@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/fesm2020/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
|
*/
|
|
@@ -14313,23 +14313,6 @@ function markDirty(component) {
|
|
|
14313
14313
|
ngDevMode && assertDefined(rootView[CONTEXT], 'rootContext should be defined');
|
|
14314
14314
|
scheduleTick(rootView[CONTEXT], 1 /* RootContextFlags.DetectChanges */);
|
|
14315
14315
|
}
|
|
14316
|
-
/**
|
|
14317
|
-
* Used to perform change detection on the whole application.
|
|
14318
|
-
*
|
|
14319
|
-
* This is equivalent to `detectChanges`, but invoked on root component. Additionally, `tick`
|
|
14320
|
-
* executes lifecycle hooks and conditionally checks components based on their
|
|
14321
|
-
* `ChangeDetectionStrategy` and dirtiness.
|
|
14322
|
-
*
|
|
14323
|
-
* The preferred way to trigger change detection is to call `markDirty`. `markDirty` internally
|
|
14324
|
-
* schedules `tick` using a scheduler in order to coalesce multiple `markDirty` calls into a
|
|
14325
|
-
* single change detection run. By default, the scheduler is `requestAnimationFrame`, but can
|
|
14326
|
-
* be changed when calling `renderComponent` and providing the `scheduler` option.
|
|
14327
|
-
*/
|
|
14328
|
-
function tick(component) {
|
|
14329
|
-
const rootView = getRootView(component);
|
|
14330
|
-
const rootContext = rootView[CONTEXT];
|
|
14331
|
-
tickRootContext(rootContext);
|
|
14332
|
-
}
|
|
14333
14316
|
|
|
14334
14317
|
/**
|
|
14335
14318
|
* @license
|
|
@@ -21075,7 +21058,7 @@ class Version {
|
|
|
21075
21058
|
/**
|
|
21076
21059
|
* @publicApi
|
|
21077
21060
|
*/
|
|
21078
|
-
const VERSION = new Version('14.0.
|
|
21061
|
+
const VERSION = new Version('14.0.6');
|
|
21079
21062
|
|
|
21080
21063
|
/**
|
|
21081
21064
|
* @license
|
|
@@ -27501,7 +27484,7 @@ class ApplicationRef {
|
|
|
27501
27484
|
}
|
|
27502
27485
|
/**
|
|
27503
27486
|
* Destroys an Angular application represented by this `ApplicationRef`. Calling this function
|
|
27504
|
-
* will destroy the associated
|
|
27487
|
+
* will destroy the associated environment injectors as well as all the bootstrapped components
|
|
27505
27488
|
* with their views.
|
|
27506
27489
|
*/
|
|
27507
27490
|
destroy() {
|